@import "./variables.css";
@import "./typography.css";
@import "./layout.css";
@import "./components.css";


/* font family start */

/* DM Sans */
@font-face {
  font-family: 'dm sans';
  src: url('../fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'dm sans';
  src: url('../fonts/DMSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* Plus Jakarta Sans */
@font-face {
  font-family: 'plus jakarta sans';
  src: url('../fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'plus jakarta sans';
  src: url('../fonts/PlusJakartaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* font family end */


/* =========================================
1. UNIFIED HEADER STYLES
========================================= */
.relpha-header-wrapper {
    background-color: #0E1117;
    border-bottom: 1px solid var(--input-border);
    width: 100%;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.subscription-overdue-banner {
    width: 100%;
    background: #f9868d;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 10px 16px;
}

.subscription-overdue-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.subscription-overdue-banner__inner strong {
    font-weight: 700;
}

.subscription-overdue-banner__inner a {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.subscription-overdue-banner__inner a:hover {
    color: #000000;
}

@media (max-width: 767px) {
    .subscription-overdue-banner {
        padding: 8px 12px;
    }

    .subscription-overdue-banner__inner {
        font-size: 13px;
        gap: 4px;
    }
}

.page-glow-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-glow-fixed::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(142, 139, 254, 0.4) 0%, rgba(142, 139, 254, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.navbar-brand {
    position: relative;
    z-index: 5;
}

.navbar-brand img,
.footer-logo img,
.logo-box img {
    height: 50px;
    width: auto;
}

.custom-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions-right {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
}

.nav-link-login {
    color: var(--primary-brand-accent) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-right: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: none;
}

.nav-link-login:hover {
    color: var(--white) !important;
}

.btn-mobile-search {
    background: none;
    border: none;
    color: var(--white);
    padding: 5px;
    cursor: pointer;
    display: none;
}

.btn-hamburger {
    background: none;
    border: none;
    color: var(--white);
    padding: 5px;
    cursor: pointer;
    display: none;
    z-index: 5;
}

.mobile-search-overlay {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--page-background);
    border-bottom: 1px solid var(--input-border);
    z-index: 1500;
    display: none;
    align-items: center;
    padding: 12px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
    opacity: 0;
    transition: 0.2s ease-out;
}

.mobile-search-overlay.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-search-overlay .search-container {
    margin: 0;
    max-width: 100%;
    display: block;
}

.profile-trigger {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--input-border);
    background-color: #5b616e;
    object-fit: cover;
    transition: 0.3s;
    cursor: pointer;
}

.profile-trigger:hover .profile-avatar {
    border-color: var(--primary-brand-accent);
}

.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.search-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 10px 16px 10px 44px;
    color: var(--white);
    font-size: clamp(13px, 1.5vw, 14px);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-brand-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder);
    display: flex;
    pointer-events: none;
}

.search-results-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: rgba(20, 24, 34, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 2100;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-list.active {
    display: block;
}

.result-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s all ease;
    border-left: 3px solid transparent;
}

.result-item:hover,
.result-item.selected {
    background-color: rgba(142, 139, 254, 0.08);
    border-left-color: var(--primary-brand-accent);
    padding-left: 20px;
}

.result-item .item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2a3140, #1a1f2b);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--placeholder);
}

.result-item .item-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.result-item .item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.result-item .item-title {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
    text-align: left;
}

.result-item .item-meta {
    font-size: 12px;
    color: var(--placeholder);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--placeholder);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.no-results svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

.profile-popup {
    position: absolute;
    top: 48px;
    right: 0;
    width: clamp(240px, 40vw, 300px);
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2100;
    animation: slideIn 0.2s ease-out;
}

.profile-popup.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-popup .popup-header {
    padding: 20px;
    border-bottom: 1px solid var(--input-border);
    text-align: left;
}

.profile-popup .popup-user-name {
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    color: var(--white);
    margin: 0;
    word-break: break-word;
}

.profile-popup .popup-user-email {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--placeholder);
    margin: 2px 0 0;
    word-wrap: break-word;
}

.profile-popup .popup-menu {
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.profile-popup .popup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--primary-body-text);
    text-decoration: none;
    font-size: clamp(12px, 1.2vw, 14px);
    transition: all 0.2s ease;
}

.profile-popup .popup-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--white);
}

.profile-popup .popup-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.profile-popup .popup-item.logout {
    color: var(--danger-text);
    border-top: 1px solid var(--input-border);
    margin-top: 8px;
}

.no-sidebar .btn-hamburger {
    display: none !important;
}

.no-sidebar .navbar-brand {
    position: initial;
    transform: initial;
}

/* =========================================
        1. HERO SECTION STYLES
========================================= */
.hero-sec {
    text-align: center;
}

.hero-sec .hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(36px, 7vw, 68px);
    font-weight: 600;
    line-height: clamp(1.1, 1.2vw, 1.15);
    color: var(--white);
    max-width: 1123px;
    margin: 0 auto 1.5rem;
}

.hero-sec .hero-headline span.accent {
    color: var(--primary-brand-accent);
}

.hero-sec .stories-wrapper {
    position: relative;
    display: inline-block;
}

.hero-sec .stories-oval {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 140%;
    z-index: -1;
    pointer-events: none;
}

.hero-sec .hero-subtext {
    font-family: var(--font-body);
    font-size: clamp(16px, 4vw, 1.125rem);
    font-weight: 500;
    line-height: clamp(22px, 4vw, 24px);
    color: var(--primary-body-text);
    max-width: 950px;
    margin: 0 auto 2.5rem;
}

.hero-sec .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-sec .hero-badges {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--placeholder);
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4rem;
}

.hero-sec .hero-illustration {
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-sec .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-sec .btn-hero-primary,
    .hero-sec .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-sec .hero-glow {
        width: 100%;
        left: -30%;
        top: -10%;
    }

    .hero-sec .hero-badges {
        flex-wrap: wrap;
    }
}

/* =========================================
        1. EXPLORE SECTION STYLES
========================================= */

.explore-sec .explore-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.explore-sec .explore-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--primary-body-text);
    margin-bottom: 3rem;
}

.explore-sec .category-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 220px;
}

.explore-sec .category-tab {
    background-color: var(--secondary-button-bg);
    color: var(--primary-body-text);
    border: 1px solid transparent;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);

    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(12px, 1.2vw, 14px);
    text-align: left;
    transition: all 0.3s ease;
    width: 100%;
}

.explore-sec .category-tab:hover {
    color: var(--white);
    border-color: var(--border-light);
}

.explore-sec .category-tab.active {
    background-color: var(--primary-brand-accent);
    color: var(--white);
}

/* =========================================
        1. WHY SECTION STYLES
========================================= */
.why-sec {
    width: 100%;
    text-align: center;
}

.why-sec .sec-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(32px, 26.36px + 1.5vw, 48px);
    color: var(--white);
    margin-bottom: clamp(16px, 13.18px + 0.75vw, 24px);
}

.why-sec .sec-subtitle {
    max-width: 934px;
    margin: 0 auto 48px;
    line-height: clamp(1.4, 1.5vw, 1.6);
    color: var(--primary-body-text);
    font-size: clamp(16px, 15.3px + 0.19vw, 18px);
}

.why-sec .info-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.why-sec .info-card:hover {
    border-color: var(--border-light);
    background: rgba(20, 24, 34, 0.7);
    transform: translateY(-5px);
}

.why-sec .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    background-color: var(--primary-brand-accent);
}

.why-sec .card-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--white);
    margin-bottom: 16px;
}

.why-sec .card-text {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--primary-body-text);
    margin-bottom: 0;
}

.why-sec .stats-row {
    margin: 40px 0px;
}

.why-sec .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(30px, 6vw, 45px);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.why-sec .stat-label {
    font-size: 0.9rem;
    text-transform: capitalize;
    color: var(--white);
    font-weight: 500;
}

.why-sec .text-purple {
    color: var(--primary-brand-accent);
}

.why-sec .text-teal {
    color: var(--secondary-accent);
}

.why-sec .text-gold {
    color: var(--soft-background);
}

.why-sec .footer-note {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-top: 40px;
}

.why-sec .footer-note span {
    color: var(--secondary-accent);
    font-weight: 600;
}

@media (max-width: 768px) {

    .why-sec .stat-number {
        font-size: 2.2rem;
    }

    .why-sec .stats-row {
        flex-direction: column;
        align-items: center;

    }
}

/* =========================================
        1. PRICING SECTION STYLES
========================================= */
.pricing-sec .pricing-section {
    padding: 5rem 0;
}

.pricing-sec .pricing-card {
    background-color: var(--card-background);
    border: 2px solid var(--input-border);
    border-radius: var(--radius-xl);
    position: relative;
    padding: clamp(1rem, 2.5vw, 2.5rem);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-sec .pricing-card:hover,
.pricing-sec .pricing-card.is-selected {
    border-color: var(--border-light);
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.pricing-sec .status-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background-color: var(--primary-brand-accent);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pricing-sec .pricing-card.is-selected .status-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pricing-sec .pricing-card.is-selected .icon-box {
    background-color: var(--primary-brand-accent);
    color: var(--white);
}

.pricing-sec .price-text {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.pricing-sec .list-unstyled li {
    font-family: var(--font-body);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: var(--primary-body-text);
    font-size: clamp(14px, 1.2vw, 16px);
}

.pricing-sec .icon-box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    background-color: rgba(142, 139, 254, 0.15);
    color: var(--primary-brand-accent);
    transition: all 0.3s ease;
}

.pricing-sec .btn-pricing {
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: auto;
    background-color: var(--secondary-button-bg);
    color: var(--white);
}

.pricing-sec .pricing-card.is-selected .btn-pricing {
    background-color: var(--primary-brand-accent);
}

/* =========================================
        1. CTA SECTION STYLES
========================================= */
.cta-sec .cta-card {
    background-color: var(--soft-background);
    border-radius: 16px;
    padding: 70px 40px;
    text-align: center;
    color: var(--dark);
}

.cta-sec .cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-sec .cta-text {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 18px);
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--body-dark);
}

.cta-sec p {
    color: var(--body-dark);
    font-weight: 500;
    font-size: clamp(10px, 1vw, 11px);
    line-height: 150%;
    text-align: center;
}

.cta-sec .btn-cta {
    background-color: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    /*width: 100%;*/
    align-items: center;
    justify-content: center;
}

.cta-sec .btn-cta a {
    color: var(--white);
    text-decoration: none;
}

.cta-sec .cta-title {
    color: var(--dark);
}

.cta-sec .btn-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-sec .cta-card {
        padding: 24px;
    }

    .cta-sec .cta-title {
        font-size: clamp(22px, 4vw, 28px);
    }

    .cta-sec .cta-text {
        font-size: clamp(12px, 1.2vw, 14px);
    }
}

/* =========================================
        1. HOW IT WORKS SECTION STYLES
========================================= */
.hiw-sec .sec-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.hiw-sec .sec-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px;
}

.hiw-sec .step-circle {
    width: 48px;
    height: 48px;
    background-color: var(--primary-brand-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 24px;
    font-family: var(--font-heading)
}

.hiw-sec .step-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 12px;
}

.hiw-sec .step-text {
    text-align: center;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    max-width: 358px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hiw-sec .sec-subtitle {
        margin-bottom: clamp(24px, 4vw, 40px);
    }
}

/* =========================================
        1. FAQ SECTION STYLES
========================================= */
.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
}

.sec-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: clamp(16px, 1.5vw, 18px);
}

.faq-sec .faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-sec .faq-item:hover {
    border-color: var(--border-light);
}

.faq-sec .faq-header {
    padding: clamp(16px, 3vw, 24px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    gap: 10px;
}

.faq-sec .faq-question {
    font-family: var(--font-heading);
    font-size: clamp(18px, 1.5vw, 20px);
    font-weight: 500;
    color: var(--white);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.faq-sec .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-body-text);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.faq-sec .faq-item.active .faq-icon {
    transform: rotate(45deg);
    border-color: var(--primary-brand-accent);
    color: var(--primary-brand-accent);
}

.faq-sec .faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.faq-sec .faq-item.active .faq-body {
    max-height: 1000px;
    padding-bottom: 24px;
    transition: max-height 0.4s ease-in;
}

.faq-sec .faq-answer {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    color: var(--primary-body-text);
    overflow-wrap: anywhere;
    word-break: normal;
}

/* =========================================
        1. FOOTER SECTION STYLES
========================================= */
.footer-sec {
    background-color: var(--section-background);
    padding: clamp(40px, 6vw, 80px) 0 clamp(16px, 3vw, 30px);
    border-top: 1px solid var(--input-border);
}

.footer-sec .footer-desc {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    margin: 24px 0;
    max-width: 320px;
    color: var(--primary-body-text);
}

.footer-sec .social-row {
    display: flex;
    gap: 12px;
}

.footer-sec .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--input-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-body-text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-sec .social-icon:hover {
    border-color: var(--hover-border);
    color: var(--primary-brand-accent);
    background-color: rgba(142, 139, 254, 0.05);
}

.footer-sec .footer-heading {
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.footer-sec .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sec .footer-list li {
    margin-bottom: 12px;
}

.footer-sec .footer-link {
    color: var(--primary-body-text);
    text-decoration: none;
    font-size: clamp(14px, 1.2vw, 16px);
    transition: color 0.3s ease;
}

.footer-sec .footer-link:hover {
    color: var(--white);
}

.footer-sec .footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--input-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--primary-body-text);
}

.legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-link {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--primary-body-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--white);
}


@media (max-width: 991px) {
    .page-glow-fixed::before {
        left: -40%;
    }

    .explore-sec .category-tabs-wrapper {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 12px;
        margin-bottom: 2rem;
        max-width: 100%;
        scrollbar-width: none;
    }

    .explore-sec .category-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .explore-sec .category-tab {
        width: auto;
        font-size: clamp(12px, 1.2vw, 14px);
    }

    .explore-sec .explore-title {
        font-size: clamp(22px, 4vw, 28px);
    }

    .faq-sec .sec-title {
        font-size: 32px;
    }

    .footer-sec .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-sec .legal-links {
        justify-content: center;
    }
}




/* =========================================
        1. FOOTER SECTION STYLES
========================================= */
/* Pagination Styling */
.relpha-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.relpha-pagination .page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--secondary-button-bg);
    border: 1px solid var(--input-border);
    color: var(--primary-body-text);
    text-decoration: none;
    font-size: clamp(12px, 1.2vw, 14px);
    transition: all 0.2s ease;
}

.relpha-pagination .page-btn:hover {
    border-color: var(--hover-border);
    color: var(--white);
}

.relpha-pagination .page-btn.active {
    background-color: var(--primary-brand-accent);
    color: var(--white);
    border-color: var(--primary-brand-accent);
}

.section-header {
    margin-bottom: clamp(24px, 4vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--white);
}

.section-header h3 {
    font-family: var(--font-heading);
    /* font-size: clamp(22px, 4vw, 28px); */
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.section-header p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--primary-body-text);
}




.greeting-header {
    margin-bottom: clamp(24px, 4vw, 40px);
}

.greeting-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.greeting-header h1 span:first-child {
    color: var(--white);
}

.greeting-header h1 span {
    color: var(--primary-brand-accent);
}

.greeting-header p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--placeholder);
}

.view-all {
    color: var(--primary-brand-accent);
    text-decoration: none;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.dash-section {
    margin-bottom: 20px;
}

/* --- MODULAR COMMON CARDS --- */
.rel-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: 1.15rem;
    transition: 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rel-card:hover {
    border-color: var(--border-light);
}

.rel-thumb {
    position: relative;
    aspect-ratio: 336 / 180;
    background-color: #2a3140;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-title {
    color: var(--white) !important;
    font-weight: 600;
    margin: 0;
    font-size: clamp(14px, 1.2vw, 16px);
    overflow-wrap: anywhere;
    word-break: normal;
}

.card-episode {
    color: var(--placeholder);
    margin: 4px 0 12px;
    font-weight: 400;
    font-size: clamp(13px, 1.1vw, 14px);
    line-height: 150%;
}

.progress-text {
    color: var(--placeholder);
    margin: 8px 0 0;
    font-weight: 400;
    font-size: clamp(11px, 1vw, 12px);
    line-height: 18px;
}

.progress-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-brand-accent);
}

.btn-resume {
    width: 100%;
    background-color: rgba(142, 139, 254, 0.08);
    color: var(--primary-brand-accent);
    border: 1px solid rgba(142, 139, 254, 0.15);
    padding: 10px;
    border-radius: 10px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    margin-top: 15px;
    transition: 0.2s;
}

.btn-resume:hover {
    background-color: var(--primary-brand-accent);
    color: var(--white);
}

/* Featured Story Banner */
.featured-banner {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 280px;
    padding: 24px;
    gap: 48px;
}

.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 700;
    color: var(--primary-brand-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    max-width: 510px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.greeting-header h1 {
    word-break: break-word;
    overflow-wrap: break-word;
}

.greeting-header span {
    display: inline;
    word-break: break-word;
}

.banner-name,
.banner-email {
    word-break: break-word;
}

.featured-desc {
    color: var(--primary-body-text);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    margin-bottom: 24px;
    max-width: 510px;
}

.featured-img-box {
    width: 45%;
    background-color: #2a3140;
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&q=80&w=800');
    background-size: cover;
    background-position: center;
    border-left: 1px solid var(--input-border);
    border-radius: 20px;
}

.btn-brand-primary {
    background-color: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    transition: 0.3s;
}

.rel-card:hover .play-overlay {
    opacity: 1;
    transform: translateY(0);
}


.story-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(14, 17, 23, 0.8);
    backdrop-filter: blur(4px);
    color: var(--secondary-accent);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

/* Health Topics */
.topic-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--disabled);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--white);
}

@media (max-width: 991px) {
    .dash-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 4000;
        transform: translateX(-100%);
        width: 280px;
    }

    .dash-sidebar.active {
        transform: translateX(0);
    }

    .hamburger-btn {
        display: block;
    }

    .search-container {
        display: none;
    }

    .featured-banner {
        flex-direction: column-reverse;
    }

    .featured-img-box {
        height: 180px;
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--input-border);
    }

}


/* =========================================
Dashboard STYLES
========================================= */
.dash-wrapper {
    display: flex;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.dash-sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--input-border);
    padding: 0;
    flex-shrink: 0;
    background-color: var(--page-background);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 3000;
    height: 100vh;
    height: 100dvh;
}

.sidebar-brand-box {
    padding: 32px 24px;
    display: flex;
    align-items: center;
    display: none;
}

.sidebar-nav-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: none;
}

.sidebar-nav-container::-webkit-scrollbar {
    display: none;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--primary-body-text);
    text-decoration: none;
    font-size: clamp(14px, 1.5vw, 16px);
    border-radius: var(--radius-lg);
    transition: 0.2s;
    cursor: pointer;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-link.active {
    color: var(--primary-brand-accent);
    background-color: var(--sidebar-active-bg);
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.sidebar-link.active svg {
    color: var(--primary-brand-accent);
}

.sidebar-link .chevron {
    margin-left: auto;
    transition: transform 0.3s;
    width: 14px;
    opacity: 0.7;
}

.sidebar-dropdown {
    display: none;
    list-style: none;
    padding: 5px 0 5px 45px;
    margin: 0;
}

.sidebar-item.open .sidebar-dropdown {
    display: block;
}

.sidebar-item.open .chevron {
    transform: rotate(180deg);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--primary-body-text);
    text-decoration: none;
    font-size: clamp(12px, 1.2vw, 14px);
    border-radius: var(--radius-lg);
    transition: 0.2s;
}

.dropdown-link:hover {
    color: var(--primary-brand-accent);
}

.dropdown-link.active {
    color: var(--primary-brand-accent);
    background-color: var(--sidebar-active-bg);
    font-weight: 500;
}

.dropdown-link.active svg {
    color: var(--primary-brand-accent);
}

.sidebar-footer {
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--danger-text);
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.btn-logout:hover {
    background-color: rgba(248, 113, 113, 0.05);
}

#statusMessage {
    position: fixed;
    bottom: clamp(16px, 4vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-brand-accent);
    color: var(--white);
    padding: clamp(10px, 3vw, 12px) clamp(14px, 4vw, 24px);
    border-radius: 100px;
    z-index: 9999;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: fit-content;
    max-width: calc(100% - 24px);
    text-align: center;
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
    display: none;
}


.sidebar-mobile-only {
    display: none !important;
}

@media (max-width: 991px) {
    .sidebar-mobile-only {
        display: block;
    }
}

/* =========================================
        3. MAIN AREA
========================================= */
.dash-main {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content-inner {
    padding: 24px;
    flex: 1;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2500;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.slider-controls {
    display: flex;
    gap: 8px;
}

.dashboard-slider-controls {
    display: none;
}

.btn-slider:hover {
    background: var(--primary-brand-accent);
    border-color: var(--primary-brand-accent);
}

.btn-slider {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--input-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-slider:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-row {
    display: flex;
    flex-wrap: wrap;
}

.history-continue-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.history-continue-slider::-webkit-scrollbar {
    display: none;
}

.history-continue-slider .slider-col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

/* =========================================
        RESPONSIVE OVERRIDES
========================================= */
@media (max-width: 991px) {
    .btn-hamburger {
        display: block;
    }

    .btn-mobile-search {
        display: block;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .without-login .navbar-brand {
        position: relative;
        left: inherit;
        transform: inherit;
    }

    .sidebar-brand-box {
        display: block;
        padding: 16px 24px;
    }

    .slider-controls {
        display: flex;
    }

    .dashboard-slider-controls {
        display: flex;
    }

    .slider-row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: 15px;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .slider-row::-webkit-scrollbar {
        display: none;
    }

    .slider-col {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .history-continue-slider .slider-col {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .rel-thumb {
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .progress-bar-container {
        margin-top: 8px;
    }

    .btn-resume {
        margin-top: 10px;
        border-radius: 8px;
    }

    .sidebar-footer {
        margin-top: auto;
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
}

/* =========================================
        AUTHOR NOTES
========================================= */
.author-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: 24px;
    transition: 0.3s;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-brand-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.author-role {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--placeholder);
    margin-top: 4px;
    margin-bottom: 10px;
}

.author-credentials {
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--primary-brand-accent);
    margin: 0px;
    font-weight: 500;
}

.author-quote {
    font-style: italic;
    color: var(--primary-brand-light);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    margin-bottom: 16px;
    opacity: 0.9;
}

.author-bio {
    color: var(--primary-body-text);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
    margin-bottom: 16px;
}

.author-closing {
    color: var(--primary-body-text);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
}


@media (max-width: 991px) {

    .search-container.desktop-only {
        display: none;
    }

    .author-card {
        padding: 24px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: clamp(8px, 1vw, 10px);
    overflow-wrap: anywhere;
    word-break: normal;
}

.page-subtitle {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--white);
    margin-bottom: clamp(16px, 2vw, 24px);
}

/* =========================================
        PROFILE NOTES
========================================= */

.profile-banner {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-name {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    background: rgba(142, 139, 254, 0.15);
    color: var(--primary-brand-accent);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.banner-email {
    color: var(--placeholder);
    font-size: clamp(12px, 1.2vw, 14px);
    margin-top: 4px;
}

.profile-section-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
}

.section-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
}

.section-icon-title svg {
    color: var(--primary-brand-accent);
    width: 22px;
    height: 22px;
}

/* Form Logic & Dropdown Fix */
.form-label {
    color: var(--primary-body-text);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-control-rel,
.form-select-rel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--white);
    padding: 14px 18px;
    font-size: 14px;
    width: 100%;
    /* margin-bottom: 24px; */
    transition: 0.2s;
    color-scheme: dark;
}

.form-select-rel {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.phone-combo-field {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    overflow: visible;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.phone-combo-field:focus-within {
    border-color: var(--primary-brand-accent);
    background-color: rgba(0, 0, 0, 0.3);
}

.phone-combo-field.has-error {
    border-color: var(--danger-text);
    background-color: rgba(255, 95, 95, 0.05);
}

.phone-combo-field__country {
    flex-shrink: 0;
    border-right: 1px solid var(--input-border);
    position: relative;
}

.phone-combo-field__number {
    flex: 1;
    min-width: 0;
}

.phone-combo-field__input {
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    height: 52px;
    background: transparent;
    box-shadow: none !important;
}

.phone-combo-field__input {
    padding-left: 18px;
}

.phone-combo-field__input:focus {
    background: transparent;
}

.phone-country-picker {
    position: relative;
    height: 52px;
}

.phone-country-picker__native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.phone-country-picker__trigger {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    font-size: 16px;
    cursor: pointer;
}

.phone-country-picker__trigger-code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-country-picker__chevron {
    color: var(--placeholder);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.phone-country-picker.is-open .phone-country-picker__chevron {
    transform: rotate(180deg);
}

.phone-country-picker__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 340px;
    background: #141822;
    border: 1px solid var(--input-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: 8px;
    z-index: 40;
}

.phone-country-picker__search-wrap {
    background: #141822;
    padding-bottom: 8px;
}

.phone-country-picker__options {
    max-height: 240px;
    overflow-y: auto;
}

.phone-country-picker__search {
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.phone-country-picker__search::placeholder {
    color: var(--placeholder);
}

.phone-country-picker__search:focus {
    border-color: var(--primary-brand-accent);
}

.phone-combo-field__country .phone-country-picker__trigger,
.phone-combo-field__number .phone-combo-field__input {
    border-radius: 0;
    border: none;
}

.phone-country-picker__option {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.phone-country-picker__option:hover,
.phone-country-picker__option.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.phone-country-picker__option-name {
    font-size: 14px;
}

.phone-country-picker__option-code {
    color: var(--placeholder);
    font-size: 14px;
}

.phone-country-picker__empty {
    color: var(--placeholder);
    font-size: 14px;
    padding: 12px;
    text-align: center;
}

.phone-country-picker.is-invalid .phone-country-picker__trigger {
    color: var(--danger-text);
}

.form-control-rel:focus,
.form-select-rel:focus {
    outline: none;
    border-color: var(--primary-brand-accent);
}

.form-hint {
    font-size: 12px;
    color: var(--placeholder);
    /* margin-top: -18px; */
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-rel-primary {
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    transition: 0.2s;
}

.btn-rel-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-rel-outline {
    background: transparent;
    border: 1px solid var(--input-border);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    transition: 0.2s;
}

.btn-rel-outline:hover {
    background: rgba(255, 255, 255, 0.03);
}

.sub-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sub-label {
    color: var(--placeholder);
    font-size: clamp(12px, 1.2vw, 14px);
}

.sub-value {
    color: var(--white);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .phone-combo-field__country {
        width: 96px;
        min-width: 96px;
        border-right: 1px solid var(--input-border);
        border-bottom: 0;
    }

    .phone-country-picker__menu {
        left: 0;
        right: auto;
        width: min(340px, calc(100vw - 82px));
        min-width: 0;
        max-width: calc(100vw - 48px);
    }

    .phone-combo-field__input {
        min-width: 0;
    }
}

@media (max-width: 360px) {
    .phone-combo-field {
        flex-direction: column;
    }

    .phone-combo-field__country {
        width: 100%;
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid var(--input-border);
    }

    .phone-country-picker__menu {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
}

.history-section {
    margin-top: 32px;
}

.history-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    transition: 0.2s;
}

.history-card:hover {
    border-color: rgba(142, 139, 254, 0.4);
}

.history-thumb {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background: #878787;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-title {
    font-weight: 600;
    color: var(--white);
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 2px;
}

.history-meta {
    font-size: 12px;
    color: var(--placeholder);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.history-meta span::before {
    content: "•";
    margin-right: 8px;
}

.history-action-btn {
    background: none;
    border: none;
    color: var(--placeholder);
    cursor: pointer;
    transition: 0.2s;
}

.history-action-btn:hover {
    color: var(--primary-brand-accent);
}


.control-row {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.btn-delete {
    background: rgba(248, 113, 113, 0.05);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: var(--danger-text);
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-logout-full {
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 991px) {
    .history-thumb {
        width: 64px;
        height: 64px;
    }

    .control-row {
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    .history-card {
        flex-direction: column;
        align-items: start;
    }
}

/* =========================================
        MODAL POPUP
========================================= */
/* Bootstrap Modal Overrides */
.modal {
    z-index: 10001 !important;
}
.modal-backdrop {
    z-index: 10000 !important;
}

#changePasswordModal .modal-content-rel,
#deleteAccountModal .modal-content-rel,
#unsubscribeModal .modal-content-rel,
#renewSubscriptionModal .modal-content-rel,
#removeCardModal .modal-content-rel {
    background-color: var(--card-background) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 20px !important;
    color: var(--white) !important;
    padding: 0px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

#changePasswordModal .modal-header-rel,
#deleteAccountModal .modal-header-rel,
#unsubscribeModal .modal-header-rel,
#renewSubscriptionModal .modal-header-rel,
#removeCardModal .modal-header-rel {
    border: none !important;
}

#changePasswordModal .modal-title-rel,
#deleteAccountModal .modal-title-rel,
#unsubscribeModal .modal-title-rel,
#renewSubscriptionModal .modal-title-rel,
#removeCardModal .modal-title-rel {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
}

#changePasswordModal .show-password-check,
#deleteAccountModal .show-password-check,
#unsubscribeModal .show-password-check,
#renewSubscriptionModal .show-password-check,
#removeCardModal .show-password-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-body-text);
    font-size: clamp(12px, 1.2vw, 14px);
    cursor: pointer;
}

#changePasswordModal .show-password-check input,
#deleteAccountModal .show-password-check input,
#unsubscribeModal .show-password-check input,
#renewSubscriptionModal .show-password-check input,
#removeCardModal .show-password-check input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--primary-brand-accent);
    background: transparent;
    cursor: pointer;
}

#changePasswordModal .modal-footer-rel,
#deleteAccountModal .modal-footer-rel,
#unsubscribeModal .modal-footer-rel,
#renewSubscriptionModal .modal-footer-rel,
#removeCardModal .modal-footer-rel {
    border: none !important;
    gap: 6px;
    flex-wrap: nowrap !important;
}

#changePasswordModal .modal-footer-rel,
#deleteAccountModal .modal-footer-rel,
#unsubscribeModal .modal-footer-rel,
#renewSubscriptionModal .modal-footer-rel,
#removeCardModal .modal-footer-rel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px;
}

#changePasswordModal .btn-hero-primary,
#changePasswordModal .btn-hero-secondary,
#deleteAccountModal .btn-hero-primary,
#deleteAccountModal .btn-hero-secondary,
#unsubscribeModal .btn-hero-primary,
#unsubscribeModal .btn-hero-secondary,
#renewSubscriptionModal .btn-hero-primary,
#renewSubscriptionModal .btn-hero-secondary,
#removeCardModal .btn-hero-primary,
#removeCardModal .btn-hero-secondary {
    width: 50% !important;
    justify-content: center !important;
    padding: 0.8rem 0rem;
    font-weight: bold;
}

@media (max-width: 425px) {
    #changePasswordModal .modal-footer-rel,
    #deleteAccountModal .modal-footer-rel,
    #unsubscribeModal .modal-footer-rel,
    #renewSubscriptionModal .modal-footer-rel,
    #removeCardModal .modal-footer-rel {
        gap: 6px;
        flex-wrap: wrap !important;
        flex-direction: column-reverse !important;
    }

    #changePasswordModal .btn-hero-primary,
    #changePasswordModal .btn-hero-secondary,
    #deleteAccountModal .btn-hero-primary,
    #deleteAccountModal .btn-hero-secondary,
    #unsubscribeModal .btn-hero-primary,
    #unsubscribeModal .btn-hero-secondary,
    #renewSubscriptionModal .btn-hero-primary,
    #renewSubscriptionModal .btn-hero-secondary,
    #removeCardModal .btn-hero-primary,
    #removeCardModal .btn-hero-secondary {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem 0rem;
        font-weight: bold;
    }
}

/* =========================================
        PROFILE NOTES
========================================= */
.browse-section {
    margin-bottom: 56px;
}

.browse-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
}

.browse-section-header svg {
    color: var(--primary-brand-accent);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Cards Style - Precise Match to image_7.png */
.health-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 3vw, 24px) clamp(16px, 4vw, 32px);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.health-card:hover {
    border-color: rgba(142, 139, 254, 0.4);
    transform: translateY(-4px);
}

.health-card-title {
    color: var(--white);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.health-card-subtitle {
    color: var(--placeholder);
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 24px;
    line-height: clamp(1.2, 1.3vw, 1.4);
}

.health-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: var(--primary-brand-accent);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.health-card-footer svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}


/* =========================================
        Story Detail
========================================= */
/* Back Link */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-brand-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 24px;
    transition: 0.2s;
    overflow-wrap: anywhere;
    word-break: normal;
}

.btn-back:hover {
    opacity: 0.8;
}

.btn-back svg {
    width: 18px;
    height: 18px;
    stroke-width: 3;
}

/* Hero Image */
.story-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background-color: #1e293b;
}

.story-detail-title {
    color: var(--white);
    font-weight: 500;
    font-size: clamp(18px, 2.5vw, 22px);
}

.story-desc {
    color: var(--placeholder);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(1.4, 1.5vw, 1.6);
    margin-bottom: 28px;
}

/* Author Profile */
.author-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.author-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a3140;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--white);
    font-size: clamp(14px, 1.5vw, 16px);
}

.author-cred {
    color: var(--placeholder);
    font-size: clamp(12px, 1.2vw, 14px);
}

/* Primary Action */
.btn-start-listening {
    width: 100%;
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    padding: 16px;
    border-radius: 14px;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: 0.2s;
}

.btn-start-listening:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* About Section */
.about-story-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 60px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
}

.about-text {
    color: var(--primary-body-text);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
    margin-bottom: 24px;
}
.about-story-card ul li::marker {
    color: var(--primary-brand-accent);
}
.about-story-card ol li::marker {
    color: var(--primary-brand-accent);
}
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 24px;
    color: var(--primary-body-text);
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 12px;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-brand-accent);
    border-radius: 50%;
}

/* --- EPISODES LIST (RIGHT) --- */
.episodes-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.episode-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--input-border);
    border-radius: 18px;
    padding: clamp(16px, 3vw, 24px);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    position: relative;
}

.episode-item:hover {
    border-color: rgba(142, 139, 254, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.episode-item.active {
    border-color: var(--primary-brand-accent);
    background: rgba(142, 139, 254, 0.08);
}

.ep-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #2a3140;
    color: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: 0.2s;
}

.episode-item.active .ep-icon-box {
    background: var(--primary-brand-accent);
}

.story-ep-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.story-ep-toggle .play-icon {
    width: 16px;
    height: 16px;
}

.episode-item.active .ep-num-text,
.episode-item.is-active .ep-num-text {
    display: none;
}

.episode-item.active .story-ep-toggle,
.episode-item.is-active .story-ep-toggle {
    display: inline-flex;
}

.ep-content {
    flex: 1;
    overflow: hidden;
}

.ep-name {
    color: var(--white);
    font-weight: 700;
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ONE LINE METADATA (Match image_f514cd.png) */
.ep-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--placeholder);
    width: 100%;
}

.ep-time {
    flex-shrink: 0;
}

.ep-progress-container {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: none;
}

.episode-item.active .ep-progress-container {
    display: block;
}

.ep-progress-fill {
    height: 100%;
    background: var(--primary-brand-accent);
    border-radius: 100px;
}

/* Mini episode progress line is visual only (no seek interaction) */
.ep-progress-container,
.ep-progress-container .ep-progress-fill {
    cursor: default !important;
}

.ep-percent {
    color: var(--primary-brand-accent);
    font-weight: 800;
    font-size: clamp(10px, 1vw, 11px);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-premium-pill {
    background: rgba(142, 139, 254, 0.15);
    color: var(--primary-brand-accent);
    padding: 2px 10px;
    border-radius: 8px;
    font-size: clamp(10px, 1vw, 11px);
    font-weight: 700;
    margin-left: auto;
}

.unlock-card {
    background: linear-gradient(145deg, #1e293b, #0e1117);
    border: 1px solid var(--input-border);
    border-radius: 18px;
    padding: clamp(16px, 3vw, 24px);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.unlock-icon {
    color: var(--primary-brand-accent);
    margin-bottom: 10px;
}

.unlock-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.unlock-card p {
    color: var(--placeholder);
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

.btn-unlock {
    width: 100%;
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
    display: block;
    text-decoration: none;
}

.ep-action-box {
    width: 48px;
    height: 48px;
    background: #1D2330;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: 0.3s;
    padding: 0;
    outline: none;
}

.ep-action-box:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Replay Spin Animation */
@keyframes spinReplay {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ep-action-box.animating svg {
    animation: spinReplay 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom Feedback Button */
.btn-feedback {
    width: 100%;
    background: var(--primary-brand-accent);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: var(--white);
    font-weight: 500;
    margin-top: 15px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(142, 139, 254, 0.2);
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-feedback:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

@media (max-width: 991px) {

    .story-detail-right {
        margin-top: 48px;
    }
}

/* =========================================
        About Page
========================================= */
.about-hero {
    padding: 70px 0px;
}

.about-hero .title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.about-hero .title span {
    color: var(--primary-brand-accent);
}

.about-hero .subtitle {
    font-size: 15px;
    color: var(--placeholder);
    margin-bottom: 0;
}

/* --- SECTION: Content Blocks (Scoped) --- */
.content-section {
    margin-bottom: 48px;
}

.content-section p.text:last-child {
    margin-bottom: 0;
}

.content-section .heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.content-section .text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--white);
}

.content-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-section .feature-item {
    position: relative;
    padding-left: 30px;
    color: var(--primary-body-text);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.content-section .feature-item::before {
    content: "•";
    color: var(--primary-brand-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 25px;
    line-height: 1;
}

/* --- SECTION: Belief Cards (Scoped) --- */
.belief-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    height: 100%;
    transition: 0.3s;
}

.belief-card:hover {
    border-color: var(--primary-brand-accent);
}

.belief-card .header {
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.belief-card .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
}

.belief-card .dot.primary {
    background: var(--primary-brand-accent);
}

.belief-card .dot.secondary {
    background: #80e1ef;
}

.belief-card .dot.danger {
    background: #f87171;
}

.belief-card .dot.warning {
    background: #fbbf24;
}

.belief-card .body-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-body-text);
}


/* =========================================
        CheckOut Page
========================================= */
.checkout-main {
    padding: clamp(40px, 8vw, 80px) 0;
}

.checkout-header {
    text-align: center;
    margin-bottom: 48px;
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.checkout-subtitle {
    font-size: 16px;
    color: var(--placeholder);
}

.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.checkout-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 40px);
    margin-bottom: 24px;
}

.section-label {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
}

.form-group-rel {
    margin-bottom: 24px;
}


.input-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-wrap svg {
    position: absolute;
    color: var(--placeholder);
    z-index: 10;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.input-wrap.left-icon svg {
    left: 16px;
}

.input-wrap.left-icon .form-control-rel {
    padding-left: 52px !important;
}

.input-wrap.right-icon svg {
    right: 16px;
}

.input-wrap.right-icon .form-control-rel {
    padding-right: 52px !important;
}

.form-control-rel::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.btn-subscribe {
    width: 100%;
    background: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 24px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(142, 139, 254, 0.2);
}

.checkout-global-error {
    margin-top: 4px;
    margin-bottom: 12px;
}

.btn-subscribe:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(142, 139, 254, 0.3);
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 24px;
}

.custom-checkbox input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    accent-color: var(--primary-brand-accent);
    cursor: pointer;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.summary-row.total {
    border-top: 1px solid var(--input-border);
    padding-top: 24px;
    margin-top: 16px;
    color: var(--white);
    font-weight: 800;
    font-size: 24px;
    font-family: var(--font-heading);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--placeholder);
    font-size: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .rel-header .search-container {
        display: none;
    }

    .checkout-card {
        padding: 24px 20px;
    }

    .checkout-title {
        font-size: 32px;
    }

    .form-control-rel {
        height: 52px;
    }
}

/* =========================================
        Secure Checkout Page
========================================= */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.plan-card {
    background-color: transparent;
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.plan-info h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-price .amount {
    display: block;
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    text-align: right;
}

.saved-cards-container {
    margin-bottom: 24px;
}

.saved-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.saved-card:hover {
    border-color: rgba(142, 139, 254, 0.4);
}

.saved-card.active {
    border-color: var(--primary-brand-accent);
    background-color: rgba(142, 139, 254, 0.03);
}

.btn-card-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 10px;
    line-height: 1;
    transition: 0.2s;
}

.btn-card-remove:hover {
    color: #ffffff;
    border-color: rgba(248, 113, 113, 0.9);
    background: rgba(239, 68, 68, 0.5);
}

.btn-card-remove:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.saved-card[data-is-default="1"] .btn-card-remove {
    display: none !important;
}

.card-brand-logo {
    width: 54px;
    height: 34px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
}

.card-brand-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-details {
    flex: 1;
}

.card-details .numbers {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-details .numbers .dots {
    font-size: 24px;
    line-height: 0.5;
    position: relative;
    top: -4px;
}

.badge-default {
    background: rgba(142, 139, 254, 0.15);
    color: var(--primary-brand-accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: none;
}

.saved-card.active .badge-default {
    display: inline-block;
}

.btn-add-card {
    width: 100%;
    background: transparent;
    border: 1px dashed var(--input-border);
    color: var(--placeholder);
    padding: 18px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    margin-bottom: 40px;
    transition: 0.2s;
}

.btn-add-card:hover {
    color: var(--white);
    border-color: var(--primary-brand-accent);
}

.btn-pay {
    width: 100%;
    background: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 12px;
    transition: 0.3s;
}

.btn-pay:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.input-wrap.left-icon .form-control-rel {
    padding-left: 50px;
}

.input-wrap.right-icon svg {
    right: 16px;
}

.input-wrap.right-icon .form-control-rel {
    padding-right: 50px;
}

.form-control-rel:focus {
    outline: none;
    border-color: var(--primary-brand-accent);
    background: rgba(0, 0, 0, 0.3);
}

.custom-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
}

.custom-checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-brand-accent);
    cursor: pointer;
}

.custom-checkbox-container label {
    font-size: 14px;
    color: var(--primary-body-text);
    cursor: pointer;
    margin: 0;
}

.modal-rel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-rel-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-rel-content {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: clamp(20px, 3vw, 32px);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.btn-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--placeholder);
    font-size: 24px;
}

#toast {
    position: fixed;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background: var(--primary-brand-accent, #8e8bfe);
    padding: 13px 20px;
    border-radius: 100px;
    z-index: 9999;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    max-width: calc(100% - 29px);
    width: fit-content;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    animation: toastSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    pointer-events: none;
    letter-spacing: 0.01em;
}

@media (max-width: 480px) {
    #toast {
        bottom: 20px;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 12px;
        width: 100%;
    }
}

/* Success (default) */
#toast.toast-type-success,
#toast:not([class]) {
    background: var(--primary-brand-accent, #8e8bfe);
}

/* Error */
#toast.toast-type-error {
    background: #ef4444;
}

/* Warning */
#toast.toast-type-warning {
    background: #f59e0b;
    color: #0f172a;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .rel-header .navbar {
        padding: 0 15px;
    }

    .checkout-title {
        font-size: 32px;
    }

    .plan-card {
        flex-direction: column;
        padding: 24px;
    }

    .plan-price {
        text-align: left;
        margin-top: 15px;
    }
}

.btn-change-plan {
    color: var(--primary-brand-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

/* =========================================
        Contact Support
========================================= */
/* --- SECTION:  (Scoped) --- */
.contact-main {
    padding: clamp(60px, 10vh, 100px) 0;
    max-width: 960px;
    margin: 0 auto;
}


.contact-main .section-label {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    text-align: left;
}

/* Form Card Styling */
.contact-main .form-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: clamp(24px, 5vw, 48px);
    max-width: 960px;
    margin: 0 auto;
}

.contact-main .form-group {
    margin-bottom: 24px;
    text-align: left;
}

.contact-main .form-label {
    display: block;
    color: var(--primary-body-text);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-main .form-control-rel {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--white);
    font-size: 15px;
    transition: 0.2s;
}

.contact-main .form-control-rel:focus {
    outline: none;
    border-color: var(--primary-brand-accent);
    background: rgba(0, 0, 0, 0.3);
}

.contact-main textarea.form-control-rel {
    min-height: 180px;
    resize: vertical;
}

.contact-main .btn-send {
    width: 100%;
    background: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 12px;
    transition: 0.3s;
}

.contact-main .btn-send:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-main .response-hint {
    font-size: 13px;
    color: var(--placeholder);
    margin-top: 20px;
    text-align: center;
}

.contact-main .contactsupport-main {
    max-width: 960px;
    margin: 0 auto;
}

.response-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 15px;
}

/* =========================================
    Share Feedback
========================================= */
/* --- SECTION: Feedback Main (Scoped) --- */
.feedback-main {
    padding: 70px 0;
    max-width: 960px;
    margin: 0 auto;
}

.feedback-main .form-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 48px);
    margin: 0 auto;
}

.feedback-main .question-label {
    font-weight: 500;
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

/* Star Rating */
.feedback-main .star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
}

.feedback-main .star {
    cursor: pointer;
    color: #2a3140;
    transition: 0.2s;
}

.feedback-main .star.active {
    color: var(--placeholder);
}

.feedback-main .star.selected {
    color: #fbbf24;
}

/* Option List */
.feedback-main .option-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 40px;
}

.feedback-main .option-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.feedback-main .option-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feedback-main .option-item.selected {
    border-color: var(--primary-brand-accent);
    background: rgba(142, 139, 254, 0.05);
}

.feedback-main .radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feedback-main .option-item.selected .radio-circle {
    border-color: var(--primary-brand-accent);
}

.feedback-main .option-item.selected .radio-circle::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary-brand-accent);
    border-radius: 50%;
}

.feedback-main .option-text {
    font-size: 14px;
    color: var(--primary-body-text);
}

.feedback-main .option-item.selected .option-text {
    color: var(--white);
}

/* Textarea */
.feedback-main .textarea-wrap {
    margin-bottom: 40px;
}

.feedback-main .custom-textarea {
    width: 100%;
    min-height: 160px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    padding: 20px;
    color: var(--white);
    font-size: 15px;
    resize: vertical;
    outline: none;
}

.feedback-main .custom-textarea:focus {
    border-color: var(--primary-brand-accent);
}

.feedback-main .footer-note {
    font-size: 12px;
    color: var(--placeholder);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Buttons */
.feedback-main .action-btns {
    display: flex;
    gap: 16px;
}

.feedback-main .btn-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--input-border);
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.feedback-main .btn-submit {
    flex: 1;
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.feedback-main .btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .feedback-main .action-btns {
        flex-direction: column-reverse;
    }
}

/* =========================================
    Listening History
========================================= */
.continue-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.continue-card:hover {
    border-color: rgba(142, 139, 254, 0.4);
}

.card-header-flex {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.play-visual-box {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #2a3140;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.play-circle-inner {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brand-accent);
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.is-playing .play-circle-inner {
    background: var(--primary-brand-accent);
    color: var(--white);
}

.card-header-info {
    flex: 1;
    min-width: 0;
}

.card-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-brand-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.card-main-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.card-stats {
    font-size: 13px;
    color: var(--primary-body-text);
}

.progress-box {
    margin-bottom: 28px;
}

.progress-bar-rel {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-brand-accent);
    border-radius: 100px;
    box-shadow: 0 0 12px rgba(142, 139, 254, 0.3);
}

.btn-resume-ep {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--input-border);
    color: var(--white);
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.continue-card:hover .btn-resume-ep {
    background: var(--primary-brand-accent);
    border-color: var(--primary-brand-accent);
}

/* --- RECENTLY PLAYED LIST --- */
.recently-played-sec {
    margin-top: 56px;
    margin-bottom: 56px;
}

.played-row {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    transition: 0.2s;
    cursor: pointer;
}

.played-row:hover {
    border-color: rgba(142, 139, 254, 0.4);
}

.played-thumb-btn {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #2a3140;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.small-play-circle {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brand-accent);
    transition: 0.2s;
}

.played-row.is-playing .small-play-circle {
    background: var(--primary-brand-accent);
    color: var(--white);
}

.played-content {
    flex: 1;
    min-width: 0;
}

.played-title {
    color: var(--white);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.played-meta-flex {
    font-size: 14px;
    color: var(--primary-body-text);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dot-sep {
    width: 4px;
    height: 4px;
    background: var(--primary-body-text);
    border-radius: 50%;
    opacity: 0.4;
    display: inline-block;
}


/* --- PATTERN BANNER --- */
.pattern-banner-wrapper {
    background: linear-gradient(90deg, #8e8bfe 0%, #a78bfa 100%);
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 15px 35px rgba(142, 139, 254, 0.2);
}

.pattern-h {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* --- RESPONSIVE LOGIC --- */
.continue-grid-col {
    flex: 0 0 calc(33.333% - 16px);
}

@media (max-width: 1400px) {
    .continue-grid-col {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 1200px) {
    .continue-grid-col {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

@media (max-width: 767px) {
    .played-row {
        padding: 14px 10px;
        gap: 10px;
    }

    .played-thumb-btn {
        width: 48px;
        height: 48px;
    }

    .small-play-circle {
        width: 28px;
        height: 28px;
    }

    .pattern-banner-wrapper {
        padding: 24px;
    }

    .pattern-h {
        font-size: 20px;
    }
}



/* =========================================
        Payment Status
========================================= */
.status-main {
    padding: clamp(40px, 10vh, 100px) 0;
}

.status-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    padding: clamp(32px, 5vw, 60px);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: none;
}

.status-card.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Circles */
.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.icon-circle.success {
    background: #4ADE801F;
    border: 2px solid #4ADE804D;
    color: var(--success-green);
}

.icon-circle.failed {
    background: rgba(242, 78, 78, 0.1);
    border: 2px solid var(--danger-red);
    color: var(--danger-red);
}

.status-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.status-subtitle {
    color: var(--placeholder);
    font-size: 15px;
    margin-bottom: 48px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* Summary Table */
.summary-box {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    margin-bottom: 48px;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.summary-label {
    color: var(--placeholder);
    font-weight: 500;
}

.summary-value {
    color: var(--white);
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 24px 0;
}

/* Action Buttons */
.btn-status-primary {
    width: 100%;
    background: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.btn-status-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-status-secondary {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border: 1px solid var(--input-border);
    padding: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.btn-status-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

@media (max-width: 768px) {
    .status-card {
        padding: 32px 24px;
        border-radius: 20px;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .status-title {
        font-size: 28px;
    }
}

/* =========================================
        Payment History
========================================= */
/* Table Container */
.payment-main .table-container {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    overflow-x: auto;
}

.payment-main .history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 750px;
}

.payment-main .history-table th {
    padding: 20px 32px;
    font-size: 13px;
    font-weight: 600;
    color: var(--placeholder);
    text-transform: capitalize;
    border-bottom: 1px solid var(--input-border);
    text-align: center;
}

.payment-main .history-table td {
    padding: 20px 32px;
    font-size: 14px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    text-align: center;
}

.payment-main .history-table tr:last-child td {
    border-bottom: none;
}

/* Status & Link Styling */
.payment-main .status-paid {
    color: var(--success-green);
    background: rgba(52, 211, 153, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.payment-main .status-pending {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.14);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.payment-main .status-failed {
    color: #f87171;
    background: rgba(248, 113, 113, 0.14);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.payment-main .download-link {
    color: var(--primary-brand-accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    justify-content: center;
}

.payment-main .download-link-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(142, 139, 254, 0.25);
    border-top-color: var(--primary-brand-accent);
    display: none;
    flex-shrink: 0;
    animation: paymentDownloadSpin 0.8s linear infinite;
}

.payment-main .download-link.is-loading {
    opacity: 0.9;
    pointer-events: none;
}

.payment-main .download-link.is-loading .download-link-icon {
    display: none;
}

.payment-main .download-link.is-loading .download-link-spinner {
    display: inline-flex;
}

.payment-main .download-link:hover {
    opacity: 0.8;
}

@keyframes paymentDownloadSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Responsive Logic */
@media (max-width: 991px) {
    .payment-main {
        padding: 24px;
    }

    .payment-main .pagination-wrap {
        justify-content: center;
    }
}



/* Shared Section Block Logic */
.section-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-block:not(:last-child) {
    border-bottom: 1px solid var(--input-border);
}

/* Shared Button & Interactive States */
.btn-legal,
.btn-policy,
.pricing-sec .slider,
.pricing-sec .slider:before,
.pricing-sec .billing-toggle span {
    transition: all 0.2s ease-in-out;
}

.btn-legal:hover,
.btn-policy:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
/* =========================================
Privacy & Cookie Policy
========================================= */
.policy-main {
    padding: clamp(60px, 10vh, 100px) 0;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 40px;
    padding-bottom: 40px;
    text-align: left;
    border-bottom: 1px solid var(--input-border);
}

.policy-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.policy-title span {
    color: var(--primary-brand-accent);
}

.policy-date {
    display: block;
    color: var(--placeholder);
    font-size: 18px;
    margin-bottom: 24px;
}

.policy-intro {
    font-size: 16px;
    color: var(--primary-body-text);
}

.policy-intro:last-of-type {
    margin-bottom: 0;
}

.section-number-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.section-number-title span {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

.policy-text {
    font-size: 16px;
    color: var(--primary-body-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-text a {
    color: var(--primary-body-text);
}

.policy-text:last-child,
.policy-list:last-child {
    margin-bottom: 0;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}


.policy-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--primary-body-text);
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary-brand-accent);
    font-weight: bold;
}

.sub-heading {
    display: block;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    margin: 32px 0 16px;
}

/* =========================================
Pricing Section
========================================= */
.pricing-sec .status-box {
    max-width: 500px;
    margin: 40px auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    text-align: left;
}

.pricing-sec .status-box span {
    display: block;
    color: var(--placeholder);
    font-size: 12px;
    margin-bottom: 4px;
}

.pricing-sec .status-box h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.pricing-sec .status-box p {
    color: var(--placeholder);
    font-size: 13px;
    margin: 4px 0 0;
}

.pricing-sec .billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pricing-sec .billing-toggle span {
    font-weight: 600;
    font-size: 14px;
    color: var(--placeholder);
}

.pricing-sec .billing-toggle span.active {
    color: var(--white);
}

.pricing-sec .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.pricing-sec .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-sec .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--primary-body-text);
    border-radius: 34px;
}

.pricing-sec .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    border-radius: 50%;
}

.pricing-sec input:checked+.slider {
    background-color: var(--primary-brand-accent);
}

.pricing-sec input:checked+.slider:before {
    transform: translateX(24px);
}

.pricing-sec .save-badge {
    background: rgba(142, 139, 254, 0.15);
    color: #80e1ef;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(128, 225, 239, 0.2);
}

.pricing-sec ul li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--primary-body-text);
}

.pricing-sec .is-selected .btn-pricing {
    background: var(--primary-brand-accent);
    border: none;
}

.pricing-sec .mission-card {
    max-width: 750px;
    margin: 40px auto;
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    gap: 20px;
    background: rgba(142, 139, 254, 0.05);
    border: 1px solid rgba(142, 139, 254, 0.1);
    border-radius: 20px;
    text-align: left;
}

.pricing-sec .mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-brand-accent);
    color: var(--white);
    border-radius: 12px;
    font-weight: 800;
    font-size: 20px;
}

.pricing-sec .mission-card h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-sec .mission-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.pricing-sec .price-sub {
    color: var(--secondary-accent);
    min-height: 22px;
}

.pricing-sec .plan-description {
    color: var(--primary-body-text);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-sec .plan-description p:last-child {
    margin-bottom: 0;
}

.pricing-sec .plan-description ul,
.pricing-sec .plan-description ol {
    list-style: none;
    margin: 1.25rem 0 0;
    padding-left: 0;
}

.pricing-sec .plan-description li {
    position: relative;
    display: block;
    margin-bottom: 1rem;
    padding-left: 34px;
    color: var(--primary-body-text);
    line-height: 1.6;
}

.pricing-sec .plan-description li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(142, 139, 254, 0.15);
}

.pricing-sec .plan-description li::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    width: 7px;
    height: 4px;
    border-left: 2px solid var(--primary-brand-accent);
    border-bottom: 2px solid var(--primary-brand-accent);
    transform: rotate(-45deg);
}

.pricing-sec .pricing-card.is-selected .plan-description li::before {
    background-color: var(--primary-brand-accent);
}

.pricing-sec .pricing-card.is-selected .plan-description li::after {
    border-left-color: var(--white);
    border-bottom-color: var(--white);
}

.pricing-sec .plan-description li:last-child {
    margin-bottom: 0;
}

/* =========================================
Terms of Use
========================================= */
.terms-main {
    padding: clamp(60px, 10vh, 100px) 0;
    max-width: 960px;
    margin: 0 auto;
}

.terms-header {
    margin-bottom: 40px;
    padding-bottom: 40px;
    text-align: left;
    border-bottom: 1px solid var(--input-border);
}

.terms-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.terms-subtitle {
    max-width: 700px;
    font-size: 16px;
    color: var(--placeholder);
}

.terms-subtitle:last-of-type {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.section-title span {
    color: var(--placeholder);
    font-size: 18px;
    font-weight: 500;
}

.terms-text {
    font-size: 15px;
    color: var(--primary-body-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-text:last-of-type {
    margin-bottom: 0;
}

.billing-box {
    padding: clamp(16px, 2vw, 24px) clamp(18px, 3vw, 32px);
    margin: 24px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--input-border);
    border-radius: 16px;
}

.billing-box h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--primary-body-text);
}

.terms-list li svg {
    position: absolute;
    left: 0;
    color: var(--primary-brand-accent);
}

.medical-alert-card {
    padding: clamp(20px, 3vw, 32px);
    margin-top: 24px;
    background-color: rgba(142, 139, 254, 0.05);
    border: 1px solid rgba(142, 139, 254, 0.1);
    border-radius: 16px;
}

.medical-alert-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.medical-alert-card p {
    font-size: 14px;
    color: var(--primary-body-text);
    margin-bottom: 16px;
}

.medical-alert-card p:last-of-type {
    margin-bottom: 0;
}

.questions-card {
    max-width: 850px;
    padding: clamp(20px, 4vw, 40px);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--input-border);
    border-radius: 20px;
}

.questions-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.questions-card p {
    color: var(--placeholder);
    margin-bottom: 32px;
}

.questions-actions {
    display: flex;
    gap: 16px;
}

.btn-legal {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--input-border);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.btn-policy {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-brand-accent);
    border: none;
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* =========================================
Responsive Adjustments
========================================= */
@media (max-width: 991px) {
    .questions-actions {
        flex-direction: column;
    }
}



/* =========================================
Authentication
========================================= */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.side-visual {
    flex: 1;
    background: linear-gradient(135deg, #4c3b8a 0%, #0e1117 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
}

.visual-container {
    width: 85%;
    max-width: 580px;
    aspect-ratio: 1;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 0 120px rgba(142, 139, 254, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Side (Right) */
.side-content {
    flex: 1;
    background-color: var(--page-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    text-align: center;
}

/* --- Branding & Typography --- */
.logo-box {
    display: inline-block;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--placeholder);
    margin-bottom: 48px;
    line-height: 1.5;
}

/* --- Form Elements --- */
.form-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: clamp(24px, 5vw, 36px);
    text-align: left;
    width: 100%;
}

.form-card h5 {
    color: var(--white);
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    font-size: 13px;
    color: var(--placeholder);
    margin-bottom: 8px;
    display: block;
}

.form-label.required::after {
    content: " *";
    color: var(--danger-text);
}

.form-control-rel {
    width: 100%;
    height: 52px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 0 18px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.2s;
    margin-bottom: 0px;
}

.form-control-rel:focus {
    outline: none;
    border-color: var(--primary-brand-accent);
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: none;
    color: var(--white) !important;

}

.form-control-rel.is-invalid {
    border-color: var(--danger-text) !important;
    background-color: rgba(255, 95, 95, 0.05);
}

.phone-combo-field__input.is-invalid,
.phone-combo-field__select.is-invalid {
    border-color: transparent !important;
}

.form-select-rel.is-invalid {
    border-color: var(--danger-text) !important;
    background-color: rgba(255, 95, 95, 0.05);
}

.form-control-rel.is-invalid,
.form-control-rel.form-control.is-invalid,
input.form-control-rel:invalid {
    background-image: none !important;
    padding-right: 18px !important;
}

.form-select-rel.is-invalid,
.form-select-rel.form-select.is-invalid,
select.form-select-rel:invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
}

.form-control-rel.is-invalid:focus,
.form-control-rel.form-control.is-invalid:focus,
input.form-control-rel:invalid:focus,
.form-select-rel.is-invalid:focus,
.form-select-rel.form-select.is-invalid:focus,
select.form-select-rel:invalid:focus {
    box-shadow: none !important;
}

/* Keep auth validation style clean (no bootstrap/native invalid icon). */
.auth-wrapper .form-control-rel.form-control.is-invalid,
.auth-wrapper .was-validated .form-control-rel.form-control:invalid,
.auth-wrapper input.form-control-rel:invalid {
    background-image: none !important;
    padding-right: 18px !important;
}

.auth-wrapper .form-control-rel.form-control.is-invalid:focus,
.auth-wrapper .was-validated .form-control-rel.form-control:invalid:focus,
.auth-wrapper input.form-control-rel:invalid:focus {
    box-shadow: none !important;
}

.validation-msg {
    color: var(--danger-text);
    font-size: 14px;
    margin-top: 6px;
    font-weight: 600;
    padding-left: 2px;
    animation: slideIn 0.3s ease-out;
    display: none;
}

.validation-msg.is-visible {
    display: block;
}

.validation-msg ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-box {
    position: relative;
    display: flex;
    flex-direction: column;
}

.btn-toggle-eye {
    position: absolute;
    right: 16px;
    top: 26px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--placeholder);
    cursor: pointer;
    z-index: 5;
    padding: 5px;
    display: flex;
    align-items: center;
}

.btn-auth-primary {
    width: 100%;
    height: 54px;
    background-color: var(--primary-brand-accent);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-auth-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--white);
}

.success-circle {
    width: 56px;
    height: 56px;
    background: rgba(142, 139, 254, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-brand-accent);
}

.auth-footer {
    margin-top: 32px;
    font-size: 14px;
    text-align: center;
}

.link-accent {
    color: var(--primary-brand-accent);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.link-accent:hover {
    text-decoration: underline;
}

.legal-tagline {
    margin-top: 48px;
    font-size: 11px;
    color: var(--placeholder);
    opacity: 0.7;
}

.fade-in-view {
    animation: fadeIn 0.4s ease-out;
}

.brand-text-accent {
    color: var(--primary-brand-accent);
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .side-visual {
        display: none;
    }

    .side-content {
        flex: none;
        padding: 32px 20px 60px;
        width: 100%;
    }
}

/* --- SECTION: Invoice Container (Scoped) --- */
.invoice-wrapper {
    padding: clamp(40px, 8vw, 80px) 0;
    min-height: 100vh;
}

.invoice-card {
    background-color: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 24px;
    padding: clamp(24px, 5vw, 60px);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

/* Top Actions */
.invoice-card .top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.invoice-card .btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--placeholder);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.invoice-card .btn-back:hover {
    color: white;
}

.invoice-card .btn-print {
    background: var(--primary-brand-accent);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.invoice-card .btn-print:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Header Info */
.invoice-card .invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--input-border);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.invoice-card .brand-area .logo {
    height: 32px;
    margin-bottom: 16px;
}

.invoice-card .brand-area p {
    font-size: 14px;
    color: var(--placeholder);
    line-height: 1.5;
    margin: 0;
}

.invoice-card .invoice-title {
    text-align: right;
}

.invoice-card .invoice-title h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 0;
}

.invoice-card .invoice-title .status-badge {
    display: inline-block;
    background: rgba(52, 211, 153, 0.1);
    color: var(--success-green);
    padding: 4px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Billing Section */
.invoice-card .billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.invoice-card .info-block label {
    display: block;
    color: var(--placeholder);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.invoice-card .info-block p {
    font-size: 15px;
    color: white;
    line-height: 1.6;
    margin: 0;
}

.invoice-card .info-block .bold {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Items Table */
.invoice-card .items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.invoice-card .items-table th {
    padding: 16px 0;
    border-bottom: 2px solid var(--input-border);
    color: var(--placeholder);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.invoice-card .items-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--input-border);
    color: white;
    font-size: 15px;
}

.invoice-card .items-table .text-end {
    text-align: right;
}

/* Calculation Section */
.invoice-card .calc-area {
    display: flex;
    justify-content: flex-end;
}

.invoice-card .calc-table {
    width: 300px;
}

.invoice-card .calc-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.invoice-card .calc-row.total {
    border-top: 2px solid var(--primary-brand-accent);
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 800;
    font-size: 20px;
    color: white;
}

.invoice-card .calc-row label {
    color: var(--placeholder);
}

/* Footer Disclaimer */
.invoice-card .invoice-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--input-border);
    text-align: center;
}

.invoice-card .invoice-footer p {
    font-size: 13px;
    color: var(--placeholder);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 16px;
}

.invoice-card .invoice-footer .thank-you {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    font-size: 16px;
}

/* --- PRINT OPTIMIZATION --- */
@media print {
    .invoice-wrapper {
        padding: 0;
    }

    .invoice-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        max-width: 100% !important;
        background: white !important;
    }

    .top-actions,
    .btn-print {
        display: none !important;
    }

    .invoice-card .invoice-header,
    .invoice-card .items-table td,
    .invoice-card .calc-area,
    .invoice-card .billing-grid {
        border-color: #eee !important;
    }

    .invoice-card h1,
    .invoice-card .info-block p,
    .invoice-card .items-table td,
    .invoice-card .calc-row.total,
    .invoice-card .thank-you {
        color: black !important;
    }

    .invoice-card .status-badge {
        background: #eee !important;
        color: black !important;
        border: 1px solid #ccc;
    }
}

/* Responsive Mobile Adjustments */
@media (max-width: 768px) {
    .invoice-card .billing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .invoice-card .invoice-header {
        flex-direction: column;
        gap: 24px;
        text-align: left;
    }

    .invoice-card .invoice-title {
        text-align: left;
    }

    .invoice-card .items-table .hide-mobile {
        display: none;
    }
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: var(--placeholder);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--input-border);
}

.btn-google-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.btn-google-signin:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 2px 8px rgba(60, 64, 67, 0.15);
    color: #3c4043;
    text-decoration: none;
}

.btn-google-signin:active {
    background-color: #e8eaed;
    box-shadow: none;
}

.bg-primary-transparent {
    background-color: rgba(142, 139, 254, 0.15);
    color: var(--primary-brand-accent);
    border: 1px solid rgba(142, 139, 254, 0.2);
}
.checkout-main .stripe-input-wrap .stripe-element-host {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.checkout-main .stripe-input-wrap .stripe-element-host .StripeElement,
.checkout-main .stripe-input-wrap .stripe-element-host .__PrivateStripeElement {
    width: 100%;
}
.cta-card .btn-cta a {
    color: white;
    text-decoration: none;
}

 .map-image{
    border: 1px solid var(--input-border);
    border-radius: 12px;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .status-badge {
        flex-shrink: 0;
    }

    .profile-banner {
        align-items: start;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .history-player-info {
        width: 100%;
    }

    #pricingContainer.row > *:first-child {
        margin-top: 0;
    }

}
@media (max-width: 576px) {
    .card-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #pricingContainer.row > *:first-child {
        margin-top: 0;
    }
}
