/* SkillDeck Main Stylesheet */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #4facfe;
    --danger-color: #f5576c;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --shadow-sm: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(102,126,234,0.15);
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

/* Algemene stijlen */
body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(102,126,234,0.08), transparent 28%),
        linear-gradient(180deg, #f8f9ff 0%, #f5f7fa 42%, #f7f8fc 100%);
    color: #333;
    line-height: 1.6;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Knoppen */
.btn {
    padding: 10px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.btn-light {
    background: white;
    border: 1px solid #e0e0e0;
}

.btn-light:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
}

/* Admin */
.admin-sidebar {
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(102, 126, 234, 0.08);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.admin-nav-link i {
    width: 20px;
    text-align: center;
}

/* Kaarten */
.card {
    border: 1px solid #e8e6f4;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(31, 33, 68, 0.07);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: linear-gradient(180deg, #fff 0%, #fbfbff 100%);
    border-bottom: 1px solid #ece9f8;
    padding: 20px;
    font-weight: 600;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: #2f3355;
}

.card-header:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Formulieren */
.form-control, .form-select {
    border: 1px solid #deddf0;
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #4f5370;
}

.form-text {
    color: #7a7d93;
}

/* Navigatie */
.navbar {
    padding: 15px 0;
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 10px 15px !important;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(102,126,234,0.05);
}

.main-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav-links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.main-nav-row a,
.main-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 8px;
    color: #4f5370;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav-row a:hover,
.main-nav-row a.active {
    background: rgba(88,101,242,0.1);
    color: var(--primary-color);
}

.main-nav-row .nav-count {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(88,101,242,0.12);
    color: #5865f2;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #30333c;
    border-radius: 10px;
    color: #f2f3f5;
    background: #24262d;
    font-weight: 850;
}

.mobile-main-menu {
    width: min(310px, 84vw) !important;
    top: 72px !important;
    height: calc(100% - 72px) !important;
    color: #f2f3f5;
    background: #1e1f22;
    border-right: 1px solid #30333c;
}

.mobile-main-menu .offcanvas-header {
    justify-content: flex-end;
    min-height: 0;
    padding: 8px 12px 0;
    border-bottom: 0;
}

.mobile-main-menu .offcanvas-body {
    padding: 10px 12px 12px;
}

.mobile-main-menu .btn-close {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid #3a3d49;
    border-radius: 999px;
    background-color: #24262d;
    background-size: 12px;
    filter: invert(1) grayscale(1);
    opacity: 1;
}

.mobile-main-menu .btn-close:hover {
    background-color: #30333c;
    opacity: 1;
}

.mobile-main-menu-links {
    display: grid;
    gap: 7px;
}

.mobile-main-menu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #30333c;
    border-radius: 12px;
    color: #dfe3f4;
    background: #24262d;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 850;
}

.mobile-main-menu-links a i {
    width: 20px;
    color: #cfd3ff;
    text-align: center;
    font-size: .95rem;
}

.mobile-main-menu-links a.active,
.mobile-main-menu-links a:hover {
    color: #fff;
    border-color: rgba(88,101,242,.7);
    background: #2b3152;
}

.search-view-switch {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 4px;
    border: 1px solid #30333c;
    border-radius: 12px;
    background: #1e1f22;
}

.search-view-switch button {
    min-width: 42px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 9px;
    color: #cfd3ff;
    background: transparent;
    font-size: .82rem;
    font-weight: 850;
}

.search-view-switch button.active {
    color: #fff;
    background: #5865f2;
}

.search-view-switch button span {
    display: none;
}

.search-results-tools {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 18px;
}

.search-results-tools .search-view-switch {
    margin-left: 0;
}

.live-search-status:empty {
    display: none;
    margin: 0;
}

@media (max-width: 767.98px) {
    .main-nav-row {
        gap: 8px;
        justify-content: flex-start;
    }

    .main-nav-links {
        display: flex;
        flex: 1 1 auto;
        gap: 6px;
        overflow-x: auto;
        padding: 2px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav-links::-webkit-scrollbar {
        display: none;
    }

    .main-nav-links a {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        justify-content: center;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 12px;
        font-size: 1rem;
    }

    .main-nav-links a span {
        display: none;
    }

    .main-nav-links a.active {
        border-color: rgba(88,101,242,.65);
        color: #fff;
        background: #5865f2;
    }

    .search-view-switch {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .search-results-tools {
        margin: -10px 0 12px;
        padding-right: 2px;
    }
}

@media (max-width: 575.98px) {
    .search-view-switch button {
        min-width: 38px;
    }
}

.account-summary-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: min(720px, 100%);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.account-summary-block {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(18, 20, 27, 0.44), rgba(42, 45, 66, 0.30));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 16px 36px rgba(20,22,35,.18);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.account-summary-block:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.34);
    background: linear-gradient(135deg, rgba(28, 30, 42, 0.52), rgba(58, 50, 86, 0.36));
}

.summary-block-title {
    color: rgba(255,255,255,0.88);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 8px 2px;
}

.hero-account-left {
    display: flex;
    justify-content: flex-start;
}

.hero-account-left .account-summary-card {
    width: min(760px, 100%);
}

.account-summary-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 1.15rem;
}

.account-summary-icon.coin-icon {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.16);
}

.account-summary-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 10px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
}

.summary-copy {
    flex: 1;
    min-width: 0;
}

.favorite-tabs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.favorite-tabs-grid .nav-item {
    min-width: 0;
}

.favorite-tab-tile {
    width: 100%;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 170px;
    padding: 22px;
    color: #333;
    text-align: left;
    background: white;
    border: 1px solid #e7e9f2;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.favorite-tab-tile:hover,
.favorite-tab-tile.active {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.favorite-tab-tile.active {
    background: rgba(102,126,234,0.06);
}

.favorite-tab-tile .category-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin: 0;
    background: rgba(102,126,234,0.1);
    -webkit-text-fill-color: initial;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.favorite-tab-body {
    min-width: 0;
}

.favorite-tab-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.favorite-tab-text {
    display: block;
    color: #6c757d;
    font-size: 0.92rem;
    margin: 0 0 16px;
}

.favorites-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid #e7e9f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.favorites-overview h2 {
    margin: 0 0 4px;
}

.favorites-overview p {
    margin: 0;
    color: #6c757d;
}

.favorites-overview-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.favorites-overview-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(102,126,234,0.08);
    color: #4f5370;
    font-weight: 700;
}

.favorites-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.favorites-segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #f1f3f8;
}

.favorites-segmented a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #555b72;
    text-decoration: none;
    font-weight: 800;
    line-height: 1;
}

.favorites-segmented a.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(31,33,68,0.08);
}

.favorites-segmented a span {
    min-width: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    text-align: center;
}

.favorites-segmented-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.favorites-segmented-following {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, auto));
}

.following-adverts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    gap: 16px;
    align-items: start;
}

.settings-toolbar-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
    text-align: right;
}

.settings-toolbar-copy strong {
    color: #2f3355;
    font-size: .95rem;
}

.settings-toolbar-copy span {
    color: #70788c;
    font-size: .84rem;
}

.settings-segmented a {
    min-height: 42px;
    padding-left: 15px;
    padding-right: 15px;
}

.settings-feedback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 9px;
    color: #3e5368;
    background: #f2f5f8;
    border: 1px solid #e3e8ee;
    font-size: .92rem;
}

.settings-feedback.is-error i,
.settings-field-error {
    color: #b33e54;
}

.settings-note {
    color: #637087;
    font-size: .94rem;
    line-height: 1.55;
}

.name-change-modal {
    border-radius: 14px;
    overflow: hidden;
}

.inline-edit-field {
    position: relative;
}

.inline-edit-field .form-control {
    padding-right: 48px;
}

.inline-edit-field .form-control[readonly] {
    background: #f7f8fb;
}

.inline-edit-start,
.inline-edit-save,
.inline-edit-cancel {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    transition: background .15s ease, color .15s ease;
}

.inline-edit-start {
    position: absolute;
    right: 4px;
    top: 4px;
    color: #66708d;
    background: transparent;
}

.inline-edit-start:hover {
    color: var(--primary-color);
    background: rgba(102,126,234,.1);
}

.inline-edit-actions {
    position: absolute;
    right: 4px;
    top: 4px;
    display: none;
    gap: 4px;
}

.inline-edit-field.is-editing .form-control {
    padding-right: 82px;
}

.inline-edit-field.is-editing .inline-edit-start {
    display: none;
}

.inline-edit-field.is-editing .inline-edit-actions {
    display: inline-flex;
}

.inline-edit-save {
    color: #238654;
    background: rgba(35,134,84,.12);
}

.inline-edit-cancel {
    color: #bc465c;
    background: rgba(188,70,92,.1);
}

.inline-edit-save:hover {
    color: #fff;
    background: #238654;
}

.inline-edit-cancel:hover {
    color: #fff;
    background: #bc465c;
}

.following-actions {
    display: flex;
    gap: 8px;
}

.follow-bell-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,193,7,0.35);
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,193,7,0.08);
    color: #b98300;
}

.follow-bell-btn.active {
    background: #ffc107;
    color: #2b2d31;
}

.notification-mini-menu {
    width: min(360px, 92vw);
    padding: 0;
    overflow: hidden;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(31,33,68,0.18);
}

.notification-mini-head,
.notification-mini-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f7f8fc;
}

.notification-mini-head span {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.notification-mini-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid #eef1f7;
    color: #2f3355;
    text-decoration: none;
}

.notification-mini-item:hover {
    background: rgba(102,126,234,0.06);
}

.notification-mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
}

.notification-mini-item strong,
.notification-mini-item small {
    display: block;
}

.notification-mini-item strong {
    font-size: 0.9rem;
    line-height: 1.3;
}

.notification-mini-item small {
    margin-top: 4px;
    color: #7a7d93;
}

.notification-mini-empty {
    padding: 18px 14px;
    color: #7a7d93;
    text-align: center;
    border-top: 1px solid #eef1f7;
}

.notification-mini-all {
    color: var(--primary-color);
    font-weight: 900;
    text-decoration: none;
    border-top: 1px solid #eef1f7;
}

.notifications-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7e9f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.notification-row.is-unread {
    border-color: rgba(102,126,234,0.42);
    background: rgba(102,126,234,0.04);
}

.notification-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    text-decoration: none;
}

.notification-message {
    color: #2f3355;
    font-weight: 800;
    line-height: 1.35;
}

.notification-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
    color: #7a7d93;
    font-size: 0.84rem;
}

.notification-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notification-admin-reply {
    max-width: 720px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e4e8f2;
    border-radius: 12px;
    background: #f8f9fd;
}

.notification-admin-sender {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.notification-admin-sender i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(102, 126, 234, .12);
}

.notification-admin-message {
    color: #343950;
    line-height: 1.7;
    white-space: pre-line;
}

.notification-admin-message::first-line {
    font-weight: 700;
}

.my-ads-toolbar {
    align-items: stretch;
}

.my-ads-segmented {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    flex: 1;
}

.my-ads-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.my-ads-balance {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: 10px;
    background: rgba(245,158,11,0.1);
    color: #9a6700;
    font-weight: 900;
    white-space: nowrap;
}

.my-ads-slots-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 20px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.my-ads-limits-panel {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
    gap: 14px;
    align-items: stretch;
    padding: 12px 14px;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.my-ads-limits-head {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 0 14px 0 0;
    border-right: 1px solid #edf0f6;
    border-bottom: 0;
}

.my-ads-limits-head .my-ads-toolbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.my-ads-limits-head .my-ads-toolbar-actions .btn {
    min-height: 36px;
    padding-inline: 10px;
}

.my-ads-limits-head h1 {
    margin: 3px 0 3px;
    color: #2f3355;
    font-size: 1.18rem;
    font-weight: 950;
}

.my-ads-limits-head p {
    margin: 0;
    color: #7a7d93;
    font-size: .9rem;
    font-weight: 650;
}

.my-ads-limits-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    gap: 10px;
    padding-top: 0;
}

.my-ads-limit-metric {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e7e9f2;
    border-radius: 12px;
    background: #f8f9fc;
}

.my-ads-limit-metric.is-chart {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.my-ads-limit-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(102,126,234,.14);
    color: var(--primary-color);
}

.my-ads-limit-label {
    display: block;
    color: var(--primary-color);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.my-ads-limit-metric strong {
    display: block;
    margin-top: 4px;
    color: #2f3355;
    font-size: 1.28rem;
    font-weight: 950;
    line-height: 1.1;
}

.my-ads-limit-metric p {
    margin: 5px 0 0;
    color: #7a7d93;
    font-size: .85rem;
    font-weight: 750;
}

.my-ads-slots-copy h2 {
    margin: 5px 0 5px;
    color: #2f3355;
    font-size: 1.2rem;
    font-weight: 950;
}

.my-ads-slots-copy p {
    margin: 0;
    color: #7a7d93;
    font-weight: 650;
}

.my-ads-slots-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.my-ads-slots-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f4f6fb;
    color: #4f556c;
    font-size: .76rem;
    font-weight: 850;
}

.my-ads-slots-legend i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.my-ads-slots-legend .is-used {
    background: #ef4444;
}

.my-ads-slots-legend .is-free {
    background: #22c55e;
}

.my-ads-slots-chart {
    position: relative;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
}

.my-ads-slots-chart svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.my-ads-slots-chart circle {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
}

.slots-ring-free {
    stroke: #22c55e;
    opacity: .95;
}

.slots-ring-used {
    stroke: #ef4444;
    stroke-dasharray: calc(var(--used-percent) * 3.0159) 301.59;
}

.my-ads-slots-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.my-ads-slots-center strong {
    color: #2f3355;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
}

.my-ads-slots-center span {
    margin-top: 3px;
    color: #7a7d93;
    font-size: .66rem;
    font-weight: 850;
}

.my-ads-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.my-ads-eyebrow,
.my-ads-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.my-ads-topbar h1 {
    margin: 4px 0 4px;
    color: #2f3355;
    font-size: 1.55rem;
    font-weight: 950;
}

.my-ads-topbar p {
    margin: 0;
    color: #7a7d93;
    font-weight: 650;
}

.my-ads-section-stack {
    display: grid;
    gap: 14px;
}

.my-ads-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 220px);
    justify-content: start;
    gap: 10px;
}

.following-overview-grid {
    grid-template-columns: repeat(3, 220px);
}

.subscription-overview-grid {
    grid-template-columns: repeat(3, 220px);
}

.my-ads-overview-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
    color: #2f3355;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(31,33,68,0.05);
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
    cursor: pointer;
}

.my-ads-overview-card > span:nth-child(2) {
    min-width: 0;
    flex: 1 1 auto;
}

.my-ads-overview-card:hover,
.my-ads-overview-card.is-selected {
    border-color: rgba(102,126,234,.48);
    background: rgba(102,126,234,.07);
    color: #2f3355;
}

.my-ads-overview-card:hover {
    transform: translateY(-1px);
}

.my-ads-overview-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(102,126,234,.14);
    color: var(--primary-color);
}

.my-ads-overview-card strong,
.my-ads-overview-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-ads-overview-card strong {
    font-size: .86rem;
    font-weight: 950;
}

.my-ads-overview-card small {
    margin-top: 2px;
    color: #7a7d93;
    font-size: .78rem;
    font-weight: 800;
}

.my-ads-overview-count {
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(102,126,234,.14);
    color: var(--primary-color);
    font-size: .82rem;
    font-weight: 950;
}

.my-ads-section {
    display: none;
    overflow: visible;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31,33,68,0.06);
}

.my-ads-section.is-visible {
    display: block;
}

.my-ads-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #edf0f6;
}

.my-ads-section-header h2 {
    margin: 4px 0 2px;
    color: #2f3355;
    font-size: 1.18rem;
    font-weight: 950;
}

.my-ads-section-header p {
    margin: 6px 0 0;
    color: #7a7d93;
    font-size: .92rem;
    font-weight: 650;
}

.my-ads-section-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9aa1b5;
}

.my-ads-header-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(102,126,234,.24);
    border-radius: 10px;
    background: rgba(102,126,234,.08);
    color: var(--primary-color);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.my-ads-header-action:hover {
    border-color: rgba(102,126,234,.42);
    background: rgba(102,126,234,.13);
    color: var(--primary-color);
}

.my-ads-section-right > i {
    transition: transform .18s ease;
}

.my-ads-count-pill {
    min-width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(102,126,234,.14);
    color: var(--primary-color);
    font-weight: 950;
}

.my-ads-section-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: #7a7d93;
    font-weight: 750;
}

.my-ads-section-empty i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(102,126,234,.12);
    color: var(--primary-color);
}

.my-ads-section-empty a {
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 900;
    text-decoration: none;
}

.my-ads-table {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.my-ads-table-head,
.my-ads-table-row {
    display: grid;
}

.my-ads-table-head {
    display: none;
}

.my-ads-table-row {
    grid-template-columns: minmax(160px, .58fr) minmax(220px, .8fr) minmax(220px, .66fr) 260px;
    grid-template-areas:
        "advert advert advert advert"
        "stats duration visibility actions";
    gap: 16px 18px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid #e3e7f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(31,33,68,.045);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.my-ads-section.without-visibility .my-ads-table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "advert advert advert"
        "stats duration actions";
}

.promotion-management-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "advert advert advert"
        "stats duration actions";
}

.my-ads-table-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0;
    background: rgba(148,163,184,.42);
}

.my-ads-table-row.is-public::before {
    background: #20c878;
}

.my-ads-table-row.is-private::before {
    background: #dc3545;
}

.my-ads-table-row:hover {
    border-color: rgba(102,126,234,.28);
    box-shadow: 0 14px 32px rgba(31,33,68,.075);
    transform: translateY(-1px);
}

.my-ads-table-row.is-private:hover {
    border-color: rgba(220,53,69,.3);
}

.my-ads-table-row:first-of-type {
    border-top: 1px solid #e5e9f3;
}

.my-ads-ad-cell {
    grid-area: advert;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148,163,184,.16);
}

.my-ads-media-stack {
    display: grid;
    justify-items: center;
}

.my-ads-thumb {
    width: 108px;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 11px;
    overflow: hidden;
    background: #f1f3f8;
    display: block;
    box-shadow: 0 7px 16px rgba(20,24,40,.08);
}

.my-ads-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.my-ads-ad-cell h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.25;
}

.my-ads-ad-cell h3 a {
    color: #2f3355;
    text-decoration: none;
}

.my-ads-ad-cell h3 a:hover {
    color: var(--primary-color);
}

.my-ads-ad-cell p {
    max-width: 460px;
    margin: 6px 0 0;
    color: #7a7d93;
    font-size: .8rem;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-ads-price-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-top: 9px;
    padding: 7px 10px;
    border: 1px solid rgba(25,135,84,.22);
    border-radius: 999px;
    background: rgba(25,135,84,.1);
    color: #188754;
    font-size: .78rem;
    font-weight: 950;
}

.my-ads-price-pill span,
.my-ads-price-pill strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-ads-price-pill strong {
    color: inherit;
}

.my-ads-info-cell {
    grid-area: stats;
    display: grid;
    align-content: start;
    gap: 10px;
    color: #7a7d93;
    font-size: .82rem;
    font-weight: 700;
}

.my-ads-info-cell::before,
.my-ads-duration-cell::before,
.my-ads-price-cell::before,
.my-ads-action-cell::before {
    content: "";
    display: block;
    margin-bottom: 1px;
    color: #9aa1b5;
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.my-ads-info-cell::before {
    content: "Prestaties";
}

.my-ads-duration-cell::before {
    content: "Looptijd";
}

.my-ads-price-cell::before {
    content: "Zichtbaarheid";
}

.my-ads-action-cell::before {
    content: "Beheer";
    grid-column: 1 / -1;
}

.my-ads-metric-row {
    display: grid;
    align-items: center;
    gap: 6px;
}

.my-ads-info-cell > span,
.my-ads-duration-cell > span,
.my-ads-duration-cell > a,
.my-ads-info-cell > a {
    min-height: 24px;
    padding-left: 1px;
}

.my-ads-metric-row span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #8b91a5;
    font-size: .75rem;
    font-weight: 800;
}

.my-ads-metric-row span i,
.my-ads-metric-row span strong {
    color: var(--primary-color);
    font-weight: 950;
}

.my-ads-info-cell span,
.my-ads-info-cell a,
.my-ads-duration-cell span,
.my-ads-duration-cell a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.my-ads-info-cell .my-ads-metric-row span {
    color: #6068db;
}

.my-ads-info-cell a:hover {
    color: var(--primary-color);
}

.my-ads-duration-cell {
    grid-area: duration;
    display: grid;
    align-content: start;
    gap: 10px;
    color: #7a7d93;
    font-size: .82rem;
    font-weight: 700;
}

.my-ads-duration-cell a:hover {
    color: var(--primary-color);
}

.my-ads-price-cell {
    grid-area: visibility;
    display: grid;
    justify-items: stretch;
    align-content: start;
    gap: 10px;
}

.my-ads-price-cell strong {
    color: #198754;
    font-size: 1rem;
    font-weight: 950;
}

.my-ads-visibility-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 4px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 12px;
    background: rgba(148,163,184,.06);
}

.my-ads-visibility-toggle form {
    margin: 0;
}

.my-ads-visibility-toggle button {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #7a7d93;
    font-size: .82rem;
    font-weight: 900;
    text-align: center;
    transition: .15s ease;
}

.my-ads-visibility-toggle button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-ads-visibility-toggle button:not(:disabled):hover {
    border-color: rgba(88,101,242,.5);
    color: var(--primary-color);
}

.my-ads-visibility-toggle button.is-active {
    border-color: rgba(25,135,84,.34);
    background: rgba(25,135,84,.16);
    color: #1aa365;
    box-shadow: 0 8px 18px rgba(25,135,84,.08);
}

.my-ads-visibility-toggle button.is-private {
    border-color: rgba(220,53,69,.32);
    background: rgba(220,53,69,.12);
    color: #dc3545;
}

.my-ads-action-cell {
    grid-area: actions;
    display: grid;
    align-content: start;
    gap: 10px;
}

.my-ads-action-cell .btn,
.my-ads-action-cell summary.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 41px;
    width: 100%;
    margin: 0;
    padding-inline: 9px;
    border-radius: 10px;
    font-weight: 900;
}

.my-ads-action-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 4px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 12px;
    background: rgba(148,163,184,.06);
}

.my-ads-action-toggle form {
    margin: 0;
}

.my-ads-action-toggle > form:only-child {
    grid-column: 1 / -1;
}

.my-ads-row-action {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 8px 8px;
    border: 1px solid rgba(88,101,242,.3);
    border-radius: 10px;
    background: rgba(88,101,242,.12);
    color: var(--primary-color);
    font-size: .8rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.my-ads-row-action span {
    min-width: 0;
    white-space: normal;
    line-height: 1.1;
}

.my-ads-row-action:hover {
    border-color: rgba(88,101,242,.56);
    background: rgba(88,101,242,.18);
    color: var(--primary-color);
}

.my-ads-row-action.is-danger {
    border-color: rgba(220,53,69,.32);
    background: rgba(220,53,69,.1);
    color: #dc3545;
}

.my-ads-row-action.is-danger:hover {
    border-color: rgba(220,53,69,.48);
    background: rgba(220,53,69,.16);
    color: #dc3545;
}

.my-ads-edit-modal .modal-body {
    padding-top: 18px;
}

.my-ads-edit-price-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.my-ads-edit-price-options label {
    margin: 0;
}

.my-ads-edit-price-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.my-ads-edit-price-options span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7ddec;
    border-radius: 10px;
    background: #fff;
    color: #2f3355;
    font-weight: 850;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.my-ads-edit-price-options input:checked + span {
    border-color: rgba(102,126,234,.52);
    background: rgba(102,126,234,.12);
    color: var(--primary-color);
}

@media (max-width: 1199.98px) {
    .my-ads-table-row {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
        grid-template-areas:
            "advert advert"
            "stats duration"
            "visibility actions";
    }

    .my-ads-section.without-visibility .my-ads-table-row {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
        grid-template-areas:
            "advert advert"
            "stats duration"
            "actions actions";
    }

    .promotion-management-row {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
        grid-template-areas:
            "advert advert"
            "stats duration"
            "actions actions";
    }

    .my-ads-ad-cell {
        grid-column: auto;
        padding-right: 0;
        padding-top: 0;
    }

}

.my-ads-list {
    display: grid;
    gap: 12px;
}

.my-ad-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 148px;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #e7e9f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.my-ad-image {
    width: 86px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f3f8;
    display: block;
}

.my-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.my-ad-kicker,
.my-ad-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.my-ad-kicker {
    margin-bottom: 4px;
    color: #7a7d93;
    font-size: 0.8rem;
    font-weight: 700;
}

.my-ad-main h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
}

.my-ad-main h3 a {
    color: #2f3355;
    text-decoration: none;
}

.my-ad-main h3 a:hover {
    color: var(--primary-color);
}

.my-ad-meta {
    margin-top: 7px;
    color: #7a7d93;
    font-size: 0.82rem;
}

.my-ad-meta span,
.my-ad-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.my-ad-meta a:hover {
    color: var(--primary-color);
}

.my-ad-side {
    display: grid;
    gap: 9px;
    justify-items: stretch;
    text-align: right;
}

.my-ad-side-summary {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.my-ad-side-summary strong {
    color: #198754;
    font-size: 1rem;
    line-height: 1.2;
}

.my-ad-side-summary .badge {
    width: fit-content;
}

.my-ad-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.my-ad-actions .btn,
.my-ad-actions summary.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding-inline: 8px;
    font-weight: 800;
}

.my-ad-menu {
    position: relative;
}

.my-ad-menu summary {
    list-style: none;
}

.my-ad-menu summary::-webkit-details-marker {
    display: none;
}

.my-ad-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 35;
    display: grid;
    gap: 6px;
    width: 220px;
    padding: 8px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
    text-align: left;
}

.my-ad-menu-action {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #343849;
    font-size: .9rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.my-ad-menu-action:hover {
    background: #f3f5fb;
    color: var(--primary-color);
}

.my-ad-menu-action.is-danger {
    color: #dc3545;
}

.promotion-segmented {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promotion-row {
    grid-template-columns: 116px minmax(0, 1fr) 205px;
}

.promotion-missing-ad {
    display: grid;
    place-items: center;
    color: #a4a9ba;
}

.promotion-click-progress {
    max-width: 540px;
    margin-top: 10px;
}

.promotion-click-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #7a7d93;
    font-size: .78rem;
}

.promotion-click-head strong {
    color: #5865f2;
}

.promotion-progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf0f8;
}

.promotion-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #5865f2;
}

.promotion-meta {
    font-size: .8rem;
}

.promotion-side {
    text-align: left;
}

.promotion-add-form label {
    display: block;
    margin-bottom: 5px;
    color: #7a7d93;
    font-size: .72rem;
    font-weight: 700;
}

.promotion-add-form > div {
    display: flex;
    gap: 6px;
}

.promotion-stop-details summary {
    list-style: none;
}

.promotion-stop-details summary::-webkit-details-marker {
    display: none;
}

.promotion-stop-confirm {
    margin-top: 7px;
    padding: 9px;
    border: 1px solid rgba(220,53,69,.24);
    border-radius: 9px;
    background: rgba(220,53,69,.06);
}

.promotion-stop-confirm strong {
    display: block;
    color: #343950;
    font-size: .82rem;
    margin-bottom: 4px;
}

.promotion-stop-confirm p {
    color: #7a7d93;
    font-size: .74rem;
    margin: 0 0 8px;
}

body.theme-dark .my-ad-row,
body.theme-dark .my-ads-topbar,
body.theme-dark .my-ads-section,
body.theme-dark .my-ads-overview-card,
body.theme-dark .my-ads-slots-card,
body.theme-dark .my-ads-limits-panel {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
}

body.theme-dark .my-ads-limits-head {
    border-color: #2b2d31;
}

body.theme-dark .my-ads-limit-metric {
    background: #25272d;
    border-color: #34363d;
}

body.theme-dark .my-ads-overview-card.is-selected,
body.theme-dark .my-ads-overview-card:hover {
    background: rgba(88,101,242,.16);
    border-color: rgba(88,101,242,.46);
    color: #f2f3f5;
}

body.theme-dark .my-ads-overview-count {
    background: rgba(88,101,242,.18);
    color: #d8dcff;
}

body.theme-dark .my-ads-table-row:hover {
    border-color: rgba(88,101,242,.34);
    background: #222329;
    box-shadow: 0 16px 30px rgba(0,0,0,.22);
}

body.theme-dark .my-ads-table-row.is-private:hover {
    border-color: rgba(220,53,69,.34);
}

body.theme-dark .my-ads-header-action {
    background: rgba(88,101,242,.16);
    border-color: rgba(88,101,242,.28);
    color: #d8dcff;
}

body.theme-dark .my-ads-section-header,
body.theme-dark .my-ads-table-row {
    border-color: #2b2d31;
}

body.theme-dark .my-ads-table-head {
    color: #8f95a5;
}

body.theme-dark .my-ads-table-row {
    background: #1f2024;
    box-shadow: 0 10px 24px rgba(0,0,0,.13);
}

body.theme-dark .my-ad-main h3 a,
body.theme-dark .my-ads-topbar h1,
body.theme-dark .my-ads-section-header h2,
body.theme-dark .my-ads-ad-cell h3 a,
body.theme-dark .my-ads-slots-copy h2,
body.theme-dark .my-ads-slots-center strong,
body.theme-dark .my-ads-limits-head h1,
body.theme-dark .my-ads-limit-metric strong {
    color: #f2f3f5;
}

body.theme-dark .my-ad-kicker,
body.theme-dark .my-ad-meta,
body.theme-dark .my-ads-topbar p,
body.theme-dark .my-ads-section-header p,
body.theme-dark .my-ads-section-empty,
body.theme-dark .my-ads-ad-cell p,
body.theme-dark .my-ads-info-cell,
body.theme-dark .my-ads-overview-card small,
body.theme-dark .my-ads-slots-copy p,
body.theme-dark .my-ads-slots-center span,
body.theme-dark .my-ads-limits-head p,
body.theme-dark .my-ads-limit-metric p {
    color: #b5bac1;
}

body.theme-dark .my-ads-slots-legend span {
    background: #25272d;
    color: #d5d8e6;
}

body.theme-dark .my-ad-image,
body.theme-dark .my-ads-thumb {
    background: #2b2d31;
    border-color: rgba(255,255,255,.07);
    box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

body.theme-dark .my-ads-ad-cell {
    border-bottom-color: rgba(148,163,184,.14);
}

body.theme-dark .my-ads-info-cell::before,
body.theme-dark .my-ads-duration-cell::before,
body.theme-dark .my-ads-price-cell::before,
body.theme-dark .my-ads-action-cell::before {
    color: #8f95a5;
}

body.theme-dark .my-ads-metric-row span {
    color: #b5bac1;
}

body.theme-dark .my-ads-metric-row span i,
body.theme-dark .my-ads-metric-row span strong {
    color: #c7ccff;
}

body.theme-dark .my-ads-price-pill {
    background: rgba(34,197,94,.12);
    border-color: rgba(34,197,94,.24);
    color: #36d27a;
}

body.theme-dark .my-ads-visibility-toggle button {
    border-color: #3f4147;
    color: #b5bac1;
}

body.theme-dark .my-ads-visibility-toggle {
    border-color: rgba(148,163,184,.12);
    background: rgba(148,163,184,.04);
}

body.theme-dark .my-ads-action-toggle {
    border-color: rgba(148,163,184,.12);
    background: rgba(148,163,184,.04);
}

body.theme-dark .my-ads-visibility-toggle button:not(:disabled):hover {
    border-color: rgba(88,101,242,.58);
    color: #d8dcff;
}

body.theme-dark .my-ads-visibility-toggle button.is-active {
    background: rgba(34,197,94,.13);
    border-color: rgba(34,197,94,.3);
    color: #46dc83;
}

body.theme-dark .my-ads-visibility-toggle button.is-private {
    background: rgba(220,53,69,.14);
    border-color: rgba(220,53,69,.34);
    color: #ff6b7a;
}

body.theme-dark .my-ads-balance {
    background: rgba(245,158,11,0.16);
    color: #ffd166;
}

body.theme-dark .my-ad-menu-panel {
    border-color: #3f4147;
    background: #1f2024;
    box-shadow: 0 18px 42px rgba(0,0,0,.32);
}

body.theme-dark .my-ad-menu-action {
    color: #f2f3f5;
}

body.theme-dark .my-ad-menu-action:hover {
    background: #2b2d31;
    color: #cfd3ff;
}

body.theme-dark .my-ad-menu-action.is-danger {
    color: #ff5b73;
}

body.theme-dark .my-ads-row-action {
    border-color: rgba(88,101,242,.34);
    background: rgba(88,101,242,.16);
    color: #cfd3ff;
}

body.theme-dark .my-ads-row-action:hover {
    border-color: rgba(88,101,242,.58);
    background: rgba(88,101,242,.24);
    color: #fff;
}

body.theme-dark .my-ads-row-action.is-danger {
    border-color: rgba(220,53,69,.34);
    background: rgba(220,53,69,.14);
    color: #ff6b7a;
}

body.theme-dark .my-ads-row-action.is-danger:hover {
    border-color: rgba(220,53,69,.52);
    background: rgba(220,53,69,.2);
    color: #ff8b97;
}

body.theme-dark .promotion-stop-confirm strong {
    color: #f2f3f5;
}

body.theme-dark .promotion-click-head,
body.theme-dark .promotion-add-form label,
body.theme-dark .promotion-stop-confirm p {
    color: #b5bac1;
}

body.theme-dark .promotion-progress-track {
    background: #30333b;
}

body.theme-dark .promotion-stop-confirm {
    border-color: rgba(220,53,69,.35);
    background: rgba(220,53,69,.12);
}

.notification-detail-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31,33,68,0.08);
}

.notification-detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-size: 1.55rem;
}

.notification-detail-content h2 {
    margin: 0 0 10px;
    color: #2f3355;
    font-size: 1.55rem;
    font-weight: 900;
}

.notification-detail-content p {
    margin: 0;
    color: #5f637f;
    line-height: 1.65;
}

.favorites-content-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
}

.favorites-content-head h3 {
    margin: 0 0 3px;
    font-size: 1.25rem;
}

.favorites-content-head p {
    margin: 0;
    color: #7a7d93;
}

.favorites-list {
    display: grid;
    gap: 14px;
}

.favorite-ad-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 150px;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e7e9f2;
    background: transparent;
}

.favorite-ad-image {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #f2f3f8;
}

.favorite-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-ad-main,
.favorite-row-top,
.favorite-row-bottom {
    min-width: 0;
}

.favorite-row-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.favorite-ad-row h3,
.seller-favorite-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 6px;
    font-size: 1.04rem;
}

.favorite-ad-row h3 a,
.seller-favorite-card h3 a {
    color: #2f3355;
    text-decoration: none;
}

.seller-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.14);
    color: #f5b301;
    font-size: 0.78rem;
    font-weight: 900;
}

.seller-rating-badge small {
    padding-left: 4px;
    margin-left: 2px;
    border-left: 1px solid rgba(245, 179, 1, 0.35);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.88;
}

.favorite-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #7a7d93;
    font-size: 0.82rem;
}

.favorite-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.favorite-seller-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #5f6478;
    text-decoration: none;
    font-size: 0.88rem;
}

.favorite-seller-line span {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 800;
}

.favorite-ad-side {
    display: grid;
    align-content: space-between;
    justify-items: stretch;
    gap: 10px;
    text-align: right;
}

.favorite-price {
    color: #1f8f4d;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 7px;
}

.favorite-link-remove {
    width: 100%;
    border: 0;
    background: transparent;
    color: #d94b5f;
    font-size: 0.82rem;
    font-weight: 800;
}

.favorite-remove-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(245,87,108,0.28);
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(245,87,108,0.08);
    color: #e54861;
}

.favorite-remove-btn:hover {
    background: #e54861;
    color: #fff;
}

.seller-favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 420px));
    gap: 12px;
    align-items: start;
    border-top: 0;
}

.favorite-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 8px;
}

.favorite-group-heading h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #2f3355;
}

.favorite-group-heading span {
    min-width: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 900;
    text-align: center;
}

.favorite-group-empty {
    padding: 18px 0;
    color: #7a7d93;
    border-bottom: 1px solid #e7e9f2;
}

.seller-favorite-card {
    padding: 14px 16px;
    border: 1px solid #e7e9f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
    max-width: 420px;
    width: 100%;
}

.seller-favorite-head {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
}

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

.seller-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
}

.seller-stats-row span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.08);
    color: #747a91;
    font-size: 0.78rem;
    line-height: 1;
}

.following-card-compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.following-card-actions {
    display: grid;
    grid-template-columns: 1fr 0.82fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.following-card-actions .btn,
.following-card-actions form {
    width: 100%;
}

.following-card-actions .btn {
    border-radius: 10px;
    font-weight: 800;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.88rem;
}

.following-notification-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(102, 126, 234, 0.28);
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary-color);
}

.following-notification-btn.active {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.45);
    color: #d99a00;
}

.seller-stats-row strong {
    min-width: 26px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.16);
    color: var(--primary-color);
    font-size: 0.96rem;
    line-height: 1;
    text-align: center;
}

.seller-stats-row small {
    color: inherit;
    font-weight: 800;
}

.following-profile-btn {
    min-width: 0;
}

.seller-recent-list {
    display: grid;
    gap: 8px;
}

.seller-recent-list > strong {
    color: #2f3355;
}

.seller-recent-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f7;
    color: #4f5370;
    text-decoration: none;
    font-size: 0.9rem;
}

body.theme-dark .favorite-tab-tile {
    background: #1f2024;
    border-color: #2f3136;
    color: #f2f3f5;
}

body.theme-dark .favorite-tab-tile.active {
    background: #252733;
}

body.theme-dark .favorite-tab-text {
    color: #b5bac1;
}

body.theme-dark .favorites-overview,
body.theme-dark .favorites-toolbar,
body.theme-dark .seller-favorite-card {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
}

body.theme-dark .favorite-ad-row,
body.theme-dark .seller-favorites-list,
body.theme-dark .favorite-group-empty {
    border-color: #2b2d31;
}

body.theme-dark .favorite-group-empty {
    color: #b5bac1;
}

body.theme-dark .seller-favorite-card {
    background: #1e1f22;
    border-color: #2b2d31;
}

body.theme-dark .notification-mini-menu,
body.theme-dark .notifications-toolbar,
body.theme-dark .notification-row,
body.theme-dark .notification-detail-card {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
}

body.theme-dark .notification-mini-head,
body.theme-dark .notification-mini-all {
    background: #2b2d31;
    border-color: #3f4147;
}

body.theme-dark .notification-mini-item,
body.theme-dark .notification-mini-empty {
    border-color: #2b2d31;
    color: #f2f3f5;
}

body.theme-dark .notification-message {
    color: #f2f3f5;
}

body.theme-dark .notification-detail-content h2 {
    color: #f2f3f5;
}

body.theme-dark .notification-detail-content p {
    color: #b5bac1;
}

body.theme-dark .notification-meta,
body.theme-dark .notification-mini-item small,
body.theme-dark .notification-mini-empty {
    color: #b5bac1;
}

body.theme-dark .notification-row.is-unread {
    background: rgba(88,101,242,0.12);
    border-color: rgba(88,101,242,0.55);
}

body.theme-dark .notification-admin-reply {
    border-color: #303442;
    background: #1b1d24;
}

body.theme-dark .notification-admin-message {
    color: #e6e8f2;
}

body.theme-dark .favorites-overview p,
body.theme-dark .favorite-meta {
    color: #b5bac1;
}

body.theme-dark .seller-rating-badge {
    background: rgba(255, 193, 7, 0.16);
    color: #ffd166;
}

body.theme-dark .following-notification-btn {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.34);
    color: #d7d9ff;
}

body.theme-dark .following-notification-btn.active {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.42);
    color: #ffd166;
}

body.theme-dark .favorites-overview-stats span,
body.theme-dark .seller-stats-row span {
    color: #dbdee1;
}

body.theme-dark .favorites-segmented {
    background: #111214;
}

body.theme-dark .favorites-segmented a {
    color: #b5bac1;
}

body.theme-dark .favorites-segmented a.active {
    background: #2b2d31;
    color: #fff;
}

body.theme-dark .settings-toolbar-copy strong {
    color: #f2f3f5;
}

body.theme-dark .settings-toolbar-copy span {
    color: #b5bac1;
}

body.theme-dark .settings-feedback {
    color: #d1d5e3;
    background: #24262c;
    border-color: #31343d;
}

body.theme-dark .settings-note {
    color: #b5bac1;
}

body.theme-dark .inline-edit-field .form-control[readonly] {
    background: #24262c;
}

body.theme-dark .inline-edit-start {
    color: #b5bac1;
}

body.theme-dark .favorite-ad-row h3 a,
body.theme-dark .seller-favorite-card h3 a,
body.theme-dark .favorite-group-heading h3,
body.theme-dark .seller-recent-list > strong,
body.theme-dark .seller-recent-list a,
body.theme-dark .favorite-seller-line {
    color: #f2f3f5;
}

body.theme-dark .seller-recent-list a {
    border-color: #2b2d31;
}

@media (max-width: 767.98px) {
    .favorite-tabs-grid {
        grid-template-columns: 1fr;
    }

    .favorites-overview,
    .favorite-row-top,
    .favorite-row-bottom {
        display: block;
    }

    .favorites-toolbar {
        display: grid;
    }

    .favorites-segmented {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .favorites-segmented-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .favorites-segmented-following {
        grid-template-columns: 1fr;
    }

    .settings-toolbar-copy {
        text-align: left;
        padding: 4px 4px 0;
    }

    .favorites-segmented a {
        justify-content: center;
    }

    .favorites-overview-stats,
    .favorite-actions {
        margin-top: 14px;
    }

    .favorite-ad-row {
        grid-template-columns: 104px 1fr;
        gap: 12px;
    }

    .favorite-ad-side {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .favorite-row-bottom {
        margin-top: 12px;
    }

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

    .following-adverts-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .seller-favorite-card {
        max-width: none;
    }

    .seller-favorite-head {
        grid-template-columns: 44px 1fr auto;
        gap: 10px;
    }

    .seller-avatar {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .following-card-compact-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .following-profile-btn {
        width: 100%;
    }

    .following-card-actions {
        grid-template-columns: 1fr;
    }

    .following-notification-btn {
        min-width: 0;
    }

    .notifications-toolbar,
    .notification-row {
        display: grid;
    }

    .my-ads-toolbar {
        display: grid;
    }

    .my-ads-segmented {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .my-ads-toolbar-actions,
    .my-ads-topbar,
    .my-ads-slots-card,
    .my-ads-limits-head {
        display: grid;
    }

    .my-ads-limits-panel {
        grid-template-columns: 1fr;
    }

    .my-ads-limits-head {
        padding: 0 0 12px 0;
        border-right: 0;
        border-bottom: 1px solid #2b2d31;
    }

    .my-ads-slots-chart {
        justify-self: center;
    }

    .my-ads-limits-grid {
        grid-template-columns: 1fr;
    }

    .my-ads-limit-metric.is-chart {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .my-ads-limit-metric.is-chart .my-ads-slots-chart {
        width: 82px;
        height: 82px;
    }

    .my-ads-toolbar-actions .btn,
    .my-ads-balance {
        width: 100%;
        justify-content: center;
    }

    .my-ads-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 10px;
    }

    .following-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subscription-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-ads-overview-card {
        min-height: 58px;
        padding: 11px;
    }

    .my-ad-row {
        grid-template-columns: 86px 1fr;
        gap: 12px;
    }

    .my-ad-side {
        grid-column: 1 / -1;
        display: grid;
        gap: 12px;
        text-align: left;
    }

    .my-ad-side-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        justify-items: stretch;
        gap: 10px;
    }

    .my-ad-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-ad-menu-panel {
        right: 0;
        width: min(260px, 86vw);
    }

    .my-ads-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-ads-section-header h2 {
        font-size: 1.05rem;
    }

    .my-ads-section-header p {
        font-size: .84rem;
    }

    .my-ads-section-right {
        width: 100%;
        justify-content: space-between;
    }

    .my-ads-header-action {
        flex: 1 1 auto;
    }

    .my-ads-table-head {
        display: none;
    }

    .my-ads-table-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "advert"
            "stats"
            "duration"
            "visibility"
            "actions";
        gap: 12px;
        padding: 14px 14px 14px 18px;
    }

    .my-ads-section.without-visibility .my-ads-table-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "advert"
            "stats"
            "duration"
            "actions";
    }

    .promotion-management-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "advert"
            "stats"
            "duration"
            "actions";
    }

    .my-ads-ad-cell {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 13px;
        padding-bottom: 12px;
    }

    .my-ads-thumb {
        width: 88px;
        border-radius: 10px;
    }

    .my-ads-info-cell {
        padding: 10px 0;
        border-top: 1px solid rgba(148,163,184,.18);
        border-bottom: 1px solid rgba(148,163,184,.18);
    }

    .my-ads-duration-cell {
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(148,163,184,.18);
    }

    .my-ads-metric-row span {
        justify-content: flex-start;
    }

    .my-ads-action-toggle {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-ads-row-action {
        gap: 6px;
        padding-inline: 7px;
        font-size: .76rem;
    }

    .my-ads-price-cell {
        display: grid;
        align-items: stretch;
        justify-content: stretch;
        gap: 10px;
    }

    .promotion-segmented {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promotion-row .my-ad-side {
        display: grid;
    }

    .notification-row {
        grid-template-columns: 46px 1fr;
    }

    .notification-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .notification-actions .btn,
    .notification-actions form {
        width: 100%;
    }

    .notification-detail-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

.account-summary-item .summary-label,
.account-summary-item small {
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: .78rem;
    line-height: 1.2;
}

.account-summary-item strong {
    display: block;
    color: #fff;
    line-height: 1.15;
    font-size: 1.18rem;
    margin-top: 3px;
    margin-bottom: 2px;
}

@media (max-width: 575.98px) {
    .account-summary-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-summary-block,
    .account-summary-item {
        width: 100%;
    }

    .following-overview-grid {
        grid-template-columns: 1fr;
    }

}

button.header-icon-btn {
    border: 0;
    padding: 0;
}

.messages-modal .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.messages-modal-layout {
    display: grid;
    grid-template-columns: minmax(280px, 34%) 1fr;
    min-height: 620px;
}

.messages-modal-list {
    border-right: 1px solid #e4e7f0;
    background: #f8f9fc;
}

.messages-modal-toolbar,
.messages-thread-header {
    min-height: 66px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e4e7f0;
    background: #fff;
}

.messages-conversation-list {
    max-height: 554px;
    overflow-y: auto;
}

.messages-conversation-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e9ecf5;
    background: transparent;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: #2d3146;
    transition: background-color 0.18s ease;
}

.messages-conversation-item:hover,
.messages-conversation-item.active {
    background: rgba(88,101,242,0.1);
}

.messages-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 42px;
    background: rgba(88,101,242,0.12);
    color: #5865f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.messages-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messages-conversation-main {
    min-width: 0;
    flex: 1;
}

.messages-conversation-top,
.messages-conversation-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.messages-conversation-preview {
    color: #6b7085;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}

.messages-thread-view {
    height: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
}

.messages-thread-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messages-thread-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f6f7fb;
}

.messages-thread-message {
    display: flex;
    margin-bottom: 14px;
}

.messages-thread-message.is-me {
    justify-content: flex-end;
}

.messages-bubble {
    max-width: min(76%, 520px);
    padding: 11px 14px;
    border-radius: 14px;
    background: #fff;
    color: #2d3146;
    box-shadow: 0 6px 18px rgba(31,33,68,0.07);
}

.messages-thread-message.is-me .messages-bubble {
    background: #5865f2;
    color: #fff;
}

.messages-bubble small {
    display: block;
    margin-top: 6px;
    opacity: 0.7;
}

.payment-request-trigger {
    border-radius: 999px;
    font-weight: 700;
}

.message-payment-request {
    min-width: min(340px, 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.payment-request-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #ff8a2a, #5865f2);
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.22);
}

.payment-request-copy .small {
    color: inherit;
    opacity: 0.78;
}

.payment-request-link {
    grid-column: 1 / -1;
    justify-self: start;
    border-radius: 999px;
    font-weight: 700;
}

.payment-method-picker {
    display: grid;
    gap: 10px;
}

.payment-method-option {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(88, 101, 242, 0.22);
    border-radius: 16px;
    background: rgba(88, 101, 242, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.payment-method-step,
.payment-link-step {
    display: none;
}

.payment-method-step.is-active,
.payment-link-step.is-active {
    display: block;
}

.payment-method-option:hover {
    transform: translateY(-1px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 12px 28px rgba(31, 33, 68, 0.08);
}

.payment-method-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #ff8a2a, #5865f2);
}

.payment-method-icon-tikkie {
    background: linear-gradient(135deg, #16c784, #5865f2);
}

.payment-method-icon-bunq {
    background: linear-gradient(135deg, #111827, #16c784);
}

.payment-method-icon-rabobank {
    background: linear-gradient(135deg, #f97316, #1d4ed8);
}

.payment-method-option strong,
.payment-method-option small {
    display: block;
}

.payment-method-option small {
    color: #747a91;
}

.selected-payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.selected-payment-method small,
.selected-payment-method strong {
    display: block;
}

.selected-payment-method small {
    color: #747a91;
}

.payment-back-button {
    font-weight: 700;
    text-decoration: none;
}

.blocked-chat-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(120, 126, 150, 0.18);
}

.blocked-chat-user:first-of-type {
    border-top: 0;
}

.blocked-chat-user a {
    font-weight: 800;
    text-decoration: none;
}

.message-delete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: 0.82rem;
}

.message-delete-actions .btn-link {
    text-decoration: none;
    opacity: 0.82;
}

.message-delete-actions .btn-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.message-deleted-note {
    font-style: italic;
    opacity: 0.74;
}

.trade-center-layout {
    display: grid;
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.trade-center-layout.is-board {
    grid-template-columns: minmax(0, 1fr);
}

.trade-center-sidebar {
    display: grid;
    gap: 16px;
}

.trade-center-dossier {
    min-width: 0;
}

.trade-center-intro {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(118, 75, 162, 0.08)),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.trade-center-intro span,
.trade-advert-group-head span {
    display: block;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-center-intro strong {
    display: block;
    margin-top: 6px;
    color: #101828;
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1.15;
}

.trade-center-intro small {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-weight: 700;
    line-height: 1.45;
}

.trade-center-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.trade-center-pills b {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
    font-size: 0.82rem;
    font-weight: 950;
}

.trade-center-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
}

.trade-center-tabs a {
    justify-content: flex-start;
    min-width: 0;
}

.trade-center-tabs a span {
    margin-left: auto;
}

.trade-inbox-panel {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.trade-inbox-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.trade-inbox-head span {
    display: block;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-inbox-head strong {
    font-size: 1rem;
}

.trade-inbox-head em {
    min-width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.16);
    color: #5865f2;
    font-style: normal;
    font-weight: 900;
}

.trade-inbox-list .trade-inbox-item {
    padding: 13px 16px;
    border-color: rgba(148, 163, 184, 0.16);
}

.trade-inbox-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.trade-inbox-ad {
    margin-top: 4px;
    font-weight: 800;
    font-size: 0.86rem;
    line-height: 1.25;
}

.trade-inbox-status {
    display: inline-flex;
    margin: 8px 0 4px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
    font-size: 0.75rem;
    font-weight: 900;
}

.trade-inbox-empty {
    padding: 16px;
    color: #8b95aa;
    font-weight: 700;
}

.trade-advert-groups .trade-inbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    padding: 12px;
}

.trade-advert-summary-card {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.025);
    cursor: pointer;
}

.trade-advert-summary-card:hover,
.trade-advert-summary-card.is-open {
    color: inherit;
    border-color: rgba(88, 101, 242, 0.58);
    background: rgba(88, 101, 242, 0.1);
}

.trade-advert-summary-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #5865f2;
    background: rgba(88, 101, 242, 0.14);
}

.trade-advert-summary-main {
    min-width: 0;
}

.trade-advert-summary-main small {
    display: block;
    color: #667eea;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-advert-summary-main strong {
    display: block;
    margin-top: 2px;
    color: #101828;
    font-weight: 950;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-advert-summary-main em {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-advert-summary-main .trade-summary-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 950;
    white-space: normal;
}

.trade-summary-status.needs-action {
    background: rgba(22, 163, 74, 0.16);
    color: #22c55e;
}

.trade-summary-status.is-waiting {
    background: rgba(88, 101, 242, 0.18);
    color: #c7d2fe;
}

.trade-deal-state-dot {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 950;
}

.trade-deal-state-dot.needs-action {
    background: #16a34a;
    color: #fff;
}

.trade-deal-state-dot.is-waiting {
    background: rgba(88, 101, 242, 0.22);
    color: #d7dcff;
}

.trade-advert-summary-count {
    min-width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.16);
    color: #5865f2;
    font-weight: 950;
}

.trade-advert-summary-count.has-unread {
    background: #ef3f5f;
    color: #fff;
}

.trade-group-modal .modal-content {
    border-radius: 22px;
    overflow: hidden;
}

.modal-eyebrow {
    display: block;
    color: #667eea;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-modal-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.trade-modal-stats > div {
    padding: 12px;
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.035);
}

.trade-modal-stats span,
.trade-modal-row-main small {
    display: block;
    color: #667eea;
    font-size: 0.76rem;
    font-weight: 900;
}

.trade-modal-stats strong {
    display: block;
    margin-top: 4px;
    color: #101828;
    font-size: 1.02rem;
    font-weight: 950;
}

.trade-modal-list {
    display: grid;
    gap: 10px;
}

.trade-modal-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.025);
}

.trade-modal-row.is-deal-flow {
    align-items: flex-start;
}

.trade-modal-row.is-deal-flow .trade-modal-actions {
    display: none;
}

.trade-modal-step-panel {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(88, 101, 242, 0.28);
    border-radius: 16px;
    background: rgba(88, 101, 242, 0.08);
}

.trade-modal-step-head {
    display: grid;
    gap: 3px;
}

.trade-modal-step-head span {
    color: #5865f2;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-modal-step-head strong {
    color: #101828;
    font-size: 1rem;
}

.trade-modal-step-head small {
    color: #667085;
    font-weight: 750;
}

.trade-modal-safety-notes {
    display: grid;
    gap: 8px;
}

.trade-modal-safety-notes span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.06);
    color: #475467;
    font-size: 0.86rem;
    font-weight: 800;
}

.trade-modal-safety-notes i {
    margin-top: 2px;
    color: #5865f2;
}

.trade-modal-three-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.trade-modal-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.trade-modal-progress span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    color: #667085;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.trade-modal-progress span.is-done {
    border-color: rgba(22, 163, 74, 0.28);
    background: rgba(22, 163, 74, 0.11);
    color: #11834f;
}

.trade-modal-progress span.is-current {
    border-color: rgba(88, 101, 242, 0.48);
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
}

.trade-modal-history {
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.025);
    overflow: hidden;
}

.trade-modal-history summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    color: #344054;
    font-weight: 950;
    list-style: none;
}

.trade-modal-history summary::-webkit-details-marker {
    display: none;
}

.trade-modal-history[open] summary .fa-chevron-down {
    transform: rotate(180deg);
}

.trade-modal-history-list {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.trade-modal-history-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.trade-modal-history-dot {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #11834f;
}

.trade-modal-history-item.is-waiting .trade-modal-history-dot {
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
}

.trade-modal-history-item strong {
    display: block;
    color: #101828;
    font-weight: 950;
}

.trade-modal-history-item p {
    margin: 2px 0 4px;
    color: #475467;
    font-size: 0.9rem;
    font-weight: 700;
}

.trade-modal-history-item small,
.trade-modal-history-empty {
    color: #667085;
    font-weight: 800;
}

.trade-modal-waiting-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #475467;
    font-weight: 850;
}

.trade-modal-row-main strong {
    display: block;
    color: #101828;
    font-weight: 950;
}

.trade-modal-row-main p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 700;
}

.trade-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.trade-advert-group {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.025);
}

.trade-advert-group.is-open {
    border-color: rgba(88, 101, 242, 0.58);
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.12);
}

.trade-advert-group-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.trade-advert-group-head strong {
    display: block;
    margin-top: 3px;
    color: #101828;
    font-weight: 950;
    line-height: 1.25;
}

.trade-advert-group-head small {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-weight: 800;
}

.trade-advert-group-head em,
.trade-bid-row b {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #ef3f5f;
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 950;
}

.trade-bid-row {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.72);
}

.trade-bid-row:hover,
.trade-bid-row.active {
    color: inherit;
    border-color: rgba(88, 101, 242, 0.5);
    background: rgba(88, 101, 242, 0.1);
}

.trade-bid-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.22), rgba(118, 75, 162, 0.18));
    color: #5865f2;
    font-weight: 950;
}

.trade-bid-main {
    min-width: 0;
}

.trade-bid-main > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.trade-bid-main strong {
    color: #101828;
    font-weight: 950;
}

.trade-bid-main span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.13);
    color: #5865f2;
    font-size: 0.72rem;
    font-weight: 950;
}

.trade-bid-main small {
    display: block;
    max-width: 100%;
    margin-top: 4px;
    color: #667085;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-bid-row b {
    position: absolute;
    right: 10px;
    top: 10px;
}

.trade-blocked-card {
    border-radius: 18px;
}

.trade-group-overview {
    display: grid;
    gap: 16px;
}

.trade-group-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.trade-group-overview-head span {
    display: block;
    color: #667eea;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-group-overview-head h2 {
    margin: 4px 0 6px;
    color: #101828;
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    font-weight: 950;
    line-height: 1.12;
}

.trade-group-overview-head p {
    margin: 0;
    color: #667085;
    font-weight: 750;
}

.trade-group-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trade-group-stats > div {
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.045);
}

.trade-group-stats span {
    display: block;
    color: #667eea;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-group-stats strong {
    display: block;
    margin-top: 4px;
    color: #101828;
    font-size: 1.25rem;
    font-weight: 950;
}

.trade-response-list {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
}

.trade-response-row {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.035);
}

.trade-response-row:hover {
    color: inherit;
    border-color: rgba(88, 101, 242, 0.55);
    background: rgba(88, 101, 242, 0.1);
}

.trade-response-main {
    min-width: 0;
}

.trade-response-main strong {
    display: block;
    color: #101828;
    font-weight: 950;
}

.trade-response-main small {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trade-response-status {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
    font-size: 0.78rem;
    font-weight: 950;
    white-space: nowrap;
}

.trade-response-row em {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ef3f5f;
    color: #fff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 950;
}

.trade-dossier-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.trade-dossier-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.trade-dossier-title span,
.trade-current-head span,
.trade-summary-card span {
    display: block;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trade-dossier-title h2 {
    margin: 2px 0 6px;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 900;
}

.trade-dossier-title a {
    margin-left: 10px;
    font-weight: 800;
    text-decoration: none;
}

.trade-dossier-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.trade-summary-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.trade-summary-card.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trade-summary-card > div {
    padding: 13px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.trade-summary-card strong {
    display: block;
    margin-top: 4px;
    font-weight: 900;
}

.trade-progress-card {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.trade-progress-step {
    min-height: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.1);
    color: #7b8497;
}

.trade-progress-step span {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
    font-weight: 900;
}

.trade-progress-step strong {
    font-size: 0.82rem;
}

.trade-progress-step.is-done {
    color: #0f8f61;
    background: rgba(22, 199, 132, 0.13);
}

.trade-progress-step.is-current {
    color: #5865f2;
    background: rgba(88, 101, 242, 0.15);
    outline: 1px solid rgba(88, 101, 242, 0.35);
}

.trade-current-panel {
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    max-height: 440px;
    overflow: auto;
}

.trade-current-head {
    margin-bottom: 12px;
}

.trade-message-row {
    display: block;
    max-width: 760px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.trade-message-row.is-me {
    background: rgba(88, 101, 242, 0.14);
    margin-left: auto;
}

.trade-dossier-empty {
    min-height: 360px;
    display: grid;
    place-items: center;
    text-align: center;
    align-content: center;
    color: #7b8497;
}

.trade-dossier-empty i {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(88, 101, 242, 0.14);
    color: #5865f2;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

@media (max-width: 991.98px) {
    .trade-center-layout {
        grid-template-columns: 1fr;
    }

    .trade-center-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trade-modal-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trade-modal-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .trade-modal-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .trade-modal-three-fields {
        grid-template-columns: 1fr;
    }

    .trade-modal-progress {
        grid-template-columns: 1fr;
    }

    .trade-dossier-header,
    .trade-dossier-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .trade-summary-card,
    .trade-progress-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trade-summary-card.is-compact {
        grid-template-columns: 1fr;
    }

    .trade-group-overview-head {
        flex-direction: column;
    }

    .trade-group-stats {
        grid-template-columns: 1fr;
    }

    .trade-response-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .trade-response-status {
        grid-column: 2;
        justify-self: start;
    }
}

.trade-step-card {
    min-width: min(420px, 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
}

.trade-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #16c784, #5865f2);
}

.trade-step-link {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 800;
    text-decoration: none;
}

.buy-request-options {
    display: grid;
    gap: 10px;
}

.buy-request-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.025);
    cursor: pointer;
}

.buy-request-choice:has(input:checked) {
    border-color: rgba(88, 101, 242, 0.72);
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.14);
}

.buy-request-choice input {
    position: absolute;
    opacity: 0;
}

.buy-request-choice span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #5865f2;
    background: rgba(88, 101, 242, 0.14);
}

.buy-request-choice strong {
    color: #101828;
    font-weight: 950;
}

.buy-request-choice small,
.buy-request-warning {
    color: #667085;
    font-size: 0.86rem;
    font-weight: 700;
}

.buy-request-warning {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.1);
}

.buy-request-warning i {
    color: #5865f2;
    margin-top: 2px;
}

.trade-step-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.bid-decision-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.bid-decision-card {
    margin: 0;
}

.bid-decision-card button,
.bid-decision-card label {
    width: 100%;
    min-height: 78px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 4px 10px;
    align-items: center;
    text-align: left;
    padding: 12px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.bid-decision-card button:hover {
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.55);
    background: rgba(99, 102, 241, 0.10);
}

.bid-decision-card span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
}

.bid-decision-card strong {
    font-size: .95rem;
    line-height: 1.1;
}

.bid-decision-card small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.25;
}

.bid-decision-card.is-accept span {
    background: rgba(22, 163, 74, 0.18);
    color: #86efac;
}

.bid-decision-card.is-decline span {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.bid-decision-card.is-wait span {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.bid-decision-card.is-counter {
    padding: 12px;
    border: 1px solid rgba(99, 102, 241, 0.32);
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.08);
}

.bid-decision-card.is-counter label {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
}

.bid-decision-card.is-counter > .form-control {
    margin-top: 10px;
    min-height: 40px;
}

.bid-decision-card.is-counter > .btn {
    width: 100%;
    margin-top: 8px;
    min-height: 40px;
    border-radius: 12px;
    font-weight: 900;
}

.bid-counter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 10px;
}

.bid-counter-row .form-control {
    min-height: 40px;
}

@media (max-width: 720px) {
    .bid-decision-grid {
        grid-template-columns: 1fr;
    }
}

.trade-inline-counter {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.trade-inline-counter .form-control {
    width: 120px;
}

.trade-step-form {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.08);
}

.temporary-address-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.temporary-address-fields .form-control {
    margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
    .temporary-address-fields {
        grid-template-columns: 1fr;
    }
}

.trade-step-done {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 199, 132, 0.16);
    color: #0f8f61;
    font-weight: 800;
    font-size: 0.85rem;
}

.guided-chat-notice,
.listing-guided-chat-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.08);
    color: #5f6680;
    font-weight: 700;
}

.messages-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #e4e7f0;
    background: #fff;
}

.messages-compose textarea {
    resize: none;
}

.messages-empty-state {
    min-height: 220px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #7b8094;
    text-align: center;
}

.messages-empty-state i {
    font-size: 2rem;
    color: #9aa0b8;
}

@media (max-width: 991.98px) {
    .messages-modal-layout {
        grid-template-columns: 1fr;
        min-height: 70vh;
    }

    .messages-modal-list.thread-open {
        display: none;
    }

    .messages-modal-thread {
        display: none;
    }

    .messages-modal-thread.thread-open {
        display: block;
    }

    .messages-thread-view {
        min-height: 70vh;
    }
}

.compact-auth {
    min-height: 38px;
    padding: 8px 15px !important;
    border-radius: 10px !important;
    font-size: 0.93rem;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none !important;
}

.compact-auth:hover,
.compact-auth:focus,
.compact-auth:active {
    text-decoration: none !important;
}

.header-actions .btn-login.compact-auth {
    background: transparent;
    border: 1px solid rgba(88,101,242,0.36);
    color: #c9cdfb;
}

.header-actions .btn-login.compact-auth:hover {
    background: rgba(88,101,242,0.12);
    border-color: #5865f2;
    color: #fff;
}

.header-actions .btn-register.compact-auth {
    background: #5865f2;
    border: 1px solid #5865f2;
    color: #fff;
    box-shadow: 0 8px 20px rgba(88,101,242,0.25);
}

.header-actions .btn-register.compact-auth:hover {
    background: #4752c4;
    border-color: #4752c4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(88,101,242,0.32);
}

.fixed-nav-menu {
    position: fixed !important;
    top: 72px;
    left: 0;
    width: 100%;
    z-index: 1030;
    border-bottom: 1px solid #dde1ee;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.fixed-header {
    z-index: 1080 !important;
}

.fixed-header .dropdown-menu,
.notification-mini-menu,
.user-dropdown-menu {
    z-index: 1090 !important;
}

.user-dropdown-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid #edf0f6;
}

.user-dropdown-status-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 7px 8px;
    border: 1px solid #e1e5f0;
    border-radius: 11px;
    background: #f6f7fb;
    color: #2f3355;
    text-decoration: none;
}

.user-dropdown-status-item:hover {
    border-color: rgba(102,126,234,.34);
    background: rgba(102,126,234,.08);
    color: #2f3355;
}

.user-dropdown-status-icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(88,101,242,.14);
    color: var(--primary-color);
    font-size: 1rem;
}

.user-dropdown-status-item.is-coins .user-dropdown-status-icon {
    background: rgba(245,158,11,.15);
    color: #d98b00;
}

.user-dropdown-status strong,
.user-dropdown-status small,
.user-dropdown-status em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
}

.user-dropdown-status strong {
    color: #20233a;
    font-size: .82rem;
    font-weight: 950;
}

.user-dropdown-status small {
    color: #7a7d93;
    font-size: .64rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.user-dropdown-status em {
    margin-top: 2px;
    color: #6f748b;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}

.user-dropdown-profile {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px 10px !important;
}

.user-dropdown-avatar {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(88,101,242,.95), rgba(124,92,255,.88));
    color: #fff;
    font-size: .9rem;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(88,101,242,.2);
}

.user-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-profile-text {
    min-width: 0;
    display: block;
}

.user-dropdown-profile-text small,
.user-dropdown-profile-text strong,
.user-dropdown-profile-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.15;
}

.user-dropdown-profile-text small {
    color: #7a7d93;
    font-size: .66rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.user-dropdown-profile-text strong {
    margin-top: 3px;
    color: #20233a;
    font-size: .92rem;
    font-weight: 950;
}

.user-dropdown-profile-text span {
    margin-top: 4px;
    color: #6b7088;
    font-size: .78rem;
    font-weight: 750;
}

.user-dropdown-menu-group {
    padding: 6px;
}

.user-dropdown-menu .dropdown-item {
    min-height: 38px;
    gap: 10px;
    padding: 8px 10px !important;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 850;
}

.user-dropdown-menu .dropdown-item i {
    width: 22px !important;
    margin-right: 0 !important;
    color: #7c83a5;
    font-size: .95rem;
}

.user-dropdown-menu .dropdown-divider {
    margin: 6px 0;
}

body.theme-dark .user-dropdown-menu {
    color: #f2f3f5;
    border-color: #30333c !important;
    background: #1e1f22 !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.42);
}

body.theme-dark .user-dropdown-menu .dropdown-header {
    color: #f2f3f5;
    background: #24262d !important;
    border-bottom: 1px solid #30333c;
}

body.theme-dark .user-dropdown-profile-text small {
    color: #8f96ac;
}

body.theme-dark .user-dropdown-profile-text strong {
    color: #fff;
}

body.theme-dark .user-dropdown-profile-text span {
    color: #b6bdd0;
}

body.theme-dark .user-dropdown-status {
    border-bottom-color: #30333c;
}

body.theme-dark .user-dropdown-status-item {
    border-color: rgba(148,163,184,.14);
    background: #24262d;
    color: #f2f3f5;
}

body.theme-dark .user-dropdown-status-item:hover {
    border-color: rgba(88,101,242,.38);
    background: #292d3f;
    color: #fff;
}

body.theme-dark .user-dropdown-status-item.is-coins .user-dropdown-status-icon {
    color: #ffd166;
}

body.theme-dark .user-dropdown-status strong {
    color: #fff;
}

body.theme-dark .user-dropdown-status small {
    color: #aeb4c9;
}

body.theme-dark .user-dropdown-status em {
    color: #c8cede;
}

body.theme-dark .user-dropdown-menu .text-muted {
    color: #aeb4c9 !important;
}

body.theme-dark .user-dropdown-menu .dropdown-item {
    color: #f2f3f5 !important;
}

body.theme-dark .user-dropdown-menu .dropdown-item:hover,
body.theme-dark .user-dropdown-menu .dropdown-item:focus {
    color: #fff !important;
    background: #292d3f !important;
}

body.theme-dark .user-dropdown-menu .dropdown-divider {
    border-top-color: #30333c;
}

.nav-under-hero .page-header {
    margin-bottom: 0;
}

.nav-under-hero .fixed-nav-menu {
    margin-bottom: 0;
}

.nav-under-hero .nav-menu {
    padding: 7px 0;
}

.nav-under-hero .fixed-nav-menu.is-sticky {
    position: sticky !important;
    top: 78px;
    z-index: 1015;
}

.header-actions > a[href$="/pages/categories.php"] {
    display: none;
}

/* Dashboard */
.stat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Advertentie kaarten */
.ad-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    background: white;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.ad-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.ad-card:hover .ad-image {
    transform: scale(1.05);
}

.price-tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.highlight-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--success-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Categorie kaarten */
.category-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 20px;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--primary-gradient);
    color: white;
}

.category-card:hover h5,
.category-card:hover .text-muted,
.category-card:hover i {
    color: white !important;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-card:hover .category-icon {
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: white !important;
}

/* Paginering */
.page-header {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white !important;
}

/* Dashboard navigatie */
.dashboard-sidebar {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.dashboard-sidebar:hover {
    box-shadow: var(--shadow-md);
}

.dashboard-nav {
    margin: 0;
    padding: 0;
}

.dashboard-nav-item {
    list-style: none;
    margin-bottom: 2px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(5px);
}

.dashboard-nav-link i {
    width: 20px;
    margin-right: 10px;
    font-size: 1.1em;
}

/* Quick actie kaarten */
.quick-action-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--primary-gradient);
    color: white;
}

.quick-action-card:hover h6,
.quick-action-card:hover .text-muted {
    color: white !important;
}

.quick-action-card:hover .bg-opacity-10 {
    background: rgba(255,255,255,0.2) !important;
}

.quick-action-card:hover i {
    color: white !important;
}

/* Tabel stijlen */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: 0;
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    padding: 15px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(102,126,234,0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Progress bars */
.progress {
    border-radius: 10px;
    background-color: #f0f0f0;
}

.progress-bar {
    border-radius: 10px;
}

/* Filter knoppen */
.filter-buttons .btn {
    padding: 8px 20px;
    border-radius: 20px;
}

.filter-buttons .btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Zoekformulier */
.search-form .input-group {
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.search-form .btn {
    padding: 15px 30px;
    border-radius: 0 8px 8px 0;
}

/* Land vlag */
.country-flag {
    font-size: 1.2em;
    vertical-align: middle;
}

.home-hero {
    background:
        linear-gradient(135deg, rgba(102,126,234,.92), rgba(118,75,162,.9)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.22), transparent 28%);
    color: #fff;
    padding: 38px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 1080px;
}

.home-hero-copy {
    max-width: 760px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: rgba(255,255,255,.9);
    font-weight: 800;
    font-size: .82rem;
    margin-bottom: 10px;
}

.home-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
    max-width: 860px;
    margin: 0 0 8px;
}

.home-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,.84);
    margin: 0;
    max-width: 680px;
}

.home-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: min(100%, 1120px);
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(88,101,242,.16);
    box-shadow: 0 18px 44px rgba(20,22,35,.18);
    backdrop-filter: blur(12px);
}

.page-header .home-search-panel {
    position: relative;
    z-index: 1;
}

.search-field {
    min-width: 0;
    background: #f7f8fc;
    border: 1px solid #e3e6f1;
    border-radius: 12px;
    padding: 9px 12px;
}

.search-field label {
    display: block;
    color: #6c757d;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.search-field input,
.search-field select {
    width: 100%;
    border: 0;
    outline: 0;
    color: #222;
    font-weight: 700;
    background: transparent;
}

.search-field select option {
    color: #222;
    background: #fff;
}

body.theme-dark .home-search-panel {
    border-color: #30333c;
    background: #1e1f22;
    box-shadow: 0 18px 44px rgba(0,0,0,.26);
}

body.theme-dark .search-field {
    border-color: #30333c;
    background: #22242b;
}

body.theme-dark .search-field label {
    color: #aeb4c9;
}

body.theme-dark .search-field input,
body.theme-dark .search-field select {
    color: #f2f3f5;
    color-scheme: dark;
}

body.theme-dark .search-field input::placeholder {
    color: #8f97aa;
}

body.theme-dark .search-field select option {
    color: #f2f3f5;
    background: #22242b;
}

.home-search-button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    padding: 0 24px;
    color: #fff;
    background: linear-gradient(135deg, #5865f2, #764ba2);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.32);
}

.home-search-hero {
    max-width: 980px;
}

.home-search-copy {
    max-width: 720px;
}

.home-search-copy p {
    margin: 8px 0 0;
    color: #c9cdfb;
    font-size: 1.05rem;
}

.home-search-main-field {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 9px 14px;
    border-radius: 12px;
    background: #f7f8fc;
    border: 1px solid #e3e6f1;
}

.home-search-main-field > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
}

.home-search-main-field label {
    display: block;
    color: #6c7284;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.home-search-main-field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #161821;
    font-size: 1rem;
    font-weight: 900;
}

.home-search-main-field input::placeholder {
    color: #7a8094;
}

.home-search-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(190px, .8fr) minmax(130px, .5fr) minmax(150px, .6fr) auto;
    gap: 8px;
    align-items: stretch;
}

.category-picker {
    position: relative;
    min-width: 0;
    height: 100%;
}

.category-picker-button {
    width: 100%;
    min-height: 54px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    color: #1f2433;
    text-align: left;
    border: 1px solid #dfe4f0;
    border-radius: 12px;
    background: #fff;
}

.category-picker-button small {
    display: block;
    margin-bottom: 2px;
    color: #6c7284;
    font-size: .72rem;
    font-weight: 800;
}

.category-picker-button strong {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-picker-button i {
    color: #5865f2;
    transition: transform .16s ease;
}

.category-picker-button[aria-expanded="true"] {
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88,101,242,.14);
}

.category-picker-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.category-picker-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    width: min(420px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid #30333c;
    border-radius: 16px;
    background: #1e1f22;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.category-picker-search {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 7px 9px;
    border: 1px solid #353844;
    border-radius: 12px;
    background: #242730;
}

.category-picker-search i {
    color: #8f9cff;
}

.category-picker-search input {
    width: 100%;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: 800;
}

.category-picker-search input::placeholder {
    color: #9aa1b8;
}

.category-picker-list {
    display: grid;
    gap: 6px;
    max-height: 390px;
    overflow-y: auto;
    padding-right: 3px;
}

.category-picker-view[hidden],
.category-picker-subcategory-group[hidden] {
    display: none;
}

.category-picker-back {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    padding: 8px 10px;
    color: #dfe2ff;
    font-weight: 900;
    text-align: left;
    border: 1px solid #353844;
    border-radius: 12px;
    background: #242730;
}

.category-picker-back:hover {
    border-color: rgba(88,101,242,.55);
    background: #292d3f;
}

.category-picker-subtitle {
    margin: 0 2px 8px;
    color: #f2f3f5;
    font-size: .9rem;
    font-weight: 950;
}

.category-picker-subcategory-group {
    display: grid;
    gap: 6px;
}

.category-picker-option {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    color: #f2f3f5;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
}

.category-picker-option:hover,
.category-picker-option.active {
    color: #fff;
    border-color: rgba(88,101,242,.55);
    background: #292d3f;
}

.category-picker-option i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #cdd1ff;
    border-radius: 10px;
    background: #252b45;
}

.category-picker-option span {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-picker-option strong {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    color: #dfe2ff;
    font-size: .72rem;
    border-radius: 999px;
    background: rgba(88,101,242,.28);
}

.category-picker-option .category-picker-arrow {
    width: auto;
    min-width: 30px;
    height: auto;
    color: #cdd1ff;
    font-size: .9rem;
    letter-spacing: -1px;
    border-radius: 0;
    background: transparent;
}

.category-picker-option .category-picker-all {
    min-width: 0;
    width: auto;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
}

.category-picker-empty {
    margin: 8px 3px 3px;
    color: #aeb4c9;
    font-weight: 800;
}

.home-category-strip {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid #e8eaf3;
}

.home-category-strip a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-right: 1px solid #e8eaf3;
    color: #39405a;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

.home-category-strip a:last-child {
    border-right: 0;
}

.home-category-strip a:hover {
    color: var(--primary-color);
}

.home-category-strip i {
    color: #667eea;
}

@media (max-width: 991.98px) {
    .home-search-row {
        grid-template-columns: 1fr 1fr;
    }

    .home-search-main-field,
    .home-category-field,
    .home-search-button {
        grid-column: 1 / -1;
    }

    .home-feed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {
    .home-feed-item:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .home-search-row {
        grid-template-columns: 1fr;
    }

    .home-search-main-field {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-search-main-field > i {
        display: none;
    }

    .home-feed-head {
        display: block;
    }

    .home-feed-head .btn {
        width: 100%;
        margin-top: 14px;
    }

    .home-feed-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .discover-feed-stage {
        width: min(100%, 330px);
        min-height: 420px;
    }

    .discover-feed-item .ad-card-compact .ad-thumb {
        aspect-ratio: 1 / .72;
    }

    .discover-feed-item .ad-card-compact .card-body {
        padding: 14px;
    }

    .discover-feed {
        padding: 10px;
        border-radius: 18px;
    }

}

.featured-ad-card {
    position: relative;
}

.promotion-badge {
    position: absolute;
    inset: auto auto 9px 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: #5865f2;
    font-size: .7rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0,0,0,.2);
    pointer-events: none;
}

.ad-card .ad-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: #f3f4f8;
    border-radius: 11px;
    overflow: hidden;
}

.ad-thumb-link {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.ad-card .ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.ad-card:hover .ad-thumb img {
    transform: scale(1.04);
}

.ad-card-compact {
    position: relative;
    border: 1px solid #e5e8f1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31,33,68,.06);
    overflow: hidden;
}

.ad-card-main-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.ad-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(31,33,68,.11);
}

.ad-card-compact .ad-thumb {
    aspect-ratio: 1 / .66;
    border-radius: 0;
}

.ad-card-compact .card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 12px 13px 14px;
    pointer-events: none;
}

.ad-no-photo {
    display: grid;
    justify-items: center;
    gap: 9px;
    color: #8a91a4;
    font-size: .72rem;
    font-weight: 700;
}

.ad-no-photo i {
    color: #a3a9b8;
    font-size: 1.35rem;
}

.ad-image-price {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(30,32,39,.88);
    color: #f2f3f5;
    backdrop-filter: blur(4px);
}

.ad-image-price {
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
    font-size: .86rem;
    font-weight: 800;
    pointer-events: none;
}

.ad-card-mobile-price {
    display: none;
}

.ad-seller-overlay {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 62px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 8px;
    color: #f2f3f5;
    background: rgba(30,32,39,.88);
    backdrop-filter: blur(4px);
    font-size: .67rem;
    font-weight: 650;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.ad-seller-overlay:hover {
    color: #fff;
    background: rgba(48,51,62,.96);
}

.ad-seller-overlay i {
    color: #cdd1ff;
}

.ad-seller-overlay.is-business i {
    color: #78d8ac;
}

.ad-seller-overlay-dot {
    color: #707887;
}

.ad-seller-reference {
    min-width: 0;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 750;
}

.ad-card-compact .card-title {
    font-size: .94rem;
    line-height: 1.3;
    min-height: 2.5em;
    max-height: 2.6em;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-card-compact .card-title a {
    color: #1f2433;
    font-weight: 700;
}

.ad-card-summary {
    min-width: 0;
    display: grid;
    gap: 5px;
    color: #778095;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.45;
}

.ad-card-summary span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ad-card-meta-link {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    transition: color .16s ease;
    pointer-events: auto;
}

.ad-card-category-links {
    position: relative;
    z-index: 3;
    min-width: 0;
    display: flex;
    align-items: center;
    color: inherit;
}

.ad-card-category-links > i {
    flex: 0 0 auto;
}

.ad-card-category-links .ad-card-meta-link {
    max-width: 48%;
}

.ad-card-category-dot {
    flex: 0 0 auto;
    margin: 0 5px;
    color: #5d6473;
    font-weight: 900;
}

.ad-card-meta-link:hover {
    color: #5865f2;
}

.ad-card-meta-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ad-card-summary i {
    width: 12px;
    color: #8c94a7;
    margin-right: 6px;
    font-size: .65rem;
    text-align: center;
}

.ad-card-summary .ad-summary-dot {
    color: #b5bac8;
}

.ad-card-compact .promotion-badge {
    inset: auto auto 10px 10px;
    font-size: .65rem;
    padding: 5px 8px;
}

.home-promotions-empty {
    padding: 20px 22px;
    border: 1px dashed #d7daea;
    border-radius: 12px;
    color: #70778a;
    background: #fff;
}

.home-feed-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.home-feed-head-minimal {
    justify-content: flex-end;
    margin-bottom: 16px;
}

.home-feed-head h2 {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.home-feed-head p {
    margin: 0;
    color: #6c757d;
}

.home-feed-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-feed-item {
    min-width: 0;
}

.home-empty-state {
    display: grid;
    justify-items: center;
    gap: 9px;
    min-height: 190px;
    padding: 38px 24px;
    border: 1px solid #30333c;
    border-radius: 14px;
    color: #f2f3f5;
    background: #1e1f22;
    text-align: center;
}

.home-empty-state span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #aeb4c9;
    background: #22242b;
    font-size: 1.35rem;
}

.home-empty-state strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.home-empty-state p {
    margin: 0;
    color: #aeb4c9;
    font-weight: 650;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 28px;
    align-items: center;
    padding: clamp(28px, 5vw, 62px);
    border: 1px solid #2b2e39;
    border-radius: 30px;
    background:
        radial-gradient(circle at 82% 18%, rgba(88,101,242,.24), transparent 34%),
        linear-gradient(135deg, #1f2026, #141518);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aeb7ff;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2,
.landing-final-cta h2 {
    color: #fff;
    font-weight: 950;
    letter-spacing: -.04em;
}

.landing-hero h1 {
    max-width: 760px;
    margin: 14px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: .96;
}

.landing-hero p,
.landing-section p,
.landing-final-cta p {
    color: #c6cbe0;
    font-weight: 650;
    line-height: 1.65;
}

.landing-hero p {
    max-width: 640px;
    font-size: 1.05rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.landing-hero-panel {
    display: grid;
    gap: 16px;
}

.landing-preview-card {
    overflow: hidden;
    border: 1px solid #363a49;
    border-radius: 24px;
    background: #1e1f22;
    box-shadow: 0 20px 50px rgba(0,0,0,.32);
}

.landing-preview-image {
    position: relative;
    min-height: 290px;
    display: grid;
    place-items: center;
    color: #cbd3ff;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.1), transparent 26%),
        #292b33;
    font-size: 4rem;
}

.landing-preview-image span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 13px;
    border-radius: 10px;
    color: #fff;
    background: rgba(17,18,20,.9);
    font-size: .96rem;
    font-weight: 950;
}

.landing-preview-body {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.landing-preview-body strong {
    color: #fff;
    font-size: 1.2rem;
}

.landing-preview-body small {
    color: #aeb4c9;
    font-weight: 750;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.landing-stats span {
    display: grid;
    gap: 3px;
    padding: 14px;
    border: 1px solid #30333c;
    border-radius: 16px;
    color: #aeb4c9;
    background: #1e1f22;
    font-size: .82rem;
    font-weight: 750;
}

.landing-stats strong {
    color: #fff;
    font-size: 1.4rem;
}

.landing-section,
.landing-final-cta {
    margin-top: 26px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid #2b2e39;
    border-radius: 26px;
    background: #1e1f22;
}

.landing-section-head {
    margin-bottom: 20px;
}

.landing-section-head span {
    color: #6f7cff;
    font-size: .8rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-section h2,
.landing-final-cta h2 {
    margin: 4px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.landing-feature-grid,
.landing-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-feature-card,
.landing-plan-card,
.landing-category-card {
    border: 1px solid #30333c;
    border-radius: 20px;
    background: #24262d;
}

.landing-feature-card {
    padding: 20px;
}

.landing-feature-card > i,
.landing-category-card > i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #cbd3ff;
    background: #2b3152;
    font-size: 1.2rem;
}

.landing-feature-card h3,
.landing-plan-card h3 {
    margin: 16px 0 8px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 950;
}

.landing-feature-card p,
.landing-plan-card p {
    margin: 0;
    font-size: .92rem;
}

.landing-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-checklist {
    display: grid;
    gap: 11px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.landing-checklist li {
    display: flex;
    gap: 10px;
    color: #dfe3f4;
    font-weight: 750;
}

.landing-checklist i {
    color: #54d98c;
    margin-top: 3px;
}

.landing-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.landing-category-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
}

.landing-category-card:hover {
    color: #fff;
    border-color: rgba(88,101,242,.7);
    transform: translateY(-1px);
}

.landing-category-card span {
    color: #aeb4c9;
    font-size: .78rem;
    font-weight: 800;
}

.landing-plan-card {
    display: grid;
    align-content: space-between;
    gap: 18px;
    min-height: 100%;
    padding: 20px;
}

.landing-plan-card > div > span {
    color: #aeb7ff;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.landing-plan-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #dfe3f4;
    font-size: .88rem;
    font-weight: 750;
}

.landing-plan-card li {
    display: flex;
    gap: 9px;
}

.landing-plan-card li i {
    color: #8f99ff;
    margin-top: 3px;
}

.landing-plan-price {
    display: grid;
    gap: 3px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 950;
}

.landing-plan-price small {
    color: #aeb4c9;
    font-size: .82rem;
    font-weight: 750;
}

.landing-final-cta {
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(88,101,242,.22), transparent 38%),
        #1e1f22;
}

.landing-final-cta p {
    margin: 10px auto 0;
    max-width: 650px;
}

@media (max-width: 1199.98px) {
    .landing-feature-grid,
    .landing-plan-grid,
    .landing-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .landing-hero,
    .landing-split {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        padding: 24px;
        border-radius: 24px;
    }

    .landing-preview-image {
        min-height: 220px;
    }

    .landing-stats {
        grid-template-columns: 1fr;
    }

    .landing-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .landing-feature-grid,
    .landing-plan-grid,
    .landing-category-grid {
        grid-template-columns: 1fr;
    }

    .landing-category-card {
        grid-template-columns: auto 1fr;
    }

    .landing-category-card span {
        grid-column: 2;
    }
}

.landing-hero-premium {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .72fr);
    gap: clamp(22px, 4vw, 48px);
    min-height: auto;
    padding: clamp(34px, 5vw, 64px);
    background:
        radial-gradient(circle at 90% 8%, rgba(99, 102, 241, .23), transparent 30%),
        radial-gradient(circle at 18% 90%, rgba(20, 184, 166, .14), transparent 32%),
        linear-gradient(135deg, #20222a, #121318);
}

.landing-hero-premium::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 64%, rgba(99, 102, 241, .12) 64% 100%);
}

.landing-hero-premium > * {
    position: relative;
    z-index: 1;
}

.landing-hero-premium .landing-hero-copy p {
    max-width: 680px;
    font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.landing-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 999px;
    color: #dbe2ff;
    background: rgba(255,255,255,.05);
    font-size: .86rem;
    font-weight: 850;
}

.landing-trust-row i {
    color: #63e6a5;
}

.landing-product-panel {
    align-content: center;
}

.landing-hero-premium .landing-product-panel {
    justify-self: stretch;
}

.landing-product-card,
.landing-flow-card,
.landing-stat-strip article,
.landing-audience-grid article,
.landing-safety-list span {
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(31, 33, 40, .92);
    box-shadow: 0 22px 50px rgba(0,0,0,.22);
}

.landing-product-card {
    overflow: hidden;
    border-radius: 28px;
}

.landing-product-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    color: #fff;
    background: rgba(15, 16, 20, .72);
}

.landing-product-top span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .16);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.landing-product-top strong {
    padding: 8px 11px;
    border-radius: 12px;
    background: #111318;
    font-size: .92rem;
}

.landing-product-visual {
    min-height: 250px;
    display: grid;
    place-items: center;
    color: #cfd6ff;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(145deg, #2b2e37, #202229);
    font-size: 5rem;
}

.landing-product-body {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.landing-product-body strong {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
}

.landing-product-body small {
    color: #aeb7d0;
    font-weight: 800;
}

.landing-product-body i {
    color: #9aa5ff;
    width: 18px;
}

.landing-flow-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
}

.landing-flow-card-hero {
    gap: 12px;
    padding: clamp(18px, 2.5vw, 26px);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(99, 102, 241, .16), transparent 34%),
        rgba(31, 33, 40, .86);
    backdrop-filter: blur(10px);
}

.landing-flow-card > span {
    color: #8f99ff;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-flow-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 950;
    letter-spacing: -.03em;
}

.landing-flow-card p {
    margin: 0 0 4px;
    color: #b9c1d8;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.55;
}

.landing-flow-card div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 2px 10px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 17px;
    background: rgba(255,255,255,.04);
}

.landing-flow-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 13px;
    color: #cfd6ff;
    background: rgba(99,102,241,.18);
}

.landing-flow-card strong {
    color: #fff;
    font-size: .96rem;
}

.landing-flow-card small {
    color: #aeb7d0;
    font-weight: 700;
}

.landing-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.landing-stat-strip article {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 20px;
}

.landing-stat-strip strong {
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    font-weight: 950;
    line-height: 1;
}

.landing-stat-strip span {
    color: #aeb7d0;
    font-weight: 800;
}

.landing-feature-grid-large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-feature-card,
.landing-plan-card,
.landing-category-card,
.landing-audience-grid article {
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.landing-feature-card:hover,
.landing-plan-card:hover,
.landing-audience-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, .56);
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-audience-grid article {
    padding: 22px;
    border-radius: 22px;
}

.landing-audience-grid article > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #dbe2ff;
    background: rgba(99, 102, 241, .18);
    font-size: 1.2rem;
}

.landing-audience-grid h3 {
    margin: 16px 0 0;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
}

.landing-safety-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(circle at 88% 12%, rgba(20, 184, 166, .16), transparent 32%),
        #1e1f22;
}

.landing-safety-section h2 {
    margin-top: 12px;
}

.landing-safety-list {
    display: grid;
    gap: 10px;
}

.landing-safety-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 17px;
    color: #dfe3f4;
    font-weight: 850;
}

.landing-safety-list i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 13px;
    color: #86efac;
    background: rgba(22, 163, 74, .14);
}

@media (max-width: 1199.98px) {
    .landing-feature-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .landing-hero-premium,
    .landing-safety-section {
        grid-template-columns: 1fr;
    }

    .landing-audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .landing-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-product-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .landing-feature-grid-large,
    .landing-stat-strip {
        grid-template-columns: 1fr;
    }
}

.discover-feed {
    display: grid;
    justify-items: center;
    gap: 16px;
    width: min(100%, 620px);
    margin: clamp(14px, 3vw, 34px) auto 0;
    padding: 0 14px 20px;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 34%, rgba(88,101,242,.16), transparent 38%),
        transparent;
    box-shadow: none;
}

.discover-feed-stage {
    position: relative;
    width: min(100%, 390px);
    min-height: 488px;
    display: grid;
    place-items: center;
    touch-action: pan-y;
}

.discover-feed-stage::before,
.discover-feed-stage::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(88,101,242,.12);
    border-radius: 24px;
    background: rgba(31,33,42,.48);
    transform: rotate(-3deg) translateY(10px);
    z-index: 0;
}

.discover-feed-stage::after {
    inset: 24px;
    transform: rotate(3deg) translateY(18px);
    opacity: .55;
}

.discover-feed-item {
    position: absolute;
    inset: 0;
    display: grid;
    opacity: 0;
    pointer-events: none;
    transform: translateX(42px) scale(.94);
    transition: opacity .22s ease, transform .22s ease;
}

.discover-feed-item.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    z-index: 3;
}

.discover-feed-item.is-before {
    transform: translateX(-42px) scale(.94);
}

.discover-feed-item.is-passing-left {
    opacity: 0;
    transform: translateX(-130px) rotate(-8deg) scale(.92);
}

.discover-feed-item.is-passing-right {
    opacity: 0;
    transform: translateX(130px) rotate(8deg) scale(.92);
}

.discover-feed-item .ad-card-compact {
    min-height: 100%;
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(0,0,0,.38);
}

.discover-feed-item .ad-card-compact .ad-thumb {
    aspect-ratio: 1 / .78;
}

.discover-feed-item .ad-card-compact .card-body {
    min-height: 154px;
    padding: 18px;
}

.discover-feed-item .ad-card-compact .card-title {
    font-size: 1.08rem;
}

.discover-feed-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    padding: 8px;
    border: 1px solid #30333c;
    border-radius: 999px;
    background: rgba(30,31,34,.86);
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.discover-back-button,
.discover-pass-button {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-size: .96rem;
    font-weight: 900;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.discover-back-button {
    min-width: 118px;
    border: 1px solid rgba(138,148,255,.32);
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 34%),
        #20222d;
    box-shadow: 0 12px 26px rgba(88,101,242,.13), 0 10px 24px rgba(0,0,0,.24);
}

.discover-back-button:hover:not(:disabled) {
    border-color: rgba(138,148,255,.74);
    background: #30364f;
    transform: translateY(-2px) scale(1.04);
}

.discover-back-button:disabled,
.discover-pass-button:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
}

.discover-pass-button {
    min-width: 142px;
    border: 1px solid rgba(255,73,101,.45);
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), transparent 34%),
        #2b1118;
    box-shadow: 0 14px 30px rgba(255,73,101,.18), 0 12px 30px rgba(0,0,0,.28);
}

.discover-pass-button:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(255,73,101,.75);
    background: #ef3f5d;
    transform: translateY(-2px) scale(1.04);
}

.discover-feed-hint {
    color: #8f97aa;
    font-size: .78rem;
    font-weight: 750;
    text-align: center;
    max-width: 390px;
    line-height: 1.45;
}

.discover-feed.is-empty .discover-feed-actions,
.discover-feed.is-empty .discover-feed-hint {
    display: none;
}

.discover-deck-empty {
    width: 100%;
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    border: 1px solid #30333c;
    border-radius: 18px;
    color: #f2f3f5;
    background: #1e1f22;
    text-align: center;
}

.discover-deck-empty i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #8df0b3;
    background: rgba(38,185,105,.14);
    font-size: 1.3rem;
}

.discover-deck-empty strong {
    font-size: 1.05rem;
    font-weight: 950;
}

.discover-deck-empty span {
    color: #aeb4c9;
    font-size: .86rem;
    font-weight: 750;
}

.discover-back-modal {
    color: #f2f3f5;
    border: 1px solid #343746;
    border-radius: 20px;
    background: #1e1f22;
    box-shadow: 0 24px 80px rgba(0,0,0,.42);
}

.discover-back-modal .modal-header,
.discover-back-modal .modal-footer {
    border-color: #30333c;
}

.discover-back-modal .modal-body {
    color: #c9cee2;
    font-weight: 650;
}

@media (max-width: 575.98px) {
    .discover-feed {
        width: 100%;
        margin-top: 12px;
        padding-inline: 6px;
    }

    .discover-feed-stage {
        width: min(100%, 342px);
        min-height: 430px;
    }

    .discover-feed-actions {
        width: min(100%, 342px);
    }

    .discover-back-button,
    .discover-pass-button {
        flex: 1 1 0;
        min-width: 0;
        height: 48px;
        padding: 0 12px;
        font-size: .9rem;
    }

    .discover-feed-item .ad-card-compact .card-body {
        min-height: 132px;
        padding: 14px;
    }
}

.ad-card-favorite-form {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    margin: 0;
}

.ad-card-favorite {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(88,101,242,.15);
    border-radius: 10px;
    color: #5865f2;
    background: rgba(247,248,255,.98);
    font-size: .98rem;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(17, 24, 39, .08);
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.ad-card > .ad-card-favorite {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
}

.ad-card-favorite:hover {
    border-color: rgba(88,101,242,.38);
    color: #4552dd;
    background: #eff1ff;
    transform: scale(1.04);
}

.ad-card-favorite.is-saved {
    border-color: rgba(88,101,242,.34);
    color: #fff;
    background: #5865f2;
}

.avatar-preset-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.avatar-preset-option {
    display: grid;
    justify-items: center;
    gap: 7px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: white;
}

.avatar-preset-option small {
    display: block;
    color: #596178;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.avatar-preset-option:hover,
.avatar-preset-option.selected {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.avatar-preset-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.avatar-preset-option img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

/* Sectie titels */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* List group */
.list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 15px 0;
    border-color: #f0f0f0;
}

.list-group-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.list-group-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

.page-issue-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.page-issue-button,
.page-issue-pending-button {
    border-radius: 10px;
    padding: .7rem 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.page-issue-pending-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
}

.page-issue-pending-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.page-issue-blocked-status {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
    white-space: nowrap;
}

.page-issue-summary {
    padding: .8rem .95rem;
    border: 1px solid #e7e8ef;
    border-radius: 10px;
    background: #f7f8fc;
    font-size: .92rem;
}

.page-issue-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 25px 27px;
    border: 1px solid #e5e8f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 33, 68, .06);
}

.page-issue-admin-kicker {
    color: var(--primary-color);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.page-issue-admin-header h2 {
    margin: 5px 0 7px;
    font-size: 1.6rem;
    font-weight: 700;
}

.page-issue-admin-header p {
    margin: 0;
    color: #697088;
}

.page-issue-open-total {
    min-width: 122px;
    padding: 15px 19px;
    border-radius: 12px;
    background: rgba(102, 126, 234, .1);
    color: var(--primary-color);
    text-align: center;
}

.page-issue-open-total strong {
    display: block;
    font-size: 2rem;
    line-height: 1.05;
}

.page-issue-open-total span {
    font-size: .84rem;
    font-weight: 600;
}

.page-issue-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.page-issue-tabs a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #e5e8f2;
    border-radius: 12px;
    color: #555c75;
    background: #fff;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.page-issue-tabs a:hover,
.page-issue-tabs a.active {
    border-color: rgba(102, 126, 234, .5);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(102, 126, 234, .1);
}

.page-issue-tabs a.active {
    background: rgba(102, 126, 234, .06);
}

.page-issue-tabs strong {
    min-width: 27px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f2f9;
    text-align: center;
}

.page-issue-tabs a.active strong {
    color: #fff;
    background: var(--primary-color);
}

.page-issue-worklist {
    padding: 21px;
    border: 1px solid #e5e8f2;
    border-radius: 14px;
    background: #fff;
}

.page-issue-completed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7eaf3;
}

.page-issue-completed-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e4e8f1;
    border-radius: 999px;
    color: #636b83;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
}

.page-issue-completed-filters a.active,
.page-issue-completed-filters a:hover {
    color: var(--primary-color);
    border-color: rgba(102, 126, 234, .4);
    background: rgba(102, 126, 234, .07);
}

.page-issue-completed-filters strong {
    padding: 1px 7px;
    border-radius: 999px;
    background: #eef1f7;
    font-size: .75rem;
}

.page-issue-worklist-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
    margin-bottom: 18px;
}

.page-issue-worklist-heading h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 5px;
    font-size: 1.16rem;
    font-weight: 700;
}

.page-issue-worklist-heading h3 i {
    color: var(--primary-color);
}

.page-issue-worklist-heading p {
    margin: 0;
    color: #697088;
    font-size: .92rem;
}

.page-issue-sort-note {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 999px;
    color: #697088;
    background: #f2f4f9;
    font-size: .78rem;
    font-weight: 600;
}

.page-issue-admin-list {
    display: grid;
    gap: 13px;
}

.page-issue-admin-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 17px;
    padding: 17px;
    border: 1px solid #e5e8f2;
    border-left: 4px solid #99a1b6;
    border-radius: 12px;
    background: #fbfcff;
}

.page-issue-status-pending {
    border-left-color: #e5a42e;
}

.page-issue-status-reviewing {
    border-left-color: var(--primary-color);
}

.page-issue-status-resolved {
    border-left-color: #2da773;
}

.page-issue-status-dismissed {
    border-left-color: #8d94aa;
}

.page-issue-status-abuse {
    border-left-color: #d94762;
}

.page-issue-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
}

.page-issue-card-top time {
    color: #737b92;
    font-size: .83rem;
}

.page-issue-status-pill {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: #535b73;
    background: #eef1f7;
    font-size: .77rem;
    font-weight: 700;
}

.page-issue-status-pending .page-issue-status-pill {
    color: #9b6400;
    background: #fff3d9;
}

.page-issue-status-reviewing .page-issue-status-pill {
    color: #455bca;
    background: #eef0ff;
}

.page-issue-status-resolved .page-issue-status-pill {
    color: #087149;
    background: #e1f6ec;
}

.page-issue-status-abuse .page-issue-status-pill {
    color: #a72845;
    background: #fde8ed;
}

.page-issue-admin-main h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.5;
}

.page-issue-admin-details {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-bottom: 8px;
    color: #606780;
    font-size: .89rem;
}

.page-issue-admin-details span,
.page-issue-admin-details a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.page-issue-admin-details a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.page-issue-url-line {
    color: #8990a5;
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.page-issue-blocklist-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #a72845;
    background: #fde8ed;
    font-size: .85rem;
    font-weight: 600;
}

.page-issue-resolution-result {
    margin-top: 15px;
    padding: 12px 13px;
    border: 1px solid #cfeedd;
    border-radius: 9px;
    background: #f0fbf5;
    color: #39485a;
    font-size: .88rem;
}

.page-issue-resolution-result strong {
    display: block;
    margin-bottom: 6px;
    color: #087149;
}

.page-issue-resolution-result p {
    margin: 0 0 7px;
}

.page-issue-resolution-result span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #087149;
    font-weight: 600;
}

.page-issue-admin-action {
    padding: 13px;
    border-radius: 10px;
    background: #f4f6fb;
}

.page-issue-admin-action .form-label {
    margin-bottom: 5px;
    color: #626a83;
    font-size: .77rem;
    font-weight: 700;
}

.page-issue-admin-action .btn {
    width: 100%;
}

.page-issue-resolution-box {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dfe5f4;
    border-radius: 9px;
    background: #fff;
}

.page-issue-resolution-box > strong {
    display: block;
    color: #424961;
    font-size: .9rem;
}

.page-issue-resolution-box > p {
    margin: 3px 0 11px;
    color: #737b92;
    font-size: .78rem;
}

.page-issue-reward-fields {
    display: grid;
    gap: 9px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed #e1e5ef;
}

.page-issue-days-input {
    width: 90px;
    flex: 0 0 90px;
}

.page-issue-admin-empty {
    padding: 53px 24px;
    border: 1px dashed #dde2ee;
    border-radius: 12px;
    color: #6d748c;
    text-align: center;
}

.page-issue-admin-empty i {
    margin-bottom: 14px;
    color: #b2b8cb;
    font-size: 2rem;
}

.page-issue-admin-empty h4 {
    margin: 0 0 7px;
    color: #424961;
    font-size: 1.05rem;
}

.page-issue-admin-empty p {
    margin: 0;
}

body.theme-dark .page-issue-modal .page-issue-summary {
    color: #e6e8ef;
    border-color: #30333c;
    background: #18191e;
}

body.theme-dark .page-issue-admin-header,
body.theme-dark .page-issue-tabs a,
body.theme-dark .page-issue-worklist,
body.theme-dark .page-issue-admin-card {
    color: #edf0fb;
    border-color: #303442;
    background: #1e2028;
}

body.theme-dark .page-issue-admin-header p,
body.theme-dark .page-issue-worklist-heading p,
body.theme-dark .page-issue-card-top time,
body.theme-dark .page-issue-admin-details,
body.theme-dark .page-issue-url-line {
    color: #aeb4c9;
}

body.theme-dark .page-issue-tabs a.active {
    background: rgba(102, 126, 234, .18);
}

body.theme-dark .page-issue-tabs strong,
body.theme-dark .page-issue-sort-note,
body.theme-dark .page-issue-admin-action {
    color: #b9c0d7;
    background: #282b36;
}

body.theme-dark .page-issue-completed-filters {
    border-color: #303442;
}

body.theme-dark .page-issue-completed-filters a {
    color: #bcc2d8;
    border-color: #303442;
}

body.theme-dark .page-issue-completed-filters a.active,
body.theme-dark .page-issue-completed-filters a:hover {
    color: #cbd0ff;
    background: rgba(102, 126, 234, .18);
}

body.theme-dark .page-issue-resolution-box {
    border-color: #373b49;
    background: #20232c;
}

body.theme-dark .page-issue-resolution-box > strong {
    color: #edf0fb;
}

body.theme-dark .page-issue-resolution-result {
    color: #d7e6df;
    border-color: rgba(45, 167, 115, .36);
    background: rgba(45, 167, 115, .12);
}

body.theme-dark .page-issue-admin-empty {
    border-color: #373b48;
    color: #aeb4c9;
}

body.theme-dark .page-issue-admin-empty h4 {
    color: #edf0fb;
}

/* Cookie notificatie */
.cookie-notification {
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .page-issue-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-issue-button,
    .page-issue-pending-button,
    .page-issue-blocked-status {
        width: 100%;
    }

    .page-issue-admin-header,
    .page-issue-worklist-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .page-issue-open-total {
        width: fit-content;
    }

    .page-issue-tabs {
        grid-template-columns: 1fr;
    }

    .page-issue-admin-card {
        grid-template-columns: 1fr;
    }

    body {
        overflow-x: hidden;
    }

    .container,
    .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .content-wrapper {
        padding-top: 118px !important;
    }

    .main-header .container {
        gap: 8px;
    }

    .site-title {
        font-size: 1.25rem !important;
        min-width: 0;
    }

    .header-actions {
        gap: 4px !important;
    }

    .header-icon-btn,
    .user-dropdown-btn {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        font-size: 1rem !important;
    }

    .fixed-nav-menu {
        top: 64px !important;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-menu .container {
        min-width: max-content;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-nav-link {
        border-left: 0;
        border-top: 3px solid transparent;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .admin-nav-link:hover,
    .admin-nav-link.active {
        border-left-color: transparent;
        border-top-color: var(--primary-color);
    }

    .card-header {
        padding: 14px;
    }

    .card-body {
        padding: 16px;
    }

    .table-responsive {
        border-radius: var(--border-radius-sm);
    }

    .table th,
    .table td {
        padding: 10px;
        white-space: nowrap;
    }

    .row.g-2 > [class*="col-"],
    .row.g-3 > [class*="col-"] {
        margin-bottom: 6px;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-sidebar {
        margin-bottom: 20px;
    }
    
    .table-responsive {
        font-size: 14px;
    }

    .avatar-preset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .btn {
        padding: 8px 20px;
    }
}

@media (max-width: 576px) {
    .admin-nav {
        grid-template-columns: 1fr;
    }

    .avatar-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .d-flex.gap-2,
    .d-flex.gap-3,
    .d-flex.justify-content-center {
        flex-direction: column;
    }

    .modal-dialog {
        margin: 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
    
    .ad-image {
        height: 150px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltips */
.tooltip {
    font-family: 'Inter', sans-serif;
}

.tooltip-inner {
    background-color: var(--dark-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
}

/* Modal */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px;
}

.guest-favorite-modal .modal-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guest-favorite-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #eef0ff;
    background: linear-gradient(135deg, #5865f2, #7c5cff);
    box-shadow: 0 14px 28px rgba(88,101,242,.24);
    font-size: 1.2rem;
}

.guest-favorite-actions {
    gap: 10px;
}

.guest-favorite-actions .btn {
    min-width: 118px;
}

/* Alert */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.alert-danger {
    background: var(--secondary-gradient);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* UX polish */
a {
    text-underline-offset: 3px;
}

.toolbar-card,
.empty-state {
    background: white;
    border: 1px solid #e7e9f2;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.empty-state {
    text-align: center;
    padding: 54px 24px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}

.section-heading p {
    margin: 0;
    color: #6c757d;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-tile {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 16px;
    color: #333;
    text-decoration: none;
    background: white;
    border: 1px solid #e7e9f2;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-tile .category-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin: 0;
    background: rgba(102,126,234,0.1);
    -webkit-text-fill-color: initial;
    color: var(--primary-color);
    font-size: 1.35rem;
}

.category-tile h3 {
    font-size: 1rem;
    margin: 0;
    padding-right: 34px;
    line-height: 1.25;
}

.category-tile p {
    color: #6c757d;
    font-size: 0.92rem;
    margin: 0 0 16px;
}

.category-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    min-width: 26px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(102,126,234,0.1);
    border: 1px solid rgba(102,126,234,0.14);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
}

.category-detail-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.category-detail-panel {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.category-detail-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-size: 1.8rem;
}

.category-detail-label {
    margin: 0 0 2px;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-detail-copy {
    min-width: 0;
}

.category-detail-heading h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.category-overview-panel .category-detail-copy p:not(.category-detail-label) {
    margin: 5px 0 0;
    color: #6c757d;
}

.category-detail-path {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: .9rem;
}

.category-detail-back {
    margin-left: auto;
    flex: 0 0 auto;
}

.category-shop-heading {
    margin-bottom: 18px;
}

.category-hub-bar {
    padding: 10px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.category-hub-search {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 13px;
    background: #f7f8fc;
    border: 1px solid #e5e8f1;
}

.category-hub-search > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #5865f2;
    background: rgba(88,101,242,.1);
}

.category-hub-search label {
    display: block;
    margin-bottom: 2px;
    color: #6b7285;
    font-size: .76rem;
    font-weight: 850;
}

.category-hub-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #1f2433;
    background: transparent;
    font-weight: 850;
}

.category-hub-search input::placeholder {
    color: #8a91a4;
}

.category-hub-quick {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 2px;
}

.category-hub-quick a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 999px;
    color: #39405a;
    background: #f2f4fa;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.category-hub-quick a:hover {
    color: #fff;
    background: #5865f2;
}

.category-directory {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.category-directory-flat {
    grid-template-columns: minmax(0, 1fr);
}

.category-directory-nav {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.category-directory-nav > span {
    margin: 0 0 4px;
    color: #6b7285;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-directory-nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 11px;
    border-radius: 11px;
    color: #dfe2ff;
    background: #222633;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.category-directory-nav a:hover {
    color: #fff;
    background: #5865f2;
}

.category-directory-nav strong {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(88,101,242,.55);
    font-size: .72rem;
}

.category-directory-content {
    display: grid;
    gap: 16px;
}

.category-directory-section {
    padding: 16px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
    scroll-margin-top: 150px;
}

.category-search-results {
    padding: 16px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.category-directory-section-head {
    margin-bottom: 12px;
}

.category-directory-section h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 850;
}

.category-directory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.category-directory-list-flat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-directory-flat .category-directory-section,
.category-search-results {
    padding: 13px;
}

.category-directory-flat .category-directory-item,
.category-search-results .category-directory-item {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    min-height: 46px;
    padding: 6px 8px;
    border-radius: 10px;
}

.category-directory-flat .category-directory-icon,
.category-search-results .category-directory-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: .86rem;
}

.category-directory-flat .category-directory-name,
.category-search-results .category-directory-name {
    font-size: .84rem;
}

.category-directory-flat .category-directory-count,
.category-search-results .category-directory-count {
    min-width: 24px;
    height: 24px;
    font-size: .72rem;
}

.category-directory-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid #e4e7f1;
    border-radius: 13px;
    color: #1f2433;
    background: #f8f9fc;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.category-directory-item:hover {
    color: #1f2433;
    border-color: rgba(88,101,242,.45);
    background: #f1f3ff;
    transform: translateY(-1px);
}

.category-directory-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #cdd1ff;
    background: #24283a;
}

.category-directory-name {
    min-width: 0;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.2;
}

.category-directory-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.category-directory-match {
    min-height: 0;
    color: #8f97aa;
    font-size: .73rem;
    font-weight: 650;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-path-separator {
    color: #7b8398;
    font-weight: 700;
}

.search-results-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,.06);
}

.search-results-form .category-picker-button {
    min-height: 54px;
}

.category-cascade {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.search-results-form .category-cascade {
    grid-column: auto;
}

.home-category-field .category-cascade {
    grid-template-columns: 1fr;
}

.category-cascade-field {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    background: #f7f8fc;
}

.search-filter-panel {
    min-width: 0;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e5e8f1;
    border-radius: 14px;
    background: #f7f8fc;
}

.search-filter-panel-query {
    align-content: stretch;
}

.search-main-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 8px;
    background: #fff;
}

.search-filter-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #61697e;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .045em;
    line-height: 1;
}

.search-filter-title i {
    color: #5865f2;
}

.search-filter-title span:not(.search-step-badge) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-filter-toggle {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    justify-content: space-between;
    text-align: left;
}

.search-filter-toggle > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.search-filter-toggle > i {
    color: #8f97aa;
    font-size: .8rem;
    transition: transform .18s ease;
}

.search-filter-panel.is-open .search-filter-toggle > i {
    transform: rotate(180deg);
}

.search-filter-content {
    min-width: 0;
}

.mobile-filter-open,
.mobile-filter-close,
.mobile-filter-backdrop,
.mobile-filter-head,
.mobile-filter-footer {
    display: none;
}

.mobile-filter-body {
    min-width: 0;
    display: block;
}

.search-filter-panel-all {
    gap: 12px;
}

.search-filter-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(360px, 1.35fr) minmax(220px, .8fr) minmax(210px, .7fr) minmax(220px, .75fr);
    gap: 10px;
}

.search-filter-group {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.mobile-filter-drawer,
.mobile-filter-sheet {
    display: contents;
}

.search-step-badge {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #eef0ff;
    background: linear-gradient(135deg, #5865f2, #7c5cff);
    box-shadow: 0 6px 14px rgba(88,101,242,.24);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: 0;
}

.search-filter-row {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.search-mini-field-single {
    min-height: 58px;
}

.search-compact-form {
    position: relative;
    z-index: 20;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.search-compact-bar {
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 560px) repeat(4, auto);
    justify-content: start;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid #30333c;
    border-radius: 14px;
    background: #1f2025;
}

.search-compact-bar .search-query-field {
    min-height: 46px;
    padding: 6px 10px 6px 8px;
    border-radius: 11px;
    background: #18191d;
}

.search-compact-bar .search-query-field > i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.search-compact-bar .search-query-field input {
    font-size: 1rem;
}

.search-filter-button,
.search-icon-filter,
.search-reset-button {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #363a47;
    border-radius: 11px;
    color: #dce1ff;
    background: #24262d;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.search-icon-filter {
    position: relative;
    min-width: 112px;
    padding: 0 13px;
}

.search-filter-control {
    position: relative;
    width: auto;
    height: 46px;
}

.search-icon-filter.is-active,
.search-icon-filter.is-open {
    color: #fff;
    border-color: #5865f2;
    background: #2b2f59;
}

.search-icon-filter strong {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #1f2025;
    border-radius: 999px;
    color: #fff;
    background: #5865f2;
    font-size: .62rem;
    font-weight: 950;
    line-height: 1;
}

.search-filter-button {
    padding: 0 14px;
}

.search-filter-button.is-active {
    color: #fff;
    border-color: #5865f2;
    background: #2b2f59;
}

.search-filter-button strong {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #5865f2;
    font-size: .76rem;
}

.search-reset-button {
    width: 46px;
}

.search-reset-button.is-hidden {
    display: none;
}

.search-compact-filters {
    display: none;
    padding: 10px;
    border: 1px solid #30333c;
    border-radius: 14px;
    background: #1f2025;
}

.search-compact-filters.is-open {
    display: block;
}

.search-filter-popover {
    display: none;
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: min(520px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid #30333c;
    border-radius: 14px;
    background: #1f2025;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}

.search-filter-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    padding-bottom: 8px;
    border-bottom: 1px solid #30333c;
}

.search-filter-popover-head span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dbe1ff;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.search-filter-popover-head button {
    border: 0;
    padding: 0;
    color: #8ea0ff;
    background: transparent;
    font-size: .78rem;
    font-weight: 950;
}

.search-filter-popover-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.search-filter-close {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #343843 !important;
    border-radius: 9px;
    color: #dfe3f4 !important;
    background: #24262d !important;
    font-size: .8rem !important;
}

.search-filter-popover-head button:hover {
    color: #fff;
}

.search-filter-close:hover {
    border-color: rgba(88,101,242,.6) !important;
    background: #2b3152 !important;
}

.mobile-choice-modal[hidden] {
    display: none;
}

.mobile-choice-modal {
    position: fixed;
    top: var(--mobile-choice-top, 0);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1300;
    background: #111216;
    border-top: 1px solid #30333c;
}

.mobile-choice-dialog {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    color: #f2f3f5;
}

.mobile-choice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 14px 16px;
    border-bottom: 1px solid #30333c;
    background: #1e1f22;
}

.mobile-choice-head span,
.mobile-choice-head strong {
    display: block;
}

.mobile-choice-head span {
    color: #98a2c9;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mobile-choice-head strong {
    margin-top: 2px;
    color: #f2f3f5;
    font-size: 1.08rem;
    font-weight: 950;
}

.mobile-choice-head button {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid #343843;
    border-radius: 12px;
    color: #f2f3f5;
    background: #24262d;
}

.mobile-choice-list {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-choice-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #30333c;
    border-radius: 13px;
    color: #f2f3f5;
    background: #1f2025;
    font-size: .94rem;
    font-weight: 850;
    text-align: left;
}

.mobile-choice-option.is-selected {
    border-color: rgba(88,101,242,.7);
    background: #242a4b;
}

.mobile-choice-option i {
    color: #56f29b;
}

body.mobile-choice-active {
    overflow: hidden;
}

.search-filter-popover.is-open {
    display: block;
}

.search-filter-popover-category {
    width: min(760px, calc(100vw - 28px));
}

.search-filter-popover-condition {
    width: min(300px, calc(100vw - 28px));
}

.search-filter-popover-location,
.search-filter-popover-price {
    width: min(430px, calc(100vw - 28px));
}

.search-compact-filters .search-filter-grid {
    grid-template-columns: minmax(320px, 1.35fr) minmax(180px, .65fr) minmax(220px, .85fr) minmax(210px, .75fr);
    gap: 8px;
}

.search-filter-label {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aeb7dd;
    font-size: .72rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.search-compact-filters .category-cascade {
    gap: 6px;
}

.search-compact-filters .category-cascade-field,
.search-compact-filters .search-mini-field {
    min-height: 42px;
    padding: 7px 9px;
    border-radius: 10px;
}

.search-compact-filters .category-cascade-field label,
.search-compact-filters .search-mini-field small {
    font-size: .66rem;
}

.search-compact-filters .category-cascade-field select,
.search-filter-popover .category-cascade-field select,
.search-compact-filters .search-mini-field input,
.search-filter-popover .search-mini-field input,
.search-compact-filters .search-mini-field select {
    min-height: 20px;
    font-size: .88rem;
}

@media (max-width: 1199.98px) {
    .search-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filter-panel-wide {
        grid-column: 1 / -1;
    }
}

.search-mini-field {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: 58px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    background: #fff;
}

.search-mini-field small {
    color: #6b7285;
    font-size: .72rem;
    font-weight: 850;
}

.search-mini-field input,
.search-mini-field select {
    width: 100%;
    min-width: 0;
    min-height: 24px;
    border: 0;
    outline: 0;
    color: #1f2433;
    background: transparent;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-mini-field input::placeholder {
    color: #8c94a8;
}

.search-mini-field select option {
    color: #1f2433;
    background: #fff;
}

.category-cascade-field label {
    color: #6b7285;
    font-size: .72rem;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-cascade-field select {
    width: 100%;
    min-width: 0;
    min-height: 24px;
    border: 0;
    outline: 0;
    color: #1f2433;
    background: transparent;
    font-weight: 900;
    color-scheme: light;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-cascade-field select:disabled {
    color: #9097aa;
    opacity: 1;
}

.category-cascade-field select option {
    color: #1f2433;
    background: #fff;
}

.search-query-field {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 100%;
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    background: #fff;
}

.search-query-field > i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #5865f2;
    background: rgba(88,101,242,.1);
}

.search-query-field label {
    display: block;
    margin-bottom: 2px;
    color: #6b7285;
    font-size: .75rem;
    font-weight: 850;
}

.search-query-field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #1f2433;
    background: transparent;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-query-field input::placeholder {
    color: #8c94a8;
}

.search-category-matches {
    padding: 13px;
    border: 1px solid #e1e5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,.06);
}

.search-category-list {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.search-category-link {
    flex: 0 0 auto;
    max-width: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(88,101,242,.28);
    border-radius: 999px;
    color: #1f2433;
    background: #f8f9ff;
    text-decoration: none;
}

.search-category-link:hover {
    color: #1f2433;
    border-color: rgba(88,101,242,.45);
    background: #f1f3ff;
}

.search-category-link span {
    display: none;
}

.search-category-link strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .86rem;
}

.search-category-link i {
    color: #5865f2;
}

.search-empty-wrap {
    max-width: 760px;
}

.search-results-shell.is-list-view .home-feed-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.search-results-shell.is-list-view .home-feed-item,
.search-results-shell.is-list-view .home-feed-item:nth-child(n+6) {
    display: block;
}

.search-results-shell.is-list-view .ad-card-compact {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 170px;
}

.search-results-shell.is-list-view .ad-card-compact .ad-thumb {
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
}

.search-results-shell.is-list-view .ad-card-compact .card-body {
    padding: 18px 20px;
}

.search-results-shell.is-list-view .ad-card-compact .card-title {
    min-height: 0;
    max-height: none;
    font-size: 1.08rem;
    -webkit-line-clamp: 2;
}

.search-results-shell.is-list-view .ad-card-summary {
    font-size: .78rem;
}

.search-empty-wrap .empty-state {
    width: 100%;
    background: #1e1f22;
}

.search-pagination-wrap {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 24px;
}

.search-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.search-page-button,
.search-page-number {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    place-items: center;
    justify-content: center;
    color: #dfe2ff;
    border-color: #30333c;
    border: 1px solid #30333c;
    border-radius: 10px;
    background: #22242b;
    font-weight: 850;
    text-decoration: none;
}

.search-page-button {
    padding: 0 14px;
}

.search-page-number {
    min-width: 38px;
    padding: 0 10px;
}

.search-page-arrow {
    width: 38px;
    padding: 0;
}

.search-page-number.active,
.search-page-button:hover,
.search-page-number:hover {
    color: #fff;
    border-color: #5865f2;
    background: #5865f2;
}

.search-page-button.disabled {
    color: #767d91;
    background: #1e1f22;
    border-color: #30333c;
    cursor: default;
}

.search-pagination-count {
    color: #aeb4c9;
    font-size: .86rem;
    font-weight: 850;
}

.live-search-status {
    min-height: 18px;
    margin: -8px 0 10px;
    color: #8d94ad;
    font-size: .86rem;
    font-weight: 800;
}

.search-category-matches .category-directory-section-head h2 {
    font-size: 1.08rem;
    margin: 0;
}

.search-category-matches .category-directory-section-head {
    align-items: center;
}

@media (min-width: 768px) {
    .search-category-list {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

body.theme-dark .search-results-form,
body.theme-dark .search-category-matches {
    color: #f2f3f5;
    border-color: #30333c;
    background: #1e1f22;
    box-shadow: 0 8px 26px rgba(0,0,0,.24);
}

body.theme-dark .search-query-field,
body.theme-dark .search-category-link {
    color: #f2f3f5;
    border-color: #343843;
    background: #1e1f22;
}

body.theme-dark .search-filter-panel {
    border-color: #30333c;
    background: #22242b;
}

body.theme-dark .search-filter-title {
    color: #aeb4c9;
}

body.theme-dark .search-mini-field {
    border-color: #343843;
    background: #1e1f22;
}

body.theme-dark .search-mini-field small {
    color: #aeb4c9;
}

body.theme-dark .search-mini-field input,
body.theme-dark .search-mini-field select {
    color: #f2f3f5;
    color-scheme: dark;
}

body.theme-dark .search-mini-field input::placeholder {
    color: #8f97aa;
}

body.theme-dark .search-mini-field select option {
    color: #f2f3f5;
    background: #22242b;
}

body.theme-dark .search-results-form > .form-control,
body.theme-dark .search-results-form > .form-select {
    color: #f2f3f5;
    border-color: #30333c;
    background-color: #22242b;
}

body.theme-dark .search-results-form > .form-control::placeholder {
    color: #8f97aa;
}

body.theme-dark .search-results-form > .form-select option {
    color: #f2f3f5;
    background: #22242b;
}

body.theme-dark .category-picker-button {
    color: #f2f3f5;
    border-color: #30333c;
    background: #22242b;
}

body.theme-dark .category-picker-button small {
    color: #aeb4c9;
}

body.theme-dark .category-cascade-field {
    border-color: #343843;
    background: #1e1f22;
}

body.theme-dark .category-cascade-field label {
    color: #aeb4c9;
}

body.theme-dark .category-cascade-field select {
    color: #f2f3f5;
    color-scheme: dark;
}

body.theme-dark .category-cascade-field select:disabled {
    color: #8f97aa;
}

body.theme-dark .category-cascade-field select option {
    color: #f2f3f5;
    background: #22242b;
}

body.theme-light .category-picker-panel {
    border-color: #dfe4f0;
    background: #fff;
    box-shadow: 0 18px 50px rgba(24,33,61,.18);
}

body.theme-light .category-picker-search {
    border-color: #e1e5f0;
    background: #f6f7fb;
}

body.theme-light .category-picker-search input {
    color: #1f2433;
}

body.theme-light .category-picker-back {
    color: #1f2433;
    border-color: #e1e5f0;
    background: #f6f7fb;
}

body.theme-light .category-picker-back:hover {
    border-color: rgba(88,101,242,.35);
    background: #f1f3ff;
}

body.theme-light .category-picker-subtitle {
    color: #1f2433;
}

body.theme-light .category-picker-option {
    color: #1f2433;
}

body.theme-light .category-picker-option:hover,
body.theme-light .category-picker-option.active {
    color: #1f2433;
    border-color: rgba(88,101,242,.35);
    background: #f1f3ff;
}

body.theme-dark .search-query-field input {
    color: #f2f3f5;
}

body.theme-dark .search-query-field label,
body.theme-dark .search-category-link span {
    color: #aeb4c9;
}

body.theme-dark .search-query-field input::placeholder {
    color: #8f97aa;
}

body.theme-dark .search-category-link:hover {
    color: #fff;
    border-color: rgba(88,101,242,.55);
    background: #292d3f;
}

.category-directory-count {
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #dfe2ff;
    background: #343a66;
    font-size: .78rem;
    font-weight: 850;
}

.category-shop-panel,
.category-results-head,
.category-filter-card {
    background: #fff;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(31,33,68,0.06);
}

.category-shop-panel {
    padding: 18px;
}

.category-shop-panel-head,
.category-results-head,
.category-filter-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.category-shop-panel-head {
    margin-bottom: 16px;
}

.category-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    color: #667eea;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-shop-panel h2,
.category-results-head h2 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 850;
}

.category-shop-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 999px;
    color: #f2f3ff;
    background: #5865f2;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.category-shop-all-link:hover {
    color: #fff;
    background: #4752c4;
}

.category-grid-shop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-filter-strip {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,33,68,0.05);
}

.category-filter-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid #e4e7f1;
    border-radius: 999px;
    color: #3f465c;
    background: #f7f8fc;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.category-filter-chip:hover,
.category-filter-chip.active {
    color: #fff;
    border-color: #5865f2;
    background: #5865f2;
}

.category-filter-chip strong {
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #5865f2;
    background: #fff;
    font-size: .72rem;
}

.category-shop-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.category-shop-sidebar {
    min-width: 0;
}

.category-filter-card {
    padding: 16px;
}

.category-filter-card-head {
    margin-bottom: 16px;
}

.category-filter-card-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 1rem;
    font-weight: 850;
}

.category-filter-card-head h2 i {
    color: #667eea;
}

.category-filter-card-head span {
    min-width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #5865f2;
    font-size: .78rem;
    font-weight: 850;
}

.category-filter-label {
    display: block;
    margin: 0 0 7px;
    color: #4a5168;
    font-size: .82rem;
    font-weight: 850;
}

.category-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.category-my-city {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(88,101,242,.28);
    border-radius: 10px;
    color: #5865f2;
    background: rgba(88,101,242,.08);
    font-size: .82rem;
    font-weight: 800;
}

.category-results-head {
    padding: 15px 17px;
    margin-bottom: 18px;
}

.category-results-head p {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: .9rem;
}

.category-sort-form {
    flex: 0 0 190px;
}

.category-promoted-row,
.category-ad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-promoted-row {
    padding: 14px;
    border: 1px solid rgba(88,101,242,.18);
    border-radius: 14px;
    background: rgba(88,101,242,.06);
}

body.theme-dark .category-detail-panel {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
    box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}

body.theme-dark .category-detail-icon {
    background: #2b2d31;
    color: #f2f3f5;
}

body.theme-dark .category-detail-label,
body.theme-dark .category-detail-heading p:not(.category-detail-label) {
    color: #b5bac1;
}

body.theme-dark .category-count-badge {
    color: #dfe2ff;
    background: rgba(88,101,242,0.18);
    border-color: rgba(88,101,242,0.26);
}

body.theme-dark .category-shop-panel,
body.theme-dark .category-results-head,
body.theme-dark .category-filter-card,
body.theme-dark .category-filter-strip,
body.theme-dark .category-hub-bar,
body.theme-dark .category-directory-nav,
body.theme-dark .category-directory-section,
body.theme-dark .category-search-results {
    background: #1e1f22;
    border-color: #30333c;
    color: #f2f3f5;
    box-shadow: 0 8px 26px rgba(0,0,0,.24);
}

body.theme-dark .category-hub-search,
body.theme-dark .category-hub-quick a {
    color: #d7dcf2;
    border-color: #353844;
    background: #282b34;
}

body.theme-dark .category-hub-search input {
    color: #f2f3f5;
}

body.theme-dark .category-hub-search label {
    color: #aeb4c9;
}

body.theme-dark .category-hub-quick a:hover {
    color: #fff;
    background: #5865f2;
}

body.theme-dark .category-directory-item {
    color: #f2f3f5;
    border-color: #30333c;
    background: #22242b;
}

body.theme-dark .category-directory-item:hover {
    color: #fff;
    border-color: rgba(88,101,242,.55);
    background: #292d3f;
}

body.theme-dark .category-directory-section h2 {
    color: #f2f3f5;
}

body.theme-dark .category-directory-match {
    color: #aeb4c9;
}

body.theme-dark .category-filter-chip {
    color: #d7dcf2;
    border-color: #353844;
    background: #282b34;
}

body.theme-dark .category-filter-chip:hover,
body.theme-dark .category-filter-chip.active {
    color: #fff;
    border-color: #5865f2;
    background: #5865f2;
}

body.theme-dark .category-filter-label,
body.theme-dark .category-results-head p {
    color: #b5bac1;
}

body.theme-dark .category-my-city {
    color: #cdd1ff;
    border-color: rgba(88,101,242,.42);
    background: rgba(88,101,242,.16);
}

body.theme-dark .category-promoted-row {
    border-color: rgba(88,101,242,.28);
    background: rgba(88,101,242,.12);
}

.hero-stat {
    min-width: 170px;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    text-align: right;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.hero-stat span {
    font-size: 0.9rem;
    opacity: 0.86;
}

.filter-panel {
    position: sticky;
    top: 150px;
}

.filter-title {
    margin-bottom: 10px;
    color: #343a40;
    font-size: 0.92rem;
    font-weight: 700;
}

.ad-card-body {
    padding: 16px;
}

.ad-card-title {
    font-size: 1rem;
    line-height: 1.35;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
}

.ad-card-title a:hover {
    color: var(--primary-color) !important;
}

.ad-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #6c757d;
    font-size: 0.875rem;
}

.listing-heading-panel,
.listing-section-card,
.listing-side-card {
    background: #fff;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.listing-heading-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    align-items: center;
    gap: 22px;
    padding: 18px;
}

.listing-hero-card {
    border-radius: 18px;
}

.listing-heading-main {
    min-width: 0;
    padding: 6px 8px;
}

.listing-kicker {
    margin: 0 0 4px;
    color: #5865f2;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listing-heading-panel h1 {
    max-width: 760px;
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    font-weight: 900;
    line-height: 1.12;
}

.listing-submeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6c757d;
    font-size: 0.92rem;
}

.listing-submeta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #e6e9f2;
    border-radius: 999px;
    background: #f7f8fc;
    color: #596178;
    font-weight: 750;
}

.listing-heading-side {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.listing-hero-actions {
    justify-content: flex-end;
}

.listing-price-card {
    min-width: 210px;
    padding: 16px 18px;
    border: 1px solid rgba(88,101,242,.3);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 10%, rgba(124,92,255,.16), transparent 42%),
        linear-gradient(135deg, rgba(88,101,242,.12), rgba(124,92,255,.06));
    box-shadow: 0 14px 32px rgba(31,33,68,.09);
}

.listing-price-card span {
    display: block;
    margin-bottom: 3px;
    color: #626b84;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.listing-price-card strong {
    display: block;
    color: #25283c;
    font-size: clamp(1.6rem, 2.45vw, 2.05rem);
    font-weight: 950;
    line-height: 1.1;
    white-space: nowrap;
}

.listing-price-card small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: .78rem;
    font-weight: 700;
}

.listing-back-button {
    min-height: 54px;
    padding-inline: 18px;
    border-radius: 14px;
    font-weight: 850;
}

.listing-status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.listing-status-active {
    background: rgba(25,135,84,0.12);
    color: #198754;
}

.listing-status-reserved {
    background: rgba(255,193,7,0.18);
    color: #8c6600;
}

.listing-status-sold {
    background: rgba(73,80,87,0.12);
    color: #495057;
}

.listing-section-card,
.listing-side-card {
    padding: 22px;
}

.listing-section-card h2,
.listing-side-card h2 {
    margin: 0 0 17px;
    font-size: 1.18rem;
    font-weight: 700;
}

.listing-section-card p {
    margin: 0;
    color: #51566b;
    line-height: 1.7;
}

.listing-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.listing-facts div {
    padding: 11px;
    border-radius: 10px;
    background: #f5f6fa;
}

.listing-facts span,
.listing-seller-heading span {
    display: block;
    margin-bottom: 3px;
    color: #6c757d;
    font-size: 0.78rem;
}

.listing-facts strong {
    display: block;
    overflow: hidden;
    color: #343849;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    line-height: 1.35;
    white-space: normal;
}

.listing-map-link {
    display: inline-flex;
    margin-left: 6px;
    color: var(--primary-color);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.listing-map-link:hover {
    text-decoration: underline;
}

.listing-share-actions {
    margin-top: 4px;
}

.listing-share-actions > .btn:only-child {
    grid-column: 1 / -1;
}

.listing-seller-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 12px 0 20px;
}

.listing-seller-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
}

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

.listing-seller-heading a {
    display: block;
    color: #343849;
    font-size: 1.04rem;
    font-weight: 700;
    text-decoration: none;
}

.listing-seller-heading a:hover {
    color: var(--primary-color);
}

.listing-seller-actions {
    display: grid;
    gap: 10px;
}

.listing-report-action .btn {
    font-size: 0.9rem;
    text-decoration: none;
}

.listing-bid-card {
    border-color: rgba(88, 101, 242, .24);
}

.listing-action-card {
    display: grid;
    gap: 14px;
    border-color: rgba(88, 101, 242, .34);
    background:
        radial-gradient(circle at 92% 8%, rgba(124, 92, 255, .13), transparent 42%),
        #fff;
}

.listing-action-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e7e9f3;
}

.listing-action-price span {
    color: #667085;
    font-size: .82rem;
    font-weight: 850;
}

.listing-action-price strong {
    color: var(--primary-color);
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.listing-action-copy {
    margin: 0;
    color: #596178;
    line-height: 1.55;
}

.listing-action-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(88, 101, 242, .18);
    border-radius: 13px;
    background: rgba(88, 101, 242, .08);
    color: #4653d8;
    font-size: .9rem;
    font-weight: 750;
}

.listing-action-note i {
    margin-top: 2px;
}

.listing-bid-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.listing-bid-title h2 {
    margin-bottom: 0;
}

.listing-bid-title > strong {
    color: var(--primary-color);
    font-size: 1.35rem;
    white-space: nowrap;
}

.listing-bid-leader,
.listing-bid-help {
    margin: 0 0 15px;
    color: #596178;
}

.listing-bid-leader {
    padding: 10px 12px;
    border-radius: 10px;
    color: #4552dd;
    background: rgba(88, 101, 242, .1);
    font-weight: 700;
}

.listing-bid-form small {
    color: #667085;
}

.listing-bid-notice,
.listing-outbid-count {
    padding: 11px 12px;
    border-radius: 10px;
    color: #4552dd;
    background: rgba(88, 101, 242, .1);
    font-size: .9rem;
}

.listing-outbid-count {
    margin: 14px 0 0;
}

.listing-bid-history {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f7;
}

.listing-bid-history.is-standalone {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.listing-bid-history h3 {
    margin: 0 0 4px;
    font-size: .92rem;
    font-weight: 800;
}

.listing-bid-history div {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    background: #f5f6fa;
    font-size: .88rem;
}

.listing-bid-history div.is-leading {
    background: rgba(88, 101, 242, .1);
}

.listing-bid-history span {
    display: grid;
    place-items: center;
    height: 29px;
    border-radius: 50%;
    color: var(--primary-color);
    background: #fff;
    font-weight: 800;
}

.listing-bid-history small {
    color: #667085;
}

.post-ad-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 25px;
    border: 1px solid #e1e5f0;
    border-radius: 15px;
    background: #fff;
}

.post-ad-heading h1 {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
}

.post-ad-heading p:not(.listing-kicker) {
    max-width: 660px;
    margin: 0;
    color: #667085;
}

.post-ad-plan {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.post-ad-plan div {
    padding: 14px 16px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    background: #fff;
}

.post-ad-plan strong {
    display: block;
    color: #343849;
    font-size: 1.2rem;
}

.post-ad-plan span {
    color: #667085;
    font-size: .83rem;
}

.post-ad-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
    gap: 18px;
}

.post-ad-layout main {
    display: grid;
    gap: 16px;
}

.post-ad-card {
    padding: 22px;
    border: 1px solid #e1e5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31, 33, 68, .04);
}

.post-ad-step {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
}

.post-ad-step > span {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    height: 34px;
    border-radius: 11px;
    color: #fff;
    background: var(--primary-color);
    font-weight: 800;
}

.post-ad-step h2,
.post-ad-submit h2 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 800;
}

.post-ad-step p,
.post-ad-submit p {
    margin: 0;
    color: #667085;
    font-size: .9rem;
}

.post-price-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.post-price-choice {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 15px 13px;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    cursor: pointer;
}

.post-price-choice:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(88, 101, 242, .06);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, .12);
}

.post-price-choice input {
    position: absolute;
    opacity: 0;
}

.post-price-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    border-radius: 10px;
    color: var(--primary-color);
    background: rgba(88, 101, 242, .1);
}

.post-price-choice small,
.post-price-field small {
    color: #667085;
    font-size: .8rem;
}

.post-location-confirm {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    border: 1px solid rgba(88, 101, 242, .18);
    border-radius: 12px;
    background: rgba(88, 101, 242, .055);
    cursor: pointer;
}

.post-location-confirm input {
    margin-top: 4px;
}

.post-location-confirm strong,
.post-location-confirm small {
    display: block;
}

.post-location-confirm small {
    margin-top: 3px;
    color: #667085;
    font-size: .82rem;
}

.post-price-field.is-hidden {
    display: none;
}

.post-attribute-panel {
    padding: 14px;
    border: 1px solid rgba(88, 101, 242, .18);
    border-radius: 12px;
    background: rgba(88, 101, 242, .055);
}

.post-attribute-panel.is-hidden {
    display: none;
}

.post-attribute-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.post-attribute-head strong {
    color: #2b3042;
    font-size: .95rem;
}

.post-attribute-head span {
    color: #667085;
    font-size: .8rem;
}

.post-attribute-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.theme-dark .post-attribute-panel {
    border-color: rgba(88,101,242,.3);
    background: rgba(88,101,242,.12);
}

body.theme-dark .post-attribute-head strong {
    color: #f2f3f5;
}

body.theme-dark .post-attribute-head span {
    color: #b5bac1;
}

.post-photo-upload {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 26px;
    border: 1px dashed rgba(88, 101, 242, .38);
    border-radius: 12px;
    color: #667085;
    background: rgba(88, 101, 242, .035);
    cursor: pointer;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.post-photo-upload:hover,
.post-photo-upload.is-dragging {
    border-color: rgba(88, 101, 242, .9);
    background: rgba(88, 101, 242, .1);
    transform: translateY(-1px);
}

.post-photo-upload i {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.65rem;
}

.post-photo-upload strong {
    color: #343849;
}

.post-photo-upload input {
    margin-top: 12px;
    max-width: 370px;
}

.post-photo-error {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(239, 63, 95, .12);
    color: #cf274a;
    font-size: .88rem;
    font-weight: 850;
}

.post-photo-error.is-visible {
    display: block;
}

.post-photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.post-photo-preview > span {
    grid-column: 1 / -1;
    color: #667085;
    font-weight: 800;
}

.post-photo-preview-item {
    position: relative;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 12px;
    background: rgba(15, 23, 42, .025);
}

.post-photo-preview-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 9px;
    background: #eef1f7;
}

.post-photo-preview-item i.far {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--primary-color);
    background: rgba(88, 101, 242, .1);
    font-size: 1.8rem;
}

.post-photo-preview-item strong {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: #101828;
    font-size: .82rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-photo-preview-item button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, .78);
}

.post-ad-submit {
    position: sticky;
    top: 110px;
}

body.theme-dark .listing-heading-panel,
body.theme-dark .listing-section-card,
body.theme-dark .listing-side-card {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
    box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}

body.theme-dark .listing-seller-heading a,
body.theme-dark .listing-facts strong {
    color: #f2f3f5;
}

body.theme-dark .listing-price-card {
    border-color: rgba(88,101,242,.42);
    background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(124,92,255,.08));
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

body.theme-dark .listing-price-card span {
    color: #bfc5df;
}

body.theme-dark .listing-price-card strong {
    color: #fff;
}

body.theme-dark .listing-price-card small {
    color: #aeb4c9;
}

body.theme-dark .listing-action-card {
    border-color: rgba(88,101,242,.42);
    background:
        radial-gradient(circle at 92% 8%, rgba(124, 92, 255, .18), transparent 42%),
        #1e1f22;
}

body.theme-dark .listing-action-price {
    border-color: #303442;
}

body.theme-dark .listing-action-price span,
body.theme-dark .listing-action-copy {
    color: #b5bac1;
}

body.theme-dark .listing-action-price strong {
    color: #667eea;
}

body.theme-dark .listing-action-note {
    border-color: rgba(88,101,242,.24);
    background: rgba(88, 101, 242, .16);
    color: #d6d9ff;
}

body.theme-dark .listing-kicker,
body.theme-dark .listing-section-card p,
body.theme-dark .listing-facts span,
body.theme-dark .listing-seller-heading span {
    color: #b5bac1;
}

body.theme-dark .listing-submeta span {
    color: #cfd3e8;
    border-color: #30333c;
    background: #24262d;
}

body.theme-dark .listing-facts div,
body.theme-dark .listing-seller-avatar {
    background: #2b2d31;
}

body.theme-dark .listing-seller-avatar {
    color: #c9cdfb;
}

body.theme-dark .listing-bid-leader,
body.theme-dark .listing-bid-notice,
body.theme-dark .listing-outbid-count {
    color: #c9cdfb;
    background: rgba(88, 101, 242, .16);
}

body.theme-dark .listing-bid-form small,
body.theme-dark .listing-bid-help,
body.theme-dark .listing-bid-history small {
    color: #b5bac1;
}

body.theme-dark .listing-bid-history {
    border-color: #303442;
}

body.theme-dark .listing-bid-history div {
    background: #2b2d31;
}

body.theme-dark .listing-bid-history div.is-leading,
body.theme-dark .listing-bid-history span {
    background: rgba(88, 101, 242, .18);
}

body.theme-dark .post-ad-heading,
body.theme-dark .post-ad-plan div,
body.theme-dark .post-ad-card {
    border-color: #303442;
    background: #1e1f22;
}

body.theme-dark .post-ad-heading h1,
body.theme-dark .post-ad-plan strong,
body.theme-dark .post-ad-step h2,
body.theme-dark .post-ad-submit h2,
body.theme-dark .post-photo-upload strong {
    color: #f2f3f5;
}

body.theme-dark .post-ad-heading p:not(.listing-kicker),
body.theme-dark .post-ad-plan span,
body.theme-dark .post-ad-step p,
body.theme-dark .post-ad-submit p,
body.theme-dark .post-price-choice small,
body.theme-dark .post-price-field small,
body.theme-dark .post-photo-upload {
    color: #b5bac1;
}

body.theme-dark .post-price-choice {
    border-color: #303442;
}

body.theme-dark .post-price-choice:has(input:checked),
body.theme-dark .post-photo-upload {
    background: rgba(88, 101, 242, .13);
}

body.theme-dark .post-photo-upload.is-dragging,
body.theme-dark .post-photo-upload:hover {
    background: rgba(88, 101, 242, .2);
}

body.theme-dark .post-photo-preview > span,
body.theme-dark .post-photo-preview-item strong {
    color: #b5bac1;
}

body.theme-dark .post-photo-preview-item {
    background: rgba(255, 255, 255, .025);
    border-color: #343741;
}

body.theme-dark .post-photo-preview-item img,
body.theme-dark .post-photo-preview-item i.far {
    background: #25272d;
}

body.theme-dark .buy-request-choice {
    background: rgba(255, 255, 255, 0.025);
    border-color: #343741;
}

body.theme-dark .buy-request-choice:has(input:checked),
body.theme-dark .buy-request-warning,
body.theme-dark .post-location-confirm {
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.42);
}

body.theme-dark .buy-request-choice strong,
body.theme-dark .post-location-confirm strong {
    color: #fff;
}

body.theme-dark .buy-request-choice small,
body.theme-dark .buy-request-warning,
body.theme-dark .post-location-confirm small {
    color: #b5bac1;
}

body.theme-dark .listing-status-active {
    background: rgba(35,165,90,0.18);
    color: #72dc9b;
}

body.theme-dark .listing-status-reserved {
    background: rgba(255,193,7,0.15);
    color: #ffd36a;
}

body.theme-dark .listing-status-sold {
    background: #2b2d31;
    color: #b5bac1;
}

.seller-profile-header,
.seller-profile-section,
.seller-profile-side-card {
    background: #fff;
    border: 1px solid #e1e5f0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(31,33,68,0.05);
}

.seller-profile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border-radius: 18px;
}

.seller-profile-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.seller-profile-avatar-editor {
    position: relative;
    flex: 0 0 auto;
}

.seller-profile-avatar {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(135deg, rgba(88,101,242,.22), rgba(124,92,255,.12));
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: 0 16px 36px rgba(88,101,242,.18);
}

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

.seller-profile-kicker {
    margin: 0 0 3px;
    color: #5865f2;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seller-profile-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.seller-profile-name h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    font-weight: 950;
    line-height: 1.05;
}

.seller-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #596178;
    font-size: 0.9rem;
}

.seller-profile-meta span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border: 1px solid #e6e9f2;
    border-radius: 999px;
    background: #f7f8fc;
    font-weight: 750;
}

.seller-profile-meta span .fa-star {
    color: #e8ae00;
}

.seller-profile-meta span .fa-user-group {
    color: #8790ff;
}

.seller-profile-meta strong {
    color: inherit;
    font-weight: 950;
}

.seller-profile-meta small {
    color: #8f96ad;
    font-size: 0.86rem;
    font-weight: 800;
}

.seller-profile-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-items: end;
    min-width: 0;
}

.seller-profile-stats {
    display: grid;
    grid-template-columns: minmax(108px, 1fr);
    gap: 8px;
}

.seller-profile-stats div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e6e9f2;
    border-radius: 14px;
    background: #f7f8fc;
    text-align: center;
}

.seller-profile-stats strong {
    display: block;
    color: #5865f2;
    font-size: 1.22rem;
    font-weight: 950;
    line-height: 1.15;
}

.seller-profile-stats span {
    color: #6c757d;
    font-size: 0.76rem;
}

.seller-profile-stats span i {
    color: #e8ae00;
}

.seller-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.seller-profile-actions .btn {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 850;
}

.seller-profile-action-icon,
.seller-profile-report-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #3f4460;
    border-radius: 12px;
    background: #24262d;
    color: #cfd3e8;
    font-size: 1rem;
    transition: 0.16s ease;
}

.seller-profile-action-icon:hover {
    border-color: rgba(88, 101, 242, 0.75);
    background: rgba(88, 101, 242, 0.16);
    color: #ffffff;
}

.seller-profile-action-icon.is-follow {
    border-color: rgba(46, 204, 113, 0.55);
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
}

.seller-profile-action-icon.is-follow:hover {
    border-color: rgba(46, 204, 113, 0.8);
    background: rgba(46, 204, 113, 0.2);
    color: #46e187;
}

.seller-profile-action-icon.is-unfollow {
    border-color: rgba(255, 92, 122, 0.55);
    background: rgba(255, 92, 122, 0.12);
    color: #ff6b82;
}

.seller-profile-action-icon.is-unfollow:hover {
    border-color: rgba(255, 92, 122, 0.8);
    background: rgba(255, 92, 122, 0.2);
    color: #ff8396;
}

.seller-profile-action-icon.is-warning {
    border-color: rgba(255, 193, 7, 0.55);
    background: rgba(255, 193, 7, 0.14);
    color: #ffc107;
}

.seller-profile-report-button {
    border: 1px solid rgba(255, 193, 7, 0.45);
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
}

.seller-profile-report-button:hover {
    border-color: rgba(255, 193, 7, 0.75);
    background: rgba(255, 193, 7, 0.2);
    color: #ffd35a;
}

.seller-profile-report-button.is-reported {
    border-color: rgba(255, 193, 7, 0.34);
    background: rgba(255, 193, 7, 0.08);
    color: #d9a900;
}

.profile-report-modal {
    overflow: hidden;
}

.profile-report-modal-header {
    align-items: flex-start;
}

.profile-report-modal-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.profile-report-modal-title > span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.14);
    color: #ffc107;
    flex: 0 0 auto;
}

.profile-report-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-report-summary div,
.profile-report-details {
    border: 1px solid #30333c;
    border-radius: 12px;
    background: #24262d;
}

.profile-report-summary div {
    padding: 12px 14px;
}

.profile-report-summary span,
.profile-report-details span {
    display: block;
    margin-bottom: 5px;
    color: #aeb4c8;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.profile-report-summary strong,
.profile-report-details strong {
    color: #f2f3f5;
    font-weight: 950;
}

.profile-report-details {
    display: grid;
    gap: 0;
    margin-top: 12px;
}

.profile-report-details > div {
    padding: 13px 14px;
}

.profile-report-details > div + div {
    border-top: 1px solid #30333c;
}

.profile-report-details p {
    margin: 0;
    color: #d7d9e3;
    line-height: 1.45;
    white-space: pre-wrap;
}

.profile-report-note {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.1);
    color: #cfd3ff;
}

.profile-report-note i {
    margin-top: 2px;
}

.profile-report-note p {
    margin: 0;
    color: #cfd3ff;
    line-height: 1.45;
}

.seller-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 416px);
    align-items: start;
    gap: 24px;
}

.seller-profile-section,
.seller-profile-side-card {
    padding: 22px;
    border-radius: 18px;
}

.seller-profile-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.seller-profile-section-head h2,
.seller-profile-side-card h2 {
    margin: 0 0 4px;
    font-size: 1.18rem;
    font-weight: 700;
}

.seller-profile-ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    align-items: start;
}

.seller-profile-section-head p {
    margin: 0;
    color: #6c757d;
}

.seller-profile-count {
    min-width: 42px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    font-weight: 800;
    text-align: center;
}

.seller-profile-section .ad-thumb {
    min-height: 155px;
}

.seller-profile-empty {
    padding: 28px 18px;
    border-radius: 10px;
    background: #f5f6fa;
    color: #6c757d;
    text-align: center;
}

.seller-profile-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.seller-profile-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px;
    border-radius: 10px;
    background: #f5f6fa;
}

.seller-profile-facts span,
.seller-business-info span {
    display: block;
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.78rem;
}

.seller-profile-facts strong {
    display: block;
    text-align: right;
    overflow: hidden;
    color: #343849;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-business-info {
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding: 13px;
    border-radius: 10px;
    background: rgba(102,126,234,0.07);
}

.seller-business-info .verified {
    color: #198754;
}

body.theme-dark .seller-profile-header,
body.theme-dark .seller-profile-section,
body.theme-dark .seller-profile-side-card {
    background: #1e1f22;
    border-color: #2b2d31;
    color: #f2f3f5;
    box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}

body.theme-dark .seller-profile-avatar,
body.theme-dark .seller-profile-stats div,
body.theme-dark .seller-profile-facts div,
body.theme-dark .seller-profile-empty,
body.theme-dark .seller-business-info {
    background: #2b2d31;
}

body.theme-dark .seller-profile-avatar {
    color: #c9cdfb;
}

body.theme-dark .seller-profile-meta span,
body.theme-dark .seller-profile-stats div {
    border-color: #30333c;
    background: #24262d;
}

body.theme-dark .seller-profile-meta span {
    color: #cfd3e8;
}

body.theme-dark .seller-profile-kicker,
body.theme-dark .seller-profile-meta,
body.theme-dark .seller-profile-stats span,
body.theme-dark .seller-profile-section-head p,
body.theme-dark .seller-profile-empty,
body.theme-dark .seller-profile-facts span,
body.theme-dark .seller-business-info span {
    color: #b5bac1;
}

body.theme-dark .seller-profile-facts strong {
    color: #f2f3f5;
}

.ad-view-hero {
    padding-bottom: 34px;
}

.ad-view-hero .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255,255,255,0.65);
    margin-bottom: 0;
}

.ad-view-hero .breadcrumb,
.ad-view-hero .breadcrumb a,
.ad-view-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.86);
}

.ad-view-hero .breadcrumb a:hover {
    color: #fff;
}

.ad-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 0;
    padding: 26px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 45px rgba(27, 20, 75, 0.18);
    backdrop-filter: blur(10px);
    color: #fff;
}

.ad-detail-header h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    color: #fff;
}

.ad-detail-submeta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255,255,255,0.86);
    margin-top: 10px;
}

.ad-detail-price {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
}

.ad-category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 700;
    font-size: 0.84rem;
    border: 1px solid rgba(255,255,255,0.28);
}

.ad-accent-card {
    overflow: hidden;
    border: 1px solid #e4e0fb !important;
}

.ad-accent-card::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--primary-gradient);
}

.ad-section-title h5 {
    color: var(--primary-color);
}

.ad-media-card .card-body {
    background: #fff;
}

.ad-detail-image {
    max-height: 520px;
    width: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08));
    border: 1px solid #ebe7fb;
}

.ad-gallery-card {
    overflow: hidden;
    border: 1px solid #e8e6f4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(31,33,68,0.08);
}

.ad-gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 560px;
    background:
        linear-gradient(135deg, rgba(88,101,242,.08), rgba(124,92,255,.06)),
        #f2f3f8;
}

.ad-gallery-image-button {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
}

.profile-avatar-settings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0 4px;
    border-top: 1px solid #edf0f7;
}

.profile-avatar-editor {
    position: relative;
    flex: 0 0 auto;
    margin-right: 5px;
}

.profile-avatar-preview {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 24px;
    color: var(--primary-color);
    background: rgba(102, 126, 234, .1);
    font-size: 2rem;
}

.profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-edit-button {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 6px 16px rgba(61, 73, 147, .24);
}

.profile-avatar-edit-button:hover {
    background: #5368df;
}

.avatar-selection-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.avatar-selection-modal .modal-dialog {
    max-width: min(680px, calc(100vw - 28px));
}

.avatar-selection-modal .modal-body {
    max-height: min(70vh, 560px);
    overflow-y: auto;
}

.avatar-quick-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.avatar-selection-modal .avatar-preset-option {
    min-height: 58px;
    padding: 4px;
    border-radius: 13px;
    border-width: 1px;
    background: transparent;
}

.search-results-form > .form-control,
.search-results-form > .form-select {
    min-height: 54px;
    color: #1f2433;
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    background-color: #f7f8fc;
    font-weight: 900;
}

.search-results-form > .form-control::placeholder {
    color: #8c94a8;
}

.avatar-selection-modal .avatar-preset-option:hover,
.avatar-selection-modal .avatar-preset-option.selected {
    transform: none;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, .15);
}

.avatar-preset-image {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.avatar-selection-modal .avatar-preset-option img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
}

.ad-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(102,126,234,0.07), rgba(118,75,162,0.08));
}

.ad-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.92);
    color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(31,33,68,0.18);
    transform: translateY(-50%);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ad-gallery-nav:hover {
    transform: translateY(-50%) scale(1.04);
    background: var(--primary-color);
    color: #fff;
}

.ad-gallery-prev {
    left: 14px;
}

.ad-gallery-next {
    right: 14px;
}

.ad-gallery-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 4;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22,24,32,0.74);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.ad-gallery-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 112px;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #eceef7;
}

.ad-gallery-thumb {
    height: 76px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f3f8;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.ad-gallery-thumb:hover,
.ad-gallery-thumb.active {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.ad-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-actions .btn {
    padding-left: 12px;
    padding-right: 12px;
}

.ad-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 48px;
    background: rgba(8,9,14,0.92);
}

.ad-gallery-lightbox.show {
    display: flex;
}

.ad-gallery-lightbox img {
    max-width: min(1120px, 100%);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    background: #111;
}

.ad-gallery-lightbox-close,
.ad-gallery-lightbox-nav {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}

.ad-gallery-lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
}

.ad-gallery-lightbox-nav {
    top: 50%;
    width: 50px;
    height: 58px;
    transform: translateY(-50%);
}

.ad-gallery-lightbox-prev {
    left: 20px;
}

.ad-gallery-lightbox-next {
    right: 20px;
}

.ad-gallery-lightbox-count {
    position: absolute;
    left: 50%;
    bottom: 20px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 800;
    transform: translateX(-50%);
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.seller-sticky {
    position: sticky;
    top: 150px;
}

.seller-card .rounded-circle {
    border: 3px solid rgba(102,126,234,0.18);
}

.category-suggestions:empty {
    display: none;
}

.suggestion-list {
    display: grid;
    gap: 8px;
}

.suggestion-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e4e0fb;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08));
    color: #343a40;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.suggestion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.suggestion-item strong,
.suggestion-item small {
    display: block;
}

.suggestion-item strong {
    color: var(--primary-color);
}

.suggestion-item small {
    margin-top: 2px;
    color: #6c757d;
}

.suggestion-item i {
    color: var(--primary-color);
}

.content-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px;
    background: var(--surface-color, #fff);
    border: 1px solid #e8e6f4;
    border-radius: var(--border-radius);
    box-shadow: 0 18px 44px rgba(31, 33, 68, 0.08);
}

.content-card h2 {
    margin: 14px 0 16px;
    color: #2f3355;
}

.content-card p {
    color: #62667d;
    font-size: 1rem;
}

.content-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(102,126,234,0.12);
    color: var(--primary-color);
    font-size: 1.45rem;
}

.theme-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.theme-choice {
    position: relative;
    display: block;
    padding: 18px;
    border: 1px solid #e4e0fb;
    border-radius: var(--border-radius);
    background: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-choice:hover,
.theme-choice.selected {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.theme-choice input {
    position: absolute;
    opacity: 0;
}

.theme-choice strong,
.theme-choice small {
    display: block;
}

.theme-choice strong {
    margin-top: 12px;
    color: #2f3355;
}

.theme-choice small {
    color: #6c757d;
}

.theme-preview {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 22px 42px;
    gap: 8px;
    height: 88px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e8e6f4;
}

.theme-preview span:first-child {
    grid-column: 1 / 3;
    border-radius: 8px;
    background: var(--primary-gradient);
}

.theme-preview span:nth-child(2),
.theme-preview span:nth-child(3) {
    border-radius: 8px;
}

.theme-preview-light {
    background: #eef1f8;
}

.theme-preview-light span:nth-child(2),
.theme-preview-light span:nth-child(3) {
    background: #fff;
}

.theme-preview-dark {
    background: #111214;
}

.theme-preview-dark span:nth-child(2),
.theme-preview-dark span:nth-child(3) {
    background: #1e1f22;
    border: 1px solid #2b2d31;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-metric {
    display: block;
    padding: 22px;
    text-decoration: none;
    color: #333;
    background: white;
    border: 1px solid #e7e9f2;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-metric:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.dashboard-metric strong {
    display: block;
    margin-top: 12px;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
}

.dashboard-metric span:last-child {
    color: #6c757d;
}

.coin-chart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(30px, 1fr);
    align-items: end;
    gap: 8px;
    min-height: 260px;
    padding: 18px 12px 8px;
    overflow-x: auto;
    border: 1px solid #e7e9f2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfbff 0%, #f5f7fb 100%);
}

.coin-chart-day {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 220px;
    padding-bottom: 24px;
}

.coin-chart-bar,
.coin-chart-average {
    position: absolute;
    bottom: 26px;
    border-radius: 8px 8px 0 0;
}

.coin-chart-bar {
    width: 18px;
    min-height: 4px;
    background: var(--primary-gradient);
    box-shadow: 0 8px 18px rgba(88,101,242,0.24);
}

.coin-chart-average {
    width: 100%;
    max-width: 42px;
    border-top: 3px solid #ffc107;
}

.coin-chart-day small {
    position: absolute;
    bottom: 0;
    color: #777b90;
    font-size: 0.72rem;
    white-space: nowrap;
}

.coin-transaction-table {
    margin-bottom: 0;
}

.coin-transaction-table th {
    color: #4f5370;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.coin-transaction-table td {
    color: #30344f;
    vertical-align: middle;
}

.coin-transaction-table td:nth-child(3) {
    font-weight: 700;
}

.coin-bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.coin-bundle-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e1e5f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31,33,68,.055);
}

.coin-bundle-card.is-popular {
    border-color: #5865f2;
    box-shadow: 0 12px 28px rgba(88,101,242,.13);
}

.coin-bundle-main {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 48px;
}

.coin-bundle-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(245,158,11,.16);
    color: #f5b400;
    font-size: 1.25rem;
}

.coin-bundle-main h3 {
    margin: 0;
    color: #20233a;
    font-size: 1.02rem;
    font-weight: 950;
}

.coin-bundle-main p {
    margin: 2px 0 0;
    color: #67708c;
    font-size: .82rem;
    font-weight: 750;
}

.coin-bundle-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(88,101,242,.16);
    color: #cbd0ff;
    font-size: .72rem;
    font-weight: 900;
}

.coin-bundle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(88,101,242,.08);
}

.coin-bundle-price strong {
    color: #5865f2;
    font-size: 1.28rem;
    line-height: 1;
    font-weight: 950;
}

.coin-bundle-price span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(16,185,129,.14);
    color: #0f9f6e;
    font-size: .75rem;
    font-weight: 900;
    white-space: nowrap;
}

.coin-bundle-action {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
}

.coin-purchase-summary {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e1e5f0;
    border-radius: 10px;
    background: #f7f8fc;
}

.coin-purchase-summary strong,
.coin-purchase-summary span {
    display: block;
}

.coin-purchase-summary strong {
    color: #20233a;
    font-weight: 950;
}

.coin-purchase-summary span {
    color: #67708c;
    font-size: .85rem;
    font-weight: 750;
}

.coin-purchase-summary em {
    color: #5865f2;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

.reward-badge-preview {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--badge-color, var(--primary-color));
    box-shadow: 0 10px 24px rgba(31,33,68,0.16);
    font-size: 1.4rem;
}

.profile-reward-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.profile-reward-badge-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e1e5f0;
    border-radius: 10px;
    background: #fff;
}

.profile-reward-badge-card.is-hidden {
    opacity: .62;
}

.profile-reward-badge-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--badge-color) 34%, #242733);
    color: #fff;
    font-size: 1.08rem;
}

.profile-reward-badge-icon span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #6d35d6;
    color: #fff;
    font-size: .66rem;
    font-weight: 950;
}

.profile-reward-badge-copy {
    min-width: 0;
}

.profile-reward-badge-copy strong,
.profile-reward-badge-copy small {
    display: block;
}

.profile-reward-badge-copy strong {
    color: #20233a;
    font-size: .86rem;
    font-weight: 950;
    line-height: 1.2;
}

.profile-reward-badge-copy small {
    color: #67708c;
    font-size: .74rem;
    font-weight: 800;
}

.profile-reward-badge-card form {
    grid-column: 1 / -1;
}

.seller-profile-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.seller-profile-card-title-row h2 {
    margin-bottom: 0;
}

.profile-card-edit-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d7dcea;
    border-radius: 9px;
    background: #f7f8fc;
    color: #5865f2;
}

.profile-card-edit-button:hover {
    border-color: #5865f2;
    background: rgba(88,101,242,.1);
}

.profile-badge-settings-list {
    display: grid;
    gap: 10px;
}

.profile-badge-setting-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 108px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e1e5f0;
    border-radius: 10px;
    background: #fff;
}

.profile-badge-setting-row strong,
.profile-badge-setting-row small {
    display: block;
}

.profile-badge-setting-row strong {
    color: #20233a;
    font-weight: 950;
}

.profile-badge-setting-row small {
    color: #67708c;
    font-size: .78rem;
    font-weight: 800;
}

.profile-badge-status {
    display: inline-flex;
    width: fit-content;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(148,163,184,.14);
    color: #64748b;
    font-size: .68rem;
    font-weight: 950;
}

.profile-badge-status.is-visible {
    background: rgba(16,185,129,.14);
    color: #0f9f6e;
}

.profile-reward-toggle {
    width: 100%;
    min-height: 30px;
    border: 1px solid #d7dcea;
    border-radius: 8px;
    background: #f7f8fc;
    color: #67708c;
    font-size: .76rem;
    font-weight: 900;
}

.profile-reward-toggle.is-on {
    border-color: rgba(16,185,129,.4);
    background: rgba(16,185,129,.12);
    color: #0f9f6e;
}

.profile-reward-toggle.is-hide-action {
    border-color: rgba(244,63,94,.35);
    background: rgba(244,63,94,.1);
    color: #fb7185;
}

.metric-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
}

.quick-action-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 16px;
    background: white;
    border: 1px solid #e7e9f2;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.account-plan-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #dde1ee;
    border-radius: var(--border-radius);
    background: rgba(88,101,242,0.08);
}

.account-plan-banner strong,
.account-plan-banner span {
    display: block;
}

.account-plan-banner strong {
    color: var(--primary-color);
}

.account-plan-banner span {
    color: #667085;
}

.account-plan-metric strong {
    font-size: 1.55rem;
}

body.theme-dark {
    --surface-color: #1b1f34;
    --dark-text: #eef0ff;
    background:
        radial-gradient(circle at 14% 6%, rgba(102,126,234,0.24), transparent 30%),
        linear-gradient(180deg, #111422 0%, #15192a 44%, #10131f 100%);
    color: #eef0ff;
}

body.theme-dark .fixed-header,
body.theme-dark .main-header,
body.theme-dark .fixed-nav-menu,
body.theme-dark .nav-menu,
body.theme-dark .card,
body.theme-dark .dropdown-menu,
body.theme-dark .quick-action-strip,
body.theme-dark .content-card,
body.theme-dark .theme-choice,
body.theme-dark .category-tile,
body.theme-dark .toolbar-card,
body.theme-dark .dashboard-metric {
    background: #1b1f34 !important;
    border-color: #2b3150 !important;
    color: #eef0ff;
}

body.theme-dark .card-header,
body.theme-dark .card-header.bg-white,
body.theme-dark .bg-white {
    background: linear-gradient(180deg, #212642 0%, #1b1f34 100%) !important;
    border-color: #2b3150 !important;
    color: #eef0ff;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark .card-header h1,
body.theme-dark .card-header h2,
body.theme-dark .card-header h3,
body.theme-dark .card-header h4,
body.theme-dark .card-header h5,
body.theme-dark .card-header h6,
body.theme-dark .content-card h2,
body.theme-dark .theme-choice strong,
body.theme-dark .dashboard-metric {
    color: #f5f6ff;
}

body.theme-dark .text-dark,
body.theme-dark .dropdown-item,
body.theme-dark .nav-link,
body.theme-dark .table,
body.theme-dark .list-group-item {
    color: #eef0ff !important;
}

body.theme-dark .text-muted,
body.theme-dark .form-text,
body.theme-dark .content-card p,
body.theme-dark .theme-choice small,
body.theme-dark .category-tile p,
body.theme-dark .dashboard-metric span:last-child {
    color: #aeb4d1 !important;
}

body.theme-dark .form-control,
body.theme-dark .form-select,
body.theme-dark .input-group-text {
    background-color: #121626;
    border-color: #333957;
    color: #eef0ff;
}

body.theme-dark .form-control::placeholder {
    color: #8088ad;
}

body.theme-dark .list-group-item,
body.theme-dark .table td,
body.theme-dark .table th {
    background: transparent;
    border-color: #2b3150;
}

body.theme-dark .alert-info {
    background: linear-gradient(135deg, rgba(102,126,234,0.95), rgba(118,75,162,0.95));
}

body.theme-dark footer.bg-dark,
body.theme-dark .cookie-notification {
    background: #0b0e19 !important;
}

/* Professional theme pass */
body.theme-light {
    --primary-color: #5865f2;
    --secondary-color: #7c5cff;
    --primary-gradient: linear-gradient(135deg, #5865f2 0%, #7c5cff 100%);
    --surface-color: #ffffff;
    --panel-color: #f6f7fb;
    --border-color: #dde1ee;
    --text-color: #242633;
    --muted-color: #667085;
    background:
        linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
    color: var(--text-color);
}

body.theme-dark {
    --primary-color: #5865f2;
    --secondary-color: #7c5cff;
    --primary-gradient: linear-gradient(135deg, #5865f2 0%, #7c5cff 100%);
    --surface-color: #1e1f22;
    --panel-color: #2b2d31;
    --panel-soft-color: #232428;
    --input-color: #313338;
    --border-color: #3f4147;
    --text-color: #f2f3f5;
    --muted-color: #b5bac1;
    --shadow-sm: 0 2px 18px rgba(0,0,0,0.28);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
    --shadow-lg: 0 14px 40px rgba(88,101,242,0.2);
    background: #111214;
    color: var(--text-color);
}

body.theme-dark .fixed-header,
body.theme-dark .main-header {
    background: #1e1f22 !important;
    border-bottom: 1px solid #2b2d31;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

body.theme-dark .fixed-nav-menu,
body.theme-dark .nav-menu {
    background: #1e1f22 !important;
    border-bottom: 1px solid #2b2d31;
    box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

body.theme-dark .content-wrapper {
    background: #111214;
}

body.theme-dark .page-header {
    background: #1e1f22;
    border-bottom: 1px solid #2b2d31;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.03);
}

body.theme-dark .page-header::before {
    background:
        linear-gradient(135deg, rgba(88,101,242,0.22), transparent 46%),
        linear-gradient(90deg, rgba(124,92,255,0.14), transparent 55%);
}

body.theme-dark .card,
body.theme-dark .content-card,
body.theme-dark .category-tile,
body.theme-dark .toolbar-card,
body.theme-dark .dashboard-metric,
body.theme-dark .quick-action-strip,
body.theme-dark .filter-panel,
body.theme-dark .ad-card,
body.theme-dark .theme-choice,
body.theme-dark .dropdown-menu,
body.theme-dark .modal-content,
body.theme-dark .list-group-item {
    background: #1e1f22 !important;
    border-color: #2b2d31 !important;
    color: var(--text-color);
    box-shadow: 0 8px 26px rgba(0,0,0,0.24);
}

body.theme-dark .card-header,
body.theme-dark .card-header.bg-white,
body.theme-dark .bg-white,
body.theme-dark .modal-header,
body.theme-dark .modal-footer {
    background: #2b2d31 !important;
    border-color: #3f4147 !important;
    color: var(--text-color);
}

body.theme-dark .form-control,
body.theme-dark .form-select,
body.theme-dark .input-group-text,
body.theme-dark textarea {
    background-color: #313338 !important;
    border-color: #3f4147 !important;
    color: var(--text-color) !important;
}

body.theme-dark .form-control:focus,
body.theme-dark .form-select:focus {
    border-color: #5865f2 !important;
    box-shadow: 0 0 0 0.2rem rgba(88,101,242,0.25);
}

body.theme-dark .form-control::placeholder {
    color: #949ba4;
}

body.theme-dark .form-label,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark .card-header h1,
body.theme-dark .card-header h2,
body.theme-dark .card-header h3,
body.theme-dark .card-header h4,
body.theme-dark .card-header h5,
body.theme-dark .card-header h6,
body.theme-dark .content-card h2,
body.theme-dark .theme-choice strong,
body.theme-dark .site-title,
body.theme-dark .dropdown-item,
body.theme-dark .table {
    color: var(--text-color) !important;
}

body.theme-dark .text-muted,
body.theme-dark .form-text,
body.theme-dark .content-card p,
body.theme-dark .theme-choice small,
body.theme-dark .category-tile p,
body.theme-dark .dashboard-metric span:last-child,
body.theme-dark .ad-card-meta,
body.theme-dark small {
    color: var(--muted-color) !important;
}

body.theme-dark .ad-card .ad-thumb {
    background: #25272d;
}

body.theme-dark .ad-card-compact {
    background: #1e1f22 !important;
    border: 1px solid #30333b !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

body.theme-dark .ad-no-photo {
    color: #8991a6;
}

body.theme-dark .ad-no-photo i {
    color: #687084;
}

body.theme-dark .ad-image-price {
    background: rgba(17,18,21,.86);
}

body.theme-dark .ad-seller-overlay {
    background: rgba(17,18,21,.86);
}

body.theme-dark .ad-card-compact .card-title a {
    color: #f2f3f5;
}

body.theme-dark .ad-card-summary {
    color: #a7acb8;
}

body.theme-dark .ad-card-summary i {
    color: #8c93a3;
}

body.theme-dark .ad-card-summary .ad-summary-dot {
    color: #5d6473;
}

body.theme-dark .ad-card-meta-link:hover {
    color: #cdd1ff;
}

body.theme-dark .ad-card-favorite {
    color: #cdd1ff;
    border-color: rgba(88,101,242,.42);
    background: rgba(38,40,54,.96);
}

body.theme-dark .ad-card-favorite.is-saved {
    color: #fff;
    border-color: #5865f2;
    background: #5865f2;
}

body.theme-dark .home-promotions-empty {
    color: #a7acb8;
    border-color: #3f4147;
    background: #1e1f22;
}

body.theme-dark .home-feed-head p {
    color: #b5bac1;
}

body.theme-dark .btn-primary {
    background: #5865f2;
    border-color: #5865f2;
}

body.theme-dark .btn-primary:hover {
    background: #4752c4;
    border-color: #4752c4;
}

body.theme-dark .btn-outline-primary {
    color: #c9cdfb;
    border-color: #5865f2;
}

body.theme-dark .btn-outline-primary:hover {
    background: #5865f2;
    color: #fff;
}

.coin-reward-board {
    display: grid;
    gap: 24px;
    max-width: 1120px;
}

.referral-copy-box {
    max-width: 520px;
}

.coin-reward-section h2 {
    margin: 0 0 12px;
    color: #20233a;
    font-size: 1.03rem;
    font-weight: 950;
}

.coin-reward-list {
    display: grid;
    gap: 8px;
}

.coin-reward-row {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) minmax(96px, auto);
    align-items: center;
    gap: 12px;
    min-height: 70px;
    overflow: hidden;
    padding: 10px 14px 12px 10px;
    border: 1px solid #e1e5f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31,33,68,.04);
}

.coin-reward-row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #e5e7ef;
}

.coin-reward-row.is-completed::after {
    background: rgba(34,197,94,.55);
}

.coin-reward-row.is-upcoming {
    opacity: .78;
}

.coin-reward-row.is-upcoming::after {
    background: #d9dce8;
}

.coin-reward-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--badge-color) 30%, #242733);
    color: #fff;
}

.coin-reward-icon span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #6d35d6;
    color: #fff;
    font-size: .66rem;
    font-weight: 950;
}

.coin-reward-main {
    min-width: 0;
}

.coin-reward-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.coin-reward-title-line strong {
    min-width: 0;
    overflow: hidden;
    color: #20233a;
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coin-reward-title-line em {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 7px;
    background: rgba(245,158,11,.15);
    color: #a56800;
    font-size: .7rem;
    font-style: normal;
    font-weight: 950;
}

.coin-reward-main p {
    margin: 2px 0 0;
    overflow: hidden;
    color: #4b506a;
    font-size: .84rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coin-reward-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 3px;
    background: transparent;
}

.coin-reward-progress span {
    display: block;
    height: 100%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #8b5cf6, #5865f2);
}

.coin-reward-side {
    min-width: 88px;
    text-align: right;
    color: #4f5370;
    font-weight: 850;
    white-space: nowrap;
}

.coin-reward-side strong {
    color: #20233a;
    font-size: 1.05rem;
    font-weight: 950;
}

.coin-reward-side span {
    color: #4f5370;
}

.coin-reward-side.is-date span {
    color: #20233a;
    font-size: .84rem;
    font-weight: 850;
}

body.theme-dark .header-actions .btn-login.compact-auth {
    background: #1e1f22;
    border-color: #3f4147;
    color: #dbdee1;
}

body.theme-dark .header-actions .btn-login.compact-auth:hover {
    background: #2b2d31;
    border-color: #5865f2;
    color: #fff;
}

body.theme-light .header-actions .btn-login.compact-auth {
    color: #3d4458;
    border-color: #d5d9e8;
    background: #fff;
}

body.theme-light .header-actions .btn-login.compact-auth:hover {
    color: #5865f2;
    border-color: #5865f2;
    background: #f4f6ff;
}

body.theme-dark .header-icon-btn,
body.theme-dark .user-dropdown-btn,
body.theme-dark .suggestion-item strong,
body.theme-dark .suggestion-item i,
body.theme-dark .metric-icon,
body.theme-dark .category-icon,
body.theme-dark .main-nav-row a {
    color: #c9cdfb;
}

body.theme-dark .main-nav-row a:hover,
body.theme-dark .main-nav-row a.active {
    background: #2b2d31;
    color: #fff;
}

body.theme-dark .main-nav-row .nav-count {
    background: rgba(88,101,242,0.22);
    color: #fff;
}

body.theme-dark .messages-modal .modal-content,
body.theme-dark .messages-modal-toolbar,
body.theme-dark .messages-thread-header,
body.theme-dark .messages-compose {
    background: #1e1f22;
    color: #f2f3f5;
    border-color: #3f4147;
}

body.theme-dark .messages-modal-list,
body.theme-dark .messages-thread-body {
    background: #111214;
    border-color: #3f4147;
}

body.theme-dark .messages-conversation-item {
    color: #f2f3f5;
    border-color: #2b2d31;
}

body.theme-dark .messages-conversation-item:hover,
body.theme-dark .messages-conversation-item.active {
    background: #2b2d31;
}

body.theme-dark .messages-conversation-preview,
body.theme-dark .messages-empty-state {
    color: #b5bac1;
}

body.theme-dark .trade-inbox-panel {
    background: #1e1f22;
    border-color: #343741;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

body.theme-dark .trade-center-intro {
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(118, 75, 162, 0.08)),
        #1e1f22;
    border-color: #343741;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

body.theme-dark .trade-center-intro strong,
body.theme-dark .trade-advert-group-head strong,
body.theme-dark .trade-bid-main strong {
    color: #fff;
}

body.theme-dark .trade-center-intro small,
body.theme-dark .trade-advert-group-head small,
body.theme-dark .trade-bid-main small {
    color: #aeb7d0;
}

body.theme-dark .trade-center-pills b {
    background: rgba(88, 101, 242, 0.22);
    color: #d7dcff;
}

body.theme-dark .trade-inbox-head,
body.theme-dark .trade-inbox-list .trade-inbox-item {
    border-color: #343741;
}

body.theme-dark .trade-advert-group {
    background: rgba(255, 255, 255, 0.025);
    border-color: #343741;
}

body.theme-dark .trade-advert-summary-card,
body.theme-dark .trade-response-row,
body.theme-dark .trade-modal-row,
body.theme-dark .trade-modal-stats > div {
    background: rgba(255, 255, 255, 0.025);
    border-color: #343741;
}

body.theme-dark .trade-modal-step-panel {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.42);
}

body.theme-dark .trade-modal-step-head strong {
    color: #fff;
}

body.theme-dark .trade-modal-step-head small,
body.theme-dark .trade-modal-waiting-note {
    color: #aeb7d0;
}

body.theme-dark .trade-modal-safety-notes span {
    background: rgba(255, 255, 255, 0.055);
    color: #c7d0e5;
}

body.theme-dark .trade-modal-progress span,
body.theme-dark .trade-modal-history {
    background: rgba(255, 255, 255, 0.035);
    border-color: #343741;
    color: #aeb7d0;
}

body.theme-dark .trade-modal-progress span.is-done {
    background: rgba(22, 163, 74, 0.16);
    border-color: rgba(22, 163, 74, 0.34);
    color: #63e6a1;
}

body.theme-dark .trade-modal-progress span.is-current {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.55);
    color: #d7dcff;
}

body.theme-dark .trade-modal-history summary,
body.theme-dark .trade-modal-history-item strong {
    color: #fff;
}

body.theme-dark .trade-modal-history-item {
    background: rgba(255, 255, 255, 0.035);
    border-color: #343741;
}

body.theme-dark .trade-modal-history-item p,
body.theme-dark .trade-modal-history-item small,
body.theme-dark .trade-modal-history-empty {
    color: #aeb7d0;
}

body.theme-dark .trade-modal-waiting-note {
    background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .trade-advert-summary-card:hover,
body.theme-dark .trade-advert-summary-card.is-open,
body.theme-dark .trade-response-row:hover,
body.theme-dark .trade-advert-summary-card:focus-visible {
    background: rgba(88, 101, 242, 0.16);
    border-color: rgba(88, 101, 242, 0.62);
}

body.theme-dark .trade-advert-summary-main strong,
body.theme-dark .trade-group-overview-head h2,
body.theme-dark .trade-group-stats strong,
body.theme-dark .trade-response-main strong,
body.theme-dark .trade-modal-stats strong,
body.theme-dark .trade-modal-row-main strong {
    color: #fff;
}

body.theme-dark .trade-advert-summary-main em,
body.theme-dark .trade-group-overview-head p,
body.theme-dark .trade-response-main small,
body.theme-dark .trade-modal-row-main p {
    color: #aeb7d0;
}

body.theme-dark .trade-advert-summary-icon {
    background: rgba(88, 101, 242, 0.2);
    color: #d7dcff;
}

body.theme-dark .trade-group-stats > div {
    background: #25272d;
    border-color: #343741;
}

body.theme-dark .trade-response-status {
    background: rgba(88, 101, 242, 0.22);
    color: #d7dcff;
}

body.theme-dark .trade-advert-group.is-open {
    border-color: rgba(88, 101, 242, 0.68);
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.16);
}

body.theme-dark .trade-advert-group-head {
    border-color: #343741;
}

body.theme-dark .trade-bid-row {
    background: #25272d;
    border-color: rgba(255, 255, 255, 0.03);
}

body.theme-dark .trade-bid-row:hover,
body.theme-dark .trade-bid-row.active {
    background: rgba(88, 101, 242, 0.18);
    border-color: rgba(88, 101, 242, 0.55);
}

body.theme-dark .trade-bid-avatar {
    color: #d7dcff;
}

body.theme-dark .trade-bid-main span {
    background: rgba(88, 101, 242, 0.2);
    color: #d7dcff;
}

body.theme-dark .trade-inbox-list .trade-inbox-item {
    background: #1e1f22;
    color: #fff;
}

body.theme-dark .trade-inbox-list .trade-inbox-item:hover,
body.theme-dark .trade-inbox-list .trade-inbox-item.active {
    background: #252734;
}

body.theme-dark .trade-inbox-empty {
    color: #9aa3b5;
}

body.theme-dark .trade-dossier-card {
    background: #1e1f22;
    border-color: #343741;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

body.theme-dark .trade-summary-card > div,
body.theme-dark .trade-current-panel,
body.theme-dark .trade-message-row {
    background: #25272d;
    border-color: #343741;
}

body.theme-dark .trade-message-row.is-me {
    background: rgba(88, 101, 242, 0.28);
}

body.theme-dark .trade-progress-step {
    background: #25272d;
    color: #9aa3b5;
}

body.theme-dark .trade-progress-step.is-done {
    background: rgba(22, 199, 132, 0.16);
    color: #5ee0a6;
}

body.theme-dark .trade-progress-step.is-current {
    background: rgba(88, 101, 242, 0.22);
    color: #d6dcff;
}

body.theme-dark .trade-dossier-empty {
    color: #9aa3b5;
}

body.theme-dark .messages-bubble {
    background: #2b2d31;
    color: #f2f3f5;
    box-shadow: none;
}

body.theme-dark .messages-thread-message.is-me .messages-bubble {
    background: #5865f2;
    color: #fff;
}

body.theme-dark .suggestion-item,
body.theme-dark .avatar-preset-option,
body.theme-dark .upload-area {
    background: #2b2d31;
    border-color: #3f4147;
    color: var(--text-color);
}

body.theme-dark .suggestion-item:hover,
body.theme-dark .theme-choice:hover,
body.theme-dark .theme-choice.selected,
body.theme-dark .avatar-preset-option.selected {
    border-color: #5865f2 !important;
    box-shadow: 0 0 0 1px rgba(88,101,242,0.25), 0 10px 26px rgba(0,0,0,0.32);
}

body.theme-dark .profile-avatar-settings {
    border-color: #303442;
}

body.theme-dark .profile-avatar-preview {
    color: #c9cdfb;
    background: #2b2d31;
}

body.theme-dark .profile-avatar-edit-button {
    border-color: #1e1f22;
}

body.theme-dark .avatar-selection-modal .avatar-preset-option {
    background: transparent;
    border-color: transparent;
}

body.theme-dark .avatar-preset-option small {
    color: #c7cce0;
}

@media (max-width: 575.98px) {
    .profile-avatar-settings {
        align-items: flex-start;
        flex-direction: column;
    }

    .avatar-quick-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }
}

body.theme-dark .table td,
body.theme-dark .table th,
body.theme-dark .list-group-item {
    border-color: #2b2d31;
}

body.theme-dark .alert-info {
    background: #2b2d31;
    border-color: #5865f2;
    color: var(--text-color);
}

body.theme-dark .alert-info a {
    color: #fff;
}

body.theme-dark .ad-gallery-card,
body.theme-dark .ad-gallery-thumbs {
    background: #1e1f22;
    border-color: #2b2d31;
}

body.theme-dark .ad-gallery-main,
body.theme-dark .ad-gallery-thumb,
body.theme-dark .ad-gallery-image {
    background: #111214;
}

body.theme-dark .account-plan-banner {
    background: #1e1f22;
    border-color: #2b2d31;
}

body.theme-dark .account-plan-banner span {
    color: var(--muted-color);
}

body.theme-dark .coin-chart {
    background: #111214;
    border-color: #2b2d31;
}

body.theme-dark .coin-transaction-card .card-header {
    background: #1e1f22 !important;
    border-color: #2b2d31;
}

body.theme-dark .coin-transaction-table {
    --bs-table-bg: #1e1f22;
    --bs-table-striped-bg: #232428;
    --bs-table-hover-bg: #292d3f;
    --bs-table-border-color: #30333c;
    color: #f2f3f5;
}

body.theme-dark .coin-transaction-table th {
    color: #aeb4c9;
}

body.theme-dark .coin-transaction-table td {
    color: #f2f3f5;
}

body.theme-dark .coin-transaction-table .text-muted {
    color: #aeb4c9 !important;
}

body.theme-dark .coin-bundle-card {
    border-color: #2b2d31;
    background: #1e1f22;
    box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

body.theme-dark .coin-bundle-card.is-popular {
    border-color: #5865f2;
}

body.theme-dark .coin-bundle-main h3 {
    color: #fff;
}

body.theme-dark .coin-bundle-main p {
    color: #c8cede;
}

body.theme-dark .coin-bundle-price {
    background: #23252b;
}

body.theme-dark .coin-bundle-price strong {
    color: #6f7bff;
}

body.theme-dark .coin-purchase-summary {
    border-color: #30333c;
    background: #23252b;
}

body.theme-dark .coin-purchase-summary strong {
    color: #fff;
}

body.theme-dark .coin-purchase-summary span {
    color: #c8cede;
}

body.theme-dark .profile-reward-badge-card {
    border-color: #2b2d31;
    background: #1e1f22;
}

body.theme-dark .profile-reward-badge-copy strong {
    color: #fff;
}

body.theme-dark .profile-reward-badge-copy small {
    color: #c8cede;
}

body.theme-dark .profile-reward-toggle {
    border-color: #3f4147;
    background: #23252b;
    color: #c8cede;
}

body.theme-dark .profile-reward-toggle.is-on {
    border-color: rgba(16,185,129,.45);
    background: rgba(16,185,129,.16);
    color: #34d399;
}

body.theme-dark .profile-card-edit-button {
    border-color: #3f4147;
    background: #23252b;
    color: #cbd0ff;
}

body.theme-dark .profile-card-edit-button:hover {
    border-color: #5865f2;
    background: rgba(88,101,242,.18);
}

body.theme-dark .profile-badge-setting-row {
    border-color: #2b2d31;
    background: #1e1f22;
}

body.theme-dark .profile-badge-setting-row strong {
    color: #fff;
}

body.theme-dark .profile-badge-setting-row small {
    color: #c8cede;
}

body.theme-dark .profile-badge-status {
    background: rgba(148,163,184,.14);
    color: #c8cede;
}

body.theme-dark .profile-badge-status.is-visible {
    background: rgba(16,185,129,.16);
    color: #34d399;
}

body.theme-dark .coin-reward-section h2 {
    color: #f2f3f5;
}

body.theme-dark .coin-reward-row {
    border-color: #2b2d31;
    background: #1e1f22;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

body.theme-dark .coin-reward-row::after {
    background: #3a3d48;
}

body.theme-dark .coin-reward-row.is-upcoming {
    opacity: .72;
}

body.theme-dark .coin-reward-title-line strong,
body.theme-dark .coin-reward-side strong,
body.theme-dark .coin-reward-side.is-date span {
    color: #fff;
}

body.theme-dark .coin-reward-main p,
body.theme-dark .coin-reward-side,
body.theme-dark .coin-reward-side span {
    color: #c8cede;
}

body.theme-dark .coin-reward-title-line em {
    background: rgba(245,158,11,.16);
    color: #ffd166;
}

@media (max-width: 991.98px) {
    .coin-bundle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .coin-reward-board {
        gap: 20px;
    }

    .referral-copy-box {
        width: 100%;
        max-width: none;
    }

    .coin-bundle-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .coin-bundle-card {
        padding: 14px;
    }

    .coin-bundle-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .coin-purchase-summary {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .coin-purchase-summary em {
        grid-column: 2;
    }

    .profile-badge-setting-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .profile-badge-setting-row .profile-reward-toggle {
        grid-column: 1 / -1;
    }

    .coin-reward-list {
        gap: 7px;
    }

    .coin-reward-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        min-height: 76px;
        padding: 10px 10px 13px;
    }

    .coin-reward-icon {
        width: 42px;
        height: 42px;
    }

    .coin-reward-title-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .coin-reward-title-line strong,
    .coin-reward-main p {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .coin-reward-side {
        grid-column: 2;
        min-width: 0;
        text-align: left;
    }
}

body.theme-dark .breadcrumb,
body.theme-dark .breadcrumb a,
body.theme-dark .breadcrumb-item.active {
    color: #dbdee1;
}

body.theme-dark footer.bg-dark,
body.theme-dark .cookie-notification {
    background: #0b0c0f !important;
    border-top: 1px solid #2b2d31;
}

body.theme-light .card,
body.theme-light .content-card,
body.theme-light .category-tile,
body.theme-light .toolbar-card,
body.theme-light .dashboard-metric,
body.theme-light .quick-action-strip {
    border-color: var(--border-color);
    box-shadow: 0 10px 28px rgba(31,33,68,0.08);
}

body.theme-light .page-header {
    background: linear-gradient(135deg, #5865f2 0%, #7c5cff 100%);
}

@media (max-width: 575.98px) {
    .search-results-shell {
        padding-inline: 2px;
    }

    .search-results-shell .search-results-form {
        gap: 8px;
        padding: 8px;
        border-radius: 15px;
    }

    .search-results-shell .search-filter-panel {
        gap: 8px;
        padding: 10px;
        border-radius: 13px;
    }

    .search-results-shell .search-filter-panel:not(.search-filter-panel-query):not(.is-open) {
        padding-block: 9px;
    }

    .search-results-shell .search-filter-toggle {
        min-height: 28px;
        cursor: pointer;
    }

    .search-results-shell .search-filter-title {
        font-size: .66rem;
        letter-spacing: .035em;
    }

    .search-results-shell .search-filter-panel-query .search-filter-title {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-filter-open {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        padding: 7px 10px;
        border: 1px solid rgba(88,101,242,.4);
        border-radius: 999px;
        color: #f2f3ff;
        background: rgba(88,101,242,.16);
        font-size: .72rem;
        font-weight: 950;
        line-height: 1;
    }

    .mobile-filter-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        pointer-events: none;
    }

    .mobile-filter-drawer.is-open {
        pointer-events: auto;
    }

    .mobile-filter-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(5,6,10,.62);
        opacity: 0;
        transition: opacity .18s ease;
    }

    .mobile-filter-drawer.is-open .mobile-filter-backdrop {
        opacity: 1;
    }

    .mobile-filter-sheet {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: 100%;
        height: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
        background: #1e1f22;
        box-shadow: none;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform .22s ease;
    }

    .mobile-filter-drawer.is-open .mobile-filter-sheet {
        transform: translateY(0);
    }

    .mobile-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 16px;
        border-bottom: 1px solid #30333c;
    }

    .mobile-filter-head strong,
    .mobile-filter-head span {
        display: block;
    }

    .mobile-filter-head strong {
        color: #f2f3f5;
        font-size: 1.08rem;
        font-weight: 950;
    }

    .mobile-filter-head span {
        margin-top: 2px;
        color: #aeb4c9;
        font-size: .82rem;
        font-weight: 750;
    }

    .mobile-filter-close {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid #343843;
        border-radius: 12px;
        color: #f2f3f5;
        background: #22242b;
    }

    .mobile-filter-body {
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 10px;
        padding: 12px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .search-filter-grid {
        grid-template-columns: 1fr;
    }

    .mobile-filter-body .search-filter-panel {
        min-height: 0;
    }

    .mobile-filter-body .category-cascade {
        min-width: 0;
    }

    .mobile-filter-body .category-cascade-field,
    .mobile-filter-body .search-mini-field,
    .mobile-filter-body select,
    .mobile-filter-body input {
        max-width: 100%;
    }

    .mobile-filter-body select {
        text-overflow: ellipsis;
    }

    .mobile-filter-footer {
        display: block;
        padding: 12px;
        border-top: 1px solid #30333c;
        background: #1e1f22;
    }

    body.mobile-filter-active {
        overflow: hidden;
    }

    .search-results-shell .search-step-badge {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
        font-size: .68rem;
    }

    .search-results-shell .search-query-field,
    .search-results-shell .search-mini-field,
    .search-results-shell .category-cascade-field {
        min-height: 50px;
        border-radius: 11px;
    }

    .search-results-shell .search-query-field {
        grid-template-columns: 36px 1fr;
        gap: 8px;
        padding: 8px;
    }

    .search-results-shell .search-query-field > i {
        width: 36px;
        height: 36px;
    }

    .search-results-shell .search-query-field input,
    .search-results-shell .search-mini-field input,
    .search-results-shell .search-mini-field select,
    .search-results-shell .category-cascade-field select {
        font-size: .95rem;
    }

    .search-results-shell .search-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-results-shell .search-filter-panel-category .category-cascade {
        grid-template-columns: 1fr;
    }

    .search-results-shell .home-feed-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .search-results-shell .home-feed-item,
    .search-results-shell .home-feed-item:nth-child(n+6) {
        display: block;
        min-width: 0;
    }

    .search-results-shell .ad-card-compact {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 132px;
        border-radius: 14px;
    }

    .search-results-shell .ad-card-compact .ad-thumb {
        min-height: 132px;
        height: 100%;
        aspect-ratio: auto;
    }

    .search-results-shell .ad-card-compact .card-body {
        min-width: 0;
        padding: 12px;
        padding-bottom: 42px;
    }

    .search-results-shell .ad-card-compact .card-title {
        min-height: 0;
        max-height: none;
        margin-bottom: 9px;
        font-size: .96rem;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }

    .search-results-shell .ad-card-summary {
        font-size: .72rem;
        gap: 4px;
    }

    .search-results-shell .ad-card-category-links {
        overflow: hidden;
        white-space: nowrap;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-text,
    .search-results-shell .ad-card-summary > .ad-card-meta-text,
    .search-results-shell .ad-card-summary > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-text {
        display: inline-block;
        max-width: 46%;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-link {
        max-width: 44%;
    }

    .search-results-shell .ad-image-price {
        display: none;
    }

    .search-results-shell .ad-card-mobile-price {
        position: absolute;
        right: 12px;
        bottom: 12px;
        display: inline-flex;
        align-items: center;
        max-width: calc(100% - 24px);
        min-height: 30px;
        padding: 7px 10px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 10px;
        color: #f2f3f5;
        background: #111214;
        box-shadow: 0 8px 18px rgba(0,0,0,.24);
        font-size: .82rem;
        font-weight: 900;
        line-height: 1;
        pointer-events: none;
    }

    .search-results-shell .ad-card-favorite {
        width: 32px;
        height: 32px;
    }

    .search-results-shell .ad-card-favorite-form {
        top: 7px;
        right: 7px;
    }

    .search-results-shell .ad-card > .ad-card-favorite {
        top: 7px;
        right: 7px;
    }

    .search-results-shell:not(.is-list-view) .home-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact {
        display: block;
        min-height: 0;
        border-radius: 12px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-thumb {
        min-height: 0;
        height: auto;
        aspect-ratio: 1 / .78;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-body {
        min-height: 92px;
        padding: 9px 9px 11px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-title {
        min-height: 2.25em;
        max-height: 2.35em;
        margin-bottom: 7px;
        font-size: .74rem;
        line-height: 1.18;
    }

    .search-results-shell:not(.is-list-view) .ad-card-summary {
        gap: 3px;
        font-size: .6rem;
        line-height: 1.3;
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-links {
        overflow: hidden;
        white-space: nowrap;
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-dot,
    .search-results-shell:not(.is-list-view) .ad-card-category-dot + .ad-card-meta-link {
        display: none;
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-links .ad-card-meta-link {
        max-width: 100%;
    }

    .search-results-shell:not(.is-list-view) .ad-image-price {
        display: inline-flex;
        right: 7px;
        bottom: 7px;
        padding: 5px 8px;
        border-radius: 8px;
        font-size: .72rem;
    }

    .search-results-shell:not(.is-list-view) .ad-card-mobile-price {
        display: none;
    }

    .search-results-shell:not(.is-list-view) .ad-card-favorite,
    .search-results-shell:not(.is-list-view) .ad-card > .ad-card-favorite {
        width: 30px;
        height: 30px;
    }

    .search-results-shell .search-pagination-wrap {
        margin-top: 18px;
    }
}

/* Aanbod: duidelijke kaartweergave per gekozen stand. */
.search-results-shell:not(.is-list-view) .home-feed-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.search-results-shell:not(.is-list-view) .ad-card-compact {
    display: block;
    min-height: 0;
}

.search-results-shell:not(.is-list-view) .ad-card-compact .ad-thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / .72;
}

.search-results-shell:not(.is-list-view) .ad-card-compact .card-body {
    min-width: 0;
    min-height: 116px;
    padding: 12px 13px 46px;
}

.search-results-shell:not(.is-list-view) .ad-card-compact .card-title {
    min-height: 2.45em;
    max-height: 2.55em;
    margin-bottom: 10px;
    font-size: .94rem;
    line-height: 1.26;
    -webkit-line-clamp: 2;
}

.search-results-shell.is-list-view .ad-card-compact {
    align-items: stretch;
}

.search-results-shell.is-list-view .ad-card-compact .card-body {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .search-results-shell .search-results-form {
        gap: 6px;
        padding: 7px;
        margin-bottom: 12px !important;
    }

    .search-compact-bar {
        gap: 7px;
        padding: 7px;
    }

    .search-results-shell .search-compact-bar .search-query-field {
        min-height: 42px;
    }

    .search-results-shell .search-compact-bar .search-icon-filter {
        min-height: 40px;
    }

    .search-results-tools {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .search-results-tools .search-view-switch {
        width: 100%;
        justify-content: stretch;
        padding: 7px;
        border-radius: 13px;
    }

    .search-results-tools .search-view-switch button {
        flex: 1 1 0;
        min-width: 0;
        height: 36px;
    }

    .search-results-tools .search-view-switch button span {
        display: inline;
        font-size: .78rem;
    }

    .search-results-shell:not(.is-list-view) .home-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
        justify-content: stretch;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact {
        display: block;
        min-height: 0;
        border-radius: 13px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-thumb {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / .78;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-body {
        min-height: 105px;
        padding: 10px 10px 12px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-title {
        min-height: 2.4em;
        max-height: 2.45em;
        margin-bottom: 7px;
        font-size: .78rem;
        line-height: 1.2;
    }

    .search-results-shell:not(.is-list-view) .ad-card-summary {
        gap: 3px;
        font-size: .62rem;
        line-height: 1.32;
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-links .ad-card-meta-link {
        max-width: calc(100% - 18px);
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-dot,
    .search-results-shell:not(.is-list-view) .ad-card-category-dot + .ad-card-meta-link {
        display: none;
    }

    .search-results-shell:not(.is-list-view) .ad-image-price {
        display: inline-flex;
        right: 8px;
        bottom: 8px;
        padding: 5px 8px;
        border-radius: 8px;
        font-size: .76rem;
    }

    .search-results-shell:not(.is-list-view) .ad-card-mobile-price {
        display: none;
    }

    .search-results-shell.is-list-view .home-feed-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .search-results-shell.is-list-view .ad-card-compact {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 132px;
        border-radius: 14px;
    }

    .search-results-shell.is-list-view .ad-card-compact .ad-thumb {
        height: 100%;
        min-height: 132px;
        aspect-ratio: auto;
    }

    .search-results-shell.is-list-view .ad-card-compact .card-body {
        min-height: 132px;
        padding: 12px 12px 42px;
    }

    .search-results-shell.is-list-view .ad-card-compact .card-title {
        min-height: 0;
        max-height: 2.55em;
        font-size: .96rem;
        line-height: 1.25;
    }
}

.search-results-shell .search-compact-form {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.search-results-shell .search-compact-bar,
.search-results-shell .search-compact-filters {
    border: 1px solid #30333c;
    background: #1f2025;
}

body.theme-dark .search-results-shell .search-compact-form {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.theme-dark .search-results-shell .search-compact-bar,
body.theme-dark .search-results-shell .search-compact-filters,
body.theme-dark .search-results-shell .search-filter-popover {
    border-color: #30333c;
    background: #1f2025;
}

body.theme-dark .search-results-shell .search-compact-bar .search-query-field,
body.theme-dark .search-results-shell .search-compact-filters .search-mini-field,
body.theme-dark .search-results-shell .search-compact-filters .category-cascade-field,
body.theme-dark .search-results-shell .search-filter-popover .search-mini-field,
body.theme-dark .search-results-shell .search-filter-popover .category-cascade-field {
    border-color: #343843;
    background: #18191d;
}

@media (max-width: 1199.98px) {
    .search-compact-filters .search-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-compact-filters .search-filter-group-category {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .search-compact-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
    }

    .search-compact-bar .search-query-field {
        grid-column: 1 / -1;
        min-height: 46px;
    }

    .search-filter-control {
        width: auto;
        height: 42px;
    }

    .search-icon-filter {
        width: 100%;
        min-width: 0;
        height: 42px;
        padding: 0;
    }

    .search-icon-filter span {
        display: none;
    }

    .search-filter-popover {
        position: fixed;
        z-index: 1100;
        left: 10px;
        right: 10px;
        top: var(--mobile-filter-top, 150px);
        bottom: auto;
        width: auto;
        max-height: calc(100vh - var(--mobile-filter-top, 150px) - 12px);
        overflow-y: auto;
        padding: 14px;
        border-radius: 16px;
        box-shadow: 0 -12px 50px rgba(0, 0, 0, .55);
    }

    .search-filter-popover .category-cascade {
        grid-template-columns: 1fr;
    }

    .search-filter-popover-category .category-cascade-field:not(:has(select:disabled)) {
        cursor: pointer;
    }

    .search-filter-popover-category .category-cascade-field:not(:has(select:disabled)):active {
        border-color: rgba(88,101,242,.65);
        background: #202331;
    }

    .search-results-shell .search-compact-bar .search-query-field,
    .search-results-shell .search-compact-bar .search-icon-filter {
        min-height: 42px;
        border-radius: 11px;
    }

    .search-results-shell .search-compact-bar .search-query-field input {
        font-size: .92rem;
    }

    .search-compact-filters .search-filter-grid {
        grid-template-columns: 1fr;
    }

    .search-compact-filters .search-filter-group-category {
        grid-column: auto;
    }
}

@media (max-width: 991.98px) {
    .search-results-form {
        grid-template-columns: 1fr;
    }

    .search-filter-panel-category .category-cascade {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-directory {
        grid-template-columns: 1fr;
    }

    .category-directory-nav {
        position: static;
        display: flex;
        overflow-x: auto;
    }

    .category-directory-nav > span {
        display: none;
    }

    .category-directory-nav a {
        flex: 0 0 auto;
    }

    .category-shop-layout {
        grid-template-columns: 1fr;
    }

    .category-promoted-row,
    .category-ad-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel {
        position: static;
    }

    .seller-sticky {
        position: static;
    }

    .listing-heading-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .listing-heading-side {
        justify-content: space-between;
    }

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

    .seller-profile-side {
        justify-content: flex-start;
        margin-top: 0;
    }

    .seller-profile-actions {
        margin-top: 14px;
        justify-content: flex-start;
    }

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

@media (max-width: 575.98px) {
    .compact-auth {
        padding: 8px 10px !important;
        font-size: 0;
        width: 38px;
    }

    .compact-auth i {
        font-size: 0.95rem;
        margin: 0 !important;
    }

    .section-heading {
        display: block;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-directory-list {
        grid-template-columns: 1fr;
    }

    .category-directory-list-flat {
        grid-template-columns: 1fr;
    }

    .search-results-form {
        grid-template-columns: 1fr;
    }

    .search-results-form .category-cascade,
    .category-cascade {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .search-filter-row {
        grid-template-columns: 1fr;
    }

    .search-category-link {
        max-width: 100%;
        width: 100%;
    }

    .category-shop-panel-head,
    .category-results-head {
        align-items: stretch;
        flex-direction: column;
    }

    .category-sort-form {
        flex: 0 0 auto;
        width: 100%;
    }

    .category-promoted-row,
    .category-ad-grid {
        grid-template-columns: 1fr;
    }

    .category-tile {
        grid-template-columns: 56px 1fr;
        min-height: 108px;
        padding: 16px;
    }

    .category-count-badge {
        top: 10px;
        right: 10px;
    }

    .category-detail-heading {
        flex-wrap: wrap;
    }

    .category-detail-back {
        width: 100%;
    }

    .category-tile .category-icon,
    .category-detail-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 1.4rem;
    }

    .hero-stat {
        width: 100%;
        text-align: left;
    }

    .toolbar-card {
        padding: 16px;
    }

    .listing-heading-panel,
    .listing-section-card,
    .listing-side-card {
        padding: 17px;
    }

    .listing-heading-side {
        flex-wrap: wrap;
    }

    .listing-price {
        width: 100%;
        margin-bottom: 5px;
    }

    .listing-facts {
        grid-template-columns: 1fr;
    }

    .post-ad-heading {
        display: block;
    }

    .post-ad-heading .btn {
        margin-top: 18px;
    }

    .post-ad-plan,
    .post-price-options {
        grid-template-columns: 1fr;
    }

    .post-attribute-grid {
        grid-template-columns: 1fr;
    }

    .post-ad-layout {
        display: block;
    }

    .post-ad-submit {
        position: static;
        margin-top: 16px;
    }

    .seller-profile-header,
    .seller-profile-section,
    .seller-profile-side-card {
        padding: 17px;
    }

    .seller-profile-identity {
        align-items: flex-start;
    }

    .seller-profile-avatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 16px;
        font-size: 1.35rem;
    }

    .seller-profile-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .seller-profile-stats div {
        min-width: 0;
    }

    .seller-profile-actions .btn,
    .seller-profile-actions form {
        width: 100%;
    }

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

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

    .ad-detail-header,
    .detail-spec-grid {
        display: block;
    }

    .ad-detail-price {
        margin-top: 14px;
    }

    .share-actions {
        grid-template-columns: 1fr;
    }

    .listing-heading-side {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .listing-price-card {
        width: 100%;
        min-width: 0;
    }

    .listing-back-button {
        width: 100%;
        justify-content: center;
    }

    .ad-gallery-main {
        aspect-ratio: 1 / 0.82;
    }

    .ad-gallery-thumbs {
        grid-auto-columns: 86px;
        padding: 10px;
    }

    .ad-gallery-thumb {
        height: 62px;
    }

    .ad-gallery-nav {
        width: 38px;
        height: 38px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-strip .btn {
        width: 100%;
    }

    .theme-choice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .search-results-shell {
        padding-inline: 2px;
    }

    .search-results-shell .search-results-form {
        gap: 8px;
        padding: 8px;
        border-radius: 15px;
    }

    .search-results-shell .search-filter-panel {
        gap: 8px;
        padding: 10px;
        border-radius: 13px;
    }

    .search-results-shell .search-filter-panel:not(.search-filter-panel-query):not(.is-open) {
        padding-block: 9px;
    }

    .search-results-shell .search-filter-toggle {
        min-height: 28px;
        cursor: pointer;
    }

    .search-results-shell .search-filter-title {
        font-size: .66rem;
        letter-spacing: .035em;
    }

    .search-results-shell .search-filter-panel-query .search-filter-title {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-filter-open {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        padding: 7px 10px;
        border: 1px solid rgba(88,101,242,.4);
        border-radius: 999px;
        color: #f2f3ff;
        background: rgba(88,101,242,.16);
        font-size: .72rem;
        font-weight: 950;
        line-height: 1;
    }

    .mobile-filter-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        pointer-events: none;
    }

    .mobile-filter-drawer.is-open {
        pointer-events: auto;
    }

    .mobile-filter-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(5,6,10,.62);
        opacity: 0;
        transition: opacity .18s ease;
    }

    .mobile-filter-drawer.is-open .mobile-filter-backdrop {
        opacity: 1;
    }

    .mobile-filter-sheet {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: 100%;
        height: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
        background: #1e1f22;
        box-shadow: none;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform .22s ease;
    }

    .mobile-filter-drawer.is-open .mobile-filter-sheet {
        transform: translateY(0);
    }

    .mobile-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 16px;
        border-bottom: 1px solid #30333c;
    }

    .mobile-filter-head strong,
    .mobile-filter-head span {
        display: block;
    }

    .mobile-filter-head strong {
        color: #f2f3f5;
        font-size: 1.08rem;
        font-weight: 950;
    }

    .mobile-filter-head span {
        margin-top: 2px;
        color: #aeb4c9;
        font-size: .82rem;
        font-weight: 750;
    }

    .mobile-filter-close {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid #343843;
        border-radius: 12px;
        color: #f2f3f5;
        background: #22242b;
    }

    .mobile-filter-body {
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 10px;
        padding: 12px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .search-filter-grid {
        grid-template-columns: 1fr;
    }

    .mobile-filter-body .search-filter-panel {
        min-height: 0;
    }

    .mobile-filter-body .category-cascade {
        min-width: 0;
    }

    .mobile-filter-body .category-cascade-field,
    .mobile-filter-body .search-mini-field,
    .mobile-filter-body select,
    .mobile-filter-body input {
        max-width: 100%;
    }

    .mobile-filter-body select {
        text-overflow: ellipsis;
    }

    .mobile-filter-footer {
        display: block;
        padding: 12px;
        border-top: 1px solid #30333c;
        background: #1e1f22;
    }

    body.mobile-filter-active {
        overflow: hidden;
    }

    .search-results-shell .search-step-badge {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
        font-size: .68rem;
    }

    .search-results-shell .search-query-field,
    .search-results-shell .search-mini-field,
    .search-results-shell .category-cascade-field {
        min-height: 50px;
        border-radius: 11px;
    }

    .search-results-shell .search-query-field {
        grid-template-columns: 36px 1fr;
        gap: 8px;
        padding: 8px;
    }

    .search-results-shell .search-query-field > i {
        width: 36px;
        height: 36px;
    }

    .search-results-shell .search-query-field input,
    .search-results-shell .search-mini-field input,
    .search-results-shell .search-mini-field select,
    .search-results-shell .category-cascade-field select {
        font-size: .95rem;
    }

    .search-results-shell .search-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-results-shell .search-filter-panel-category .category-cascade {
        grid-template-columns: 1fr;
    }

    .search-results-shell .home-feed-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .search-results-shell .home-feed-item,
    .search-results-shell .home-feed-item:nth-child(n+6) {
        display: block;
        min-width: 0;
    }

    .search-results-shell .ad-card-compact {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 132px;
        border-radius: 14px;
    }

    .search-results-shell .ad-card-compact .ad-thumb {
        min-height: 132px;
        height: 100%;
        aspect-ratio: auto;
    }

    .search-results-shell .ad-card-compact .card-body {
        min-width: 0;
        padding: 12px;
        padding-bottom: 42px;
    }

    .search-results-shell .ad-card-compact .card-title {
        min-height: 0;
        max-height: none;
        margin-bottom: 9px;
        font-size: .96rem;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }

    .search-results-shell .ad-card-summary {
        font-size: .72rem;
        gap: 4px;
    }

    .search-results-shell .ad-card-category-links {
        overflow: hidden;
        white-space: nowrap;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-text,
    .search-results-shell .ad-card-summary > .ad-card-meta-text,
    .search-results-shell .ad-card-summary > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-text {
        display: inline-block;
        max-width: 46%;
    }

    .search-results-shell .ad-card-category-links .ad-card-meta-link {
        max-width: 44%;
    }

    .search-results-shell .ad-image-price {
        display: none;
    }

    .search-results-shell .ad-card-mobile-price {
        position: absolute;
        right: 12px;
        bottom: 12px;
        display: inline-flex;
        align-items: center;
        max-width: calc(100% - 24px);
        min-height: 30px;
        padding: 7px 10px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 10px;
        color: #f2f3f5;
        background: #111214;
        box-shadow: 0 8px 18px rgba(0,0,0,.24);
        font-size: .82rem;
        font-weight: 900;
        line-height: 1;
        pointer-events: none;
    }

    .search-results-shell .ad-card-favorite {
        width: 32px;
        height: 32px;
    }

    .search-results-shell .ad-card-favorite-form {
        top: 7px;
        right: 7px;
    }

    .search-results-shell .ad-card > .ad-card-favorite {
        top: 7px;
        right: 7px;
    }

    .search-results-shell:not(.is-list-view) .home-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 12px;
        align-items: start;
    }

    .search-results-shell:not(.is-list-view) .home-feed-grid:has(.home-feed-item:only-child) {
        grid-template-columns: minmax(0, 176px) !important;
        justify-content: center;
    }

    .search-results-shell:not(.is-list-view) .home-feed-item:only-child {
        width: min(100%, 176px);
        justify-self: center;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact {
        display: block;
        min-height: 0;
        border: 1px solid #30333c;
        border-radius: 14px;
        background: #1d1e23;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
        overflow: hidden;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-thumb {
        min-height: 0;
        height: auto;
        aspect-ratio: 1 / .74;
        background: #25272f;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-thumb::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 44%;
        background: linear-gradient(180deg, rgba(20, 21, 25, 0), rgba(20, 21, 25, .34));
        pointer-events: none;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-no-photo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        min-height: 100%;
        gap: 6px;
        background: radial-gradient(circle at 50% 48%, rgba(92, 103, 240, .15), rgba(92, 103, 240, 0) 40%), #25272f;
        color: transparent;
        font-size: 0;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .ad-no-photo i {
        color: #7f8aaa;
        font-size: 1.18rem;
        opacity: .82;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-body {
        position: static;
        min-height: 56px;
        padding: 10px 10px 11px;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-title {
        min-height: 2.5em;
        max-height: 2.5em;
        margin-bottom: 0;
        font-size: .75rem;
        line-height: 1.25;
        letter-spacing: 0;
        display: -webkit-box !important;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        word-break: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .search-results-shell:not(.is-list-view) .ad-card-compact .card-title a {
        display: block;
        font-weight: 850;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .search-results-shell:not(.is-list-view) .ad-card-summary {
        display: block;
    }

    .search-results-shell:not(.is-list-view) .ad-card-category-links {
        display: none;
    }

    .search-results-shell:not(.is-list-view) .ad-card-summary i {
        width: auto;
        margin-right: 4px;
        color: #cdd1ff;
        font-size: .58rem;
    }

    .search-results-shell:not(.is-list-view) .ad-card-summary > span:not(.ad-card-category-links) {
        position: absolute;
        z-index: 4;
        top: 7px;
        left: 7px;
        display: inline-flex;
        align-items: center;
        max-width: calc(100% - 54px);
        min-height: 23px;
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 999px;
        color: #eef1ff;
        background: rgba(17, 18, 23, .82);
        box-shadow: 0 7px 14px rgba(0, 0, 0, .2);
        font-size: .6rem;
        font-weight: 850;
        line-height: 1;
        backdrop-filter: blur(6px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-results-shell:not(.is-list-view) .ad-image-price {
        display: inline-flex;
        right: 8px;
        bottom: 8px;
        min-height: 25px;
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 8px;
        background: rgba(15, 16, 20, .9);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
        font-size: .66rem;
        font-weight: 900;
    }

    .search-results-shell:not(.is-list-view) .ad-card-mobile-price {
        display: none;
    }

    .search-results-shell:not(.is-list-view) .ad-card-favorite,
    .search-results-shell:not(.is-list-view) .ad-card > .ad-card-favorite {
        width: 31px;
        height: 31px;
        border-radius: 10px;
        background: rgba(31, 33, 42, .86);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    }

    .search-results-shell .search-pagination-wrap {
        margin-top: 18px;
    }
}
