/* ============================================================
   John Weekend – Main Stylesheet
   Primary: #F70353  Secondary: White
   Font: Inter (Google Fonts)
   ============================================================ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
    --primary: #F70353;
    --primary-dark: #c8023f;
    --primary-light: #ff1a6b;
    --primary-glow: rgba(247, 3, 83, 0.25);
    --bg: #0d0d14;
    --bg-card: #13131e;
    --bg-card2: #1a1a2e;
    --border: #2a2a40;
    --text: #f0f0f8;
    --text-muted: #8888aa;
    --text-light: #ccccdd;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(247, 3, 83, 0.3);
    --transition: 0.25s ease;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ─────────────────────────────────────────────────────────── 
   AUTH PAGES
   ─────────────────────────────────────────────────────────── */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(247, 3, 83, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(247, 3, 83, 0.05) 0%, transparent 50%);
    padding: 1.5rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 1.25rem;
    }

    .auth-title {
        font-size: 1.4rem;
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    color: var(--primary);
}

.auth-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ─── Forms ─────────────────────────────────────────────── */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select option {
    background: var(--bg-card);
}

.input-password-wrap {
    position: relative;
}

.toggle-pw {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    color: var(--text);
    padding: 0;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.925rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-card2);
    color: var(--text-light);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.w-full {
    width: 100%;
}

/* ─── Alerts ─────────────────────────────────────────────── */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert-info {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* ─────────────────────────────────────────────────────────── 
   PARTICLE CANVAS
   ─────────────────────────────────────────────────────────── */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}


/* ─────────────────────────────────────────────────────────── 
   LANDING PAGE – NAVBAR
   ─────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 20, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 4rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(8, 8, 12, 0.85);
    height: 64px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 3, 83, 0.05);
    border-bottom-color: rgba(247, 3, 83, 0.15);
}

/* Futuristic CSS Logo */
.brand-logo-futuristic {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
    user-select: none;
}

.brand-logo-futuristic .logo-j {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
}

.brand-logo-futuristic .logo-w {
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 1px;
    opacity: 0.9;
}

.brand-logo-futuristic::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.navbar-brand:hover .brand-logo-futuristic::after {
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-logo {
    font-size: 1.4rem;
}

.navbar-brand .brand-dot {
    color: var(--primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.navbar-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.navbar-nav a:hover {
    color: var(--text);
}

.navbar-nav a:hover::after,
.navbar-nav a.active-nav::after {
    width: 100%;
}

.navbar-nav a.active-nav {
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 101;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu a {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .mobile-btns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
}

.mobile-menu .mobile-btns a {
    border: none;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.mobile-overlay.open {
    display: block;
}

@media (max-width: 900px) {
    .navbar {
        padding: 0 1.5rem;
        height: 64px;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .nav-burger {
        display: flex;
    }
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(247, 3, 83, 0.1);
    border: 1px solid rgba(247, 3, 83, 0.35);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: fadeDown 0.6s ease both;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, #ccd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeDown 0.7s ease 0.1s both;
}

.hero h1 .accent {
    -webkit-text-fill-color: var(--primary);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeDown 0.7s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeDown 0.7s ease 0.3s both;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeUp 0.8s ease 0.5s both;
}

.sw-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    transition: all var(--transition);
}

.sw-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(247, 3, 83, 0.08);
}

/* ─── FEATURES SECTION ───────────────────────────────────── */
.section {
    padding: 5.5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(247, 3, 83, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(247, 3, 83, 0.2);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.section-sub {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(247, 3, 83, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(247, 3, 83, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(247, 3, 83, 0.1);
    border: 1px solid rgba(247, 3, 83, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.hiw-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.hiw-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.hiw-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: 2.4rem;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
    z-index: 2;
}

.hiw-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.hiw-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(247, 3, 83, 0.15), rgba(247, 3, 83, 0.05));
    border: 2px solid rgba(247, 3, 83, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
    transition: all 0.3s;
}

.hiw-card:hover .hiw-icon {
    background: rgba(247, 3, 83, 0.2);
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 24px var(--primary-glow);
}

.hiw-step-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-connector {
    display: none;
}

.hiw-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hiw-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hiw-cta {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .hiw-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hiw-card:nth-child(2)::after {
        display: none;
    }

    .hiw-card:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .hiw-grid {
        grid-template-columns: 1fr;
    }

    .hiw-card::after {
        display: none !important;
    }
}

/* ─── REVIEWS SECTION ────────────────────────────────────── */
.reviews-section {
    padding: 7rem 0;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(247, 3, 83, 0.03) 0%, transparent 70%);
}

.reviews-outer {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    width: max-content;
    animation: reviewsScroll 40s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes reviewsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 380px;
    max-width: calc(100vw - 3rem);
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(247, 3, 83, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(247, 3, 83, 0.1);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.07;
    font-family: serif;
    font-weight: 900;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 16px rgba(247, 3, 83, 0.25);
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    flex: 1;
}

.review-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tag-title {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.tag-product {
    font-size: 0.72rem;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid rgba(247, 3, 83, 0.2);
}

.no-reviews {
    text-align: center;
    width: 100%;
    color: var(--text-muted);
    padding: 4rem 2rem;
    font-size: 1.1rem;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-card2) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(247, 3, 83, 0.25);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 0 80px rgba(247, 3, 83, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(247, 3, 83, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(247, 3, 83, 0.1);
    border: 1px solid rgba(247, 3, 83, 0.3);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.cta-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.cta-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cta-trust-row span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ─── CONTACT SECTION ────────────────────────────────────── */
.contact-section {
    padding: 5.5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(247, 3, 83, 0.1);
    border: 1px solid rgba(247, 3, 83, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-item>div>div:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

/* ─── NEWSLETTER BAR ─────────────────────────────────────── */
.newsletter-bar {
    background: linear-gradient(135deg, rgba(247, 3, 83, 0.08), rgba(247, 3, 83, 0.03));
    border-top: 1px solid rgba(247, 3, 83, 0.15);
    border-bottom: 1px solid rgba(247, 3, 83, 0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.newsletter-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 280px;
    max-width: 440px;
}

.newsletter-form input {
    flex: 1;
    min-width: 180px;
}

.newsletter-msg {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.88rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.social-btn:hover {
    border-color: var(--primary);
    background: rgba(247, 3, 83, 0.1);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-light);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-trust span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 920px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── ONLINE DOT ─────────────────────────────────────────── */
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    }

    50% {
        box-shadow: 0 0 12px rgba(16, 185, 129, 1);
    }
}

/* ─── WIDGET PULSE ────────────────────────────────────────── */
.widget-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--primary);
    animation: widgetPulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes widgetPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

/* ─────────────────────────────────────────────────────────── 
   DASHBOARD LAYOUT
   ─────────────────────────────────────────────────────────── */
.dashboard-layout {
    display: flex;
    height: 100vh;
    background: var(--bg);
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 50;
}

.sidebar-logo {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.sidebar-logo .sl {
    color: var(--primary);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(247, 3, 83, 0.1);
    color: var(--text);
}

.sidebar-nav a.active {
    color: var(--primary);
}

.sidebar-nav a .nav-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-nav a .badge {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid var(--border);
}

/* Dashboard main content */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    /* Critical for restricted flex-based height */
    overflow-x: hidden;
}

.dash-header {
    background: rgba(19, 19, 30, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dash-header-title {
    font-size: 1rem;
    font-weight: 600;
}

.dash-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
    font-size: 1.2rem;
}

.dash-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    min-height: 0;
    /* Block stacking is more reliable for long content in scroll containers */
    /* Important for flex-child scrolling */
}


/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color var(--transition);
}

.stat-card:hover {
    border-color: rgba(247, 3, 83, 0.3);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(247, 3, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-card-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, rgba(247, 3, 83, 0.15), rgba(247, 3, 83, 0.05));
    border: 1px solid rgba(247, 3, 83, 0.25);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.announcement-banner .ann-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.announcement-banner h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.announcement-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Page section cards */
.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.page-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-card-header h2 {
    font-size: 1rem;
    font-weight: 600;
}

.page-card-body {
    padding: 1.25rem;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.product-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.product-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.badge-status {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.badge-inactive {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.badge-open {
    background: rgba(247, 3, 83, 0.12);
    color: var(--primary);
}

.badge-closed {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.product-details {
    font-size: 0.83rem;
    color: var(--text-muted);
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    max-height: 120px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────────────────── 
   CHAT UI
   ─────────────────────────────────────────────────────────── */
.chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.mobile-back-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition);
}

.mobile-back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chat-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.chat-status-dot.offline {
    background: var(--text-muted);
    box-shadow: none;
}

.chat-messages,
.lc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scroll-behavior: smooth;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
}

.chat-messages::-webkit-scrollbar,
.lc-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-thumb,
.lc-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    margin-bottom: 0.15rem;
}

.msg-row.sent {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-card2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.msg-avatar.admin-av {
    background: var(--primary);
    color: #fff;
}

.msg-bubble {
    max-width: 80%;
    padding: 0.6rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.msg-row.received .msg-bubble {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text);
}

.msg-row.sent .msg-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    opacity: 0.8;
}

.msg-row.sent .msg-time {
    text-align: right;
}

.msg-image {
    max-width: 240px;
    border-radius: 12px;
    margin-top: 0.4rem;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-footer {
    border-top: 1px solid var(--border);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.01);
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0.55rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    font-family: inherit;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-attach-btn,
.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.chat-attach-btn {
    background: var(--bg-card2);
    color: var(--text-muted);
    font-size: 1.0rem;
}

.chat-attach-btn:hover {
    color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 2px 8px var(--primary-glow);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
}

.chat-attach-preview {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-attach-preview .rm-att {
    cursor: pointer;
    color: var(--danger);
    font-weight: 700;
    margin-left: 0.3rem;
}

.chat-conv-closed {
    text-align: center;
    padding: 1.25rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(107, 114, 128, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

/* ─── TICKETS TABLE ──────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th {
    text-align: left;
    padding: 0.65rem 1rem;
    background: var(--bg-card2);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ─── PROFILE ────────────────────────────────────────────── */
.profile-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(247, 3, 83, 0.3);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── GUEST CHAT WIDGET ──────────────────────────────────── */
.chat-widget-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
}

.chat-widget-btn .widget-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--warning);
    color: #000;
    border-radius: 50%;
    display: none;
}

/* Glassy Chat Widget Redesign */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), #ff4d8d);
    border: none;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 15px 35px -10px rgba(247, 3, 83, 0.5);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-widget-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 45px -12px rgba(247, 3, 83, 0.6);
}

.chat-widget-btn #widgetIcon {
    font-size: 32px;
}

.chat-widget-panel {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
}

.chat-widget-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.widget-header {
    background: linear-gradient(90deg, rgba(247, 3, 83, 0.15), transparent);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-header-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.widget-header-info p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-header-info p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.widget-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: none;
}

.widget-messages::-webkit-scrollbar {
    display: none;
}

.widget-footer {
    padding: 20px 24px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-row {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.chat-input-row:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px -5px rgba(247, 3, 83, 0.2);
}

.chat-input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 14px;
    flex: 1;
    font-size: 0.95rem;
}

.chat-input:focus {
    outline: none;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    background: #ff2d7a;
}

/* Premium Payment Card */
.payment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    max-width: 440px;
    position: relative;
    overflow: hidden;
}

.fulfillment-card {
    max-width: 440px;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 3, 83, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.payment-card .btn-pay {
    background: linear-gradient(90deg, var(--primary), #ff4d8d);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 16px;
    display: block;
    text-align: center;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 10px 25px -5px rgba(247, 3, 83, 0.4);
    transition: all 0.3s ease;
}

.payment-card .btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(247, 3, 83, 0.5);
}

.widget-guest-form {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    flex: 1;
}

.widget-guest-form h4 {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.widget-guest-form p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ─── MODAL ──────────────────────────────────────────────── */
.admin-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.admin-modal-overlay.open {
    display: flex;
}

.admin-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.widget-guest-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    text-align: center;
}

.widget-guest-form h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.widget-guest-form p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* ─── NEWSLETTER MODAL ────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    box-shadow: 0 40px 100px rgba(247, 3, 83, 0.15);
    animation: modalScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--text);
}

/* ─── Overlay (mobile sidebar) ───────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 49;
}

/* ─── Mobile Responsive Dashboard ───────────────────────── */
@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
        z-index: 50;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.open {
        display: block;
    }

    .burger-btn {
        display: flex;
    }

    .dashboard-layout {
        display: block;
        height: auto;
        overflow: visible;
    }

    .dashboard-main {
        min-height: 100vh;
    }

    .chat-container {
        height: calc(100svh - 130px);
        min-height: 400px;
    }

    .chat-header {
        padding: 0.75rem 1rem;
    }

    .chat-messages,
    .lc-messages {
        padding: 1rem;
        gap: 0.4rem;
    }

    .msg-bubble {
        max-width: 90%;
        padding: 0.5rem 0.85rem;
    }

    .mobile-back-btn {
        display: flex;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dash-content {
        padding: 1rem;
    }

    .chat-widget-panel {
        width: calc(100vw - 2rem);
        right: 1rem;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.6rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ─── FAQ SECTION ───────────────────────────────────── */
.faq-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(247, 3, 83, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.open {
    border-color: var(--primary);
    background: rgba(247, 3, 83, 0.02);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── Utility ────────────────────────────────────────────── */
.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.font-bold {
    font-weight: 700;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.justify-between {
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────── 
   LIVE CHAT PAGE
   ─────────────────────────────────────────────────────────── */
.livechat-body {
    background: var(--bg);
}

.livechat-main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    /* Navbar height */
    padding-bottom: 40px;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(247, 3, 83, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(247, 3, 83, 0.03), transparent 30%);
    overflow: hidden;
}

.livechat-container {
    width: 95%;
    max-width: 900px;
    height: 80vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.livechat-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.livechat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lch-agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lch-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.lch-name {
    font-weight: 700;
    font-size: 1rem;
}

.lch-status {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
}

.lc-guest-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.lc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.lc-messages-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lc-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.lc-msg-agent {
    align-self: flex-start;
}

.lc-msg-user {
    align-self: flex-end;
}

.lc-bubble {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lc-msg-agent .lc-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
}

.lc-msg-user .lc-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.lc-footer {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .livechat-main {
        padding-top: 64px;
        /* Mobile navbar height */
    }

    .livechat-container {
        width: 100%;
        height: calc(100svh - 64px);
        /* Use svh for safer mobile height */
        border-radius: 0;
        border: none;
        margin: 0;
    }

    .lc-bubble {
        max-width: 90%;
    }
}

/* ─── VISITOR POPUP (Site-wide) ────────────────────────── */
#sitePopupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

#sitePopupOverlay.show {
    display: flex;
}

#sitePopupBox {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 40px rgba(247, 3, 83, 0.1);
    animation: popupIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#sitePopupImg {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

#sitePopupTitle {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

#sitePopupText {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-x-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.popup-x-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

#sitePopupBtn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

#sitePopupBtn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

#sitePopupClose {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

#sitePopupClose:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* ═══════════════════════════════════════════════════════════
   CHAT PICKER WIDGET
   ═══════════════════════════════════════════════════════════ */

.chat-picker-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.chat-picker-trigger {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff4d8d 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 12px 32px -8px rgba(247, 3, 83, 0.55);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    flex-shrink: 0;
}

.chat-picker-trigger:hover {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 18px 40px -10px rgba(247, 3, 83, 0.65);
}

.chat-picker-trigger .chat-picker-icon-close {
    position: absolute;
    font-size: 22px;
    font-style: normal;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    transition: all 0.3s ease;
}

.chat-picker-trigger .chat-picker-icon-open {
    transition: all 0.3s ease;
}

.chat-picker-trigger.cp-open .chat-picker-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.chat-picker-trigger.cp-open .chat-picker-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

@keyframes cpPulseOnce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
        box-shadow: 0 18px 44px -8px rgba(247, 3, 83, 0.7);
    }

    100% {
        transform: scale(1);
    }
}

.chat-picker-trigger.cp-pulse-once {
    animation: cpPulseOnce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-picker-menu {
    width: 320px;
    background: rgba(14, 14, 22, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(247, 3, 83, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.28s;
    pointer-events: none;
}

.chat-picker-menu.cp-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-picker-header {
    padding: 1rem 1.25rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(247, 3, 83, 0.14) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: -0.01em;
}

.chat-picker-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s ease, transform 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.chat-picker-option:last-of-type {
    border-bottom: none;
}

.chat-picker-option:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.04);
}

.chat-picker-telegram .cpo-icon {
    background: rgba(40, 168, 234, 0.15);
    border-color: rgba(40, 168, 234, 0.3);
    color: #29b6f6;
}

.chat-picker-livechat .cpo-icon {
    background: rgba(247, 3, 83, 0.12);
    border-color: rgba(247, 3, 83, 0.25);
    color: var(--primary);
    font-size: 1.2rem;
}

.cpo-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.chat-picker-telegram .cpo-icon svg {
    width: 22px;
    height: 22px;
}

.chat-picker-option:hover .cpo-icon {
    transform: scale(1.1);
}

.cpo-body {
    flex: 1;
    min-width: 0;
}

.cpo-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.cpo-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.cpo-arrow {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.chat-picker-option:hover .cpo-arrow {
    transform: translateX(4px);
    color: var(--text-light);
}

.chat-picker-footer {
    padding: 0.7rem 1.25rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cp-online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .chat-picker-wrap {
        bottom: 16px;
        right: 14px;
    }

    .chat-picker-menu {
        width: calc(100vw - 28px);
    }
}