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

:root {
    --bg: #050816;
    --bg-elevated: #0b1120;
    --accent: #6366f1;
    --accent-soft: rgba(99,102,241,0.12);
    --accent-strong: #4f46e5;
    --danger: #ef4444;
    --text: #e5e7eb;
    --text-soft: #9ca3af;
    --border-subtle: #1f2933;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(15,23,42,0.7);
    --shadow-sm: 0 8px 24px rgba(15,23,42,0.6);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, #1e293b 0, #020617 50%, #000 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex {
    display: flex;
}
.between {
    justify-content: space-between;
}
.center {
    align-items: center;
}
.wrap {
    flex-wrap: wrap;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2,6,23,0.9), rgba(2,6,23,0.6));
    border-bottom: 1px solid rgba(148,163,184,0.2);
}

.topbar .brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #f97316, #ec4899 40%, #6366f1 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(236,72,153,0.6);
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.nav-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-soft);
}

.nav-links a:hover {
    background: rgba(15,23,42,0.8);
    color: var(--text);
}

.btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}
.btn.small {
    padding: 6px 12px;
    font-size: 13px;
}
.btn.primary {
    background: linear-gradient(to right, #6366f1, #ec4899);
    border-color: transparent;
    color: #f9fafb;
    box-shadow: 0 12px 30px rgba(79,70,229,0.7);
}
.btn.primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.btn.outline {
    border-color: rgba(148,163,184,0.4);
    color: var(--text);
    background: transparent;
}
.btn.outline:hover {
    background: rgba(15,23,42,0.8);
}

.main {
    padding: 22px 0 40px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
    margin-top: 24px;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .nav-links {
        gap: 8px;
        font-size: 12px;
    }
}

.hero-card, .panel {
    background: radial-gradient(circle at top left, rgba(148,163,184,0.08), rgba(15,23,42,0.96));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148,163,184,0.25);
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background:
      radial-gradient(circle at 10% 0, rgba(56,189,248,0.12), transparent 60%),
      radial-gradient(circle at 90% 0, rgba(244,114,182,0.13), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(15,23,42,0.8);
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,0.3);
}
.hero-eyebrow span.tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(22,163,74,0.2);
    color: #bbf7d0;
    font-weight: 500;
}

.hero h1 {
    font-size: 26px;
    margin: 14px 0 12px;
}
.hero p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.metric {
    min-width: 90px;
}
.metric span.label {
    font-size: 11px;
    color: var(--text-soft);
}
.metric span.value {
    font-size: 16px;
    font-weight: 600;
}

.card {
    background: rgba(15,23,42,0.96);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148,163,184,0.3);
    padding: 14px 14px 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.card-title {
    font-size: 15px;
    font-weight: 600;
}
.card-subtitle {
    font-size: 12px;
    color: var(--text-soft);
}

.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    color: var(--text-soft);
}
.badge.success {
    border-color: rgba(22,163,74,0.7);
    color: #bbf7d0;
    background: rgba(22,163,74,0.15);
}
.badge.warning {
    border-color: rgba(234,179,8,0.7);
    color: #facc15;
    background: rgba(234,179,8,0.12);
}
.badge.danger {
    border-color: rgba(239,68,68,0.7);
    color: #fecaca;
    background: rgba(239,68,68,0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.field label {
    font-size: 12px;
    color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
    background: rgba(15,23,42,0.9);
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.4);
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text);
}
.field textarea {
    min-height: 70px;
    resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(99,102,241,0.5);
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}
@media (max-width: 700px) {
    .talents-grid {
        grid-template-columns: 1fr;
    }
}

.talent-card {
    background: rgba(15,23,42,0.96);
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.25);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.talent-photo {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.talent-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 60%);
}

.talent-body {
    padding: 8px 10px 10px;
}
.talent-name {
    font-size: 14px;
    font-weight: 600;
}
.talent-city {
    font-size: 11px;
    color: var(--text-soft);
}
.talent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}
.talent-tags span {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.35);
}
.talent-rate {
    font-size: 12px;
    margin-top: 2px;
}
.talent-rate strong {
    color: #fbbf24;
}

.talent-footer {
    padding: 0 10px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    padding: 2px 8px;
    font-size: 10px;
    color: var(--text-soft);
}

.empty {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-soft);
}

.footer {
    border-top: 1px solid rgba(148,163,184,0.25);
    padding: 16px 0 18px;
    font-size: 12px;
    color: var(--text-soft);
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(2,6,23,0.98));
}
.footer-links a {
    margin-left: 10px;
}

/* Auth pages */
.auth-wrapper {
    max-width: 420px;
    margin: 26px auto;
}

.help-text {
    font-size: 12px;
    color: var(--text-soft);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 8px;
}
.table th,
.table td {
    border-bottom: 1px solid rgba(31,41,55,0.9);
    padding: 8px 6px;
    text-align: left;
}
.table th {
    font-weight: 500;
    color: var(--text-soft);
}
.table tr:hover td {
    background: rgba(15,23,42,0.9);
}

.status-pill {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
}
.status-pill.paid {
    border-color: rgba(34,197,94,0.8);
    color: #bbf7d0;
}
.status-pill.pending {
    border-color: rgba(234,179,8,0.7);
    color: #facc15;
}
.status-pill.failed {
    border-color: rgba(239,68,68,0.8);
    color: #fecaca;
}

/* Utility */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.text-right { text-align: right; }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.text-soft { color: var(--text-soft); }


/* Admin layout enhancements */
.admin-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.admin-title-main {
    font-size: 18px;
    font-weight: 600;
}

.admin-subtitle {
    font-size: 12px;
    color: var(--text-soft);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.stat-card {
    background: radial-gradient(circle at top, rgba(148,163,184,0.12), rgba(15,23,42,0.98));
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.35);
    padding: 10px 12px;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 11px;
    color: var(--text-soft);
}
.stat-value {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
}
@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Payment info box */
.payment-info {
    font-size: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(148,163,184,0.5);
    padding: 8px 10px;
    background: rgba(15,23,42,0.95);
}
.payment-info pre {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 12px;
}

/* Chips row for roles */
.role-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
}
.role-pill.user {
    border-color: rgba(59,130,246,0.7);
}
.role-pill.talent {
    border-color: rgba(236,72,153,0.8);
}


/* New header & nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: radial-gradient(circle at top left, rgba(248,250,252,0.04), rgba(15,23,42,0.96));
    border-bottom: 1px solid rgba(148,163,184,0.4);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: radial-gradient(circle at top, #f97316, #ec4899, #6366f1);
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-weight: 600;
    font-size: 14px;
}
.brand-tagline {
    font-size: 11px;
    color: var(--text-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    padding: 4px 8px;
    border-radius: 999px;
}
.nav-links a:hover {
    background: rgba(148,163,184,0.16);
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* User menu & toggle */
.menu-toggle {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    padding: 4px 8px;
    font-size: 12px;
    background: rgba(15,23,42,0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.menu-toggle .menu-icon-lines {
    width: 16px;
    height: 2px;
    background: var(--text);
    position: relative;
}
.menu-toggle .menu-icon-lines::before,
.menu-toggle .menu-icon-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: inherit;
}
.menu-toggle .menu-icon-lines::before {
    top: -4px;
}
.menu-toggle .menu-icon-lines::after {
    top: 4px;
}
.avatar-circle {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #4f46e5, #ec4899);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}
.avatar-circle.big {
    width: 32px;
    height: 32px;
    font-size: 14px;
}
.menu-caret {
    font-size: 10px;
    color: var(--text-soft);
}

.user-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 210px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.5);
    background: radial-gradient(circle at top, rgba(148,163,184,0.14), rgba(15,23,42,0.98));
    box-shadow: var(--shadow-lg);
    padding: 8px 10px;
    display: none;
}
.user-menu.open {
    display: block;
}
.user-menu-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.user-menu-meta .user-name {
    font-size: 13px;
    font-weight: 500;
}
.user-menu-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 6px 0;
}
.user-menu-links a {
    font-size: 12px;
    padding: 5px 6px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-soft);
}
.user-menu-links a:hover {
    background: rgba(148,163,184,0.16);
    color: var(--text);
}
.user-menu-footer .btn.full {
    width: 100%;
    text-align: center;
}

/* Responsive header */
@media (max-width: 720px) {
    .nav-links {
        display: none;
    }
}


/* Admin tabs */
.admin-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.admin-tab {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.45);
    text-decoration: none;
    color: var(--text-soft);
    background: rgba(15,23,42,0.9);
}
.admin-tab.active {
    background: radial-gradient(circle at top, #4f46e5, #ec4899);
    color: #f9fafb;
    border-color: transparent;
}

.header-inner { flex-wrap: wrap; row-gap: 6px; }

.nav-links { flex-wrap: wrap; }


/* === Simple responsive header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(15,23,42,0.96);
    border-bottom: 1px solid rgba(148,163,184,0.35);
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    position: relative;
}
.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-main {
    font-weight: 600;
    font-size: 15px;
}
.brand-sub {
    font-size: 11px;
    color: var(--text-soft);
}

.header-toggle {
    border: none;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
}
.toggle-line {
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.header-nav a {
    text-decoration: none;
    color: var(--text-soft);
    padding: 4px 8px;
    border-radius: 999px;
}
.header-nav a:hover {
    background: rgba(148,163,184,0.16);
    color: var(--text);
}
.header-nav .logout-link {
    border: 1px solid rgba(248,113,113,0.7);
}

@media (max-width: 768px) {
    .header-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin-top: 6px;
        background: rgba(15,23,42,0.98);
        border-radius: 16px;
        border: 1px solid rgba(148,163,184,0.4);
        box-shadow: var(--shadow-lg);
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }
    .header-nav.open {
        display: flex;
    }
}

@media (min-width: 769px) {
    .header-toggle {
        display: none;
    }
}


/* === Super simple responsive header === */
.site-header {
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid rgba(148,163,184,0.35);
    position: sticky;
    top: 0;
    z-index: 40;
}
.header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
}
.brand-simple {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}
.brand-title {
    font-size: 15px;
    font-weight: 600;
}
.brand-tagline-small {
    font-size: 11px;
    color: var(--text-soft);
}
.header-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    justify-content: flex-end;
}
.header-menu a {
    padding: 4px 8px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-soft);
}
.header-menu a:hover {
    background: rgba(148,163,184,0.18);
    color: var(--text);
}
.header-menu .menu-logout {
    border: 1px solid rgba(248,113,113,0.7);
}

/* On small screens, menu goes to next row under brand */
@media (max-width: 640px) {
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-menu {
        justify-content: flex-start;
    }
}


/* Bottom app-style navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15,23,42,0.98);
    border-top: 1px solid rgba(148,163,184,0.35);
    display: flex;
    justify-content: space-around;
    padding: 6px 8px 8px;
}
.bottom-item {
    flex: 1 1 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--text-soft);
}
.bottom-icon {
    font-size: 16px;
    line-height: 1;
}
.bottom-label {
    font-size: 11px;
}
.bottom-item.active {
    color: var(--text);
    font-weight: 500;
}

/* Give space so content not hidden behind bottom nav */
.main {
    padding-bottom: 64px;
}


/* Bottom app-style navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15,23,42,0.98);
    border-top: 1px solid rgba(148,163,184,0.35);
    padding: 6px 8px 8px;
}
.bottom-nav-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.bottom-item {
    flex: 1 1 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--text-soft);
    padding: 4px 2px;
}
.bottom-icon {
    font-size: 16px;
    line-height: 1;
}
.bottom-label {
    font-size: 11px;
}
.bottom-item.active {
    color: var(--text);
    font-weight: 500;
}

/* Give space so content not hidden behind bottom nav */
.main {
    padding-bottom: 70px;
}


/* Modern bottom nav like mobile app */
.bottom-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 8px 12px 10px;
    pointer-events: none; /* container only */
}
.bottom-nav-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: radial-gradient(circle at top, rgba(148,163,184,0.18), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}
.bottom-item {
    flex: 1 1 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--text-soft);
    padding: 4px 2px;
}
.bottom-icon {
    font-size: 18px;
    line-height: 1;
}
.bottom-label {
    font-size: 11px;
}
.bottom-item.active {
    color: #f9fafb;
    font-weight: 500;
}
.bottom-item.active .bottom-icon {
    transform: translateY(-1px);
}

/* Make room so content not hidden behind nav */
.main {
    padding-bottom: 80px;
}


/* Simple chat UI */
.chat-box {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
}
.chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 4px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,1));
    border: 1px solid rgba(15,23,42,1);
}
.chat-row {
    display: flex;
    margin-bottom: 6px;
}
.chat-row.me {
    justify-content: flex-end;
}
.chat-row.other {
    justify-content: flex-start;
}
.chat-bubble {
    max-width: 80%;
    padding: 6px 9px;
    border-radius: 16px;
    background: rgba(30,64,175,0.9);
    font-size: 13px;
}
.chat-row.other .chat-bubble {
    background: rgba(30,64,175,0.3);
}
.chat-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.chat-meta {
    margin-top: 2px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}
.chat-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.chat-input {
    flex: 1 1 auto;
    resize: none;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    padding: 6px 10px;
    font-size: 13px;
    background: rgba(15,23,42,0.9);
    color: var(--text);
}
.chat-send {
    flex: 0 0 auto;
    border-radius: 999px;
}


/* Chat conversation list */
.chat-list {
    margin-top: 6px;
    max-height: 60vh;
    overflow-y: auto;
}
.chat-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-soft);
    font-size: 13px;
}
.chat-list-item:hover {
    background: rgba(148,163,184,0.14);
}
.chat-list-item.active {
    background: radial-gradient(circle at top, rgba(79,70,229,0.6), rgba(37,99,235,0.4));
    color: #f9fafb;
}
.chat-list-main {
    display: flex;
    flex-direction: column;
}
.chat-list-name {
    font-weight: 500;
    font-size: 13px;
}
.chat-unread {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #f97316;
    color: #0b1020;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}


/* Zoom overlay for talent photos */
.photo-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15,23,42,0.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.photo-zoom-overlay.open {
    display: flex;
}
.photo-zoom-inner {
    max-width: 90vw;
    max-height: 90vh;
}
.photo-zoom-inner img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.75);
}
.photo-zoom-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}


/* Quick amount chips on topup */
.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.chip-amount {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(15,23,42,0.9);
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.chip-amount:hover {
    border-color: rgba(129,140,248,0.9);
}

/* Dashboard layout */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.dashboard-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.dashboard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.35);
    color: var(--text-soft);
}
.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}
.role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.95);
}
.role-pill-user {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.55);
}
.role-pill-talent {
    color: #a855f7;
    border-color: rgba(168,85,247,0.6);
}
.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 14px;
}
.dashboard-main,
.dashboard-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card bodies & helpers */
.card-body-spaced {
    padding: 12px 16px 14px;
}
.card-bookings .card-body-spaced {
    padding-top: 10px;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 10px 14px;
}
.form-actions-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.wallet-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wallet-balance {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.wallet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

/* Make bookings table scrollable on mobile */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .form-grid-2col {
        grid-template-columns: minmax(0, 1fr);
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .dashboard-header-actions {
        align-self: stretch;
        justify-content: flex-start;
    }
}

/* Dashboard tabs */
.dashboard-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 10px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.25);
    overflow-x: auto;
}
.dashboard-tabs::-webkit-scrollbar {
    height: 4px;
}
.dashboard-tabs::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.35);
    border-radius: 999px;
}
.dash-tab {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-decoration: none;
    border: 1px solid transparent;
    color: var(--text-soft);
    white-space: nowrap;
}
.dash-tab:hover {
    border-color: rgba(148,163,184,0.6);
    color: var(--text);
    background: rgba(15,23,42,0.95);
}

/* Quick action menu cards */
.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 10px;
}
.dash-action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    text-decoration: none;
    background: radial-gradient(circle at top left, rgba(148,163,184,0.14), rgba(15,23,42,0.96));
    border: 1px solid rgba(148,163,184,0.3);
    box-shadow: var(--shadow-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.dash-action-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(129,140,248,0.7);
}
.dash-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(15,23,42,0.9);
}
.dash-action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dash-action-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.dash-action-sub {
    font-size: 11px;
    color: var(--text-soft);
}
@media (max-width: 600px) {
    .dashboard-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.site-header-preview {
    border-radius: 16px;
    padding: 10px 14px;
    background: radial-gradient(circle at top left, rgba(148,163,184,0.12), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-img {
    max-height: 34px;
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 600px) {
    .brand-logo-img {
        max-height: 28px;
        max-width: 140px;
    }
}

.theme-preview-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.theme-preview-swatch {
    flex: 1;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.theme-preview-label {
    font-size: 11px;
    color: rgba(248,250,252,0.86);
    text-shadow: 0 1px 2px rgba(15,23,42,0.9);
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-list li {
    font-size: 12px;
}
.contact-list a {
    font-size: 12px;
    text-decoration: underline;
}
.card-contact .card-body-spaced {
    padding-top: 10px;
}

.home-banner-preview {
    border-radius: 16px;
    padding: 10px;
    background: radial-gradient(circle at top left, rgba(148,163,184,0.12), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.35);
}
.home-banner-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.home-banner-slide {
    flex: 0 0 auto;
    width: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(30,64,175,0.5);
}
.home-banner-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}


.app-home {
    padding-top: 10px;
}
.app-home-top {
    margin-bottom: 10px;
}
.app-home-banner {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(30,64,175,0.6);
}
.app-banner-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.app-banner-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.app-banner-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.app-banner-placeholder {
    padding: 14px;
}
.app-home-body {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.app-home-info {
    flex: 1 1 60%;
}
.app-home-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.app-home-desc {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.app-home-actions {
    margin-top: 4px;
}
.app-home-stats {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.app-stat-card {
    border-radius: 14px;
    padding: 8px 10px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.4);
}
.app-stat-label {
    font-size: 11px;
    color: var(--text-soft);
}
.app-stat-value {
    font-size: 16px;
    font-weight: 700;
}
.app-home-filter {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .app-home-body {
        flex-direction: column;
    }
    .app-home-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .app-stat-card {
        flex: 1 1 48%;
    }
}
@media (max-width: 600px) {
    .app-banner-img {
        height: 140px;
    }
    .app-home-title {
        font-size: 18px;
    }
    .app-home-desc {
        font-size: 12px;
    }
}

    .app-home-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .app-stat-card {
        flex: 1 1 45%;
    }
}

.app-home-categories {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.app-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(30,64,175,0.6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.app-cat-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent);
    background: rgba(15,23,42,0.98);
}
.app-cat-thumb {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.9);
}
.app-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-cat-placeholder {
    font-size: 18px;
}
.app-cat-label {
    font-size: 11px;
    text-align: center;
}
@media (max-width: 600px) {
    .app-home-categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.talent-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}
.talent-detail-main {
    flex: 1 1 320px;
    min-width: 0;
}
.talent-detail-side {
    flex: 0 0 280px;
    min-width: 260px;
}
@media (max-width: 900px) {
    .talent-detail-side {
        flex: 1 1 100%;
    }
}
.talent-card-detail .talent-body {
    padding: 10px 12px 12px;
}
.talent-photo.detail-photo {
    height: 220px;
}
.talent-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.talent-gallery-grid > div,
.talent-gallery-item {
    width: 78px;
    height: 78px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 1px solid rgba(148,163,184,0.4);
}
.talent-booking-card .card-header {
    position: sticky;
    top: 0;
}
@media (max-width: 600px) {
    .talent-photo.detail-photo {
        height: 200px;
    }
}

.profile-page {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(30,64,175,0.6);
}
.profile-cover {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}
.profile-main {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 14px;
}
.profile-avatar-wrap {
    margin-top: -40px;
}
.profile-avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: 2px solid rgba(15,23,42,0.9);
    background-size: cover;
    background-position: center;
    background-color: #020617;
}
.profile-main-text {
    flex: 1;
}
.profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-name {
    font-size: 18px;
    font-weight: 700;
}
.profile-role-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(30,64,175,0.2);
    border: 1px solid rgba(30,64,175,0.7);
}
.profile-meta {
    margin-top: 2px;
}
.profile-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 14px 14px;
}
.profile-col-main {
    flex: 1 1 320px;
}
.profile-col-side {
    flex: 0 0 260px;
}
.profile-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-gallery-item {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    cursor: zoom-in;
    border: 1px solid rgba(148,163,184,0.4);
}
.profile-social-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.profile-social-list li {
    font-size: 12px;
}
.profile-social-list a {
    font-size: 12px;
}
@media (max-width: 800px) {
    .profile-col-side {
        flex: 1 1 100%;
    }
    .profile-main {
        flex-wrap: wrap;
    }
    .profile-avatar-wrap {
        margin-top: -32px;
    }
}
/* profile edit */
.profile-edit-layout .card + .card {
    margin-top: 12px;
}
.profile-preview {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30,64,175,0.6);
}
.profile-cover-preview {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
}
.profile-preview-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}
.profile-avatar-mini, .profile-cover-mini {
    border-radius: 12px;
    width: 100px;
    height: 60px;
    background-size: cover;
    background-position: center;
}
.profile-avatar-mini {
    width: 60px;
    height: 60px;
    border-radius: 999px;
}
.profile-avatar-preview .profile-avatar-circle {
    width: 56px;
    height: 56px;
}
.profile-preview-name {
    font-size: 15px;
    font-weight: 600;
}


.talent-actions {
    display: flex;
    gap: 6px;
}
.talent-actions .btn.small {
    padding-inline: 10px;
    font-size: 11px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}
.talent-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 6px;
}
.talent-rate-card {
    padding: 8px;
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(30,64,175,0.35), rgba(15,23,42,0.98));
    border: 1px solid rgba(30,64,175,0.7);
    box-shadow: var(--shadow-sm);
}
.talent-rate-name {
    font-size: 11px;
    color: var(--text-soft);
}
.talent-rate-price {
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}
.talent-rate-price .per {
    font-size: 11px;
    opacity: 0.8;
}
.booking-summary {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15,23,42,0.96);
    border: 1px dashed rgba(148,163,184,0.6);
}

/* Order modal & kategori order cards */
.talent-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 6px;
}
.talent-rate-card.order-open-btn {
    cursor: pointer;
}
.talent-rate-card .order-pill {
    margin-top: 4px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.8);
    display: inline-block;
}

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
}
.order-modal.open {
    display: block;
}
.order-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(4px);
}
.order-modal-dialog {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 480px;
    max-height: 90vh;
    background: #020617;
    border-radius: 16px;
    border: 1px solid rgba(30,64,175,0.8);
    box-shadow: 0 20px 45px rgba(15,23,42,0.9);
    display: flex;
    flex-direction: column;
}
.order-modal-header {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid rgba(30,64,175,0.4);
}
.order-modal-title {
    font-size: 15px;
    font-weight: 600;
}
.order-modal-body {
    padding: 10px 14px 12px;
    overflow-y: auto;
}
.order-modal-close {
    border: none;
    background: transparent;
    color: var(--text-soft, #cbd5f5);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.order-section {
    display: none;
}
.order-section.active {
    display: contents;
}
.order-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.7);
    font-size: 11px;
}
.order-category-pill::before {
    content: "⚡";
    font-size: 12px;
}
@media (max-width: 600px) {
    .order-modal-dialog {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}
