/* =========================================================================
   hidup.css - lapisan "hidup" TemanCerita (14 Nov 2026)
   Dimuat paling akhir. Warna dasar situs tetap biru TemanCerita; berkas ini
   menambah tombol Masuk/Daftar putih, kartu talent dengan bagian info putih
   yang terangkat saat disentuh, jendela detail talent putih, logo Google di
   tombol masuk, dan dashboard customer/talent dengan kepala bergradasi dan
   kartu isi putih (warna isinya diubah oleh alat/ubah-warna.js mode terang).
   ========================================================================= */
:root {
    --h-biru: #2152D0;
    --h-biru-2: #3B74F0;
    --h-langit: #4FA3FF;
    --h-ungu: #6C5CF5;
    --h-pink: #FF8FB0;
    --h-emas: #FFC94D;
    --h-tinta: #0E1A3D;
    --h-teks: #45526E;
    --h-redup: #6B7896;
    --h-garis: #E3E9F7;
    --h-lentur: cubic-bezier(.2, .8, .2, 1);
}

/* ── Navigasi ─────────────────────────────────────────────────────────── */
html body > nav .nav-menu a { color: rgba(255, 255, 255, .9); position: relative; }
html body > nav .nav-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: rgba(255, 255, 255, .9);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--h-lentur);
}
html body > nav .nav-menu a:hover { color: #fff; }
html body > nav .nav-menu a:hover::after { transform: scaleX(1); }
/* Masuk dan Daftar: putih */
html body > nav .nav-right .btn-outline,
html body > nav .nav-right .btn-primary,
html body > nav .nav-right .btn-ghost {
    background: #fff !important;
    color: var(--h-biru) !important;
    border: 1px solid #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 18px -6px rgba(10, 30, 110, .45);
    transition: transform .2s var(--h-lentur), box-shadow .2s;
}
html body > nav .nav-right .btn-outline { background: rgba(255, 255, 255, .14) !important; color: #fff !important; border-color: rgba(255, 255, 255, .85) !important; box-shadow: none; }
html body > nav .nav-right .btn-outline:hover { background: #fff !important; color: var(--h-biru) !important; }
html body > nav .nav-right .btn-primary { position: relative; overflow: hidden; }
html body > nav .nav-right .btn-primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
    background: linear-gradient(100deg, transparent, rgba(79, 163, 255, .35), transparent);
    animation: h-kilau 3.6s ease-in-out infinite;
}
html body > nav .nav-right .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(10, 30, 110, .6); }
html body > nav .nav-user-chip { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
html body > nav .nav-toggle span, html body > nav .nav-toggle span::before, html body > nav .nav-toggle span::after { background: #fff; }
html body .mobile-menu .btn-primary { background: #fff !important; color: var(--h-biru) !important; }
@keyframes h-melayang { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes h-kilau { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ── Kartu talent: bagian info putih, foto tetap ──────────────────────── */
html body .kartu-foto {
    background: #fff; border: 0; border-radius: 18px; overflow: hidden;
    box-shadow: 0 14px 30px -16px rgba(10, 30, 110, .55);
    transition: transform .3s var(--h-lentur), box-shadow .3s;
}
html body .kartu-foto:hover { transform: translateY(-8px) ; box-shadow: 0 28px 50px -20px rgba(10, 30, 110, .75), 0 0 0 3px rgba(255, 255, 255, .85); }
html body .kartu-foto .kf-kaki, html body .kartu-foto .talent-bottom { background: #fff; color: var(--h-tinta); }
html body .kartu-foto .kf-chip-baris .t-chip { background: #EEF3FF; color: var(--h-biru); border: 1px solid #D6E1FB; }
html body .kartu-foto .talent-rate, html body .kartu-foto .rate-mulai { color: var(--h-redup); }
html body .kartu-foto .talent-rate strong { color: var(--h-biru); }
html body .kartu-foto .btn-chat {
    background: linear-gradient(100deg, var(--h-biru) 0%, var(--h-ungu) 100%); color: #fff; border: 0;
    transition: filter .2s, transform .2s;
}
html body .kartu-foto .btn-chat:hover { filter: brightness(1.1); transform: translateY(-1px); }
html body .kf-status.on { background: rgba(255, 255, 255, .92); color: var(--h-biru); }

/* ── Jendela detail talent: putih ─────────────────────────────────────── */
html body .modal-overlay { background: rgba(10, 24, 80, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html body .modal-box {
    background: #fff !important; color: var(--h-tinta);
    border: 0; box-shadow: 0 40px 80px -30px rgba(10, 30, 110, .7);
    animation: h-muncul .35s var(--h-lentur);
}
html body .modal-box h2, html body .modal-box h3, html body .modal-box .foto-nama, html body .modal-box strong, html body .modal-box label { color: var(--h-tinta); }
html body .modal-box p, html body .modal-box .foto-ket, html body .modal-box .foto-hobi, html body .modal-box .modal-sub, html body .modal-box .foto-bio { color: var(--h-teks); }
html body .modal-box .foto-bio-lagi { color: var(--h-biru); }
html body .modal-box .foto-layanan > *, html body .modal-box .t-chip { background: #EEF3FF; color: var(--h-biru); border: 1px solid #D6E1FB; }
html body .modal-box .foto-tarif, html body .modal-box .foto-tarif-baris { color: var(--h-tinta); border-color: var(--h-garis); }
html body .modal-box .foto-tarif-baris span { color: var(--h-teks); }
html body .modal-box .foto-ulasan, html body .modal-box .foto-ulasan * { color: var(--h-teks); border-color: var(--h-garis); }
html body .modal-box .foto-tutup-teks { color: var(--h-teks); border-color: var(--h-garis); }
html body .modal-box .foto-tutup-teks:hover { background: #F2F5FD; }
html body .modal-box .modal-close:not(.foto-box .modal-close) { color: var(--h-teks); }
html body .modal-box .modal-price { background: #F3F6FE; color: var(--h-tinta); border-color: var(--h-garis); }
html body .modal-box .btn-chat { background: linear-gradient(100deg, var(--h-biru), var(--h-ungu)); color: #fff; border: 0; }
html body .modal-box { color: var(--h-tinta); }
html body .modal-box :is(b, strong, span, small, em, li, div, td, th, i):not(.btn):not(.btn *):not(.btn-chat):not(.btn-chat *):not(.lencana-verif):not(.modal-close) { color: inherit; }
html body .modal-box .foto-tarif-baris b { color: var(--h-biru); }
html body .modal-box .foto-tarif-baris span { color: var(--h-teks); }
html body .modal-box .lencana-verif { background: #E7EEFF; color: var(--h-biru); border: 1px solid #CFDCFB; }
html body .modal-box .foto-bingkai { background: linear-gradient(160deg, #E9F0FF, #F6F0FF); }
html body .modal-box input, html body .modal-box select, html body .modal-box textarea { border: 1px solid #D5DEF2 !important; }
@keyframes h-muncul { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── Tombol Google ────────────────────────────────────────────────────── */
html body .g-ikon { background: transparent !important; width: 20px; height: 20px; }
html body .g-ikon svg { display: block; width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
    html body *, html body *::before, html body *::after { animation: none !important; transition: none !important; }
}

/* =========================================================================
   Dashboard customer dan talent: kepala tetap biru cerah bergradasi,
   isi (kartu, statistik, tab, formulir) putih bersih.
   ========================================================================= */
html body .dt { background: #F4F7FF; }
html body .dt-body {
    --text: #0E1A3D; --text2: #45526E; --text3: #66728F; --border: #E3E9F7;
    --white: #FFFFFF; --bg: #F4F7FF; --blue-light: #EEF3FF; --accent-light: #EEF3FF;
    color: var(--h-teks);
}
/* Kepala */
html body .dt-atas {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #2152D0 0%, #3B74F0 55%, #6C5CF5 100%) !important;
    border: 0 !important; color: #fff;
}
html body .dt-atas::before, html body .dt-atas::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
html body .dt-atas::before { width: 380px; height: 380px; right: -90px; top: -170px; background: radial-gradient(circle, rgba(255, 201, 77, .35), transparent 65%); animation: h-melayang 12s ease-in-out infinite; }
html body .dt-atas::after { width: 300px; height: 300px; left: 30%; bottom: -200px; background: radial-gradient(circle, rgba(255, 143, 176, .35), transparent 65%); animation: h-melayang 15s ease-in-out infinite reverse; }
html body .dt-atas > * { position: relative; z-index: 1; }
html body .dt-atas .dt-nama, html body .dt-atas h1, html body .dt-atas b { color: #fff; }
html body .dt-atas .dt-ava { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 12px 28px -8px rgba(10, 30, 110, .6); }
html body .dt-atas .chip { color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; background: rgba(255, 255, 255, .16) !important; }
html body .dt-atas .dt-tombol { background: #fff; color: var(--h-biru); border-color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 30, 110, .55); transition: transform .2s var(--h-lentur); }
html body .dt-atas .dt-tombol:hover { transform: translateY(-2px); background: #fff; }
html body .dt-atas .dt-online, html body .dt-atas .dt-kanan, html body .dt-atas small, html body .dt-atas p { color: rgba(255, 255, 255, .9); }

/* Tab lengket */
html body .dt-tab { background: linear-gradient(180deg, #F4F7FF 80%, rgba(244, 247, 255, 0)) !important; }
html body .dt-tab-isi { background: #fff !important; border: 1px solid #E3E9F7 !important; box-shadow: 0 10px 26px -18px rgba(23, 43, 99, .45); }
html body .dt-tab-isi button { color: var(--h-teks) !important; }
html body .dt-tab-isi button:hover:not(.aktif) { background: #F1F5FF !important; color: var(--h-biru) !important; }
html body .dt-tab-isi button.aktif { background: linear-gradient(100deg, var(--h-biru), var(--h-ungu)) !important; color: #fff !important; box-shadow: 0 8px 18px -8px rgba(33, 82, 208, .7); }

/* Kartu putih */
html body .dt-body .kartu:not(.level), html body .dt-body .stat-kotak {
    background: #fff; border: 1px solid #E6ECF8;
    box-shadow: 0 12px 30px -20px rgba(23, 43, 99, .35);
    transition: transform .3s var(--h-lentur), box-shadow .3s, border-color .3s;
}
html body .dt-body .kartu:not(.level):hover, html body .dt-body .stat-kotak:hover {
    transform: translateY(-3px); border-color: #CFDCFB;
    box-shadow: 0 22px 40px -22px rgba(23, 43, 99, .45);
}
html body .dt-body .stat-kotak { position: relative; overflow: hidden; }
html body .dt-body .stat-kotak::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--h-biru), var(--h-ungu)); }
html body .dt-body .stat-kotak:nth-child(2)::before { background: linear-gradient(180deg, var(--h-emas), #FFB23D); }
html body .dt-body .stat-kotak:nth-child(3)::before { background: linear-gradient(180deg, var(--h-pink), #FF6F91); }
html body .dt-body .stat-kotak:nth-child(4)::before { background: linear-gradient(180deg, var(--h-langit), var(--h-biru)); }
html body .dt-body .langkah-ikon { background: linear-gradient(135deg, #EEF3FF, #F4EEFF) !important; color: var(--h-biru); }
html body .dt-body .dt-tombol { color: var(--h-biru); border-color: #CFDCFB; }
html body .dt-body .dt-tombol:hover { background: #F1F5FF; }
html body .dt-body .dt-tombol.utama { background: linear-gradient(100deg, var(--h-biru), var(--h-ungu)) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 8px 18px -10px rgba(33, 82, 208, .8); }
html body .dt-body .dt-tombol.utama:hover { filter: brightness(1.08); }
html body .dt-body .btn-outline { color: var(--h-biru) !important; border-color: #BFD0F6 !important; background: #fff !important; }
html body .dt-body .btn-outline:hover { background: #F1F5FF !important; }
html body .dt-body .pilih-kartu { background: #F8FAFF !important; border-color: #E3E9F7 !important; }
html body .dt-body .pilih-kartu:hover { border-color: #9DB8F5 !important; background: #fff !important; }
html body .dt-body .pilih-kartu:has(input:checked) { background: #EEF3FF !important; border-color: var(--h-biru) !important; }
html body .dt-body .pilih-judul { color: var(--h-tinta) !important; }
html body .dt-body .pilih-ket { color: var(--h-teks) !important; }
html body .dt-body .gender-tab { background: #F4F7FF !important; color: var(--h-teks) !important; border-color: #E3E9F7 !important; }
html body .dt-body .gender-tab.active { background: var(--h-biru) !important; color: #fff !important; }

/* Kartu level: tetap berwarna supaya jadi sorotan */
html body .dt-body .level {
    background: linear-gradient(125deg, #2152D0 0%, #4B5BEF 55%, #8A5CF5 100%) !important;
    border: 0 !important; color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 24px 50px -28px rgba(33, 82, 208, .9);
}
html body .dt-body .level::after { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 77, .35), transparent 65%); pointer-events: none; }
html body .dt-body .level :is(.level-nama, .level-bagi b, .level-baris b, .tangga b, h3, b, strong) { color: #fff !important; }
html body .dt-body .level :is(.level-label, .level-bagi span, .level-baris, .tangga small, .tangga span, .level-catatan, .ket, p, small, span) { color: rgba(255, 255, 255, .86) !important; }
html body .dt-body .level .level-bar { background: rgba(255, 255, 255, .22) !important; border-color: rgba(255, 255, 255, .25) !important; }
html body .dt-body .level .level-bar i { background: linear-gradient(90deg, var(--h-emas), var(--h-pink)) !important; }
html body .dt-body .level .tangga div { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .28) !important; }
html body .dt-body .level .tangga div.aktif { background: #fff !important; border-color: #fff !important; }
html body .dt-body .level .tangga div.aktif :is(b, small, span) { color: var(--h-biru) !important; }

/* Muncul bertahap saat halaman dibuka */
html body .dt-body .kartu, html body .dt-body .stat-kotak { animation: h-naik .6s var(--h-lentur) both; }
html body .dt-body .stat-kotak:nth-child(2) { animation-delay: .06s; }
html body .dt-body .stat-kotak:nth-child(3) { animation-delay: .12s; }
html body .dt-body .stat-kotak:nth-child(4) { animation-delay: .18s; }
html body .dt-body .grid2 > .kartu:nth-child(2) { animation-delay: .08s; }
html body .dt-body .grid2 > .kartu:nth-child(3) { animation-delay: .14s; }
html body .dt-body .grid2 > .kartu:nth-child(4) { animation-delay: .2s; }
@keyframes h-naik { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Tombol tutup di atas foto, sekarang di atas latar terang */
html body .foto-box .modal-close { color: var(--h-tinta); text-shadow: none; background: rgba(255, 255, 255, .92); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(10, 30, 110, .2); line-height: 1; }

/* Logo tc tetap terbaca di atas navigasi biru */
html body > nav .logo-mark { border-radius: 10px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45), 0 6px 14px -6px rgba(5, 18, 60, .6); }

/* Ulasan di beranda: empat baris dulu, sisanya lewat Selengkapnya */
html body .ulasan-kartu { display: flex; flex-direction: column; align-self: start; }
html body .ulasan-kartu .ulasan-teks { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
html body .ulasan-kartu.terbuka .ulasan-teks { display: block; -webkit-line-clamp: unset; overflow: visible; }
html body .ulasan-lagi { align-self: flex-start; background: none; border: 0; padding: 2px 0 8px; font: inherit; font-size: 13px; font-weight: 700; color: #CFE0FF; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html body .ulasan-lagi:hover { color: #fff; }
html body .ulasan-lagi[hidden] { display: none; }
html body .hero-kisi { display: none; }

/* Paginasi talent: elemennya <nav>, jadi ikut kena latar navigasi atas.
   Dibuat transparan supaya tidak muncul pita gelap di bawah kartu. */
html body nav.hal-pager { background: transparent !important; border: 0 !important; box-shadow: none !important; position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
html body .hal-tombol { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
html body .hal-tombol:hover:not(:disabled) { background: rgba(255, 255, 255, .2); }
html body .hal-tombol.aktif { background: #fff; color: var(--h-biru); border-color: #fff; }
html body .hal-info { color: rgba(255, 255, 255, .8); }

/* ── 16 Nov 2026: kepala dashboard talent ─────────────────────────────── */
/* Kotak status di kepala berlatar putih, jadi teksnya harus gelap. Aturan
   umum .dt-atas b / small di atas memutihkannya dan membuatnya tak terlihat. */
html body .dt-atas .dt-online { background: #fff !important; border-color: #fff !important; }
html body .dt-atas .dt-online b, html body .dt-atas .dt-mode b, html body .dt-atas .dt-mode-judul { color: var(--h-tinta) !important; }
html body .dt-atas .dt-online small { color: var(--h-redup) !important; }
html body .dt-atas .dt-tangguh b { color: #8A4B00 !important; }
html body .dt-atas .dt-tangguh small { color: #9A5B00 !important; }
html body .dt-atas .chip-nyawa .nyawa-hati svg.kosong { stroke: #fff; }

/* Foto talent di chip menu atas, pengganti ikon tameng */
html body > nav .nav-user-chip.berfoto { display: inline-flex; align-items: center; gap: 8px; padding-left: 5px; }
html body > nav .nav-chip-foto { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: 0 0 26px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
@media (max-width: 640px) { html body > nav .nav-user-chip.berfoto { padding: 4px; gap: 0; } }
