/* ═══════════════════════════════════════════════════════════════
   BIBIDOR — CSS PRINCIPAL
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #29C0DC;
    --primary-dark: #1FA8C2;
    --primary-light: #E5F8FC;
    --secondary: #F47922;
    --secondary-dark: #D96B1A;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #111827;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --card-shadow-hover: 0 20px 40px -10px rgba(41,192,220,.25);
    --radius: 16px;
    --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }

/* ── CONTAINER ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
    position: relative;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    padding: .875rem 0;
}
.navbar-inner { display: flex; align-items: center; gap: 2rem; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: .4rem; }
.logo-star { font-size: 1.25rem; }
.nav-links { display: flex; gap: 0.25rem; flex: 1; justify-content: center; }
.nav-link { padding: .5rem 1rem; border-radius: 8px; text-decoration: none; color: var(--text-muted); font-size: .9rem; font-weight: 500; transition: all .2s; }
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* User menu */
.user-menu { position: relative; display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .4rem .75rem; border-radius: 999px; background: var(--bg-light); transition: background .2s; }
.user-menu:hover { background: var(--primary-light); }
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.user-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.user-dropdown {
    position: absolute; top: calc(100% + .5rem); right: 0;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,.12); min-width: 200px; padding: .5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s;
}
.user-dropdown a, .user-dropdown button {
    display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem;
    border-radius: 8px; text-decoration: none; color: var(--text); font-size: .875rem;
    transition: background .15s; width: 100%;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--bg-light); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: .25rem 0; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .625rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .9rem;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(41,192,220,.4); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-light); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .35rem .75rem; font-size: .8rem; border-radius: 8px; }
.btn-full { width: 100%; }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0a1120 0%, #0d1f2d 50%, #0a1120 100%);
    padding: 7rem 0 5rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(41,192,220,.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244,121,34,.25) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(41,192,220,.15) 0%, transparent 40%);
}
.hero-content { position: relative; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(41,192,220,.2); border: 1px solid rgba(41,192,220,.4);
    color: #7de8f7; padding: .4rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text { background: linear-gradient(135deg, #29C0DC, #F47922); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: #94a3b8; max-width: 600px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.hero-stat { text-align: center; color: #94a3b8; }
.hero-stat-num { display: block; font-size: 2rem; font-weight: 900; color: #fff; }

/* ── SECTIONS ──────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section.bg-light { background: var(--bg-light); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--text); }
.section-subtitle { color: var(--text-muted); margin-top: .25rem; }

/* ── HOW IT WORKS ──────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.step-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1.25rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.step-card p { color: var(--text-muted); font-size: .9rem; }

/* ── CATEGORIES ────────────────────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.category-card { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem; background: #fff; border-radius: var(--radius); border: 2px solid var(--border); text-decoration: none; color: var(--text); transition: all .25s; text-align: center; }
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(99,102,241,.15); }
.category-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: .75rem; }
.category-name { font-weight: 700; font-size: .9rem; }
.category-count { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* ── ARTIST CARDS ──────────────────────────────────────────────────── */
.artists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.artist-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--card-shadow); transition: all .25s; }
.artist-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--primary); }
.artist-card-link { text-decoration: none; color: inherit; display: block; }
.artist-card-header { position: relative; padding: 1.5rem 1.5rem 0; display: flex; justify-content: center; }
.artist-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.featured-badge { position: absolute; top: 1rem; left: 1rem; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.calls-badge { position: absolute; top: 1rem; right: 1rem; background: #8b5cf6; color: #fff; font-size: .7rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.artist-card-body { padding: 1rem 1.5rem; text-align: center; }
.artist-name { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.artist-tagline { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.artist-category { display: inline-block; font-size: .75rem; font-weight: 600; padding: .2rem .75rem; border-radius: 999px; margin-bottom: .75rem; }
.artist-meta { display: flex; justify-content: center; gap: 1rem; font-size: .8rem; color: var(--text-muted); }
.artist-rating { color: var(--warning); font-weight: 600; }
.artist-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg-light); }
.artist-price { display: flex; flex-direction: column; }
.artist-price small { font-size: .75rem; color: var(--text-muted); }
.artist-price strong { font-size: 1.1rem; color: var(--primary); font-weight: 800; }

/* ── CTA SECTION ───────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.footer { background: #0f172a; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-link { display: block; color: #94a3b8; text-decoration: none; font-size: .9rem; margin-bottom: .5rem; transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 2rem; text-align: center; color: #64748b; font-size: .875rem; }

/* ── ALERTS ─────────────────────────────────────────────────────────── */
.alert {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem; margin: 0; font-size: .9rem; font-weight: 500;
    position: relative;
}
.alert-success { background: #f0fdf4; color: #15803d; border-bottom: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #dc2626; border-bottom: 1px solid #fecaca; }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.25rem; color: inherit; opacity: .6; }
.alert-close:hover { opacity: 1; }

/* ── BADGES ─────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.badge-warning  { background: #fff7ed; color: #c2410c; }
.badge-success  { background: #f0fdf4; color: #15803d; }
.badge-danger   { background: #fef2f2; color: #dc2626; }
.badge-info     { background: #eff6ff; color: #1d4ed8; }
.badge-secondary{ background: #f1f5f9; color: #64748b; }

/* ── FORMS ──────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: .875rem; color: var(--text); margin-bottom: .4rem; }
.form-input {
    width: 100%; padding: .75rem 1rem; border-radius: 10px;
    border: 2px solid var(--border); font-size: .95rem; font-family: inherit;
    background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
    outline: none; resize: vertical;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.form-input.is-error { border-color: var(--danger); }
.form-error { display: block; font-size: .8rem; color: var(--danger); margin-top: .3rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

/* ── AUTH ──────────────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8fafc, var(--primary-light)); padding: 2rem; }
.auth-card { background: #fff; border-radius: 24px; padding: 3rem; width: 100%; max-width: 480px; box-shadow: 0 25px 50px rgba(0,0,0,.1); }
.auth-logo { font-size: 2rem; font-weight: 900; color: var(--primary); text-align: center; margin-bottom: 1.5rem; }
.auth-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: .5rem; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .875rem; margin: 1.5rem 0; }
.role-tabs { display: flex; background: var(--bg-light); border-radius: 10px; padding: .25rem; }
.role-tab { flex: 1; text-align: center; padding: .6rem; border-radius: 8px; text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: .875rem; transition: all .2s; }
.role-tab.active { background: #fff; color: var(--primary); box-shadow: var(--card-shadow); }

/* ── PROFILE PAGE ──────────────────────────────────────────────────── */
.profile-page { }
.profile-cover { height: 280px; background-size: cover; background-position: center; position: relative; }
.profile-cover-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.6)); }
.profile-main { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; margin-top: -80px; padding-bottom: 4rem; position: relative; }
.profile-left { display: flex; flex-direction: column; }
.profile-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--card-shadow); border: 1px solid var(--border); }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary); display: block; margin: -4rem auto 1rem; box-shadow: 0 8px 20px rgba(41,192,220,.3); }
.profile-name { font-size: 1.5rem; font-weight: 800; text-align: center; }
.profile-tagline { color: var(--text-muted); text-align: center; margin: .25rem 0 .75rem; }
.profile-category { display: block; text-align: center; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.profile-rating { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; }
.profile-stats { display: flex; justify-content: space-around; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1rem 0; }
.profile-stat { text-align: center; }
.profile-stat strong { display: block; font-size: 1.25rem; font-weight: 800; }
.profile-stat small { font-size: .75rem; color: var(--text-muted); }
.profile-socials { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-size: .9rem; transition: transform .2s; }
.social-btn:hover { transform: scale(1.15); }
.social-btn.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-btn.twitter   { background: #1da1f2; }
.social-btn.tiktok    { background: #010101; }
.social-btn.youtube   { background: #ff0000; }
.social-btn.facebook  { background: #1877f2; }

/* Order box */
.order-box { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 2px solid var(--border); margin-top: 1.5rem; }
.order-box-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.order-box-header h3 { font-size: 1.1rem; font-weight: 700; }
.order-box-header p { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }
.order-price { text-align: right; }
.order-price strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--primary); }
.order-price small { color: var(--text-muted); font-size: .85rem; }
.order-features { list-style: none; margin-bottom: 1.5rem; }
.order-features li { padding: .4rem 0; font-size: .9rem; color: var(--text-muted); border-bottom: 1px solid var(--bg-light); }

/* Review items */
.review-item { padding: 1rem 0; border-bottom: 1px solid var(--bg-light); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* ── ARTISTS LIST PAGE ─────────────────────────────────────────────── */
.artists-page { padding: 3rem 0; }
.filters-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; padding: 1.25rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 2rem; box-shadow: var(--card-shadow); }
.filter-select { padding: .5rem 1rem; border-radius: 8px; border: 2px solid var(--border); font-size: .875rem; cursor: pointer; color: var(--text); }
.filter-select:focus { outline: none; border-color: var(--primary); }
.search-input { flex: 1; min-width: 200px; padding: .6rem 1rem; border-radius: 8px; border: 2px solid var(--border); font-size: .875rem; }
.search-input:focus { outline: none; border-color: var(--primary); }

/* ── CLIENT/ARTIST DASHBOARD ───────────────────────────────────────── */
.dashboard-page { padding: 2rem 0; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.dash-stat-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); box-shadow: var(--card-shadow); display: flex; align-items: center; gap: 1rem; }
.dash-stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.dash-stat-value { font-size: 1.75rem; font-weight: 900; line-height: 1; }
.dash-stat-label { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }

/* ── ORDER FORM ───────────────────────────────────────────────────── */
.order-form-page { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; }
.order-form-artist { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; background: var(--primary-light); border-radius: var(--radius); margin-bottom: 2rem; }
.order-form-artist img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.occasions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin-bottom: .5rem; }
.occasion-option { display: none; }
.occasion-label { display: block; padding: .6rem 1rem; border-radius: 10px; border: 2px solid var(--border); font-size: .875rem; font-weight: 500; cursor: pointer; text-align: center; transition: all .2s; }
.occasion-option:checked + .occasion-label { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* ── CALL FORM ────────────────────────────────────────────────────── */
.call-form-page { max-width: 640px; margin: 0 auto; padding: 3rem 1.5rem; }

/* ── PAYMENT PAGE ─────────────────────────────────────────────────── */
.payment-page { max-width: 540px; margin: 0 auto; padding: 3rem 1.5rem; }
.payment-card { background: #fff; border-radius: 24px; padding: 2.5rem; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.payment-total { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--primary-light); border-radius: 12px; margin: 1.5rem 0; }
.payment-total strong { font-size: 1.5rem; color: var(--primary); font-weight: 900; }
.payment-methods { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.payment-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .2s; }
.payment-method:hover { border-color: var(--primary); background: var(--primary-light); }
.payment-method input:checked + label { color: var(--primary); }
.method-icon { font-size: 1.5rem; }

/* ── TABLE ────────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg-light); }
th { padding: .875rem 1rem; text-align: left; font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
td { padding: .875rem 1rem; border-top: 1px solid var(--border); font-size: .9rem; }
tr:hover td { background: var(--bg-light); }

/* ── CARD COMPONENT ───────────────────────────────────────────────── */
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--card-shadow); overflow: hidden; margin-bottom: 1.5rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg-light); }
.card-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.card-body { padding: 1.5rem; }
.list-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); transition: background .15s; }
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--bg-light); }
.list-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.list-info { flex: 1; }
.list-info strong { display: block; font-weight: 600; font-size: .9rem; }
.list-info small { color: var(--text-muted); font-size: .8rem; }

/* ── EMPTY STATE ──────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── VIDEO PLAYER ────────────────────────────────────────────────── */
.video-player { width: 100%; border-radius: 16px; background: #000; }

/* ── ORDER DETAIL ───────────────────────────────────────────────── */
.order-detail-header { background: var(--primary-light); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; }
.order-instructions { background: var(--bg-light); border-radius: 12px; padding: 1.5rem; border-left: 4px solid var(--primary); font-style: italic; color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .profile-main { grid-template-columns: 1fr; }
    .profile-avatar { margin-top: -60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

/* ── PAGINATION ─────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination .page-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; transition: all .2s; }
.pagination .page-link:hover, .pagination .active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── EARNINGS ───────────────────────────────────────────────────── */
.earnings-hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius); padding: 2.5rem; color: #fff; margin-bottom: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.earnings-stat { text-align: center; }
.earnings-stat .value { font-size: 2rem; font-weight: 900; }
.earnings-stat .label { opacity: .8; font-size: .9rem; }

/* ── UPLOAD ZONE ────────────────────────────────────────────────── */
.upload-zone { border: 3px dashed var(--border); border-radius: var(--radius); padding: 3rem; text-align: center; cursor: pointer; transition: all .2s; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--primary); background: var(--primary-light); }
.upload-zone i { font-size: 3rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ── NOTIFICATION BELL ───────────────────────────────────── */
.notif-bell {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; text-decoration: none;
    font-size: 1.2rem; background: var(--bg-light); transition: background .2s;
}
.notif-bell:hover { background: var(--primary-light); }
.notif-count {
    position: absolute; top: -2px; right: -2px;
    background: var(--danger); color: #fff; font-size: .65rem; font-weight: 800;
    width: 18px; height: 18px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* ════════════════════════════════════════════════════════════════
   ADDITIONS — Menu mobile, client layout, charts, extras
   ════════════════════════════════════════════════════════════════ */

/* ── HAMBURGER MENU ─────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: .5rem;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 20px 40px rgba(0,0,0,.1);
        z-index: 999;
    }
    .nav-links.open {
        display: flex !important;
    }
    .nav-link { padding: .75rem 1rem; border-bottom: 1px solid var(--bg-light); }
    .navbar { position: relative; }
}

/* ── CLIENT LAYOUT SIDEBAR ──────────────────────────────────────── */
.client-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.client-sidebar {
    background: #fff;
    border-right: 1px solid var(--border);
    padding: 2rem 1.25rem;
}
.client-sidebar-avatar {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.client-sidebar-avatar img {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: .75rem;
}
.client-nav-link {
    display: flex; align-items: center; gap: .75rem;
    padding: .65rem .875rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 500;
    transition: all .2s;
    margin-bottom: 2px;
}
.client-nav-link:hover { background: var(--primary-light); color: var(--primary); }
.client-nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.client-nav-link i { width: 18px; text-align: center; }
.client-main { padding: 2.5rem; background: var(--bg-light); }

@media (max-width: 1024px) {
    .client-layout { grid-template-columns: 1fr; }
    .client-sidebar { display: none; }
    .client-main { padding: 1.5rem; }
}

/* ── ANALYTICS CHARTS ADMIN ─────────────────────────────────────── */
.chart-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}
.chart-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.chart-bar {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .75rem;
}
.chart-bar-label { font-size: .8rem; color: var(--text-muted); min-width: 80px; text-align: right; }
.chart-bar-track { flex: 1; background: var(--bg-light); border-radius: 999px; height: 10px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 999px; transition: width .6s ease; }
.chart-bar-value { font-size: .8rem; font-weight: 700; min-width: 60px; }

/* ── ARTIST ACCOUNT SIDEBAR SECTION ─────────────────────────────── */
.sidebar-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: .75rem 0; }

/* ── AVAILABILITY CALENDAR ──────────────────────────────────────── */
.hidden-field { display: none !important; }

/* ── CALL JOIN ROOM PAGE ─────────────────────────────────────────── */
.jitsi-container {
    width: 100%; height: calc(100vh - 65px);
    border: none; display: block;
}
.jitsi-waiting {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: 60vh; text-align: center;
}
.jitsi-waiting .pulse-ring {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); opacity: .2;
    animation: pulse 2s infinite;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .2; }
    50% { transform: scale(1.2); opacity: .4; }
}

/* ── SEARCH BAR ENHANCED ────────────────────────────────────────── */
.hero-search {
    display: flex; gap: .75rem; max-width: 600px; margin: 0 auto 2rem;
    background: rgba(255,255,255,.1); border-radius: 14px; padding: .5rem;
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
}
.hero-search input {
    flex: 1; background: none; border: none; color: #fff;
    font-size: 1rem; padding: .5rem .75rem; outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search button {
    background: var(--primary); color: #fff;
    border: none; border-radius: 10px;
    padding: .625rem 1.25rem; font-weight: 700; cursor: pointer;
    font-size: .9rem; transition: background .2s;
}
.hero-search button:hover { background: var(--primary-dark); }

/* ── TOAST NOTIFICATION ─────────────────────────────────────────── */
.toast-container {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    display: flex; flex-direction: column; gap: .5rem;
    z-index: 9999;
}
.toast {
    background: #1e293b; color: #fff; padding: 1rem 1.25rem;
    border-radius: 12px; font-size: .875rem; font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    display: flex; align-items: center; gap: .75rem;
    animation: slideIn .3s ease;
    max-width: 320px;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--danger); }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* ── STAR RATING WIDGET ─────────────────────────────────────────── */
.star-rating { display: flex; gap: .25rem; }
.star-rating label { font-size: 1.75rem; cursor: pointer; transition: color .15s; }
.star-rating label:hover,
.star-rating label.active { color: #f59e0b; }

/* ── VIDEO THUMBNAIL CARD ───────────────────────────────────────── */
.video-thumb {
    position: relative; border-radius: 12px; overflow: hidden;
    aspect-ratio: 16/9; background: #000; cursor: pointer;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-btn {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.4); transition: background .2s;
}
.video-thumb:hover .play-btn { background: rgba(0,0,0,.6); }
.video-thumb .play-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--primary);
}

/* ── PROGRESS BAR ───────────────────────────────────────────────── */
.progress { background: var(--bg-light); border-radius: 999px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 999px; background: var(--primary); transition: width .4s; }

/* ── MOBILE ADMIN SIDEBAR TOGGLE ────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar-mobile-toggle {
        display: flex !important;
        position: fixed; top: 1rem; left: 1rem; z-index: 200;
        background: var(--primary); color: #fff;
        border: none; border-radius: 10px; padding: .6rem .8rem;
        cursor: pointer; font-size: 1.1rem;
    }
}
