:root,
.seller-dashboard {
    --seller-green: #247045;
    --seller-green-dark: #1b5736;
    --seller-ink: #1f2f27;
    --seller-muted: #6c7a72;
    --seller-border: #dfe8e2;
    --seller-surface: #ffffff;
    --seller-soft: #f5f8f6;
    color: var(--seller-ink);
}

.seller-dashboard .seller-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 24px 0 18px;
}

.seller-dashboard .seller-page-head h1,
.seller-dashboard .seller-page-head h2 {
    margin-bottom: 4px;
    color: var(--seller-ink);
    font-size: 30px;
    line-height: 1.25;
}

.seller-dashboard .seller-page-head p {
    margin: 0;
    color: var(--seller-muted);
}

.seller-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 8px;
    padding: 8px;
    border: 1px solid var(--seller-border);
    border-radius: 8px;
    background: var(--seller-surface);
    box-shadow: 0 10px 28px rgba(31, 47, 39, 0.08);
}

.seller-tabs .nav-item {
    flex: 1 1 150px;
}

.seller-tabs .nav-link {
    width: 100%;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--seller-ink);
    font-weight: 700;
    text-align: center;
    background: transparent;
}

.seller-tabs .nav-link:hover,
.seller-tabs .nav-link:focus {
    border-color: rgba(36, 112, 69, 0.28);
    color: var(--seller-green);
    background: var(--seller-soft);
}

.seller-tabs .nav-link.active {
    border-color: var(--seller-green);
    color: #ffffff;
    background: var(--seller-green);
    box-shadow: 0 8px 18px rgba(36, 112, 69, 0.22);
}

.seller-card {
    border: 1px solid var(--seller-border);
    border-radius: 8px;
    background: var(--seller-surface);
    box-shadow: 0 12px 30px rgba(31, 47, 39, 0.08);
}

.seller-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--seller-border);
    background: var(--seller-soft);
}

.seller-card__body {
    padding: 20px;
}

.seller-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.seller-stat {
    padding: 16px;
    border: 1px solid var(--seller-border);
    border-radius: 8px;
    background: var(--seller-surface);
}

.seller-stat span {
    display: block;
    color: var(--seller-muted);
    font-size: 13px;
}

.seller-stat strong {
    display: block;
    margin-top: 6px;
    color: var(--seller-green);
    font-size: 28px;
    line-height: 1;
}

.seller-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--seller-border);
    border-radius: 8px;
    background: var(--seller-surface);
}

.seller-dashboard .table {
    margin-bottom: 0;
    box-shadow: none;
}

.seller-dashboard .table thead {
    background: var(--seller-green);
    color: #ffffff;
}

.seller-dashboard .table th {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
}

.seller-dashboard .table td {
    vertical-align: middle;
}

.seller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.seller-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--seller-green);
    border-radius: 6px;
    background: var(--seller-green);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.seller-btn:hover,
.seller-btn:focus {
    border-color: var(--seller-green-dark);
    background: var(--seller-green-dark);
    color: #ffffff;
    text-decoration: none;
}

.seller-btn--outline {
    background: #ffffff;
    color: var(--seller-green);
}

.seller-btn--outline:hover,
.seller-btn--outline:focus {
    background: var(--seller-soft);
    color: var(--seller-green-dark);
}

.seller-btn--danger {
    border-color: #8b2f43;
    background: #8b2f43;
}

.seller-btn--danger:hover,
.seller-btn--danger:focus {
    border-color: #702337;
    background: #702337;
}

.seller-empty {
    padding: 28px;
    border: 1px dashed var(--seller-border);
    border-radius: 8px;
    color: var(--seller-muted);
    text-align: center;
    background: var(--seller-soft);
}

.seller-company {
    overflow: hidden;
    margin-bottom: 20px;
}

.seller-company__title {
    margin: 0;
    color: var(--seller-ink);
    font-size: 22px;
}

.seller-company__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    color: var(--seller-muted);
}

.seller-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(36, 112, 69, 0.12);
    color: var(--seller-green);
    font-size: 13px;
    font-weight: 700;
}

.seller-badge--muted {
    background: #eef1ef;
    color: var(--seller-muted);
}

.seller-tour {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid var(--seller-border);
}

.seller-tour:first-child {
    border-top: 0;
}

.seller-tour__image {
    width: 180px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--seller-soft);
}

.seller-tour__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-tour__content h3 {
    margin-bottom: 6px;
    font-size: 21px;
}

.seller-tour__content a {
    color: var(--seller-ink);
}

.seller-tour__content a:hover {
    color: var(--seller-green);
}

.seller-tour__side {
    min-width: 170px;
    text-align: right;
}

.seller-tour__price {
    color: var(--seller-green);
    font-size: 22px;
    font-weight: 800;
}

.seller-comments {
    margin-top: 12px;
    padding: 14px;
    border-radius: 8px;
    background: var(--seller-soft);
}

.seller-comments ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 991px) {
    .seller-summary-grid {
        grid-template-columns: 1fr;
    }

    .seller-tour {
        grid-template-columns: 140px 1fr;
    }

    .seller-tour__side {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .seller-dashboard .seller-page-head {
        display: block;
    }

    .seller-tabs {
        padding: 6px;
    }

    .seller-tabs .nav-item {
        flex-basis: 100%;
    }

    .seller-tour {
        grid-template-columns: 1fr;
    }

    .seller-tour__image {
        width: 100%;
    }
}
