/* GerejaConnect - tampilan HP gaya BERKAT (Okt 2026)
   Semua aturan hanya aktif bila <html> punya class "gc-hp" (dipasang gc-app.js
   khusus layar <= 768px). Tampilan komputer TIDAK terpengaruh. */
:root{
  --gc-biru:#2f8f9d; --gc-biru-2:#3a95a2; --gc-emas:#d4af37;
  --gc-teks:#1d2939; --gc-redup:#5b6b80; --gc-garis:#dbe2ec; --gc-latar:#f3f6fb;
}
html.gc-hp body{
  background:var(--gc-latar) !important; color:var(--gc-teks);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-tap-highlight-color:transparent; -webkit-font-smoothing:antialiased;
}
/* Bar atas dengan tombol kembali (halaman selain dashboard) */
html.gc-hp #gc-backbar{
  position:sticky; top:0; z-index:9990; display:flex; align-items:center; gap:10px;
  min-height:54px; padding:calc(env(safe-area-inset-top) + 6px) 12px 6px;
  background:linear-gradient(135deg,var(--gc-biru),var(--gc-biru-2)); color:#fff;
  box-shadow:0 2px 10px rgba(20,45,94,.25); border-bottom:2px solid var(--gc-emas);
  font:600 15px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
html.gc-hp #gc-backbar button{
  width:38px; height:38px; flex:none; border:0; border-radius:50%;
  background:rgba(255,255,255,.15); color:#fff; font-size:20px; line-height:1;
  display:grid; place-items:center; cursor:pointer;
}
html.gc-hp #gc-backbar button:active{background:rgba(255,255,255,.3)}
html.gc-hp #gc-backbar .gc-judul{flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
html.gc-hp #gc-backbar .gc-logo{width:28px; height:28px; border-radius:8px; object-fit:cover; background:#fff}
/* Isian formulir */
html.gc-hp input:not([type=checkbox]):not([type=radio]):not([type=file]),
html.gc-hp select, html.gc-hp textarea{
  border-radius:10px; font-size:16px;  /* 16px: mencegah HP memperbesar layar saat mengetik */
}
html.gc-hp input:focus, html.gc-hp select:focus, html.gc-hp textarea:focus{
  outline:none; border-color:var(--gc-biru-2) !important; box-shadow:0 0 0 3px rgba(29,63,127,.15);
}
/* Gulir halus & gambar tidak meluber */
html.gc-hp{scroll-behavior:smooth}
html.gc-hp img{max-width:100%}
html.gc-hp table{max-width:100%}
/* ===== GC-LOGIN: halaman login (HANYA HP) ===== */
html.gc-hp.gc-hal-login .bg-image{position:relative}
html.gc-hp.gc-hal-login .bg-image::before{content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(160deg,rgba(20,45,94,.93) 0%,rgba(29,63,127,.80) 100%)}
html.gc-hp.gc-hal-login .bg-image>*{position:relative;z-index:1}
html.gc-hp.gc-hal-login .center-logo h1{color:#fff !important;letter-spacing:2px;font-weight:800}
html.gc-hp.gc-hal-login .center-logo h1::after{content:"";display:block;width:56px;height:3px;margin:10px auto 0;border-radius:3px;background:var(--gc-emas)}
html.gc-hp.gc-hal-login .center-logo p{color:rgba(255,255,255,.88) !important}
html.gc-hp.gc-hal-login .login-card{position:relative;z-index:2;background:#fff !important;
  border-radius:26px 26px 0 0 !important;box-shadow:0 -8px 30px rgba(20,45,94,.18) !important}
html.gc-hp.gc-hal-login .btn-masuk{background:linear-gradient(135deg,var(--gc-biru),var(--gc-biru-2)) !important;
  color:#fff !important;border:0 !important;border-radius:12px !important;min-height:50px;font-weight:700 !important;
  box-shadow:0 6px 16px rgba(20,45,94,.28) !important}
html.gc-hp.gc-hal-login #gc-fp-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  min-height:50px;margin-top:12px;border-radius:12px;border:1.5px solid var(--gc-emas);background:#fffdf5;
  color:var(--gc-biru);font:700 15px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer}
html.gc-hp.gc-hal-login #gc-fp-btn:active{background:#fbf3d6}
html.gc-hp.gc-hal-login #gc-fp-btn[disabled]{opacity:.6}
html.gc-hp.gc-hal-login #gc-fp-info{margin-top:6px;text-align:center;font-size:12px;color:var(--gc-redup)}
html.gc-hp.gc-hal-login #error-msg{margin-top:10px;text-align:center}
