/* =====================================================
   sharecode-home.css — ShareCode Home Index page
   Inspired by quiz-home.css & pricing.css style.
   ===================================================== */

/* Override global CSS variables for ShareCode area */
:root {
    --primary-200-color: #2fb362 !important;
    --primary-600-color: #1c6d3a !important;
}

/* ─── Header / Navbar ───────────────────────────── */
#sc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 28, 16, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(47, 179, 98, 0.2);
    padding: 12px 0;
    transition: background 0.3s;
}

.sc-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    font-family: "Jost", sans-serif;
    letter-spacing: 0.5px;
}

.sc-logo i {
    font-size: 1.6rem;
    color: #2fb362;
}

.sc-logo span {
    color: #2fb362;
    font-weight: 600;
    font-size: 1rem;
}

.sc-logo:hover {
    color: #fff;
    text-decoration: none;
}

#sc-navbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

#sc-navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    align-items: center;
}

#sc-navbar ul li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

#sc-navbar ul li a:hover,
#sc-navbar ul li a.active {
    background: rgba(47, 179, 98, 0.15);
    color: #2fb362;
}

#sc-navbar ul li a i {
    font-size: 1rem;
}

.sc-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(47, 179, 98, 0.4);
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

/* Push body down for fixed header */
body {
    padding-top: 60px;
}

/* Mobile nav */
@media (max-width: 768px) {
    .sc-nav-toggle {
        display: inline-flex;
        align-items: center;
    }

    #sc-navbar ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 28, 16, 0.98);
        flex-direction: column;
        padding: 12px 0;
        border-bottom: 1px solid rgba(47, 179, 98, 0.2);
        gap: 0;
    }

    #sc-navbar ul.open {
        display: flex;
    }

    #sc-navbar ul li {
        width: 100%;
    }

    #sc-navbar ul li a {
        padding: 10px 24px;
        border-radius: 0;
        width: 100%;
    }

    #sc-header {
        position: relative;
    }
}

/* ─── Hero / Search section ──────────────────────── */
.sc-hero-section {
    background: linear-gradient(135deg, #0a1c10 0%, #1c3d22 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(47, 179, 98, 0.2);
}

.sc-hero-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.sc-hero-icon i {
    font-size: 3rem;
    color: #2fb362;
    margin-bottom: 12px;
    display: block;
}

.sc-hero-inner h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.sc-hero-inner > p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* ─── Search bar ─────────────────────────────────── */
.sc-search-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.sc-search-form .sc-select {
    padding: 13px 18px;
    border-radius: 50px;
    border: 2px solid rgba(47, 179, 98, 0.35);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    min-width: 150px;
}

.sc-search-form .sc-select option {
    background: #1c3d22;
    color: #fff;
}

.sc-search-form .sc-select:focus {
    border-color: #2fb362;
    background: rgba(47, 179, 98, 0.1);
}

.sc-search-input-wrap {
    display: flex;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
    border-radius: 50px;
    border: 2px solid rgba(47, 179, 98, 0.4);
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: border-color 0.2s;
}

.sc-search-input-wrap:focus-within {
    border-color: #2fb362;
    background: rgba(47, 179, 98, 0.1);
}

.sc-search-input-wrap input {
    flex: 1;
    padding: 13px 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.sc-search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.sc-search-btn {
    padding: 13px 24px;
    background: linear-gradient(135deg, #2fb362, #1c6d3a);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sc-search-btn:hover {
    opacity: 0.88;
}

/* ─── Category tags ──────────────────────────────── */
.sc-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sc-category-tags a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(47, 179, 98, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.sc-category-tags a:hover {
    background: rgba(47, 179, 98, 0.18);
    border-color: #2fb362;
    color: #fff;
}

/* ─── Empty state ────────────────────────────────── */
.sc-empty-state {
    text-align: center;
    padding: 60px 0;
}

.sc-empty-state i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    margin-bottom: 16px;
}

.sc-empty-state h4 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.sc-empty-state p {
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ─── Content sections (dark bg) ─────────────────── */
.sc-content-section {
    background-image: linear-gradient(rgba(10, 28, 16, 0.72), rgba(10, 28, 16, 0.72)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 60px 0;
}

/* Second section — same bg, no top repeat */
.sc-content-section--no-bg {
    background-image: linear-gradient(rgba(10, 28, 16, 0.72), rgba(10, 28, 16, 0.72)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding-top: 0;
}

/* ─── Section title ──────────────────────────────── */
.sc-section-title {
    text-align: center;
    padding-bottom: 30px;
}

.sc-section-title h2 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #fff;
}

.sc-section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    bottom: 1px;
    left: calc(50% - 60px);
}

.sc-section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-200-color, #2fb362);
    bottom: 0;
    left: calc(50% - 20px);
}

.sc-section-title p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ─── Code card ──────────────────────────────────── */
.sc-card {
    background: #fff;
    padding: 0 0 24px 0;
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.15);
    border-top: 4px solid #fff;
    border-radius: 5px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px -4px rgba(20, 45, 100, 0.22);
    color: inherit;
    text-decoration: none;
}

.sc-card.featured {
    border-top-color: var(--primary-200-color, #2fb362);
}

/* ─── Card cover ─────────────────────────────────── */
.sc-card-cover {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.sc-card-cover-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-600-color, #1c6d3a), var(--primary-200-color, #2fb362));
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-card-cover-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ─── Card body ──────────────────────────────────── */
.sc-card-body {
    padding: 16px 18px 0;
}

.sc-card-body h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #222;
    margin: 10px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    min-height: 2.6em;
}

/* ─── Language badges ────────────────────────────── */
.sc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 2px;
}

.sc-badges .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    background: #e8f5e9;
    color: var(--primary-600-color, #1c6d3a);
    border: 1px solid rgba(47, 179, 98, 0.3);
}

/* ─── Stats row ──────────────────────────────────── */
.sc-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
}

.sc-stats span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sc-stats .s-view i  { color: #3aa0e8; }
.sc-stats .s-like i  { color: #ff7575; }
.sc-stats .s-dl i    { color: #38d629; }
.sc-stats .s-star i  { color: #f5a623; }

/* ─── Card badge (NỔI BẬT) ───────────────────────── */
.sc-badge {
    position: absolute;
    top: 138px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-200-color, #2fb362), var(--primary-600-color, #1c6d3a));
    color: white;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 2;
}

/* ─── Trust section (light bg) ───────────────────── */
.sc-trust-section {
    padding: 60px 0;
    background-color: #f6f9fe;
}

.sc-trust-title {
    text-align: center;
    padding-bottom: 30px;
}

.sc-trust-title h2 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--primary-600-color, #1c6d3a);
}

.sc-trust-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.sc-trust-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-200-color, #2fb362);
    bottom: 0;
    left: calc(50% - 20px);
}

.sc-trust-item {
    text-align: center;
    padding: 20px;
}

.sc-trust-item i {
    font-size: 2.5rem;
    color: var(--primary-200-color, #2fb362);
    margin-bottom: 12px;
    display: block;
}

.sc-trust-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-600-color, #1c6d3a);
}

.sc-trust-item p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 992px) {
    .sc-card {
        max-width: 60%;
        margin: 0 auto 24px auto;
    }
}

@media (max-width: 767px) {
    .sc-search-form {
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px;
    }

    .sc-search-input-wrap {
        max-width: 100%;
        min-width: unset;
    }

    .sc-card {
        max-width: 85%;
        margin: 0 auto 24px auto;
    }
}

@media (max-width: 480px) {
    .sc-hero-inner h1 {
        font-size: 1.5rem;
    }

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

/* ─── nav-user override for #sc-navbar ──────────── */
/* nav-user.css targets .navbar — remap to #sc-navbar */
#sc-navbar .nav-user-dropdown > a.nav-user-btn,
#sc-navbar .nav-user-dropdown > a.nav-user-btn:focus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    padding: 6px 12px 6px 8px !important;
    margin-left: 12px;
    border-radius: 50px;
    background: rgba(47, 179, 98, 0.18);
    border: 1.5px solid rgba(47, 179, 98, 0.4);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    color: #fff !important;
    white-space: nowrap;
    line-height: 1;
}

#sc-navbar .nav-user-dropdown > a.nav-user-btn:hover {
    background: rgba(47, 179, 98, 0.32) !important;
    border-color: rgba(47, 179, 98, 0.7);
    color: #fff !important;
}

#sc-navbar .nav-user-dropdown ul.nav-user-menu {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    min-width: 230px;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13) !important;
    padding: 14px 0 6px !important; /* padding-top bridge gap */
    margin-top: 0px !important;    /* kéo lên che khoảng trống */
    border: 1px solid rgba(0,0,0,0.07) !important;
    z-index: 9999;
    list-style: none;
}

#sc-navbar .nav-user-dropdown:hover ul.nav-user-menu {
    display: flex !important;
    animation: dropFade 0.18s ease;
}

#sc-navbar .nav-user-dropdown {
    position: relative;
    list-style: none;
}

#sc-navbar ul li.nav-user-dropdown > ul {
    display: none !important;
}

#sc-navbar ul li.nav-user-dropdown:hover > ul.nav-user-menu {
    display: flex !important;
}

/* Login/Register links in sc-navbar */
#sc-navbar ul li a.getstarted {
    padding: 8px 20px !important;
    border-radius: 50px;
    background: rgba(47, 179, 98, 0.18);
    border: 1.5px solid rgba(47, 179, 98, 0.4);
    color: #fff !important;
    margin-left: 6px;
    white-space: nowrap;
}

#sc-navbar ul li a.getstarted:hover {
    background: rgba(47, 179, 98, 0.32) !important;
}

/* Mobile override */
@media (max-width: 768px) {
    #sc-navbar .nav-user-dropdown ul.nav-user-menu {
        position: static !important;
        box-shadow: none !important;
        border: 1px solid #e0f0e3 !important;
        border-radius: 10px !important;
        margin: 6px 0 !important;
        width: 100% !important;
        min-width: unset !important;
    }

    #sc-navbar ul li.nav-user-dropdown:hover > ul.nav-user-menu {
        display: none !important;
    }

    #sc-navbar ul li.nav-user-dropdown.nav-user-open > ul.nav-user-menu {
        display: flex !important;
    }
}

/* ─── Toolbar (filter + sort bar) ───────────────── */
.sc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    border: 1px solid rgba(47, 179, 98, 0.18);
}

.sc-toolbar-count {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.sc-toolbar-count strong {
    color: #2fb362;
}

.sc-toolbar-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sc-toolbar-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sc-toolbar-select {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(47, 179, 98, 0.35);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sc-toolbar-select option {
    background: #1c3d22;
    color: #fff;
}

.sc-toolbar-select:focus {
    border-color: #2fb362;
}

/* ─── Card price tag ─────────────────────────────── */
.sc-card-price {
    margin-top: 6px;
}

.sc-price-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.sc-price-tag.free {
    background: #e8f5e9;
    color: #1c6d3a;
    border: 1px solid rgba(47,179,98,0.3);
}

.sc-price-tag.paid {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid rgba(230,81,0,0.2);
}

/* ─── Pagination ─────────────────────────────────── */
.sc-pagination {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.sc-pagination form {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.sc-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1.5px solid rgba(47, 179, 98, 0.35);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}

.sc-page-btn:hover {
    background: rgba(47, 179, 98, 0.2);
    border-color: #2fb362;
    color: #fff;
}

.sc-page-btn.active {
    background: linear-gradient(135deg, #2fb362, #1c6d3a);
    border-color: #2fb362;
    color: #fff;
}

/* ─── Reviews section ────────────────────────────── */
.sc-reviews-section {
    background: #0f2416;
    padding: 50px 0 60px;
    border-top: 1px solid rgba(47,179,98,0.15);
}

.sc-reviews-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.sc-reviews-header h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-reviews-header h3 i {
    color: #2fb362;
}

.sc-avg-star {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-avg-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
}

.sc-stars i {
    color: #f5a623;
    font-size: 1rem;
}

/* Review list */
.sc-review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.sc-review-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(47,179,98,0.12);
}

.sc-review-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.sc-review-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2fb362, #1c6d3a);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-review-body {
    flex: 1;
    min-width: 0;
}

.sc-review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.sc-review-meta strong {
    color: #fff;
    font-size: 0.92rem;
}

.sc-review-stars i {
    color: #f5a623;
    font-size: 0.8rem;
}

.sc-review-date {
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
}

.sc-review-body p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.sc-review-empty {
    text-align: center;
    padding: 36px 0;
    color: rgba(255,255,255,0.4);
}

.sc-review-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

/* Review form */
.sc-review-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(47,179,98,0.18);
    border-radius: 14px;
    padding: 24px;
    margin-top: 28px;
}

.sc-review-form-wrap h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.sc-star-picker {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    direction: rtl;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.sc-star-picker span {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    direction: ltr;
    margin-right: 6px;
}

.sc-star-picker input[type="radio"] {
    display: none;
}

.sc-star-picker label {
    cursor: pointer;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.25);
    transition: color 0.15s;
}

.sc-star-picker input[type="radio"]:checked ~ label,
.sc-star-picker label:hover,
.sc-star-picker label:hover ~ label {
    color: #f5a623;
}

.sc-review-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(47,179,98,0.3);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    margin-bottom: 14px;
}

.sc-review-textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.sc-review-textarea:focus {
    border-color: #2fb362;
    background: rgba(47,179,98,0.07);
}

.sc-review-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2fb362, #1c6d3a);
    border: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sc-review-submit:hover {
    opacity: 0.88;
}

.sc-review-login-prompt {
    text-align: center;
    margin-top: 24px;
}

.sc-review-login-prompt a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid rgba(47,179,98,0.4);
    color: #2fb362;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sc-review-login-prompt a:hover {
    background: rgba(47,179,98,0.12);
    color: #fff;
}

/* ─── Light mode overrides ───────────────────────── */
html:not(.dark-mode) #sc-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #d0ead8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

html:not(.dark-mode) .sc-logo {
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) .sc-logo:hover {
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) #sc-navbar ul li a {
    color: #444;
}

html:not(.dark-mode) #sc-navbar ul li a:hover,
html:not(.dark-mode) #sc-navbar ul li a.active {
    color: var(--primary-600-color, #1c6d3a);
    background: rgba(47, 179, 98, 0.1);
}

html:not(.dark-mode) .sc-nav-toggle {
    border-color: rgba(28, 109, 58, 0.4);
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) #sc-navbar ul {
    background: #fff;
}

/* Hero section */
html:not(.dark-mode) .sc-hero-section {
    background: linear-gradient(135deg, #e8f5ee 0%, #d0ead8 100%);
    border-bottom: 1px solid #b8ddc6;
}

html:not(.dark-mode) .sc-hero-icon i {
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) .sc-hero-inner h1 {
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) .sc-hero-inner > p {
    color: #4a7a5a;
}

/* Search bar */
html:not(.dark-mode) .sc-search-form .sc-select {
    background: #fff;
    border-color: rgba(28, 109, 58, 0.3);
    color: #333;
}

html:not(.dark-mode) .sc-search-form .sc-select option {
    background: #fff;
    color: #333;
}

html:not(.dark-mode) .sc-search-form .sc-select:focus {
    border-color: var(--primary-200-color, #2fb362);
    background: #f0fff6;
}

html:not(.dark-mode) .sc-search-input-wrap {
    background: #fff;
    border-color: rgba(28, 109, 58, 0.3);
}

html:not(.dark-mode) .sc-search-input-wrap:focus-within {
    border-color: var(--primary-200-color, #2fb362);
    background: #f0fff6;
}

html:not(.dark-mode) .sc-search-input-wrap input {
    color: #333;
}

html:not(.dark-mode) .sc-search-input-wrap input::placeholder {
    color: #aaa;
}

/* Category tags */
html:not(.dark-mode) .sc-category-tags a {
    background: #fff;
    border-color: rgba(28, 109, 58, 0.25);
    color: #4a7a5a;
}

html:not(.dark-mode) .sc-category-tags a:hover {
    background: rgba(47, 179, 98, 0.1);
    border-color: var(--primary-200-color, #2fb362);
    color: var(--primary-600-color, #1c6d3a);
}

/* Content sections */
html:not(.dark-mode) .sc-content-section,
html:not(.dark-mode) .sc-content-section--no-bg {
    background-image: none;
    background-color: #fff;
}

html:not(.dark-mode) .sc-section-title h2 {
    color: var(--primary-600-color, #1c6d3a);
}

html:not(.dark-mode) .sc-section-title h2::before {
    background: rgba(28, 109, 58, 0.2);
}

html:not(.dark-mode) .sc-section-title p {
    color: #4a7a5a;
}

/* Empty state */
html:not(.dark-mode) .sc-empty-state i {
    color: #bbb;
}

html:not(.dark-mode) .sc-empty-state h4 {
    color: #444;
}

html:not(.dark-mode) .sc-empty-state p {
    color: #777;
}
