/* =========================================================
   dasbor-gabungan.css
   Beranda gabungan SIMONJAKA + SinTast.
   Mengikuti token di ../shared/tema-gabungan.css (navy + teal + mint).
========================================================= */
html.gab-ok body { background: var(--gab-bg, #eaf5f7); }
html.gab-ok .app { min-height: calc(100vh - var(--gab-tinggi-header, 64px)); }

/* ---------- HERO: tetap terang seperti SinTast (foto gedung putih), hanya judul disesuaikan ---------- */
html.gab-ok .hero-isi { padding-top: 56px; }

/* ---------- Isi: jarak dan judul grup ---------- */
html.gab-ok .isi { padding-top: 6px; }
#simonjaka, #sintast, #wilayah, #kalista { scroll-margin-top: calc(var(--gab-tinggi-header, 64px) + 10px); }
.grup-judul { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 6px 12px; }
.grup-judul .gj-label {
    padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: #e8fffc; background: linear-gradient(135deg, #16324f, #0b2a3d); box-shadow: 0 6px 14px rgba(11, 42, 61, .22);
}
.grup-judul.gj-sintast .gj-label { background: linear-gradient(135deg, #00a0a6, #006b70); box-shadow: 0 6px 14px rgba(0, 107, 112, .25); }
.grup-judul.gj-kalista { margin-top: 8px; }
.grup-judul.gj-kalista .gj-label { background: linear-gradient(135deg, #ffb84d, #f2782a); color: #3a1c00; box-shadow: 0 6px 14px rgba(242, 120, 42, .28); }
/* kartu yang tidak sesuai peran disembunyikan (tanpa ini display:flex pada .mc-kartu menimpa atribut hidden) */
.menu-cepat .mc-kartu[hidden] { display: none !important; }
.grup-judul.gj-wilayah .gj-label { background: linear-gradient(135deg, #4ec9c1, #1fa8a3); color: #06323a; box-shadow: 0 6px 14px rgba(31, 168, 163, .28); }
.grup-judul small { font-size: 13.5px; font-weight: 600; color: #4d6d78; }

/* ---------- Kartu menu: bentuk lama, hanya warna aksen yang ditambahkan ---------- */
.menu-cepat .mc-kartu { --a1: #1fc2bd; --a2: #008c91; --glow: 32, 196, 199; }
.menu-cepat .mc-kartu.c-teal   { --a1: #1fc2bd; --a2: #008c91; --glow: 32, 196, 199; }
.menu-cepat .mc-kartu.c-biru   { --a1: #4aa8f5; --a2: #1c6fd2; --glow: 59, 140, 235; }
.menu-cepat .mc-kartu.c-oranye { --a1: #ffb84d; --a2: #f2782a; --glow: 250, 150, 60; }
.menu-cepat .mc-kartu.c-ungu   { --a1: #a98af5; --a2: #6c4fd8; --glow: 130, 100, 225; }
.menu-cepat .mc-kartu.c-hijau  { --a1: #3ddba5; --a2: #0e9a72; --glow: 30, 190, 140; }

.menu-cepat .mc-kartu { box-shadow: 0 6px 18px rgba(0, 80, 90, .08), inset 3px 0 0 var(--a2); }
.menu-cepat .mc-ikon { color: var(--a2); background: rgba(var(--glow), .15); box-shadow: none; }
.menu-cepat .mc-panah { background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 5px 12px rgba(var(--glow), .35); }

/* kartu yang belum tersedia */
.menu-cepat .mc-segera { cursor: not-allowed; }
.menu-cepat .mc-segera .mc-ikon,
.menu-cepat .mc-segera .mc-teks { opacity: .72; }
.menu-cepat .mc-segera:hover { transform: none; }
.mc-chip {
    margin-left: auto; flex: none; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800;
    letter-spacing: .03em; color: #8a4a05; background: #ffe6bd; box-shadow: inset 0 0 0 1px rgba(242, 120, 42, .25);
}

/* ---------- Ringkasan SIMONJAKA ---------- */
.ringkasan-simon { display: grid; gap: 14px; margin: 14px 2px 4px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ringkasan-simon[hidden] { display: none; }
.rs-kotak {
    background: #fff; border-radius: 18px; padding: 14px 20px;
    box-shadow: 0 6px 18px rgba(11, 42, 61, .08), 0 0 0 1px rgba(22, 50, 79, .05);
}
.rs-kotak small { display: block; color: #5b7a80; font-size: 12.5px; font-weight: 600; }
.rs-kotak strong { display: block; margin-top: 3px; font-size: 19px; font-weight: 800; color: #16324f; }

/* ---------- Wilayah Kerja: kartu kecil berfoto, geser ke samping ---------- */
.wilayah-bagian { scroll-margin-top: calc(var(--gab-tinggi-header, 64px) + 12px); }
.wilayah-slider { position: relative; margin: 0 2px 6px; }
.wilayah-grid {
    display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 14px;
    scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: rgba(22, 50, 79, .28) transparent;
}
.wilayah-grid::-webkit-scrollbar { height: 6px; }
.wilayah-grid::-webkit-scrollbar-thumb { background: rgba(22, 50, 79, .25); border-radius: 6px; }
.wil-kartu {
    flex: 0 0 214px; scroll-snap-align: start; overflow: hidden; border-radius: 16px; background: #fff;
    box-shadow: 0 5px 16px rgba(11, 42, 61, .10), 0 0 0 1px rgba(22, 50, 79, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wil-kartu:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11, 42, 61, .16), 0 0 0 1px rgba(22, 50, 79, .08); }
.wil-foto { position: relative; height: 104px; overflow: hidden; background: linear-gradient(135deg, #16324f, #0d5f73); }
.wil-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wil-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 61, 0) 45%, rgba(11, 42, 61, .55) 100%); }
.wil-no {
    position: absolute; z-index: 1; left: 12px; bottom: 7px; font-size: 18px; font-weight: 800; line-height: 1;
    color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.wil-isi { padding: 11px 14px 13px; }
.wil-label { display: none; }
.wil-isi h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 800; color: #16324f; line-height: 1.25; }
.wil-isi p { margin: 0; font-size: 11.5px; color: #6a8790; }
.wil-isi strong { display: block; margin: 1px 0 9px; font-size: 13px; font-weight: 700; color: #16324f; }
.wil-link { font-size: 12.5px; font-weight: 700; color: #008c91; text-decoration: none; }
.wil-link:hover { color: #006b70; text-decoration: underline; }
.wil-nav {
    position: absolute; top: 52px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 22px; line-height: 1; color: #16324f; background: #fff;
    box-shadow: 0 6px 16px rgba(11, 42, 61, .22); transition: opacity .2s, transform .15s;
}
.wil-nav:hover { transform: scale(1.08); }
.wil-nav.prev { left: -10px; }
.wil-nav.next { right: -10px; }
.wil-nav[hidden] { display: none; }

@media (max-width: 720px) {
    html.gab-ok .hero-isi { padding: 44px 20px 70px 24px; }
    html.gab-ok .hero-isi h2 { font-size: 34px; }
    .wil-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wil-kartu, .wil-foto img, .wil-link { transition: none; }
}

/* ---------- Footer banner (gaya dashboard SIMONJAKA lama, warna kolaborasi) ---------- */
.fb {
    position: relative; overflow: hidden; isolation: isolate; margin: 8px 28px 22px; border-radius: 28px; color: #fff;
    box-shadow: 0 18px 44px rgba(11, 42, 61, .28);
}
.fb-latar {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(105deg, rgba(11, 42, 61, .93) 0%, rgba(13, 79, 99, .84) 46%, rgba(0, 128, 134, .58) 100%),
        url("assets/area.jpg") center / cover no-repeat;
}
.fb-bulat { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.fb-bulat.b1 { width: 340px; height: 340px; right: -90px; top: -110px; background: radial-gradient(closest-side, rgba(78, 201, 193, .45), rgba(78, 201, 193, 0)); }
.fb-bulat.b2 { width: 190px; height: 190px; left: 42%; bottom: -80px; background: radial-gradient(closest-side, rgba(0, 200, 215, .32), rgba(0, 200, 215, 0)); }
.fb-isi { padding: 38px 52px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.fb-teks { flex: 1 1 58%; min-width: 0; }
.fb-foto { position: relative; flex: 0 1 38%; min-width: 250px; height: 245px; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.38); box-shadow: 0 16px 34px rgba(0,25,40,.28); }
.fb-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,35,49,.55)); }
.fb-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-foto span { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.fb-pil {
    display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: #d8fbf7; background: rgba(255, 255, 255, .10); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.fb h2 { margin: 14px 0 10px; font-size: 34px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.fb h2 strong {
    display: block; font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #9af0e8 60%, #4ec9c1 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fb h2 em { display: block; margin-top: 4px; font-style: normal; font-size: .62em; font-weight: 600; color: #cfeff0; }
.fb-teks p { max-width: 600px; margin: 0 0 20px; font-size: 14px; line-height: 1.65; color: #d7ecef; }
.fb-aksi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.fb-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.fb-btn.utama { padding: 12px 24px; border-radius: 999px; color: #0b2a3d; background: linear-gradient(135deg, #ffffff, #d9f6f5); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.fb-btn.utama:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .34); }
.fb-btn.tautan { color: #e8fbfa; }
.fb-btn.tautan:hover { color: #8cece5; }
@media (max-width: 900px) {
    .fb { margin: 8px 12px 18px; }
    .fb-isi { padding: 30px 22px; flex-direction: column; align-items: stretch; gap: 22px; }
    .fb-foto { flex: none; min-width: 0; width: 100%; height: 190px; }
    .fb h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .fb-btn { transition: none; } }

/* Informasi tambahan pada kartu wilayah */
.wil-alamat, .wil-deskripsi { display:block; margin-top:6px; color:#64828b; font-size:11px; line-height:1.45; }
.wil-deskripsi { display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Wilayah Kerja: "Lihat Jadwal" dikunci sementara */
.wil-segera {
    display: flex; align-items: center; gap: 8px; cursor: not-allowed;
    font-size: 12.5px; font-weight: 700; color: #8aa0a6;
}
.wil-chip {
    font-style: normal; padding: 2px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
    letter-spacing: .04em; color: #8a4a05; background: #ffe6bd; box-shadow: inset 0 0 0 1px rgba(242, 120, 42, .25);
}

/* ---------- Banner pengumuman "SIMONJAKA segera hadir" ---------- */
.info-segera {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 18px;
    margin: 0 0 16px; padding: 20px 26px; border-radius: 20px;
    color: #fff;
    background: linear-gradient(115deg, #16324f 0%, #0f4a5f 55%, #0a8a8d 100%);
    box-shadow: 0 14px 30px rgba(11, 42, 61, .22);
}
/* hiasan: cahaya lembut + gelombang tipis di kanan, senada dengan hero */
.info-segera::before {
    content: ""; position: absolute; z-index: -1; right: -60px; top: -90px; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 201, 193, .45), rgba(78, 201, 193, 0) 68%);
}
.info-segera::after {
    content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 46px; opacity: .5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 46' preserveAspectRatio='none'%3E%3Cpath d='M0 24C90 4 170 44 270 26S450 4 600 22V46H0z' fill='white' fill-opacity='.08'/%3E%3Cpath d='M0 34C110 16 200 46 320 34S500 18 600 32V46H0z' fill='white' fill-opacity='.08'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.info-segera .is-ikon {
    flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 8px 18px rgba(0, 0, 0, .18);
    animation: isMelayang 3.2s ease-in-out infinite;
}
.info-segera .is-ikon .ic { width: 26px; height: 26px; color: #fff; }
.info-segera .is-teks { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.info-segera .is-teks strong { font: 800 18px/1.25 'Plus Jakarta Sans', 'Poppins', sans-serif; color: #fff; }
.info-segera .is-teks span { font-size: 13.5px; line-height: 1.55; color: #cdeeee; max-width: 90ch; }
.info-segera .is-pil {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #5a3200; background: linear-gradient(135deg, #ffd27a, #ffa940); box-shadow: 0 6px 14px rgba(255, 169, 64, .35);
}
.info-segera .is-pil i { width: 8px; height: 8px; border-radius: 50%; background: #5a3200; animation: isDenyut 1.6s ease-out infinite; }
@keyframes isMelayang { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes isDenyut { 0% { box-shadow: 0 0 0 0 rgba(90, 50, 0, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(90, 50, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .info-segera .is-ikon, .info-segera .is-pil i { animation: none; } }
@media (max-width: 700px) {
    .info-segera { flex-wrap: wrap; padding: 18px; gap: 14px; }
    .info-segera .is-teks { flex: 1 1 200px; }
    .info-segera .is-pil { margin-left: 68px; }
}

/* ---------- Gembok menu terkunci: bulat polos, ikon pas di tengah ---------- */
.menu-cepat .mc-panah { align-self: center; width: 34px; height: 34px; }
.menu-cepat .mc-kartu.is-locked .mc-panah {
    background: #e2eeef; box-shadow: none; display: grid; place-items: center;
    outline: 1px solid rgba(0, 120, 128, .12); outline-offset: -1px;
}
.menu-cepat .mc-kartu.is-locked .mc-panah svg { display: none; }
.menu-cepat .mc-kartu.is-locked .mc-panah::before {
    content: ""; display: block; width: 17px; height: 17px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362868c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.menu-cepat .mc-kartu.is-locked .mc-ikon,
.menu-cepat .mc-kartu.is-locked .mc-teks { opacity: .8; }