
/* SOLUTION - Main Stylesheet */
/* Luxury Black & White Premium Platform */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #f9f9f9;
    --gray-100: #f3f3f3;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-400: #a0a0a0;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.20);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--black);
}
a { color: var(--black); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gray-600); }
img { max-width: 100%; }

/* ---- NAVBAR ---- */
.wh-navbar {
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}
.wh-navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}
.wh-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.navbar-toggler {
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    color: var(--black);
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(0,0,0,0.15); }
.wh-navbar .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.wh-navbar .nav-link:hover, .wh-navbar .nav-link.active {
    color: var(--black) !important;
    background: var(--gray-100);
}
.nav-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}
.badge-dot {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--black);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.wh-dropdown {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
}
.wh-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.wh-dropdown .dropdown-item:hover { background: var(--gray-100); }
.dropdown-user-info { padding: 8px 12px; }
.du-name { font-weight: 600; font-size: 0.9rem; }
.du-role { font-size: 0.78rem; color: var(--gray-500); text-transform: capitalize; }

/* Notification Dropdown */
.notif-dropdown {
    width: 320px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0;
    overflow: hidden;
}
.notif-header {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}
.notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: var(--gray-50); }
.notif-title { font-weight: 600; font-size: 0.83rem; }
.notif-msg { font-size: 0.78rem; color: var(--gray-500); }
.notif-time { font-size: 0.72rem; color: var(--gray-400); }
.notif-footer {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
}
.notif-loading { padding: 20px; text-align: center; color: var(--gray-400); font-size: 0.85rem; }

/* ---- BUTTONS ---- */
.btn-wh-primary {
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 10;
}
.btn-wh-primary:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-wh-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
    border-radius: var(--radius-md);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-wh-outline:hover {
    background: var(--black);
    color: var(--white);
}
.btn-wh-ghost {
    background: var(--gray-100);
    color: var(--gray-800);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 22px;
    font-weight: 500;
    transition: var(--transition);
}
.btn-wh-ghost:hover { background: var(--gray-200); }

/* ---- HERO SLIDER ---- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--black);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 1.2s ease;
    transform: scale(1.04);
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-900);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 680px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 20px;
}
.hero-title span { color: var(--gray-300); }
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-wh-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
}
.hero-actions .btn-wh-outline {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.hero-actions .btn-wh-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}
.hero-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}
.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 10;
}
.hero-arrow {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-stats {
    position: absolute;
    bottom: 90px;
    right: 48px;
    display: flex;
    gap: 20px;
    z-index: 10;
}
.hero-stat {
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-align: center;
    color: var(--white);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
}
.hero-stat-label { font-size: 0.72rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- ADVERTISING SLIDER ---- */
.ads-slider-section {
    background: var(--gray-900);
    padding: 0;
    overflow: hidden;
}
.ads-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ads-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
}
.ads-slide-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 60px;
}
.ads-slide-img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: var(--gray-800);
}
.ads-slide-img-placeholder {
    width: 160px;
    height: 120px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}
.ads-slide-content { flex: 1; color: var(--white); }
.ads-slide-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.ads-slide-desc { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 20px; }
.ads-controls {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ads-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: var(--transition);
}
.ads-dot.active { background: var(--white); height: 18px; border-radius: 3px; }
.ads-prev, .ads-next {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.ads-prev { left: 16px; }
.ads-next { right: 60px; }
.ads-prev:hover, .ads-next:hover { background: rgba(255,255,255,0.2); }

/* ---- SECTIONS ---- */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
}

/* ---- WORKER CARDS ---- */
.worker-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 18px;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    height: auto;
    display: flex;
    flex-direction: column;
}
.worker-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
    z-index: -1;
}
.worker-card:hover {
    border-color: var(--black);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.worker-card:hover .worker-name,
.worker-card:hover .worker-category,
.worker-card:hover .worker-location { color: inherit; }
.worker-avatar-wrap { position: relative; display: inline-block; margin-bottom: 12px; }
.worker-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-100);
}
.worker-status {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: var(--gray-400);
}
.worker-status.available { background: #22c55e; }
.worker-status.busy { background: #f59e0b; }
.worker-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.worker-category { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 8px; }
.worker-stars { color: var(--black); font-size: 0.8rem; }
.worker-rating-num { font-size: 0.75rem; color: var(--gray-500); margin-left: 4px; }
.worker-location {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.worker-rate {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 8px;
}
.worker-rate span { font-size: 0.7rem; font-family: var(--font-body); font-weight: 400; color: var(--gray-500); }
.worker-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.worker-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
}
.worker-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100); display: flex; gap: 6px; position: relative; z-index: 10; }
.worker-card-footer .btn { flex: 1; font-size: 0.8rem; padding: 6px 10px; cursor: pointer; }
.worker-card-footer a { position: relative; z-index: 10; }

/* ---- CATEGORY CARDS ---- */
.category-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--black);
    display: block;
}
.category-card:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-icon {
    width: 56px; height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
    font-size: 1.4rem;
}
.category-card:hover .category-icon { background: rgba(255,255,255,0.12); }
.category-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.category-count { font-size: 0.78rem; color: var(--gray-500); transition: var(--transition); }
.category-card:hover .category-count { color: rgba(255,255,255,0.6); }

/* ---- STATS SECTION ---- */
.stats-section {
    background: var(--black);
    color: var(--white);
}
.stat-item { text-align: center; padding: 20px; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    display: block;
}
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 4px; }

/* ---- HOW IT WORKS ---- */
.hiw-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.hiw-num {
    width: 52px; height: 52px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.hiw-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.hiw-desc { font-size: 0.88rem; color: var(--gray-500); }
.hiw-connector {
    position: absolute;
    top: 52px;
    right: -24px;
    width: 48px;
    height: 2px;
    background: var(--gray-200);
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
}
.testimonial-stars { color: var(--black); font-size: 1rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray-700); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--gray-300); }
.testimonial-name { font-weight: 700; font-size: 0.88rem; }
.testimonial-role { font-size: 0.78rem; color: var(--gray-500); }

/* ---- CTA SECTION ---- */
.cta-section {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    top: -100px; left: -100px;
}
.cta-section::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -50px; right: -50px;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-desc { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 480px; margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn-wh-primary {
    background: var(--white);
    color: var(--black);
    padding: 14px 28px;
    font-size: 0.95rem;
}
.cta-actions .btn-wh-primary:hover { background: var(--gray-100); color: var(--black); }
.cta-actions .btn-wh-outline {
    border-color: rgba(255,255,255,0.35);
    color: var(--white);
    padding: 14px 28px;
}
.cta-actions .btn-wh-outline:hover { background: var(--white); color: var(--black); }

/* ---- FOOTER ---- */
.wh-footer {
    background: var(--black);
    color: var(--white);
    padding: 70px 0 0;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter .form-control {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 14px;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter .form-control:focus { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); box-shadow: none; color: var(--white); }
.footer-newsletter .btn-wh-primary { white-space: nowrap; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 50px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ---- FORMS ---- */
.wh-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--black);
}
.form-control:focus, .form-select:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.07);
    outline: none;
}
.form-label { font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--gray-700); }
.form-text { font-size: 0.78rem; color: var(--gray-500); }
.invalid-feedback { font-size: 0.78rem; }

/* ---- DASHBOARD ---- */
.dash-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 80px;
    z-index: 100;
    transition: var(--transition);
}
.dash-sidebar-inner { padding: 20px 16px; height: 100%; overflow-y: auto; }
.dash-main {
    margin-left: 260px;
    min-height: 100vh;
    background: var(--gray-50);
    padding: 32px;
}
.dash-nav-group { margin-bottom: 28px; }
.dash-nav-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); padding: 0 12px; margin-bottom: 6px; }
.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 2px;
}
.dash-nav-item:hover { background: var(--gray-100); color: var(--black); }
.dash-nav-item.active { background: var(--black); color: var(--white); }
.dash-nav-badge {
    margin-left: auto;
    background: var(--black);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}
.dash-nav-item.active .dash-nav-badge { background: var(--white); color: var(--black); }

/* Dashboard Cards */
.dash-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition);
}
.dash-stat-card:hover { box-shadow: var(--shadow-md); }
.dash-stat-card.dark { background: var(--black); border-color: var(--black); }
.dash-stat-card.dark .dash-stat-label { color: rgba(255,255,255,0.5); }
.dash-stat-card.dark .dash-stat-value { color: var(--white); }
.dash-stat-label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; margin-bottom: 8px; }
.dash-stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--black); }
.dash-stat-change { font-size: 0.78rem; color: var(--gray-500); margin-top: 4px; }
.dash-stat-icon {
    width: 44px; height: 44px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* ---- TABLES ---- */
.wh-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.wh-table table { margin: 0; }
.wh-table thead th {
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 20px;
}
.wh-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; vertical-align: middle; }
.wh-table tbody tr:last-child td { border-bottom: none; }
.wh-table tbody tr:hover td { background: var(--gray-50); }

/* ---- STATUS BADGES ---- */
.badge-status {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-open { background: var(--gray-100); color: var(--gray-700); }
.badge-active { background: #f0fdf4; color: #15803d; }
.badge-pending { background: #fffbeb; color: #b45309; }
.badge-completed { background: #f0fdf4; color: #15803d; }
.badge-cancelled { background: #fef2f2; color: #b91c1c; }
.badge-rejected { background: #fef2f2; color: #b91c1c; }
.badge-approved { background: #f0fdf4; color: #15803d; }

/* ---- CHAT ---- */
.chat-layout { display: flex; height: calc(100vh - 72px); }
.chat-sidebar { width: 300px; border-right: 1px solid var(--gray-200); display: flex; flex-direction: column; }
.chat-list-header { padding: 20px; border-bottom: 1px solid var(--gray-100); }
.chat-list { overflow-y: auto; flex: 1; }
.chat-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}
.chat-item:hover { background: var(--gray-50); }
.chat-item.active { background: var(--black); }
.chat-item.active .chat-item-name, .chat-item.active .chat-item-preview { color: var(--white); }
.chat-item-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--gray-200); flex-shrink: 0; }
.chat-item-name { font-weight: 600; font-size: 0.88rem; }
.chat-item-preview { font-size: 0.78rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-time { font-size: 0.7rem; color: var(--gray-400); white-space: nowrap; }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-header { padding: 16px 24px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 12px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { display: flex; gap: 10px; max-width: 75%; }
.chat-msg.sent { flex-direction: row-reverse; align-self: flex-end; }
.chat-msg-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-bubble {
    background: var(--gray-100);
    border-radius: 18px 18px 18px 4px;
    padding: 10px 16px;
    font-size: 0.88rem;
    max-width: 100%;
}
.chat-msg.sent .chat-bubble {
    background: var(--black);
    color: var(--white);
    border-radius: 18px 18px 4px 18px;
}
.chat-msg-time { font-size: 0.7rem; color: var(--gray-400); text-align: right; margin-top: 3px; }
.chat-input-area { padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; align-items: flex-end; }
.chat-input-area .form-control { border-radius: var(--radius-lg); resize: none; max-height: 120px; }
.chat-send-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.chat-send-btn:hover { background: var(--gray-800); }

/* ---- SEARCH/FILTERS ---- */
.search-bar {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--black); box-shadow: var(--shadow-md); }
.search-bar input { border: none; outline: none; flex: 1; font-size: 0.9rem; background: transparent; }
.search-bar .btn-wh-primary { border-radius: var(--radius-lg); padding: 10px 20px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-chip:hover, .filter-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---- PREDICTIONS ---- */
.prediction-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition);
}
.prediction-card:hover { box-shadow: var(--shadow-md); }
.pred-league { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.pred-match { font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.pred-details { display: flex; gap: 14px; flex-wrap: wrap; }
.pred-detail { background: var(--gray-50); border-radius: var(--radius-sm); padding: 8px 14px; font-size: 0.82rem; }
.pred-detail-label { font-size: 0.7rem; color: var(--gray-500); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.pred-detail-value { font-weight: 700; font-size: 0.9rem; }
.pred-locked {
    text-align: center;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1.5px dashed var(--gray-300);
}

/* ---- ALERTS ---- */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.88rem;
}
.alert-success { background: #f0fdf4; color: #15803d; }
.alert-danger { background: #fef2f2; color: #b91c1c; }
.alert-info { background: var(--gray-50); color: var(--gray-700); border: 1px solid var(--gray-200); }
.alert-warning { background: #fffbeb; color: #b45309; }

/* ---- PAGINATION ---- */
.wh-pagination { display: flex; gap: 6px; align-items: center; }
.wh-page-btn {
    width: 38px; height: 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--gray-700);
}
.wh-page-btn:hover, .wh-page-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---- LOADING SPINNER ---- */
.wh-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- MODAL ---- */
.modal-content {
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
}
.modal-header { border-bottom: 1px solid var(--gray-100); padding: 20px 24px; }
.modal-footer { border-top: 1px solid var(--gray-100); padding: 16px 24px; }
.btn-close { opacity: 0.5; }
.btn-close:hover { opacity: 1; }

/* ---- STAR RATING INPUT ---- */
.stars-input { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.stars-input input { display: none; }
.stars-input label { font-size: 1.6rem; color: var(--gray-300); cursor: pointer; transition: var(--transition); }
.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label { color: var(--black); }

/* ---- MISC ---- */
.glass-card {
    background: rgba(255,255,255,0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-xl);
}
.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-400);
    font-size: 0.82rem;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 48px 0 40px;
}
.page-header-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 6px; }
.page-header-sub { color: var(--gray-500); font-size: 0.95rem; }
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.empty-desc { font-size: 0.85rem; color: var(--gray-500); }
.avatar-lg { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gray-200); }
.avatar-xl { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gray-200); }
.profile-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; color: #15803d; background: #f0fdf4; padding: 3px 10px; border-radius: 100px; }

/* ---- COUNTRY & LOCALIZATION ---- */
.country-flag {
    display: inline-block;
    font-size: 1.1em;
    margin-right: 6px;
    vertical-align: middle;
    line-height: 1;
}

.country-flag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    line-height: 1;
}

.dropdown-user-info .du-role {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23525252' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .dash-sidebar { transform: translateX(-100%); width: 260px; z-index: 999; }
    .dash-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-xl); }
    .dash-main { margin-left: 0; padding: 20px 16px; }
    .hero-stats { display: none; }
    .ads-slide-inner { padding: 30px; gap: 20px; }
    .ads-slide-img-placeholder { width: 100px; height: 80px; }
}
@media (max-width: 767px) {
    .section-pad { padding: 60px 0; }
    .wh-form-card { padding: 24px; }
    .chat-sidebar { width: 100%; }
    .chat-layout { flex-direction: column; }
    .hero-title { font-size: 2.2rem; }
    .ads-slide-inner { flex-direction: column; text-align: center; }
    .hiw-connector { display: none; }
    .footer-newsletter { flex-direction: column; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Typography utilities */
.font-display { font-family: var(--font-display); }
.text-muted-sm { font-size: 0.82rem; color: var(--gray-500); }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
