/* ==================================================
   Variables
   ================================================== */
:root {
    --primary-gold: #E8BA00;
    --primary-green: #345830;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light-gray: #6B7280;
    --bg-color: #F8F8F8;
}


/* ==================================================
   Base / Reset
   ================================================== */
html {
    overflow-x: hidden;

}

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}


/* ==================================================
   Background Blobs
   ================================================== */
.background-container {
    position: absolute;
    width: 100%;
    height: calc(100% - 150px);
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background-color: #F8F8F8;
}

.blur-ellipse-1 {
    position: absolute;
    width: 1228px;
    height: 303px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    background: rgba(232, 186, 0, 0.3);
    filter: blur(125px);
}

.blur-ellipse-2 {
    position: absolute;
    width: 389px;
    height: 279px;
    left: 1215px;
    top: 0;
    background: rgba(232, 186, 0, 0.55);
    filter: blur(200px);
}


/* ==================================================
   Navigation
   ================================================== */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 80px;
    height: 82px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    gap: 8px;
    width: 143px;
    height: 62px;
    direction: rtl;
}

.logo-icon-wrapper {
    position: relative;
    width: 50px;
    height: 56px;
    flex: none;
    order: 1;
}

.logo-ellipse {
    position: absolute;
    width: 15.83px;
    height: 15.83px;
    left: 13.33px;
    top: 21px;
    background: rgba(94, 114, 26, 0.4);
    border-radius: 50%;
}

.logo-img {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    top: 6px;
    background-image: url('/new_design/images/logo3.png');
    background-image: image-set(url('/new_design/images/logo3.webp') type('image/webp'), url('/new_design/images/logo3.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
}

.logo-text {
    width: 85px;
    height: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    color: #000;
    text-align: left;
    flex: none;
    order: 0;
}

/* --- Nav Links --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    position: relative;
    cursor: pointer;
    color: var(--text-gray);
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    height: 40px;
}

.nav-item-wrapper.active {
    border-bottom: 2px solid var(--primary-gold);
    background: transparent;
}

.nav-item-wrapper.active .nav-item-text {
    color: #E8BA00;
}

.nav-item-text {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: left;
    color: var(--text-gray);
    transition: color 0.3s;
}

.nav-links li:hover .nav-item-text {
    color: var(--primary-gold);
}

.nav-dropdown-icon {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-links li:hover .nav-dropdown-icon {
    transform: rotate(180deg);
}

/* --- Nav Dropdown --- */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    margin-top: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 15px;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.nav-links li:hover .nav-dropdown {
    display: flex;
}

.nav-dropdown-item {
    padding: 10px 15px;
    font-family: 'Rubik';
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    text-align: left;
}

.nav-dropdown-item:hover {
    background: rgba(232, 186, 0, 0.1);
    color: var(--primary-gold);
}

/* ── What's New special dropdown item ── */
.nav-whats-new-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(232, 186, 0, 0.07) 0%, transparent 60%);
    font-weight: 600;
}

.nav-whats-new-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 186, 0, 0.18) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: wni-shimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}

.nav-whats-new-item:hover {
    background: linear-gradient(135deg, rgba(232, 186, 0, 0.14) 0%, rgba(232, 186, 0, 0.04) 100%);
    color: var(--primary-gold);
}

.wni-star {
    font-size: 10px;
    color: var(--primary-gold);
    animation: wni-spin 3s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

.wni-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #fff;
    background: linear-gradient(135deg, #e8ba00, #c59800);
    border-radius: 4px;
    padding: 2px 6px;
    margin-inline-start: auto;
    box-shadow: 0 1px 5px rgba(232, 186, 0, 0.45);
    animation: wni-pulse 2.2s ease-in-out infinite;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes wni-shimmer {
    0% {
        transform: translateX(-120%);
    }

    55%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes wni-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes wni-pulse {

    0%,
    100% {
        box-shadow: 0 1px 5px rgba(232, 186, 0, 0.45);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 1px 10px rgba(232, 186, 0, 0.7);
        transform: scale(1.05);
    }
}

/* --- Nav Actions --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Language Selector Dropdown --- */
.lang-dropdown {
    position: relative;
    cursor: pointer;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.lang-dropdown-toggle:hover {
    background: rgba(232, 186, 0, 0.1);
    color: var(--primary-gold);
}

.lang-dropdown-icon {
    font-size: 18px;
}

.lang-chevron {
    transition: transform 0.3s;
}

.lang-dropdown.active .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid rgba(232, 186, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 8px;
    min-width: 120px;
    display: none;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    gap: 4px;
    z-index: 1050;
    margin-top: 10px;
}

.lang-dropdown.active .lang-dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lang-dropdown-item {
    padding: 8px 12px;
    font-family: 'Rubik';
    font-size: 14px;
    color: var(--text-dark);
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.lang-dropdown-item:hover {
    background: rgba(232, 186, 0, 0.1);
    color: var(--primary-gold);
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: linear-gradient(180deg, #fff -38.46%, #E8BA00 80.77%);
    border: none;
    border-radius: 20px;
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 18px;
    color: var(--text-gray);
    cursor: pointer;
    width: 90px;
    height: 52px;
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-family: 'Rubik';
    font-size: 18px;
    color: var(--text-gray);
    cursor: pointer;
}

/* --- User Profile Dropdown --- */
.user-profile-dropdown {
    position: relative;
    margin-right: 15px;
    z-index: 998;
}

/* Base toggle layout — visual styles defined further down with the gold pill rules. */
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-sizing: border-box;
}

.user-dropdown-toggle:hover {
    box-shadow: 1px 4px 14px rgba(232, 186, 0, 0.25);
}

.user-chevron {
    transition: transform 0.3s;
}

.user-profile-dropdown.active .user-chevron,
.user-dropdown-toggle.show .user-chevron {
    transform: rotate(180deg);
}

.user-profile-dropdown.active .user-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

.user-info-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name-mini {
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 16px;
    color: #111827;
    line-height: 1.2;
}

.user-id-mini {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 14px;
    color: #6B7280;
}

.user-avatar-mini {
    position: relative;
    width: 36px;
    height: 36px;
    max-width: 46px;
    max-height: 46px;
    background: #E8BA00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.user-edit-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8BA00;
    font-size: 8px;
}

/* ==================================================
   User Dropdown Menu — Figma Frame 195
   250px wide, translucent white w/ gold glow + triangle tail
   ================================================== */
.user-dropdown-menu {
    width: 250px;
    min-width: 250px;
    border: 1px solid rgba(232, 186, 0, 0.4);
    box-shadow: 0 0 15px rgba(252, 203, 8, 0.5),
        1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    z-index: 998 !important;
    padding: 41px 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    margin-top: 14px !important;
    overflow: visible;
}

/* Triangle tail pointing up to the pill — 33×33, near the avatar side */
.user-dropdown-menu::before,
.user-dropdown-menu::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
}

/* Outer (border) triangle */
.user-dropdown-menu::before {
    border-bottom: 12px solid rgba(232, 186, 0, 0.4);
    z-index: 1;
}

/* Inner (fill) triangle, slightly smaller */
.user-dropdown-menu::after {
    top: -9px;
    border-bottom: 12px solid rgba(255, 255, 255, 0.95);
    z-index: 2;
}

/* Tail position — sits over the avatar side of the pill (LTR-anchored) */
html[dir="ltr"] .user-dropdown-menu::before,
html[dir="ltr"] .user-dropdown-menu::after {
    left: 28px;
    right: auto;
}

html[dir="ltr"] .user-dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

html[dir="rtl"] .user-dropdown-menu {
    right: auto;
    left: 0;
}

/* Header — name+id stack with avatar on the side */
.dropdown-header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.user-info-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    flex: 1;
    min-width: 0;
    text-align: start;
}

.user-name-large {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #000000;
}

.user-id-large {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: 18px;
    line-height: 21px;
    color: #000000;
}

.user-avatar-large {
    position: relative;
    width: 55px;
    height: 55px;
    max-width: 65px;
    max-height: 65px;
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.1);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.user-edit-icon-large {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8BA00;
    font-size: 10px;
}

.dropdown-separator {
    height: 1px;
    background: rgba(107, 114, 128, 0.15);
    margin: 12px 0;
    border-radius: 2px;
}

.vp-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
}

/* Stat cards inside the dropdown — flat white w/ shadow per Figma */
.dropdown-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 10px 12px;
    height: 39px;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none !important;
}

.stat-pill:hover {
    transform: translateY(-1px);
    box-shadow: 1px 6px 14px rgba(0, 0, 0, 0.12);
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rubik';
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #6B7280;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #111827;
}

.stat-icon {
    color: #E8BA00;
    font-size: 16px;
}

.dropdown-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.btn-dropdown-action {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 41px;
    padding: 10px;
    border-radius: 12px;
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-dropdown-action.fill {
    background: linear-gradient(180deg, #FFFFFF -38.46%, #E8BA00 80.77%);
    color: #111827;
    border: none;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-dropdown-action.fill:hover {
    transform: translateY(-2px);
}

.btn-dropdown-action.outline {
    background: transparent;
    color: #E8BA00;
    font-size: 18px;
    line-height: 21px;
    border: 1px solid rgba(232, 186, 0, 0.5);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-dropdown-action.outline:hover {
    background: rgba(232, 186, 0, 0.05);
}

/* --- Mobile Menu (Hidden on Desktop) --- */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-auth-panel {
    display: none;
}

@media (min-width: 1151px) {
    .mobile-sidebar-header {
        display: none !important;
    }
}

/* ==================================================
   Hero Section
   ================================================== */
.hero {
    text-align: center;
    padding-top: 180px;
    padding-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hero-curve-separator {
    position: absolute;
    bottom: 150px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.hero-curve-separator svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-title-group h1 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(26px, 4vw, 48px);
    color: var(--text-dark);
    margin: 0 0 20px;
}

.hero-title-group p {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(18px, 2.5vw, 32px);
    color: var(--text-light-gray);
    margin: 0 0 60px;
}

.hero-actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 350px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    padding: 23px 20px 0px 20px;
}

.hero-action-btn {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 20px 10px 10px;
    border-radius: 20px;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Rubik', sans-serif;
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 400;
    color: #111827;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(107, 114, 128, 0.12);
}

.hero-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 1px 8px 15px rgba(0, 0, 0, 0.15);
    color: #111827;
}

.hero-action-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(180deg, #FDF3C8 0%, #E8BA00 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

.hero-spacing-empty {
    height: 400px;
}


/* ==================================================
   Search
   ================================================== */
.search-container {
    display: flex;
    justify-content: center;
    margin: 0 auto 70px auto;
    position: relative;
    z-index: 50;
    width: calc(100% - 40px);
    max-width: 625px;
}

.search-box {
    position: relative;
    width: 100%;
    height: 60px;
    margin-bottom: 11px;
    background: #fff;
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
    z-index: 2;
    box-sizing: border-box;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-family: 'Rubik';
    font-weight: 300;
    font-size: 18px;
    color: var(--text-dark);
    text-align: left;
    background: transparent;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.search-box input::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

.search-icon-wrapper {
    width: 41px;
    height: 41px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: beat 2s ease-in-out infinite;
}

@keyframes beat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15);
    }

    40% {
        transform: scale(1);
    }

    55% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

.search-icon-wrapper img {
    width: 60%;
    object-fit: contain;
}

.search-dropdown-trigger {
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-dropdown-trigger svg {
    transition: transform 0.3s ease;
}

.search-container:hover .search-dropdown-trigger svg {
    transform: rotate(180deg);
}

.search-dropdown-menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 1px 12px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.12);
    border-radius: 0 0 20px 20px;
    padding: 25px 20px 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    z-index: 1;
}

.search-container:hover .search-dropdown-menu {
    display: flex;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s;
}

.search-dropdown-item:hover {
    background-color: #f9f9f9;
}

.search-dropdown-item i {
    flex-shrink: 0;
}

.search-dropdown-item span {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(14px, 1.6vw, 20px);
    color: #111827;
}

.search-dropdown-item svg {
    color: #4B5563;
}

.search-dropdown-item--soon {
    cursor: default;
    opacity: 0.7;
}

.search-dropdown-item--soon:hover {
    background-color: transparent;
}

.soon-badge {
    margin-inline-start: auto;
    font-size: 11px;
    font-weight: 600;
    color: #92700a;
    background: rgba(232, 186, 0, 0.18);
    border: 1px solid rgba(232, 186, 0, 0.4);
    border-radius: 20px;
    padding: 2px 10px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}


/* ==================================================
   Role Selection & Cards
   ================================================== */
.role-selection-text {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(22px, 3vw, 32px);
    color: var(--text-light-gray);
    margin-bottom: 40px;
    text-align: center;
}

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    perspective: 1000px;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.card-container {
    width: 100%;
    max-width: 310px;
    flex: 1 1 310px;
    height: 400px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-container:hover .card-inner,
.card-inner.is-flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
}

.card-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-image-container {
    position: relative;
    width: 310px;
    height: 275px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.card-image-container::before {
    content: '';
    position: absolute;
    width: 310px;
    height: 275px;
    left: 0;
    top: 0;
    filter: blur(22.5px);
    border-radius: 30px 30px 80px 80px;
    z-index: 0;
}

/* Green gradient cards */
.card-container:nth-child(1) .card-image-container::before,
.card-container:nth-child(3) .card-image-container::before {
    background: linear-gradient(180deg, #fff 7.82%, #38592E 327.64%);
    box-shadow: 0 20px 40px -10px rgba(94, 114, 26, 0.3);
}

/* Gold gradient cards */
.card-container:nth-child(2) .card-image-container::before,
.card-container:nth-child(4) .card-image-container::before {
    background: linear-gradient(180deg, #fff 19.27%, rgba(232, 186, 0, 0.44) 374%);
    box-shadow: 0 20px 40px -10px rgba(232, 186, 0, 0.2);
}

.card-image-container img {
    position: absolute;
    width: 299px;
    height: 275px;
    left: 6px;
    top: 0;
    object-fit: contain;
}

.card-front h3 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 3vw, 32px);
    color: var(--text-dark);
    margin-top: 20px;
}

/* --- Card Back --- */
.card-back {
    transform: rotateY(180deg);
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    direction: ltr;
    text-align: left;
}

.card-back::after {
    content: '';
    position: absolute;
    bottom: -34px;
    left: -61px;
    width: 200px;
    height: 200px;
    background-image: url('/new_design/images/logo3.png');
    background-image: image-set(url('/new_design/images/logo3.webp') type('image/webp'), url('/new_design/images/logo3.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.card-back h3 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(16px, 2vw, 26px);
    color: #111827;
    margin: 0 0 15px;
    text-align: center;
}

.service-list {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(14px, 1.4vw, 18px);
    color: #111827;
    text-align: left;
}

.service-list li svg {
    color: #E8BA00;
    fill: rgba(232, 186, 0, 0.2);
}

.card-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.btn-card-register {
    width: 100%;
    padding: 12px;
    background: linear-gradient(180deg, #fff -20.45%, #E8BA00 100%);
    border: none;
    border-radius: 15px;
    font-family: 'Rubik';
    font-weight: 500;
    font-size: clamp(14px, 1.6vw, 20px);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(232, 186, 0, 0.2);
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-card-register:hover {
    background: #E8BA00;
}

.btn-card-register.green {
    background: linear-gradient(180deg, #fff -28.41%, #345830 83.96%, #345830 100%);
    box-shadow: 0 4px 10px rgba(52, 88, 48, 0.2);
}

.btn-card-register.green:hover {
    background: #345830;
}

.btn-card-login {
    background: transparent;
    border: none;
    font-family: 'Rubik';
    font-weight: 500;
    font-size: clamp(14px, 1.6vw, 20px);
    color: #111827;
    cursor: pointer;
    border-bottom: 1px solid #111827;
    padding-bottom: 2px;
}


/* ==================================================
   General Services Section
   ================================================== */
.general-services {
    position: relative;
    width: 100%;
    min-height: 494px;
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.services-header h2 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 48px);
    line-height: 57px;
    color: #111827;
    margin: 0;
}

.services-header p {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 32px);
    line-height: 38px;
    color: #6B7280;
    margin: 0;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    flex: 1 1 272px;
    height: 199px;
    background: #fff;
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
}

.soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    background-color: #E8BA00;
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(232, 186, 0, 0.3);
}

span.soon-badge.dropdown {
    bottom: 20px;
    top: auto;
}

.service-icon-wrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    width: 50px;
    height: 50px;
}

.service-icon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 10px;
    background: #fff;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
}

.service-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    z-index: 2;
}

.service-content {
    position: absolute;
    top: 90px;
    left: 13px;
    right: auto;
    width: 230px;
    text-align: left;
}

.service-title {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 26px;
    color: #111827;
    margin-bottom: 10px;
}

.service-desc {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(13px, 1.4vw, 18px);
    line-height: 21px;
    color: #6B7280;
}


/* ==================================================
   EDU Store Banner (Home Page)
   ================================================== */
.edu-store-banner {
    padding: 0 40px;
    margin: 60px auto;
    max-width: 1200px;
}

.edu-store-banner__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border: 1px solid rgba(232, 186, 0, 0.18);
    border-radius: 30px;
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.edu-store-banner__inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(232, 186, 0, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.edu-store-banner__inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 88, 48, 0.05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.edu-store-banner__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.edu-store-banner__label {
    display: inline-block;
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    background: rgba(232, 186, 0, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.edu-store-banner__title {
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.edu-store-banner__desc {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light-gray);
    margin: 0 0 24px;
    line-height: 1.6;
    max-width: 440px;
}

.edu-store-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(180deg, #fff -20%, #E8BA00 100%);
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(232, 186, 0, 0.2);
    transition: all 0.25s ease;
}

.edu-store-banner__cta:hover {
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 186, 0, 0.3);
}

/* Visual / floating icons */
.edu-store-banner__visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
}

.edu-store-banner__main-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg, #fff 0%, rgba(232, 186, 0, 0.12) 100%);
    border: 1px solid rgba(232, 186, 0, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 24px rgba(232, 186, 0, 0.1);
}

.edu-store-banner__main-icon i {
    font-size: 40px;
    color: var(--primary-gold);
}

.edu-store-banner__floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    animation: edu-store-float 4s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.edu-store-banner__floating-icon i {
    font-size: 18px;
}

.edu-store-banner__floating-icon--1 {
    background: linear-gradient(180deg, #fff 0%, rgba(232, 186, 0, 0.15) 100%);
    border: 1px solid rgba(232, 186, 0, 0.1);
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.edu-store-banner__floating-icon--1 i {
    color: var(--primary-gold);
}

.edu-store-banner__floating-icon--2 {
    background: linear-gradient(180deg, #fff 0%, rgba(52, 88, 48, 0.12) 100%);
    border: 1px solid rgba(52, 88, 48, 0.08);
    top: 0;
    right: 10px;
    animation-delay: 1.3s;
}

.edu-store-banner__floating-icon--2 i {
    color: var(--primary-green);
}

.edu-store-banner__floating-icon--3 {
    background: linear-gradient(180deg, #fff 0%, rgba(232, 186, 0, 0.1) 100%);
    border: 1px solid rgba(232, 186, 0, 0.08);
    bottom: 10px;
    right: 30px;
    animation-delay: 2.6s;
}

.edu-store-banner__floating-icon--3 i {
    color: #F5D442;
}

@keyframes edu-store-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .edu-store-banner {
        padding: 0 20px;
        margin: 40px auto;
    }

    .edu-store-banner__inner {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
        gap: 28px;
    }

    .edu-store-banner__title {
        font-size: 22px;
    }

    .edu-store-banner__desc {
        font-size: 14px;
        max-width: none;
    }

    .edu-store-banner__visual {
        width: 140px;
        height: 140px;
    }

    .edu-store-banner__main-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .edu-store-banner__main-icon i {
        font-size: 28px;
    }

    .edu-store-banner__floating-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .edu-store-banner__floating-icon i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .edu-store-banner__inner {
        padding: 28px 20px;
    }

    .edu-store-banner__title {
        font-size: 20px;
    }
}

/* ==================================================
   Educational Opportunities Section
   ================================================== */
.educational-opportunities {
    position: relative;
    width: 100%;
    background: #F8F8F8;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opportunities-header {
    text-align: center;
    margin-bottom: 60px;
}

.opportunities-header h2 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 48px);
    line-height: 57px;
    color: #111827;
    margin: 0;
}

.opportunities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.opp-card {
    width: 100%;
    flex: 1 1 306px;
    max-width: 420px;
    height: 200px;
    background: #fff;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opp-card:hover {
    transform: translateY(-5px);
}

.opp-card.green-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 100%, #38592E 129.59%), #fff;
}

.opp-card.green-card:hover {
    background: linear-gradient(180deg, #fff 0%, #345830 161%, #345830 100%);
    color: white;
}

.opp-card.gold-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 100%, #E8BA00 129.59%), #fff;
}

.opp-card.gold-card:hover {
    background: linear-gradient(180deg, #fff 0%, #E8BA00 161%, #E8BA00 100%);
    color: white;
}

.opp-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.green-card .opp-icon-box {
    background: rgba(56, 89, 46, 0.15);
}

.gold-card .opp-icon-box {
    background: rgba(232, 186, 0, 0.15);
}

.opp-card:hover .opp-icon-box {
    background: rgba(255, 255, 255, 0.2);
}

.opp-icon-box img,
.opp-icon-box svg {
    width: 32px;
    height: 32px;
    transition: filter 0.3s ease;
}

.opp-card:hover .opp-icon-box img,
.opp-card:hover .opp-icon-box svg {
    filter: brightness(0) invert(1);
}

.opp-title {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 32px);
    line-height: 38px;
    text-align: center;
    color: #111827;
    transition: color 0.3s ease;
}

.opp-card:hover .opp-title {
    color: #ffffff;
}


/* ==================================================
   Jobs Section
   ================================================== */
.jobs-section {
    position: relative;
    width: 100%;
    background: #F8F8F8 url('/new_design/images/vector-bg.png');
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.job-bg-vector-right,
.job-bg-vector-left {
    position: absolute;
    width: 593px;
    height: 593px;
    z-index: 0;
}

.job-bg-vector-right {
    right: -100px;
    top: 400px;
    background: radial-gradient(circle, rgba(232, 186, 0, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.job-bg-vector-left {
    left: -295px;
    top: 25px;
    background: radial-gradient(circle, rgba(232, 186, 0, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.jobs-header {
    text-align: center;
    margin-bottom: 50px;
    z-index: 1;
}

.jobs-header h2 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 48px);
    line-height: 57px;
    color: #111827;
    margin: 0 0 10px;
}

.jobs-header p {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 32px);
    line-height: 38px;
    color: #6B7280;
    margin: 0;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

.job-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
    height: 224px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-id-tag {
    position: absolute;
    top: 20px;
    left: 0;
    width: 108px;
    height: 47px;
    background: linear-gradient(180deg, #fff -36.17%, #E8BA00 100%);
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.1), inset 4px 4px 15px rgba(232, 186, 0, 0.3);
    border-radius: 0 10px 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 18px;
    color: #111827;
}

.job-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    direction: ltr;
    gap: 10px;
    margin-right: 20px;
    width: 100%;
    padding-right: 20px;
    padding-left: 230px;
}

.job-title {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 2.5vw, 32px);
    color: #000;
    text-align: left;
}

.job-desc {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(14px, 1.6vw, 20px);
    line-height: 30px;
    color: #6B7280;
    text-align: left;
    max-width: 800px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: flex-end;
    width: 100%;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6B7280;
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(14px, 1.6vw, 20px);
}

.meta-icon {
    width: 24px;
    height: 24px;
    fill: #E8BA00;
}

.job-action {
    position: absolute;
    left: 30px;
    top: auto;
    bottom: 30px;
}

.btn-view-details {
    width: 200px;
    height: 60px;
    background: linear-gradient(178.83deg, #fff -36.69%, #E8BA00 99.01%);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1), inset 4px 4px 15px rgba(232, 186, 0, 0.3);
    border-radius: 15px;
    border: none;
    font-family: 'Rubik';
    font-size: 18px;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Jobs Footer / Pagination --- */
.jobs-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    z-index: 1;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-link {
    font-family: 'Rubik';
    font-size: 18px;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-num {
    width: 30px;
    height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 1px solid rgba(107, 114, 128, 0.12);
    background: #fff;
    cursor: pointer;
}

.page-num.active {
    border: 1px solid rgba(232, 186, 0, 0.45);
    color: #E8BA00;
}

.pf-badge-request:hover {
    background: linear-gradient(180deg, #FDE68A 20%, #E8BA00 120%);
    box-shadow: 0 4px 12px rgba(232, 186, 0, 0.3);
    transform: translateY(-1px);
}

/* ── Premium Verification Checklist ──────────────── */
.pf-verify-card-body {
    padding: 10px 0;
    text-align: center;
}

.pf-verify-header {
    margin-bottom: 32px;
}

.pf-verify-title {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pf-verify-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #4B5563;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.pf-verify-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
    margin: 0 auto 32px;
}

.pf-verify-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.pf-verify-item.complete {
    color: #059669;
    font-weight: 500;
}

.pf-verify-item.missing {
    color: #9ca3af;
}

.pf-verify-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-verify-icon.complete {
    color: #10b981;
}

.pf-verify-icon.missing {
    color: #d1d5db;
}

[dir="ltr"] .pf-verify-item {
    justify-content: flex-start;
}

.btn-view-all {
    width: 266px;
    height: 70px;
    background: linear-gradient(178.83deg, #fff -36.69%, #E8BA00 99.01%);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: none;
    font-family: 'Rubik';
    font-size: 18px;
    color: #111827;
    cursor: pointer;
}


/* ==================================================
   EduAds Section
   ================================================== */
.ads-section {
    position: relative;
    width: 100%;
    min-height: 852px;
    background: #F8F8F8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 70px 0;

}

.ads-bg-logo {
    position: absolute;
    width: 748.54px;
    height: 748.54px;
    right: 0;
    top: -171px;
    background: url('/new_design/images/Logo.png') no-repeat center center;
    background: image-set(url('/new_design/images/Logo.webp') type('image/webp'), url('/new_design/images/Logo.png') type('image/png')) no-repeat center center;
    background-size: contain;
    transform: rotate(-21.11deg);
    opacity: 0.1;
    z-index: 0;
}

.ads-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    margin-bottom: 60px;
    width: 570px;
    max-width: 90%;
}

.ads-header h2 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 48px);
    line-height: 57px;
    text-align: center;
    color: #111827;
    margin: 0;
}

.ads-header p {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 32px);
    line-height: 38px;
    text-align: center;
    color: #6B7280;
    margin: 0;
}

/* --- Carousel --- */
.ads-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
    box-sizing: border-box;
}

.ads-nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 118px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;
    transform: scaleX(-1);
}

.ads-nav-btn.prev,
.ads-nav-btn.next {
    margin-left: 40px;
    margin-right: 40px;
}

.ads-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 20px;
    width: 100%;
    max-width: 1340px;
    min-width: 0;
    justify-content: flex-start;
    box-sizing: border-box;
}

.ads-carousel::-webkit-scrollbar {
    display: none;
}

/* --- Ad Card --- */
.ad-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: 362px;
    height: 439px;
    background: #fff;
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    flex: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 1px 8px 15px rgba(0, 0, 0, 0.15);
}

.ad-image {
    width: 332px;
    height: 326px;
    border-radius: 20px;
    background-color: #E6E8EA;
    background-size: cover;
    background-position: center;
}

.ad-title {
    width: 285px;
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 28px);
    line-height: 33px;
    text-align: center;
    color: #111827;
}

/* --- Browse Button --- */
.ads-btn-container {
    width: 100%;
    max-width: 1340px;
    margin: 60px auto 0;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.btn-browse-ads {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    width: 225px;
    height: 58px;
    background: rgba(56, 89, 46, 0.15);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-family: 'Rubik';
    transition: background 0.3s ease;
}

.btn-browse-ads:hover {
    background: rgba(56, 89, 46, 0.25);
}

.btn-browse-ads span {
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #345830;
}

.btn-browse-ads svg {
    transform: scaleX(-1);
}


/* ==================================================
   About EduJordan Section
   ================================================== */
.about-edu-section {
    max-width: 1200px;
    margin: 80px auto 50px;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible;
}


.about-edu-container {
    position: relative;
    width: 100%;
    max-width: 1140px;
    height: 580px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.about-bg-panel {
    position: absolute;
    width: 890px;
    height: 540px;
    right: 0;
    left: auto;
    top: 20px;
    background: #FAF0C6;
    opacity: 1;
    border: none;
    box-shadow: -9px 9px 20px rgba(0, 0, 0, 0.22);
    border-radius: 30px;
    transform: rotate(-3deg);
    transform-origin: center center;
    z-index: 1;
}

.about-content {
    position: absolute;
    top: 150px;
    right: 80px;
    left: auto;
    width: 460px;
    max-width: 46%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.about-content h2 {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.2;
    text-align: start;
    color: #111827;
    margin: 0;
}

.about-content p {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: clamp(16px, 1.8vw, 26px);
    line-height: 1.4;
    text-align: start;
    color: #6B7280;
    margin: 0;
}

.btn-about-edu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: 225px;
    height: 60px;
    background: linear-gradient(180.73deg, #fff -53.68%, #E8BA00 133.93%);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #111827;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.btn-about-edu:hover {
    transform: translateY(-2px);
    box-shadow: 1px 6px 15px rgba(0, 0, 0, 0.15);
}

.about-image {
    position: absolute;
    left: 0;
    right: auto;
    top: 50px;
    width: 520px;
    aspect-ratio: 570 / 530;
    border-radius: 30px;
    overflow: hidden;
    z-index: 4;
    transform: rotate(3deg);
    transform-origin: center center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}


/* ==================================================
   Responsive: Desktop/Tablet (≤1400px)
   ================================================== */
@media (max-width: 1400px) {
    nav {
        padding: 10px 40px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-item-wrapper {
        padding: 8px;
        height: auto;
    }

    .cards-grid,
    .services-grid,
    .opportunities-grid {
        justify-content: center;
    }

    .ads-nav-btn.prev,
    .ads-nav-btn.next {
        margin-left: 20px;
        margin-right: 20px;
    }

    .ads-btn-container {
        padding: 0 50px;
    }
}


/* ==================================================
   Responsive: About Section
  ================================================== */


/* ==================================================
   Responsive: Mobile Sidebar (≤1150px)
   ================================================== */
@media (max-width: 1150px) {
    nav {
        flex-wrap: nowrap;
        height: 82px;
        padding: 10px 20px;
        position: sticky;
        top: 0;
        background: #fff;
    }

    .mobile-menu-btn {
        display: flex;
        order: 4;
        z-index: 1002;
        flex-shrink: 0;
    }

    /* --- Overlay behind sidebar --- */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 280px;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-checkbox:checked~.nav-overlay {
        display: block;
        opacity: 1;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: 285px;
        max-width: 82vw;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 30px;
        box-sizing: border-box;
        gap: 0;
        z-index: 1000;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1), visibility 0.3s;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.12);
        margin: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(107, 114, 128, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    /* Sidebar nav item wrapper */
    .nav-item-wrapper {
        justify-content: space-between;
        width: 100%;
        display: flex;
        padding: 14px 20px;
        height: auto;
        min-height: 52px;
        border-radius: 0;
        transition: background 0.2s ease;
    }

    .nav-item-wrapper:hover,
    .nav-item-wrapper:active {
        background: rgba(232, 186, 0, 0.06);
    }

    .nav-item-wrapper.active {
        border-bottom: none;
        background: rgba(232, 186, 0, 0.08);
        border-right: 3px solid var(--primary-gold);
    }

    .nav-item-wrapper .nav-item-text {
        font-size: 16px;
    }

    .mobile-menu-checkbox:checked~.nav-links {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-checkbox:checked~.mobile-menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-checkbox:checked~.mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-checkbox:checked~.mobile-menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .logo-section {
        order: 1;
        width: auto;
        flex-shrink: 0;
    }

    .nav-actions {
        order: 3;
        margin-inline-start: auto;
        margin-inline-end: 0;
        gap: 10px;
        min-width: 0;
    }

    /* Allow the user pill to shrink (truncate name) before the row overflows */
    .user-profile-dropdown {
        min-width: 0;
    }

    .user-dropdown-toggle {
        min-width: 0;
    }

    .nav-dropdown {
        position: static;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.8);
        padding: 6px 0 6px 0;
        margin-top: 0;
        display: none;
        min-width: 100%;
        border-radius: 0;
        border-top: 1px solid rgba(107, 114, 128, 0.08);
    }

    .nav-dropdown-item {
        padding: 10px 20px 10px 36px !important;
        font-size: 15px !important;
        color: #4B5563 !important;
        display: block;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .nav-dropdown-item:hover {
        background: rgba(232, 186, 0, 0.08);
        color: var(--primary-gold) !important;
    }

    .nav-links li:hover .nav-dropdown,
    .nav-links li:focus-within .nav-dropdown {
        display: none;
    }

    .nav-links li .nav-dropdown.sidebar-open {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Rotate chevron when dropdown is open */
    .nav-dropdown-icon.sidebar-rotated {
        transform: rotate(180deg);
    }

    /* Sidebar header (logo inside sidebar) */
    .mobile-sidebar-header {
        width: 100%;
        padding: 22px 20px 18px;
        border-bottom: 2px solid rgba(232, 186, 0, 0.2);
        margin-bottom: 0;
        background: linear-gradient(135deg, #fefefe 0%, #fffdf0 100%);
        flex-shrink: 0;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo {
        display: flex;
        margin: 0;
        padding: 0;
    }

    /* Auth panel — shown inside the drawer at all mobile widths */
    .mobile-auth-panel {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 16px 16px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Guest panel: keep Login + Register stacked tight (no gap). */
    .mobile-auth-panel.mobile-auth-guest {
        gap: 0;
    }
}


/* ==================================================
   Responsive: Tablet (≤1024px)
   ================================================== */
@media (max-width: 1024px) {
    .ads-bg-logo {
        left: 50%;
        margin-left: -374px;
    }

    /* Mobile per Figma Frame 8871: cream rounded card with stacked
       image → title → description → button. */
    .about-edu-section {
        margin: 50px auto;
    }

    .about-edu-container {
        height: auto;
        max-width: 360px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: #FAF0C6;
        border: none;
        border-radius: 30px;
        box-shadow: 9px 9px 18px rgba(0, 0, 0, 0.25);
        padding: 24px 24px 28px;
        gap: 16px;
    }

    /* No separate panel on mobile — the container itself is the cream card */
    .about-bg-panel {
        display: none;
    }

    .about-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: stretch;
        gap: 16px;
        order: 2;
        z-index: 2;
    }

    /* Center both title and description so the cream card reads as a
       symmetric block — mixed start/center looked off-balance. */
    .about-content h2 {
        font-size: 24px;
        line-height: 28px;
        text-align: center;
        margin: 0;
    }

    .about-content p {
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        margin: 0;
        padding: 0 8px;
    }

    .about-image {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 292 / 271;
        margin: 0;
        display: block;
        border-radius: 30px;
        overflow: hidden;
        order: 1;
        transform: none;
        box-shadow: none;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
    }

    .btn-about-edu {
        width: 100%;
        max-width: none;
        height: 50px;
        font-size: 16px;
        line-height: 19px;
        margin: 0 auto;
        order: 3;
        align-self: center;
    }

    /* --- Tablet Text Scaling --- */
    .hero-title-group h1 {
        font-size: 36px;
    }

    .hero-title-group p {
        font-size: 24px;
    }

    .section-header h2,
    .general-services h2,
    .educational-opportunities>h2,
    .jobs-section>h2,
    .ads-header h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .section-header p,
    .general-services>p,
    .educational-opportunities>p,
    .jobs-section>p {
        font-size: 20px;
        line-height: 28px;
    }

    .service-title,
    .opp-title {
        font-size: 18px;
    }

    .service-subtitle,
    .opp-desc {
        font-size: 15px;
    }

    .about-content h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .about-content p {
        font-size: 20px;
        line-height: 28px;
    }
}


/* ==================================================
   Responsive: Mobile (≤768px)
   ================================================== */
@media (max-width: 768px) {

    /* --- Global Mobile Padding --- */
    .hero {
        padding-top: 100px;
    }

    /* --- Mobile Text Scaling --- */
    .hero-title-group h1 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 12px;
    }

    .hero-title-group p {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    .section-header h2,
    .general-services>h2,
    .educational-opportunities>h2,
    .jobs-section>h2,
    .ads-header h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .section-header p,
    .general-services>p,
    .educational-opportunities>p,
    .jobs-section>p {
        font-size: 16px;
        line-height: 24px;
    }

    .service-title,
    .opp-title {
        font-size: 16px;
    }

    .service-subtitle,
    .opp-desc {
        font-size: 14px;
    }

    .service-list li {
        font-size: 15px;
    }

    .about-content {
        padding: 30px 18px 24px;
    }

    .about-content h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .about-content p {
        font-size: 15px;
        line-height: 23px;
    }

    .btn-browse-ads span,
    .btn-card-register,
    .btn-card-login {
        font-size: 15px;
    }

    .hero,
    .general-services,
    .educational-opportunities,
    .jobs-section,
    .ads-section {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .cards-grid,
    .services-grid,
    .opportunities-grid,
    .jobs-list {
        padding-left: 0;
        padding-right: 0;
    }

    /* --- Navigation Scaling --- */
    nav {
        padding: 10px;
    }

    .nav-actions {
        gap: 10px;
    }

    .btn-login {
        width: 70px;
        height: 40px;
        font-size: 14px;
        padding: 5px 10px;
    }

    .btn-register {
        font-size: 14px;
        gap: 4px;
    }

    .btn-register svg {
        width: 18px;
        height: 18px;
    }

    .lang-selector {
        font-size: 16px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-icon-wrapper {
        width: 40px;
    }

    .logo-ellipse {
        width: 12px;
        height: 12px;
        top: 17px;
        left: 10px;
    }

    .logo-text {
        font-size: 14px;
        width: auto;
    }

    /* --- Job Cards Mobile --- */
    .job-card {
        height: auto;
        padding-top: 16px;
        padding-bottom: 100px;
        flex-direction: column;
        align-items: stretch;
    }

    .job-card .job-id-tag {
        width: auto;
        min-width: 56px;
        height: 32px;
        padding: 0 12px;
        top: 16px;
        font-size: 13px;
    }

    .job-info {
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        box-sizing: border-box;
        align-items: stretch;
        direction: inherit;
    }

    .job-title-row {
        display: block;
        width: 100%;
        align-self: stretch;
        box-sizing: border-box;
        padding-left: 80px;
        padding-right: 0;
        min-width: 0;
    }

    html[dir="rtl"] .job-title-row {
        padding-right: 0;
        padding-left: 80px;
    }

    .job-title {
        font-size: 18px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: normal;
        overflow: visible;
        text-overflow: clip;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    html[dir="rtl"] .job-title {
        text-align: right;
    }

    .job-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .job-action {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
    }

    .btn-view-details {
        width: 100%;
    }

    .job-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* --- Grids Mobile --- */
    .cards-grid,
    .services-grid,
    .opportunities-grid {
        justify-content: center;
        gap: 20px;
    }


    .opp-card {
        max-width: 44%;
    }

    /* --- Ads Mobile --- */
    .ads-section {
        padding-bottom: 40px;
    }

    .ads-nav-btn.prev,
    .ads-nav-btn.next {
        margin-left: 10px;
        margin-right: 10px;
    }

    .ads-carousel {
        padding: 10px 0;
    }

    .ads-header h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .ads-header p {
        font-size: 24px;
        line-height: 30px;
    }

    .ad-card {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .ad-image {
        width: 100%;
        height: 275px;
    }

    .ad-title {
        width: 100%;
        font-size: 24px;
    }

    .ads-bg-logo {
        width: 500px;
        height: 500px;
        left: 50%;
        margin-left: -250px;
        top: 0;
    }

    .ads-btn-container {
        justify-content: center;
        padding: 0;
        margin-top: 40px;
    }

    .ads-nav-btn {
        width: 30px;
        height: 60px;
    }

    .ads-nav-btn svg {
        width: 15px;
        height: 30px;
    }



    .about-content {
        padding: 36px 22px 28px;
    }

    .about-content h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .about-content p {
        font-size: 17px;
        line-height: 26px;
    }

    .btn-about-edu {
        width: 200px;
        height: 50px;
        font-size: 16px;
    }
}

/* On narrow phones, hide the navbar lang switcher (still available in the drawer)
   so the hamburger + pill have room to fit. */
@media (max-width: 540px) {
    .nav-actions>.lang-dropdown {
        display: none !important;
    }
}

@media (max-width: 400px) {
    nav {
        padding: 10px 12px;
    }

    .logo-section {
        gap: 6px;
    }

    .logo-text {
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
        margin-right: 10px;
    }

    .lang-dropdown-toggle {
        gap: 4px;
        padding: 6px 8px;
        font-size: 14px;
    }

    .lang-dropdown-icon {
        font-size: 16px;
    }

    .nav-register-link {
        display: none !important;
    }

    /* Compact the pill on tiny phones — keep avatar + name visible */
    .nav-actions .user-profile-dropdown {
        margin-right: 6px;
    }

    .user-dropdown-toggle {
        padding: 4px 8px 4px 8px;
        gap: 6px;
    }

    .user-name-mini {
        font-size: 13px;
        max-width: 70px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-id-mini {
        font-size: 11px;
    }

    .user-avatar-mini {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}


@media (max-width: 340px) {

    /* Tighter edge padding so the pill doesn't end up touching the logo */
    nav {
        padding: 8px 4px;
    }

    .logo-text {
        font-size: 12px;
    }

    /* At narrow widths the wrapper must match the image height so the icon
       doesn't overflow + sits on the same baseline as the text. */
    .logo-icon-wrapper {
        width: 34px;
        height: 34px;
    }

    .logo-img {
        width: 34px;
        height: 34px;
        top: 0;
    }

    .logo-ellipse {
        width: 11px;
        height: 11px;
        left: 9px;
        top: 11px;
    }

    .nav-actions {
        gap: 6px;
        margin-inline-end: 0;
    }

    .mobile-menu-btn {
        width: 26px;
        height: 18px;
    }

    .nav-login-link {
        display: none !important;
    }

    /* Compact the pill itself so it physically clears the logo */
    .user-dropdown-toggle {
        height: 56px;
        padding: 6px 6px;
        gap: 6px;
    }

    .user-pill-avatar-wrap .user-avatar-mini {
        width: 32px;
        height: 32px;
    }

    .user-name-mini {
        max-width: 60px;
        font-size: 13px;
    }

    .user-pill-stat {
        height: 18px;
        padding: 1px 4px;
        font-size: 9px;
    }

    .user-pill-stat-icon {
        font-size: 8px;
    }
}


/* --- Opportunities grid: 2-column stepped breakpoints --- */
@media (max-width: 671px) {

    .opp-card {
        max-width: 48%;
    }
}

@media (max-width: 539px) {

    .opp-card {
        max-width: 46%;
    }
}

@media (max-width: 289px) {

    .opp-card {
        max-width: 45%;
    }
}

@media (max-width: 239px) {

    .opp-card {
        max-width: 100%;
    }
}

/* ==================================================
   Footer
   ================================================== */
/* ==================================================
   Footer — Figma Frame "Footer" (1440 × 652)
   RTL-first, LTR mirrors automatically via logical
   alignment (text-align: start, align-items: flex-start)
   ================================================== */
.site-footer {
    position: relative;
    width: 100%;
    background: #5C5C5C;
    overflow: hidden;
    padding: 0;
}

/* Big translucent EDU JORDAN watermark — always anchored to the LEFT
   side regardless of direction, stacked on two lines (EDU / JORDAN). */
.footer-watermark {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 90px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(72px, 12vw, 175px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 0;
    direction: ltr;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-watermark span {
    display: block;
}

.footer-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 70px 40px;
    gap: 40px;
    z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* logical: RTL → right, LTR → left */
    text-align: start;
}

.footer-brand {
    max-width: 302px;
    gap: 32px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    direction: ltr;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    color: #fff;
    text-align: start;
}

.footer-desc {
    font-family: 'Rubik', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    text-align: start;
    color: #fff;
    margin: 0;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/* 60×60 translucent rounded social icons per Figma */
.social-icon {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 100px 80px rgba(0, 0, 0, 0.07),
        0 41.78px 33.42px rgba(0, 0, 0, 0.05),
        0 22.34px 17.87px rgba(0, 0, 0, 0.04),
        0 12.52px 10.02px rgba(0, 0, 0, 0.035),
        0 6.65px 5.32px rgba(0, 0, 0, 0.028),
        0 2.77px 2.21px rgba(0, 0, 0, 0.02);
    transition: background 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1877f2;
    border: 2px solid #5C5C5C;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Headers — 16px per spec */
.footer-services h4,
.footer-contact h4 {
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: start;
    color: #fff;
    margin: 0 0 18px;
}

/* Nav column — link list (no header per Figma) */
.footer-nav {
    gap: 14px;
}

.footer-nav a {
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    text-align: start;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* Services column */
.footer-services {
    gap: 0;
}

.footer-services a {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    text-align: start;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    display: block;
    margin-bottom: 12px;
}

.footer-services a:last-child {
    margin-bottom: 0;
}

.footer-services a:hover {
    opacity: 0.7;
}

/* Contact column — vertical separator on the leading edge.
   border-inline-start = border-right in RTL, border-left in LTR. */
.footer-contact {
    gap: 0;
    border-inline-start: 1px solid rgba(217, 217, 217, 0.4);
    padding-inline-start: 32px;
}

/* Each contact row: icon → text (DOM order). Natural flex-row.
   RTL: icon on right, text on left. LTR: icon on left, text on right. */
.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.contact-item span {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    text-align: start;
    color: #fff;
}

/* Divider above the bottom bar */
.footer-divider {
    position: relative;
    z-index: 1;
    width: 1300px;
    max-width: calc(100% - 140px);
    height: 2px;
    background: #D9D9D9;
    border-radius: 5px;
    margin: 0 auto;
}

/* Bottom bar — copyright on start side, legal on end side. RTL flips. */
.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 70px 32px;
    z-index: 1;
}

.footer-copyright,
.footer-legal {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    text-align: start;
}

.footer-legal {
    cursor: pointer;
}

.footer-legal:hover {
    opacity: 0.7;
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        padding: 60px 40px 30px;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        width: 100%;
    }

    .footer-divider {
        max-width: calc(100% - 80px);
    }

    .footer-bottom {
        padding: 24px 40px 32px;
    }

    .footer-watermark {
        font-size: clamp(64px, 14vw, 120px);
        bottom: 80px;
    }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 24px 24px;
        gap: 28px;
    }

    .footer-col {
        align-items: flex-start;
        text-align: start;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 24px;
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Drop the vertical separator on mobile — columns stack full-width */
    .footer-contact {
        border-inline-start: none;
        padding-inline-start: 0;
    }

    .footer-brand {
        gap: 20px;
    }

    .footer-social {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-divider {
        max-width: calc(100% - 48px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        padding: 20px 24px 28px;
        text-align: start;
    }

    .footer-watermark {
        font-size: clamp(48px, 16vw, 80px);
        bottom: 72px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 10px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .social-icon-badge {
        top: -5px;
        inset-inline-end: -5px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* Ad Info Modal */
#adInfoModal .modal-body {
    padding: 0 !important;
}

#adInfoModal .modal-header {
    display: none !important;
}

#adInfoModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ad-modal-custom {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
}

.ad-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: none;
    transition: all 0.2s ease-in-out;
}

.ad-modal-close:hover {
    transform: scale(1.05);
}

.ad-modal-image {
    width: 100%;
    height: 430px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.ad-modal-content {
    padding: 10px 24px 20px 24px;
}

.ad-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    font-family: inherit;
}

.ad-modal-desc {
    font-size: 18px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ad-modal-date {
    font-size: 16px;
    color: #8C98A4;
    margin-top: 10px;
}

/* ==================================================
   Job Swal Modal
   ================================================== */
.job-swal-popup {
    border-radius: 20px !important;
    padding: 40px 30px 30px !important;
    max-width: 420px !important;
    font-family: 'Rubik', sans-serif !important;
}

.job-swal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.job-swal-text {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    color: #111827;
    text-align: center;
    margin: 0 0 10px;
    line-height: 1.5;
}

.job-swal-html {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.job-swal-actions {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 14px !important;
    justify-content: center !important;
    margin-top: 24px !important;
    width: 100% !important;
}

.job-swal-confirm {
    flex: 1;
    padding: 14px 20px;
    background: linear-gradient(180deg, #fff -20.45%, #E8BA00 100%);
    border: none;
    border-radius: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.4vw, 18px);
    color: #111827;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(232, 186, 0, 0.25);
}

.job-swal-confirm:hover {
    background: #E8BA00;
}

.job-swal-cancel {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: 2px solid #E8BA00;
    border-radius: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.4vw, 18px);
    color: #111827;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.job-swal-cancel:hover {
    border-color: #c9a000;
    color: #c9a000;
}

/* View Count Modal */
#viewCountModal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Rubik', sans-serif;
    padding: 20px;
}

#viewCountModal .modal-header {
    border-bottom: none;
    padding: 10px 15px 20px;
}

#viewCountModal .modal-title {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    width: 100%;
    text-align: center;
}

#viewCountModal .btn-close-modal {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

#viewCountModal .btn-close-modal:hover {
    background: #E5E7EB;
    color: #111827;
}

[dir="ltr"] #viewCountModal .btn-close-modal {
    right: 20px;
    left: auto;
}

.vc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 15px;
}

.vc-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(232, 186, 0, 0.05);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 25px;
    min-height: 200px;
}

.vc-stat-card.mid-card {
    background: rgba(56, 89, 46, 0.05);
}

.vc-stat-icon {
    font-size: 40px;
    margin-bottom: auto;
}

.vc-stat-icon.gold {
    color: #E8BA00;
}

.vc-stat-icon.green {
    color: #38592E;
}

.vc-stat-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}

.vc-stat-value {
    font-size: 40px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 5px;
    line-height: 1.2;
    text-align: start;
}

.vc-stat-label {
    font-size: 18px;
    font-weight: 400;
    color: #7D7C6E;
    text-align: start;
}

.vc-section-title {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 15px;
}

.vc-viewer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.vc-viewer-card {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.vc-viewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vc-viewer-avatar {
    width: 55px;
    height: 55px;
    background: #FFFFFF;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.vc-viewer-avatar.school {
    color: #38592E;
}

.vc-viewer-avatar.teacher,
.vc-viewer-avatar.parent {
    color: #E8BA00;
}

.vc-viewer-avatar.supplier,
.vc-viewer-avatar.default {
    color: #6B7280;
}

.vc-viewer-details h6 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

.vc-viewer-details p {
    margin: 0;
    font-size: 13px;
    color: #9CA3AF;
}

.vc-role-badge {
    position: absolute;
    top: 0;
    min-width: 89px;
    text-align: center;
    justify-content: center;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

[dir="ltr"] .vc-role-badge {
    right: 0;
    border-bottom-left-radius: 12px;
}

.vc-role-badge.school {
    background: linear-gradient(180deg, rgba(107, 114, 128, 0.12) 0%, rgba(56, 89, 46, 0.6) 100%);
}

.vc-role-badge.teacher,
.vc-role-badge.parent {
    background: linear-gradient(180deg, rgba(107, 114, 128, 0.12) 0%, rgba(232, 186, 0, 0.6) 100%);
}

.vc-role-badge.supplier,
.vc-role-badge.default {
    background: linear-gradient(180deg, rgba(107, 114, 128, 0.12) 0%, rgba(107, 114, 128, 0.6) 100%);
}

.vc-progress-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vc-progress-item {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 15px 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vc-progress-label-wrap {
    min-width: 80px;
}

.vc-progress-role {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.vc-progress-count-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.vc-progress-count-number {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.vc-progress-count-label {
    font-size: 13px;
    color: #6B7280;
}

.vc-progress-track-wrap {
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.vc-progress-track {
    position: relative;
    height: 8px;
    background: #FDF3C8;
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
}

.vc-progress-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: #E8BA00;
    border-radius: 4px;
}

[dir="ltr"] .vc-progress-fill {
    left: 0;
    right: auto;
}

.vc-progress-thumb {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 3.5px solid #E8BA00;
    border-radius: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

[dir="ltr"] .vc-progress-thumb {
    transform: translate(-50%, -50%);
}

.vc-progress-tooltip {
    position: absolute;
    top: -30px;
    background: #E8BA00;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

[dir="ltr"] .vc-progress-tooltip {
    transform: translateX(-50%);
}

.vc-footer-action {
    margin-top: 30px;
    text-align: right;
}

.vc-btn-close {
    padding: 10px 30px;
    min-width: 120px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #FDF3C8 0%, #E8BA00 100%);
    color: #111827;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(232, 186, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.vc-btn-close:hover {
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .vc-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   Voucher Pages (Global/LTR)
   ================================================== */
.vp-root {
    font-family: 'Rubik', sans-serif;
    background: #F8F8F8;
    direction: ltr;
    overflow-x: hidden;
}

.vp-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: #FFFFFF;
    box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Gold glow — top-right */
.vp-hero::after {
    content: '';
    position: absolute;
    width: 389px;
    height: 280px;
    right: -60px;
    top: -73px;
    background: rgba(232, 186, 0, 0.35);
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

/* Green glow — bottom-left */
.vp-hero::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 200px;
    left: -40px;
    bottom: -60px;
    background: rgba(56, 89, 46, 0.18);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.vp-hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 110px 20px 60px;
}

@media (max-width: 1150px) {
    .vp-hero-body {
        padding: 40px 20px 50px;
    }
}

.vp-hero-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 40px);
    color: #111827;
    margin: 0 0 10px;
}

.vp-hero-subtitle {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 1.8vw, 22px);
    color: #6B7280;
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.6;
}

.vp-hero-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
    opacity: 0.9;
}

.vp-main {
    padding: 0 0 60px;
}

.vp-filters-bar {
    margin-bottom: 24px;
}

.vp-filters-label {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #4B5563;
}

.vp-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.vp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F3F4F6;
    border-radius: 6px;
    padding: 6px 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #374151;
}

.vp-chip-x {
    color: #9CA3AF;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    margin-right: 4px;
}

.vp-chip-x:hover {
    color: #EF4444;
}

.vp-clear-all {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    text-decoration: none;
}

.vp-clear-all:hover {
    color: #E8BA00;
}

.vp-results-count {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #9CA3AF;
}

.vp-sidebar {
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.1);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 90px;
    margin-bottom: 20px;
}

.vp-sidebar-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #111827;
    text-align: center;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.vp-field-label {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #111827;
    margin-bottom: 10px;
    text-align: left;
}

.vp-select {
    width: 100%;
    height: 48px;
    background: #FCFBFB;
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    padding: 0 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4B5563;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    text-align: left;
}

.vp-select:focus {
    outline: none;
    border-color: #E8BA00;
}

.vp-grades-wrap {
    padding-right: 5px;
}

.vp-grades-wrap::-webkit-scrollbar {
    width: 4px;
}

.vp-grades-wrap::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 4px;
}

.vp-grade-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 6px 0;
    cursor: pointer;
}

.vp-grade-row label {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.vp-grade-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #E8BA00;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background: #fff;
    flex-shrink: 0;
    margin: 0;
}

.vp-grade-row input[type="checkbox"]:checked {
    background: #E8BA00;
}

.vp-grade-row input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.vp-collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.05);
}

.vp-collapsible-header label {
    margin: 0;
    cursor: pointer;
}

.vp-toggle-icon {
    font-size: 14px;
    color: #6B7280;
    transition: transform 0.2s;
    margin-right: 4px;
}

.vp-collapsible-section.active .vp-toggle-icon {
    transform: rotate(180deg);
}

.vp-collapsible-content {
    display: none;
    margin-top: 10px;
}

.vp-collapsible-section.active .vp-collapsible-content {
    display: block;
}

.vp-btn-apply {
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, #FDE68A 0%, #E8BA00 100%);
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s;
    box-shadow: 0 2px 6px rgba(232, 186, 0, 0.3);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-btn-apply:hover {
    opacity: 0.9;
}

.vp-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #374151;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    font-family: 'Rubik', sans-serif;
}

.vp-btn-secondary i {
    color: #E8BA00;
    font-size: 16px;
}

.vp-btn-secondary:hover {
    background: #F9FAFB;
    border-color: #E8BA00;
    color: #E8BA00;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.vp-btn-clear {
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E8BA00;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.vp-btn-clear:hover {
    background: #FFFDF0;
    color: #111827;
}

.vp-card {
    position: relative;
    width: 100%;
    min-height: 160px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.15);
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.vp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.vp-card-badge {
    width: 180px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    /* For My Vouchers */
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-right: 2px dashed rgba(107, 114, 128, 0.2);
    padding: 15px;
}

.vp-card-badge::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -13px;
    top: -13px;
    background: #F8F8F8;
    border-radius: 50%;
    border: 1px solid rgba(107, 114, 128, 0.15);
    clip-path: inset(50% 0 0 0);
    z-index: 2;
}

.vp-card-badge::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -13px;
    bottom: -13px;
    background: #F8F8F8;
    border-radius: 50%;
    border: 1px solid rgba(107, 114, 128, 0.15);
    clip-path: inset(0 0 50% 0);
    z-index: 2;
}

.vp-card-code {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.vp-card-details {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.vp-card-school,
.vp-school-name {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #111827;
    margin: 0 0 12px;
}

.vp-voucher-desc {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4B5563;
    margin: 0 0 16px;
}

.vp-card-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: #6B7280;
    font-size: 14px;
}

.vp-card-info-row i {
    color: #E8BA00;
    width: 16px;
    text-align: center;
}

.vp-card-actions {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vp-btn-copy,
.vp-btn-details {
    padding: 10px 20px;
    background: #38592E;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.vp-btn-details {
    width: 140px;
    height: 44px;
    background: linear-gradient(180deg, #FDE68A 0%, #E8BA00 100%);
    color: #111827;
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    box-shadow: 0 2px 6px rgba(232, 186, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-btn-copy:hover,
.vp-btn-details:hover {
    opacity: 0.9;
    color: inherit;
}

.vp-btn-expired {
    padding: 10px 20px;
    background: #F3F4F6;
    color: #EF4444;
    border: 1px solid #FEE2E2;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vp-summary-content {
    text-align: center;
}

.vp-empty {
    text-align: center;
    padding: 60px 20px;
}

.vp-empty p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .vp-card {
        flex-direction: column;
    }

    .vp-card-badge {
        width: 100%;
        border-right: none;
        border-left: none;
        border-bottom: 2px dashed rgba(107, 114, 128, 0.2);
        padding: 20px;
    }

    .vp-card-badge::before {
        left: 50%;
        top: -13px;
        transform: translateX(-50%);
        clip-path: inset(50% 0 0 0);
    }

    .vp-card-badge::after {
        left: 50%;
        bottom: -13px;
        transform: translateX(-50%);
        clip-path: inset(0 0 50% 0);
    }

    .vp-card-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .vp-btn-details {
        width: 100%;
        margin-top: 8px;
    }
}

/* SELECT2 overrides */
.select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid rgba(107, 114, 128, 0.2) !important;
    border-radius: 8px !important;
    background: #FCFBFB !important;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #4B5563;
    padding-left: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px;
    height: 100%;
}

/* ==================================================
   Voucher Grid Layout
   ================================================== */
.vp-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

.vp-grid-container .vp-card {
    height: 100%;
    margin-bottom: 0;
}

/* ==================================================
   Voucher Coupon Card (parent listing — Figma design)
   ================================================== */
.voucher-coupon {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 200px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.10);
    border-radius: 20px;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-coupon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.voucher-coupon-badge {
    flex: 0 0 256px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.voucher-coupon-badge-frame {
    position: relative;
    width: 240px;
    max-width: 100%;
    aspect-ratio: 240 / 167;
}

.voucher-coupon-badge-img {
    width: 100%;
    height: 100%;
    display: block;
}

.voucher-coupon-badge-value {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #474746;
    pointer-events: none;
}

.voucher-coupon-badge-currency {
    font-size: 18px;
    font-weight: 500;
    color: #474746;
}

.voucher-coupon-divider {
    position: relative;
    width: 0;
    flex-shrink: 0;
    margin: 28px 0;
    border-left: 2px dashed rgba(107, 114, 128, 0.25);
}

.voucher-coupon-divider::before,
.voucher-coupon-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F8F8F8;
    transform: translateX(-50%);
}

.voucher-coupon-divider::before {
    top: -46px;
}

.voucher-coupon-divider::after {
    bottom: -46px;
}

.voucher-coupon-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    text-align: start;
}

.voucher-coupon-title {
    margin: 0 0 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.25;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voucher-coupon-desc {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.3;
    color: #000000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.voucher-coupon-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.voucher-coupon-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.voucher-coupon-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 32px;
    background: rgba(107, 114, 128, 0.10);
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    color: #111827;
    white-space: nowrap;
}

.voucher-coupon-tag--date {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}

.voucher-coupon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 45px;
    padding: 10px;
    background: linear-gradient(178.83deg, #FFFFFF -36.69%, #E8BA00 99.01%);
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.10), inset 4px 4px 15px rgba(232, 186, 0, 0.30);
    border-radius: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #111827;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-coupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), inset 4px 4px 15px rgba(232, 186, 0, 0.40);
    color: #111827;
    text-decoration: none;
}

@media (max-width: 768px) {
    .voucher-coupon {
        flex-direction: column;
        height: auto;
    }

    .voucher-coupon-badge {
        flex: 0 0 auto;
        padding: 16px 16px 0;
    }

    .voucher-coupon-divider {
        width: auto;
        height: 0;
        margin: 16px 24px;
        border-left: none;
        border-top: 2px dashed rgba(107, 114, 128, 0.25);
    }

    .voucher-coupon-divider::before,
    .voucher-coupon-divider::after {
        top: 50%;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
    }

    .voucher-coupon-divider::before {
        left: -46px;
    }

    .voucher-coupon-divider::after {
        right: -46px;
        left: auto;
    }

    .voucher-coupon-bottom {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .voucher-coupon-btn {
        width: 100%;
    }
}

/* ==================================================
   Class Card Page Styles
   ================================================== */
.cc-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

@media (min-width: 1200px) {
    .cc-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cc-card {
    position: relative;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.12);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cc-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #FDFBF7 0%, #FFF9E3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cc-card-details {
    flex: 1;
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cc-card-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.4;
}

.cc-card-desc {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-card-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.cc-store-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-store-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

.cc-store-name {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #374151;
}

.cc-category-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

.cc-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(107, 114, 128, 0.1);
}

.cc-card-price {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #111827;
}

.cc-btn-buy {
    padding: 10px 24px;
    background: linear-gradient(180deg, #FDE68A 0%, #E8BA00 100%);
    color: #111827;
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(232, 186, 0, 0.3);
}

.cc-btn-buy:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cc-btn-buy.cc-btn-disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
}

.cc-btn-buy.cc-btn-disabled:hover {
    opacity: 1;
    transform: none;
}

/* Price Range Slider */
.cc-range-wrapper {
    position: relative;
    padding-top: 10px;
    margin-bottom: 20px;
}

.cc-range-track {
    position: relative;
    height: 8px;
    background: #F3F4F6;
    border-radius: 4px;
    margin: 0 4px;
    overflow: visible;
}

.cc-range-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: #E8BA00;
    border-radius: 4px;
    z-index: 1;
}

.cc-range-input {
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    width: 100%;
    height: 18px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    z-index: 2;
    box-sizing: border-box;
    padding: 0;
}

.cc-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E8BA00;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    pointer-events: all;
    margin-top: -1px;
}

.cc-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E8BA00;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    pointer-events: all;
}

.cc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-card-image {
        height: 160px;
    }

    .cc-card-action {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cc-btn-buy {
        width: 100%;
        text-align: center;
    }

    .cc-card-price {
        text-align: center;
    }
}

/* ==================================================
   VP Hero & VP Main Mobile Responsive
   ================================================== */
@media (max-width: 768px) {
    .vp-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .vp-hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .vp-main .container-fluid,
    .vp-root .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 480px) {
    .vp-hero-title {
        font-size: 24px;
        line-height: 32px;
    }

    .vp-hero-subtitle {
        font-size: 15px;
    }
}

/* ==================================================
   Modal Responsiveness Fixes
   ================================================== */
.modal-search-results-dialog {
    max-width: 700px;
    width: 90%;
}

@media (max-width: 768px) {
    .modal-search-results-dialog {
        max-width: 100%;
        width: 95%;
        margin: 10px auto;
    }
}

/* ==================================================
   Global Button Hover Fix
   ================================================== */
a[class*="btn"]:hover,
a.btn:hover,
a.school-btn-details:hover,
a.sd-back-hero-link:hover,
a.sd-footer-back-btn:hover,
a.back-link:hover,
.nav-dropdown-item:hover,
.lang-dropdown-item:hover {
    text-decoration: none !important;
}

/* ==================================================
   Profile Page — pf-* Component System
   Add this block to the bottom of landing.css
   ================================================== */

/* ── Page Shell ──────────────────────────────────── */
.pf-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 20px 80px;
    min-height: 80vh;
}

/* ── Topbar ──────────────────────────────────────── */
.pf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.pf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #6B7280;
}

.pf-bc-link {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
}

.pf-bc-link:hover {
    color: var(--primary-gold);
}

.pf-bc-sep {
    color: #9CA3AF;
    font-size: 12px;
}

.pf-bc-current {
    color: #111827;
    font-weight: 500;
}

.pf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
    transition: color 0.2s;
}

.pf-back-link:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

/* ── Two-Column Layout ───────────────────────────── */
.pf-layout {
    display: flex;
    gap: 24px;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.pf-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.pf-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* ── Card ────────────────────────────────────────── */
.pf-card {
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.12);
    border-radius: 20px;
    box-shadow: 1px 4px 18px rgba(0, 0, 0, 0.06);
    padding: 30px 24px 24px;
}

.pf-card--mt {
    margin-top: 20px;
}

.pf-card-title {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.pf-card-title--sm {
    font-size: 17px;
    margin-bottom: 16px;
}

.pf-card-footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(107, 114, 128, 0.08);
}

.pf-fields-body {}

/* ── Section Headers ─────────────────────────────── */
.pf-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.08);
}

.pf-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pf-section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    text-align: center;
    margin: 0 0 20px;
    letter-spacing: 0.01em;
}

.pf-section--admin {
    background: rgba(232, 186, 0, 0.03);
    border: 1px dashed rgba(232, 186, 0, 0.3);
    border-radius: 14px;
    padding: 18px;
}

.pf-section-title--admin {
    color: #92400E;
}

.pf-section--subscription {
    background: rgba(52, 88, 48, 0.03);
    border: 1px dashed rgba(52, 88, 48, 0.2);
    border-radius: 14px;
    padding: 18px;
}

/* ── Field Group ─────────────────────────────────── */
.pf-field-group {
    margin-bottom: 18px;
}

.pf-label {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
}

.pf-label--required::after {
    content: ' *';
    color: #EF4444;
}

.pf-label-hint {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
    margin-inline-start: 6px;
}

/* ── Inputs ──────────────────────────────────────── */
.pf-input {
    display: block;
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.22);
    border-radius: 12px;
    padding: 0 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #111827;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.pf-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(232, 186, 0, 0.08);
}

.pf-input::placeholder {
    color: #9CA3AF;
}

.pf-input--readonly,
.pf-input[disabled],
.pf-input[readonly] {
    background: #F9FAFB;
    color: #6B7280;
    cursor: not-allowed;
}

.pf-input--file {
    height: auto;
    padding: 10px 16px;
    cursor: pointer;
    line-height: 1.4;
}

.pf-input.is-invalid {
    border-color: #EF4444;
}

/* ── Select ──────────────────────────────────────── */
.pf-select {
    display: block;
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.22);
    border-radius: 12px;
    padding: 0 40px 0 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #111827;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.pf-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(232, 186, 0, 0.08);
}

.pf-select[disabled] {
    background-color: #F9FAFB;
    color: #6B7280;
    cursor: not-allowed;
}

.pf-select.is-invalid {
    border-color: #EF4444;
}

/* ── Textarea ────────────────────────────────────── */
.pf-textarea {
    display: block;
    width: 100%;
    min-height: 130px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.22);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #111827;
    box-sizing: border-box;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.6;
}

.pf-textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(232, 186, 0, 0.08);
}

.pf-textarea::placeholder {
    color: #9CA3AF;
}

.pf-textarea.is-invalid {
    border-color: #EF4444;
}

/* ── Two-Column Row ──────────────────────────────── */
.pf-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Feedback / Hints ────────────────────────────── */
.pf-field-error {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    color: #EF4444;
    margin-top: 5px;
}

.pf-field-hint {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 5px;
}

.pf-field-hint--warn {
    color: #EF4444;
}

.pf-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary-green);
    text-decoration: none;
    margin-top: 6px;
    transition: opacity 0.2s;
}

.pf-file-link:hover {
    opacity: 0.75;
    text-decoration: none;
}

/* ── Submit Button ───────────────────────────────── */
.pf-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 50px;
    background: linear-gradient(180deg, #FDF3C8 0%, #E8BA00 100%);
    border: none;
    border-radius: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(232, 186, 0, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pf-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 186, 0, 0.38);
}

/* ── Verify Button ───────────────────────────────── */
.pf-btn-verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(180deg, #DCFCE7 0%, #16A34A 100%);
    border: none;
    border-radius: 14px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pf-btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

/* ── Tab Panes ───────────────────────────────────── */
.pf-tab-pane {
    display: none;
}

.pf-tab-pane.active {
    display: block;
}

/* ── Alerts ──────────────────────────────────────── */
.pf-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    margin-bottom: 18px;
}

.pf-alert--success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

.pf-alert--danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* ── Yes / No Radio Group ────────────────────────── */
.pf-yn-group {
    display: flex;
    gap: 10px;
}

.pf-yn-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pf-yn-label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    user-select: none;
}

.pf-yn-box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 2px solid var(--primary-gold);
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    background: #FFFFFF;
    cursor: pointer;
    margin: 0;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.pf-yn-box:checked {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.pf-yn-box:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ── Sidebar Card ────────────────────────────────── */
.pf-sidebar-card {
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.12);
    border-radius: 20px;
    box-shadow: 1px 4px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* ── Avatar Section ──────────────────────────────── */
.pf-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px 20px;
    gap: 0;
}

.pf-avatar-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    margin-bottom: 14px;
}

.pf-avatar-img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    background: #E5E7EB;
    border: 3px solid #F3F4F6;
}

.pf-avatar-upload {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26px;
    height: 26px;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: #6B7280;
    transition: border-color 0.2s, color 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pf-avatar-upload:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.pf-avatar-upload.is-attention {
    width: 32px;
    height: 32px;
    font-size: 14px;
    background: #FEF3C7;
    border-color: #E8BA00;
    color: #6B5400;
    animation: warnPulse 1.6s ease-in-out infinite;
}

.pf-avatar-upload.is-attention:hover {
    background: #FDE68A;
    color: #4A3A00;
}

.pf-avatar-hint {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #1F2937;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 4;
}

.pf-avatar-hint::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #1F2937;
}

.pf-avatar-wrap.is-missing-photo .pf-avatar-img {
    border-color: #E8BA00;
    box-shadow: 0 0 0 3px rgba(232, 186, 0, 0.25);
}

.pf-avatar-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.pf-avatar-name {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-avatar-email {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    color: #6B7280;
}

.pf-verified-badge {
    color: #16A34A;
    font-size: 15px;
}

/* ── Verified / Request Badges ───────────────────── */
.pf-badge-verified {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #DCFCE7 0%, #BBF7D0 100%);
    color: #15803D;
    border: 1px solid #86EFAC;
    border-radius: 12px;
    width: 180px;
    height: 38px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0px auto 10px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

.pf-badge-request {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FDE68A 0%, #E8BA00 100%);
    color: #111827;
    border: none;
    border-radius: 12px;
    width: 180px;
    height: 38px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0px auto 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(232, 186, 0, 0.25);
    transition: opacity 0.2s, transform 0.2s;
    text-align: center;
}

.pf-badge-request:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── Sidebar Divider ─────────────────────────────── */
.pf-sidebar-divider {
    height: 1px;
    background: rgba(107, 114, 128, 0.1);
}

/* ── Side Navigation ─────────────────────────────── */
.pf-sidenav-wrap {
    display: contents;
}

.pf-sidenav-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    background: transparent;
    border: none;
    padding: 0;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.15s, opacity 0.15s;
}

.pf-sidenav-arrow:not(:disabled):hover {
    color: var(--primary-gold);
}

.pf-sidenav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pf-sidenav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.pf-sidenav-item {
    display: flex;
    align-items: center;
    padding: 11px 18px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #6B7280;
    cursor: pointer;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pf-sidenav-item:hover {
    background: rgba(232, 186, 0, 0.05);
    color: #111827;
    text-decoration: none;
}

.pf-sidenav-item.active {
    color: var(--primary-gold);
    font-weight: 500;
    background: rgba(232, 186, 0, 0.06);
    border-left-color: var(--primary-gold);
}

.pf-sidenav-item--cv {
    color: var(--primary-green);
    font-size: 13px;
}

/* ── Sidebar Account Info ────────────────────────── */
.pf-account-info {
    padding: 14px 18px 18px;
}

.pf-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.pf-info-label {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    color: #9CA3AF;
    flex-shrink: 0;
    white-space: nowrap;
}

.pf-info-value {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    text-align: left;
}

/* ── Children Section ────────────────────────────── */
.pf-children-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
}

.pf-children-title {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.pf-children-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-children-btn-add {
    width: 32px;
    height: 32px;
    background: #DCFCE7;
    color: #16A34A;
    border: 1px solid #86EFAC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.pf-children-btn-add:hover {
    background: #BBF7D0;
}

.pf-children-list {}

.pf-child-row {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(107, 114, 128, 0.1);
}

.pf-child-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pf-child-col {}

.pf-child-col--wide {}

.pf-child-col--btn {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2px;
}

.pf-child-btn-remove {
    width: 32px;
    height: 32px;
    background: #FEE2E2;
    color: #EF4444;
    border: 1px solid #FCA5A5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.pf-child-btn-remove:hover {
    background: #FECACA;
}

.pf-btn-save-children {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(180deg, #FDF3C8 0%, #E8BA00 100%);
    border: none;
    border-radius: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(232, 186, 0, 0.2);
}

/* ── Select2 Override ─────────────────────────────── */
.pf-content .select2-container,
.pf-card .select2-container {
    width: 100% !important;
}

.pf-content .select2-container .select2-selection--single,
.pf-content .select2-container .select2-selection--multiple {
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid rgba(107, 114, 128, 0.22) !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.2s !important;
}

.pf-content .select2-container--default.select2-container--focus .select2-selection--single,
.pf-content .select2-container--default.select2-container--focus .select2-selection--multiple,
.pf-content .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 3px rgba(232, 186, 0, 0.08) !important;
    outline: none !important;
}

.pf-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Rubik', sans-serif !important;
    font-size: 14px !important;
    color: #111827 !important;
    line-height: 46px !important;
    padding-right: 16px !important;
    padding-left: 36px !important;
}

.pf-content .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9CA3AF !important;
}

.pf-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
    left: auto !important;
}

.pf-content .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 4px 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 46px !important;
}

.pf-content .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(232, 186, 0, 0.12) !important;
    border: 1px solid rgba(232, 186, 0, 0.3) !important;
    border-radius: 6px !important;
    color: #111827 !important;
    font-size: 13px !important;
    padding: 2px 8px !important;
    margin: 0 !important;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 920px) {
    .pf-layout {
        flex-direction: column;
    }

    .pf-topbar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        justify-content: center;
    }

    .pf-breadcrumb {
        justify-content: center;
    }

    .pf-title {
        text-align: center;
        width: 100%;
    }

    .pf-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }

    .pf-sidenav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .pf-sidenav-item {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 13px;
        padding: 10px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pf-sidenav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-gold);
    }
}

@media (max-width: 580px) {
    .pf-sidenav-wrap {
        display: flex;
        align-items: stretch;
        gap: 2px;
    }

    .pf-sidenav {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .pf-sidenav::-webkit-scrollbar {
        display: none;
    }

    .pf-sidenav-arrow {
        display: flex;
    }

    .pf-sidenav-item {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 9px 10px;
    }
}

@media (max-width: 600px) {
    .pf-page {
        padding: 30px 12px 60px;
    }

    .pf-card,
    .pf-sidebar-card {
        padding: 20px !important;
        width: 100%;
    }

    .pf-avatar-section {
        padding: 20px 10px;
    }

    .pf-row-2 {
        grid-template-columns: 1fr;
    }

    .pf-child-row {
        grid-template-columns: 1fr 1fr;
    }

    .pf-child-col--wide {
        grid-column: span 2;
    }
}

.pf-sidebar-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 8px 4px;
    max-height: 100px;
    overflow: visible;
}

.pf-sidebar-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(232, 186, 0, 0.2);
    box-shadow: 0 2px 8px rgba(232, 186, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pf-sidebar-badge:hover {
    transform: scale(1.12);
    box-shadow: 0 3px 12px rgba(232, 186, 0, 0.25);
}

.pf-sidebar-badge img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
}

.pf-sidebar-badge .sd-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    min-width: 100px;
    max-width: 240px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pf-sidebar-badge .sd-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #111827;
}

.pf-sidebar-badge .sd-badge-tooltip strong {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #E8BA00;
}

.pf-sidebar-badge .sd-badge-tooltip span {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.pf-sidebar-badge:hover .sd-badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pf-sidebar-badges:has(:nth-child(6)) .pf-sidebar-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
}

.pf-sidebar-badges:has(:nth-child(6)) .pf-sidebar-badge img {
    width: 22px;
    height: 22px;
}

.pf-sidebar-badges:has(:nth-child(9)) .pf-sidebar-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
}

.pf-sidebar-badges:has(:nth-child(9)) .pf-sidebar-badge img {
    width: 18px;
    height: 18px;
}

.pf-badges-subtitle {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    text-align: right;
    color: #6B7280;
    margin: 0 0 28px;
}

[dir="ltr"] .pf-badges-subtitle {
    text-align: left;
}

.pf-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pf-badge-item {
    position: relative;
    width: 228px;
    background: #fff;
    border: 1px solid rgba(107, 114, 128, 0.1);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pf-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.pf-badge-item--active {
    background: linear-gradient(0deg, rgba(232, 186, 0, 0.05), rgba(232, 186, 0, 0.05)), #fff;
    border-color: #E8BA00;
}

.pf-badge-check {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 21px;
    height: 21px;
    background: #E8BA00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

[dir="ltr"] .pf-badge-check {
    right: auto;
    left: 10px;
}

.pf-badge-check i {
    color: #fff;
    font-size: 10px;
}

.pf-badge-img-wrap {
    width: 112px;
    height: 113px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-badge-img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.pf-badge-img-fallback {
    font-size: 56px;
    color: rgba(232, 186, 0, 0.3);
}

.pf-badge-name {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #6B7280;
}

.pf-badge-buy-btn {
    width: 192px;
    height: 46px;
    background: linear-gradient(178.83deg, #FFFFFF -36.69%, #E8BA00 99.01%);
    border: 1px solid rgba(107, 114, 128, 0.12);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1), inset 4px 4px 15px rgba(232, 186, 0, 0.3);
    border-radius: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #111827;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pf-badge-buy-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.pf-badge-status-active {
    width: 192px;
    height: 46px;
    background: linear-gradient(180deg, rgba(232, 186, 0, 0.2) -38.46%, rgba(232, 186, 0, 0.2) 170.19%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: rgba(107, 114, 128, 0.52);
}

.pf-badge-status-pending {
    width: 192px;
    height: 46px;
    background: rgba(107, 114, 128, 0.08);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 21px;
    color: #6B7280;
}

@media (max-width: 991.98px) {
    .pf-badges-grid {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .pf-badge-item {
        width: 100%;
    }

    .pf-badges-subtitle {
        font-size: 16px;
    }
}

/* ==================================================
   Sticky Navbar on Scroll (desktop + mobile)
   ================================================== */
nav#landing-nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12.5px);
    -webkit-backdrop-filter: blur(12.5px);
    box-shadow: 1px 4px 14px rgba(0, 0, 0, 0.08);
    animation: navSlideDown 0.28s ease-out;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0.4;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1150px) {
    nav#landing-nav.scrolled {
        background: rgba(255, 255, 255, 0.92);
    }
}

/* ==================================================
   User avatar image fallback (replace icon w/ photo)
   ================================================== */
.user-avatar-mini img,
.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.user-avatar-mini {
    overflow: hidden;
}

.user-avatar-large {
    overflow: hidden;
}

/* ==================================================
   User pill — new structure (Figma Frame 8901)
   Two visual modes:
     • Desktop: simple white pill (existing look)
     • Mobile (≤1150px): gold-gradient pill with avatar+stats
   ================================================== */
.user-profile-dropdown {
    position: relative;
}

.user-pill-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.user-pill-body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* RTL default */
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

html[dir="ltr"] .user-pill-body {
    align-items: flex-start;
}

.user-pill-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

/* Avatar corner badge — pencil normally, warning triangle when profile incomplete */
.user-pill-corner {
    display: none;
    /* shown at mobile or always-on for warning */
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #F8E9AD 77%, #E8BA00 114%);
    border: 1px solid rgba(232, 186, 0, 0.4);
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    z-index: 3;
    /* Bottom-left of avatar (LTR) — RTL mirrors below */
    bottom: -2px;
    left: -2px;
}

.user-pill-corner svg {
    width: 10px;
    height: 10px;
}

html[dir="rtl"] .user-pill-corner {
    left: auto;
    right: -2px;
}

.user-pill-corner.is-warning {
    box-shadow: 0 0 8px rgba(232, 186, 0, 0.7);
    animation: warnPulse 2s ease-in-out infinite;
}

@keyframes warnPulse {

    0%,
    100% {
        box-shadow: 0 0 4px 0 rgba(232, 186, 0, 0.55);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(232, 186, 0, 1);
        transform: scale(1.18);
    }
}

.user-pill-corner.is-warning {
    display: inline-flex;
}

.user-profile-dropdown.has-warning .user-dropdown-toggle {
    box-shadow: 0 0 12px rgba(232, 186, 0, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

/* ==================================================
   User pill — gold gradient (Figma Frame 8901)
   Shared across desktop & mobile. Differences:
     • desktop: shows the #id under the name; pencil corner hidden
     • mobile : shows the views+coins row; #id hidden; pencil corner shown
   ================================================== */
.user-dropdown-toggle {
    height: 63px;
    padding: 8px 10px;
    gap: 10px;
    border-radius: 10px;
    background: linear-gradient(180.05deg, #FFFFFF 51.43%, #FAF0C6 121.14%, #F8E9AC 126.22%, #E8BA00 131.67%);
    border: 1px solid rgba(232, 186, 0, 0.4);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.user-pill-avatar-wrap .user-avatar-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.1);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    color: #6B7280;
}

.user-pill-body {
    gap: 4px;
}

.user-name-mini {
    font-family: 'Rubik';
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #111827;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-id-mini {
    font-family: 'Rubik';
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    color: #6B7280;
}

.user-pill-name-row .user-chevron {
    width: 10px;
    height: 10px;
}

/* Views + Coins row */
.user-pill-stats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-pill-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    height: 22px;
    background: linear-gradient(180deg, #FFFFFF 10%, #FFFFFF 47%, #F8E9AD 88%, #E8BA00 134%);
    border: 1px solid rgba(232, 186, 0, 0.4);
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    font-family: 'Rubik';
    font-size: 10px;
    line-height: 12px;
    color: #4B5563;
    cursor: pointer;
}

.user-pill-stat-icon {
    color: #E8BA00;
    font-size: 10px;
    line-height: 1;
}

.user-pill-stat-value {
    line-height: 1;
}

/* Pencil corner badge — visible at mobile, hidden at desktop unless warning */
.user-pill-corner {
    display: inline-flex;
}

/* Desktop overrides:
   show #id, hide views/coins row + hide pencil corner unless warning */
@media (min-width: 1151px) {
    .user-pill-stats {
        display: none;
    }

    .user-pill-corner:not(.is-warning):not(.is-critical) {
        display: none;
    }

    .user-id-mini {
        display: inline-block;
    }
}

/* Mobile: hide #id (the dropdown shows it). views/coins shown. */
@media (max-width: 1150px) {
    .user-id-mini {
        display: none;
    }
}

/* On very narrow phones, drop the views pill to keep things tidy */
@media (max-width: 360px) {
    .user-pill-stats .user-pill-stat:first-child:not(.user-pill-stat--coins) {
        display: none;
    }

    .user-name-mini {
        max-width: 70px;
    }

    .user-dropdown-toggle {
        padding: 6px 8px;
        gap: 8px;
    }
}

/* ==================================================
   Profile-incomplete warning banner inside the dropdown menu
   ================================================== */
.profile-warning-banner,
.profile-warning-banner:link,
.profile-warning-banner:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 12px 0 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFFDF0 0%, #FEF3C7 100%);
    border: 1px solid rgba(232, 186, 0, 0.35);
    color: #6B5400;
    font-size: 13px;
    font-family: 'Rubik';
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.profile-warning-banner:hover,
.profile-warning-banner:focus,
.profile-warning-banner:active {
    background: #FEF3C7;
    color: #4A3A00;
    text-decoration: none !important;
}

/* ==================================================
   Mobile drawer — header (close + lang + logo)
   ================================================== */
.mobile-drawer-close,
.mobile-drawer-lang {
    display: none;
}

@media (max-width: 1150px) {
    .mobile-sidebar-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 16px 16px !important;
    }

    .mobile-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid rgba(107, 114, 128, 0.15);
        box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-drawer-lang {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }

    .lang-dropdown--mobile {
        position: relative;
    }

    .lang-dropdown--mobile .lang-dropdown-toggle {
        padding: 4px 10px;
        font-size: 14px;
        gap: 5px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.6);
    }

    .lang-dropdown--mobile .lang-dropdown-menu {
        margin-top: 6px;
        min-width: 110px;
        z-index: 1100;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo {
        flex-shrink: 0;
        gap: 6px;
        align-items: center;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo .logo-img {
        width: 32px;
        height: 32px;
        top: 0;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo .logo-icon-wrapper {
        width: 32px;
        height: 32px;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo .logo-ellipse {
        width: 10px;
        height: 10px;
        top: 11px;
        left: 9px;
    }

    .mobile-sidebar-header .logo-section.mobile-only-logo .logo-text {
        font-size: 12px;
    }

    /* ==========================================================
       Drawer auth panel — embedded (no card), per Figma 8919/8918
       ========================================================== */
    .mobile-auth-panel {
        border-bottom: 1px solid rgba(107, 114, 128, 0.12);
    }

    /* User info group (Frame 8919) */
    .drawer-user-info {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .drawer-user-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content: flex-start;
    }

    .drawer-user-name {
        text-align: start;
    }

    .drawer-user-name {
        font-family: 'Rubik';
        font-weight: 400;
        font-size: 18px;
        line-height: 21px;
        color: #000000;
        text-align: end;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .drawer-user-avatar {
        position: relative;
        width: 40px;
        height: 40px;
        max-width: 50px;
        max-height: 50px;
        border-radius: 50%;
        background: rgba(107, 114, 128, 0.1);
        border: 1px solid rgba(107, 114, 128, 0.1);
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        flex-shrink: 0;
        color: #6B7280;
    }

    .drawer-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    /* Make sure the icon fallback shows */
    .drawer-user-avatar i {
        font-size: 16px;
    }

    /* Warning corner on the avatar — pulses gold */
    .drawer-warning-corner {
        position: absolute;
        bottom: -4px;
        left: -4px;
        width: 18px;
        height: 18px;
        border-radius: 5px;
        background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #F8E9AD 77%, #E8BA00 114%);
        border: 1px solid rgba(232, 186, 0, 0.45);
        box-shadow: 0 0 8px rgba(232, 186, 0, 0.6);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        animation: warnPulse 2s ease-in-out infinite;
    }

    .drawer-warning-corner svg {
        width: 11px;
        height: 11px;
    }

    html[dir="rtl"] .drawer-warning-corner {
        left: auto;
        right: -4px;
    }

    /* Stats row — gold-gradient pills, 30px tall, larger than the navbar variant */
    .drawer-stats-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .drawer-stat-pill {
        flex: 1;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 2px 6px;
        background: linear-gradient(180deg, #FFFFFF 10.03%, #FFFFFF 46.93%, #F8E9AD 87.52%, #E8BA00 134.62%);
        border: 1px solid rgba(232, 186, 0, 0.4);
        box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        font-family: 'Rubik';
        font-size: 14px;
        line-height: 17px;
        color: #4B5563;
        cursor: pointer;
        text-decoration: none !important;
    }

    .drawer-stat-icon {
        color: #E8BA00;
        font-size: 14px;
    }

    .drawer-stat-value {
        font-weight: 400;
        line-height: 1;
    }

    /* Action group (Frame 8918) */
    .drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .drawer-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        padding: 6px 10px;
        gap: 8px;
        border-radius: 8px;
        font-family: 'Rubik';
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-decoration: none !important;
        cursor: pointer;
        text-align: center;
    }

    .drawer-btn-fill {
        background: linear-gradient(180deg, #FFFFFF 10.03%, #FFFFFF 46.93%, #F8E9AD 87.52%, #E8BA00 134.62%);
        border: 1px solid rgba(232, 186, 0, 0.4);
        box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
        color: #4B5563;
    }

    .drawer-btn-fill:hover {
        transform: translateY(-1px);
    }

    .drawer-actions form {
        text-align: center;
    }

    .drawer-logout-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 30px;
        background: transparent;
        border: none;
        padding: 0 10px;
        font-family: 'Rubik';
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        color: #CF0616;
        cursor: pointer;
        filter: drop-shadow(1px 4px 10px rgba(0, 0, 0, 0.1));
    }

    .drawer-logout-link:hover {
        opacity: 0.85;
    }

    .drawer-logout-link svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .drawer-signup-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px;
        font-family: 'Rubik';
        font-size: 14px;
        color: #4B5563;
        text-decoration: none !important;
    }

    .drawer-signup-link:hover {
        color: var(--primary-gold);
    }
}

.vp-mobile-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.vp-mobile-filter-row .vp-results-count {
    margin: 0;
}

.vp-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(107, 114, 128, 0.25);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
    line-height: 1;
}

.vp-mobile-filter-btn:hover {
    background: #F9FAFB;
    border-color: rgba(107, 114, 128, 0.5);
}

.vp-mobile-filter-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .vp-mobile-filter-btn {
        display: inline-flex;
    }

    .vp-filter-col {
        display: none;
    }

    .vp-filter-col.is-open {
        display: block;
        margin-bottom: 16px;
    }

    .vp-filter-col .vp-sidebar {
        position: static;
        top: auto;
    }
}

@keyframes warnPulseRed {

    0%,
    100% {
        box-shadow: 0 0 4px 0 rgba(220, 38, 38, 0.55);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 22px 6px rgba(220, 38, 38, 1);
        transform: scale(1.2);
    }
}

@keyframes bannerPulseYellow {

    0%,
    100% {
        box-shadow: 0 6px 18px rgba(232, 186, 0, 0.15);
        border-color: rgba(232, 186, 0, 0.4);
    }

    50% {
        box-shadow: 0 6px 26px rgba(232, 186, 0, 0.55), 0 0 0 3px rgba(232, 186, 0, 0.25);
        border-color: rgba(232, 186, 0, 0.85);
    }
}

@keyframes bannerPulseRed {

    0%,
    100% {
        box-shadow: 0 6px 18px rgba(220, 38, 38, 0.18);
        border-color: rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 6px 28px rgba(220, 38, 38, 0.6), 0 0 0 3px rgba(220, 38, 38, 0.3);
        border-color: rgba(220, 38, 38, 0.9);
    }
}

.user-pill-corner.is-warning {
    color: #E8BA00;
}

.user-pill-corner.is-critical {
    display: inline-flex;
    color: #CF0616;
    background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #FBD5D5 77%, #DC2626 114%);
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.7);
    animation: warnPulseRed 1.4s ease-in-out infinite;
}

@media (min-width: 1151px) {
    .user-pill-corner.is-critical {
        display: inline-flex;
    }
}

.user-profile-dropdown.has-warning.is-critical .user-dropdown-toggle {
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

.drawer-warning-corner.is-warning {
    color: #E8BA00;
}

.drawer-warning-corner.is-critical {
    color: #CF0616;
    background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #FBD5D5 77%, #DC2626 114%);
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.65);
    animation: warnPulseRed 1.4s ease-in-out infinite;
}

.profile-warning-banner.is-warning {
    color: #6B5400;
    animation: bannerPulseYellow 1.6s ease-in-out infinite;
}

.profile-warning-banner.is-critical,
.profile-warning-banner.is-critical:link,
.profile-warning-banner.is-critical:visited {
    background: linear-gradient(180deg, #FFF5F5 0%, #FED7D7 100%);
    border-color: rgba(220, 38, 38, 0.4);
    color: #7F1D1D;
    animation: bannerPulseRed 1.4s ease-in-out infinite;
}

.profile-warning-banner.is-critical:hover,
.profile-warning-banner.is-critical:focus,
.profile-warning-banner.is-critical:active {
    background: #FECACA;
    color: #5B1414;
}

.pf-complete-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin: 0 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(232, 186, 0, 0.4);
    background: linear-gradient(180deg, #FFFDF2 0%, #FEF3C7 100%);
    color: #6B5400;
    font-family: 'Rubik';
    box-shadow: 0 6px 18px rgba(232, 186, 0, 0.15);
    position: relative;
    animation: bannerPulseYellow 1.6s ease-in-out infinite;
}

.pf-complete-banner.is-critical {
    background: linear-gradient(180deg, #FFF7F7 0%, #FED7D7 100%);
    color: #7F1D1D;
    border-color: rgba(220, 38, 38, 0.4);
    animation: bannerPulseRed 1.4s ease-in-out infinite;
}

.pf-complete-banner__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #F8E9AD 77%, #E8BA00 114%);
    border: 1px solid rgba(232, 186, 0, 0.45);
    color: #6B5400;
    box-shadow: 0 0 10px rgba(232, 186, 0, 0.55);
    animation: warnPulse 2s ease-in-out infinite;
}

.pf-complete-banner.is-critical .pf-complete-banner__icon {
    background: linear-gradient(180deg, #FFFFFF 4.5%, #FFFFFF 48%, #FBD5D5 77%, #DC2626 114%);
    border-color: rgba(220, 38, 38, 0.45);
    color: #7F1D1D;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
    animation: warnPulseRed 1.4s ease-in-out infinite;
}

.pf-complete-banner__icon svg {
    width: 20px;
    height: 20px;
}

.pf-complete-banner__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.pf-complete-banner__title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
}

.pf-complete-banner__text {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.92;
}

.pf-complete-banner__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pf-complete-banner__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(232, 186, 0, 0.5);
    color: #6B5400;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, transform 0.1s ease;
}

.pf-complete-banner__chip:hover,
.pf-complete-banner__chip:focus {
    background: #FFFFFF;
    transform: translateY(-1px);
    outline: none;
}

@keyframes pfJumpFlash {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 186, 0, 0);
    }

    20% {
        box-shadow: 0 0 0 4px rgba(232, 186, 0, 0.45);
    }

    60% {
        box-shadow: 0 0 0 6px rgba(232, 186, 0, 0.25);
    }
}

.pf-jump-flash {
    border-radius: 10px;
    animation: pfJumpFlash 1.5s ease-out;
}

.pf-complete-banner__chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E8BA00;
    box-shadow: 0 0 6px rgba(232, 186, 0, 0.9);
}

.pf-complete-banner__chip.is-critical {
    border-color: rgba(220, 38, 38, 0.55);
    color: #7F1D1D;
    background: rgba(255, 255, 255, 0.8);
}

.pf-complete-banner__chip.is-critical::before {
    background: #DC2626;
    box-shadow: 0 0 6px rgba(220, 38, 38, 1);
}

.pf-complete-banner.is-critical .pf-complete-banner__chip {
    border-color: rgba(220, 38, 38, 0.45);
    color: #7F1D1D;
}

.pf-complete-banner.is-critical .pf-complete-banner__chip::before {
    background: #DC2626;
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.9);
}

.pf-complete-banner__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    background: #E8BA00;
    color: #1F2937;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.15s ease, transform 0.1s ease;
}

.pf-complete-banner__cta:hover,
.pf-complete-banner__cta:focus {
    background: #D4A800;
    color: #111827;
    text-decoration: none;
}

.pf-complete-banner.is-critical .pf-complete-banner__cta {
    background: #DC2626;
    color: #FFFFFF;
}

.pf-complete-banner.is-critical .pf-complete-banner__cta:hover,
.pf-complete-banner.is-critical .pf-complete-banner__cta:focus {
    background: #B91C1C;
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .pf-complete-banner {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 10px;
    }

    .pf-complete-banner__cta {
        margin-inline-start: auto;
    }
}

.pf-warn-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-inline-start: 6px;
    border-radius: 50%;
    vertical-align: middle;
    flex-shrink: 0;
}

.pf-warn-dot svg {
    width: 10px;
    height: 10px;
}

.pf-warn-dot.is-warning {
    background: #FFFBEB;
    border: 1px solid rgba(232, 186, 0, 0.55);
    color: #B07900;
    box-shadow: 0 0 6px rgba(232, 186, 0, 0.6);
    animation: warnPulse 2s ease-in-out infinite;
}

.pf-warn-dot.is-critical {
    background: #FFF5F5;
    border: 1px solid rgba(220, 38, 38, 0.55);
    color: #B42318;
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.7);
    animation: warnPulseRed 1.4s ease-in-out infinite;
}

.pf-label .pf-warn-dot--inline {
    width: 14px;
    height: 14px;
    margin-inline-start: 6px;
}

.pf-label .pf-warn-dot--inline svg {
    width: 9px;
    height: 9px;
}

.sa-bell-toggle {
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #FFFAEB;
    border: 1px solid #F3DA8C;
    color: #92400E;
    border-radius: 12px;
    padding: 10px 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.sa-bell-toggle:hover {
    background: #FEF0C7;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(232, 186, 0, .18);
}

.sa-bell-toggle__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: start;
}

.sa-bell-toggle__label i {
    color: #E8BA00;
}

.sa-bell-toggle__badge {
    min-width: 22px;
    padding: 2px 8px;
    background: #DC2626;
    color: #fff;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}

.sa-bell-toggle__chev {
    color: #92400E;
    transition: transform .2s ease;
    font-size: 12px;
}

.sa-bell-toggle[aria-expanded="true"] .sa-bell-toggle__chev {
    transform: rotate(180deg);
}

.sa-bell-panel {
    margin-top: 6px;
}

.sa-bell-list {
    list-style: none;
    margin: 0;
    padding: 6px 4px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .03);
}

.sa-bell-list li {
    list-style: none;
}

.sa-bell-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #344767;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    transition: background .12s ease;
}

.sa-bell-item:hover {
    background: #F9FAFB;
    color: #111827;
}

.sa-bell-item__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sa-bell-item__label i {
    color: #6B7280;
    width: 16px;
    text-align: center;
}

.sa-bell-item__count {
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #6B7280;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.sa-bell-item__count.has-count {
    background: #DC2626;
    color: #fff;
}

/* Drawer (mobile) variant */
.sa-bell-toggle--drawer {
    margin-top: 10px;
}

.user-pill-stats--super-admin {
    display: flex !important;
    gap: 6px;
}

.user-pill-stats--super-admin .user-pill-stat {
    height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #FFFAEB;
    border: 1px solid #F3DA8C;
    color: #92400E;
    font-weight: 600;
    font-size: 11px;
    line-height: 14px;
    box-shadow: 0 1px 3px rgba(146, 64, 14, .10);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none !important;
}

.user-pill-stats--super-admin .user-pill-stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(232, 186, 0, .25);
}

.user-pill-stats--super-admin .user-pill-stat-icon {
    color: #E8BA00;
    font-size: 11px;
}

.user-pill-stats--super-admin .user-pill-stat--pending {
    background: #FEF2F2;
    border-color: #FCA5A5;
    color: #991B1B;
}

.user-pill-stats--super-admin .user-pill-stat--pending .user-pill-stat-icon {
    color: #DC2626;
}

@media (min-width: 1151px) {
    .user-profile-dropdown.is-super-admin .user-pill-body {
        gap: 4px;
    }

    .user-profile-dropdown.is-super-admin .user-id-mini {
        font-size: 10px;
    }
}

.sa-bell-toggle {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEA 100%);
    border: 1px solid #F3E7B5;
    color: #1F2937;
    border-radius: 14px;
    padding: 12px 14px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.sa-bell-toggle:hover {
    background: #FFF6D6;
    border-color: #E8BA00;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(232, 186, 0, .18);
}

.sa-bell-toggle__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-align: start;
}

.sa-bell-toggle__label i {
    color: #E8BA00;
    font-size: 16px;
}

.sa-bell-toggle__badge {
    min-width: 24px;
    padding: 2px 9px;
    background: #DC2626;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(220, 38, 38, .35);
}

.sa-bell-toggle__chev {
    color: #6B7280;
    transition: transform .25s ease;
    font-size: 12px;
}

.sa-bell-toggle[aria-expanded="true"] .sa-bell-toggle__chev {
    transform: rotate(180deg);
    color: #92400E;
}

.sa-bell-panel {
    margin-top: 8px;
}

.sa-bell-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

.sa-bell-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sa-bell-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    margin: 2px 0;
    border-radius: 10px;
    text-decoration: none !important;
    color: #344767;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    transition: background .12s ease, color .12s ease, transform .12s ease;
}

.sa-bell-item:hover {
    background: #FFFAEB;
    color: #111827;
    transform: translateX(2px);
}

[dir="rtl"] .sa-bell-item:hover {
    transform: translateX(-2px);
}

.sa-bell-item__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.sa-bell-item__label i {
    color: #6B7280;
    width: 18px;
    text-align: center;
    font-size: 13px;
    flex-shrink: 0;
}

.sa-bell-item:hover .sa-bell-item__label i {
    color: #E8BA00;
}

.sa-bell-item__count {
    min-width: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #9CA3AF;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

.sa-bell-item__count.has-count {
    background: #DC2626;
    color: #fff;
    box-shadow: 0 1px 3px rgba(220, 38, 38, .30);
}

.sa-bell-toggle--drawer {
    margin-top: 14px;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 14px;
}

.sa-bell-toggle--drawer+.sa-bell-panel {
    margin-top: 10px;
}

@media (max-width: 360px) {

    .user-pill-stats--super-admin .user-pill-stat:first-child:not(.user-pill-stat--coins) {
        display: inline-flex !important;
    }

    /* And instead hide the coins pill for super_admin only. */
    .user-pill-stats--super-admin .user-pill-stat--coins {
        display: none !important;
    }
}


.sa-bell-panel {
    display: none;
    overflow: hidden;
}

.sa-bell-panel.is-open {
    display: block;
    animation: saBellPanelIn .2s ease-out;
}

@keyframes saBellPanelIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ───── Share Edu Modal ───── */
.btn-about-edu .fa-share-nodes {
    font-size: 16px;
    color: #111827;
}

.share-edu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1080;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.share-edu-overlay.is-open {
    opacity: 1;
}

.share-edu-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 28px 24px 22px;
    font-family: 'Rubik', sans-serif;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 4px solid #E8BA00;
}

.share-edu-overlay.is-open .share-edu-modal {
    transform: translateY(0) scale(1);
}

.share-edu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #F3F4F6;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.share-edu-close:hover {
    background: #E5E7EB;
    color: #111827;
}

.share-edu-header {
    text-align: center;
    margin-bottom: 22px;
}

.share-edu-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FAF0C6 0%, #E8BA00 130%);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(232, 186, 0, 0.35);
}

.share-edu-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 500;
    color: #111827;
}

.share-edu-header p {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
    font-weight: 300;
}

.share-edu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-edu-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: 14px;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #111827;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}

.share-edu-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-color: transparent;
    text-decoration: none;
    color: #111827;
}

.share-edu-option__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
}

.share-edu-option--whatsapp .share-edu-option__icon { background: #25D366; }
.share-edu-option--facebook .share-edu-option__icon { background: #1877F2; }
.share-edu-option--x .share-edu-option__icon { background: #111827; }
.share-edu-option--telegram .share-edu-option__icon { background: #229ED9; }
.share-edu-option--linkedin .share-edu-option__icon { background: #0A66C2; }
.share-edu-option--email .share-edu-option__icon { background: #6B7280; }
.share-edu-option--native .share-edu-option__icon { background: #E8BA00; color: #111827; }

.share-edu-option__label {
    font-size: 12px;
    font-weight: 400;
    color: #374151;
    line-height: 1.2;
    text-align: center;
}

.share-edu-link-row {
    display: flex;
    gap: 8px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 6px;
}

.share-edu-link-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 13px;
    color: #374151;
    outline: none;
}

.share-edu-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: #111827;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.share-edu-copy-btn:hover {
    background: #1F2937;
}

.share-edu-copy-btn.is-copied {
    background: #15803D;
}

@media (max-width: 480px) {
    .share-edu-modal {
        padding: 24px 18px 18px;
        border-radius: 20px;
    }

    .share-edu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .share-edu-option__icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

/* --- Ads Skeleton (shown while ads are lazy-loaded) --- */
.ad-card--skeleton {
    pointer-events: none;
    cursor: default;
}

.ad-card--skeleton:hover {
    transform: none;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
}

.ad-card--skeleton .ad-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-skeleton-line {
    display: inline-block;
    width: 70%;
    height: 22px;
    border-radius: 11px;
}

.ads-skeleton-shimmer {
    background: linear-gradient(90deg, #E6E8EA 25%, #F3F4F6 50%, #E6E8EA 75%);
    background-size: 200% 100%;
    animation: ads-skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes ads-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ads-skeleton-shimmer {
        animation: none;
    }
}
