:root{
  --bg:#eef3f8;
  --bg2:#f8fbff;
  --surface:#ffffff;
  --surface-2:#f5f9fd;
  --surface-3:#eef5fb;
  --line:#d9e5f0;
  --line-strong:#c5d6e5;
  --text:#15344f;
  --muted:#5f7890;
  --muted-2:#7d92a6;
  --primary:#1da1f2;
  --primary-2:#4cb7f5;
  --primary-dark:#0f4e7a;
  --accent:#2bc8a0;
  --danger:#ff6f86;
  --shadow:0 18px 40px rgba(21,52,79,.10);
  --radius:24px;
  --radius-sm:16px;
  --radius-xs:12px;
  --container:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(76,183,245,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(43,200,160,.12), transparent 22%),
    linear-gradient(180deg,#f8fbff 0%,#eef4f9 100%);
  min-height:100vh;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.container{width:min(var(--container),calc(100% - 32px));margin-inline:auto}
.panel{
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,252,255,.96));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero{min-height:100vh;display:grid;place-items:center;padding:24px}
.brand{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}
.brand-badge{
  display:inline-flex;align-items:center;gap:10px;width:max-content;
  padding:8px 14px;border-radius:999px;
  font-size:13px;letter-spacing:.08em;text-transform:uppercase;
  color:#136398;background:rgba(29,161,242,.10);border:1px solid rgba(29,161,242,.16)
}
.brand h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.08;font-weight:800}
.brand p{margin:0;color:var(--muted);font-size:15px}
.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:24px}
.choice{
  position:relative;overflow:hidden;padding:22px 20px;border-radius:20px;border:1px solid var(--line);
  background:linear-gradient(145deg,#ffffff,#f5faff);
  box-shadow:var(--shadow);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.choice:hover{transform:translateY(-3px);border-color:#b9d7ea}
.choice strong{display:block;font-size:18px;font-weight:800;margin-bottom:6px}
.choice small{display:block;color:var(--muted);font-size:13px}
.choice::after{content:"→";position:absolute;right:18px;top:16px;font-size:20px;color:#3a7ca8}

.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:28px}
.auth-card{
  width:min(1160px,100%);
  display:grid;grid-template-columns:1.1fr .9fr;
  overflow:hidden;border-radius:32px;border:1px solid var(--line);box-shadow:0 28px 80px rgba(21,52,79,.15);
  background:linear-gradient(180deg,#ffffff,#f9fbff)
}
.auth-side{
  position:relative;padding:44px;
  background:
    radial-gradient(circle at top left, rgba(76,183,245,.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(43,200,160,.10), transparent 28%),
    linear-gradient(180deg,#f7fbff,#eef6fd);
  border-right:1px solid var(--line)
}
.auth-side h2{margin:18px 0 10px;font-size:36px;line-height:1.1}
.auth-side p{margin:0;color:var(--muted);max-width:540px}
.auth-points{display:grid;gap:16px;margin-top:28px}
.auth-point{
  padding:18px;border-radius:20px;border:1px solid #d9e8f3;background:rgba(255,255,255,.78)
}
.auth-point strong{display:block;font-size:18px;margin-bottom:6px}
.auth-point span{color:var(--muted);font-size:14px}
.auth-form{padding:44px;display:flex;align-items:center;background:linear-gradient(180deg,#ffffff,#f9fbff)}
.form-card{width:100%}
.form-eyebrow{
  font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#1a8cd8;margin-bottom:10px;font-weight:700
}
.form-card h3{margin:0 0 8px;font-size:30px}
.form-card p{margin:0 0 24px;color:var(--muted);font-size:15px}
.field{margin-bottom:16px}
.field label{display:block;margin-bottom:8px;font-size:14px;color:var(--text);font-weight:700}
.input,.select,.textarea{
  width:100%;padding:15px 16px;border-radius:16px;border:1px solid var(--line-strong);
  background:#fff;color:var(--text);outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease
}
.input::placeholder,.textarea::placeholder{color:#91a4b5}
.input:focus,.select:focus,.textarea:focus{
  border-color:#8ccdf5;box-shadow:0 0 0 5px rgba(29,161,242,.10);background:#fff
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;
  border:none;border-radius:16px;cursor:pointer;font-weight:800;transition:transform .15s ease,box-shadow .2s ease
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{color:#fff;background:linear-gradient(135deg,#35b8ff,#1da1f2);box-shadow:0 16px 34px rgba(29,161,242,.22)}
.btn-secondary{color:var(--primary-dark);background:#edf6fd;border:1px solid var(--line)}
.btn-danger{color:#fff;background:linear-gradient(135deg,#ff7d93,#ff6f86)}
.btn-block{width:100%}

.alert{padding:14px 16px;border-radius:14px;border:1px solid #f2c8cf;margin-bottom:18px;font-size:14px}
.alert-danger{background:#fff1f4;color:#b1455a}
.alert-success{background:#eefdf7;color:#1f8568;border-color:#cbeee0}

.admin-shell{min-height:100vh;display:grid;grid-template-columns:310px 1fr}
.sidebar{
  position:sticky;top:0;height:100vh;padding:22px 18px;
  background:linear-gradient(180deg,#f6fbff,#edf5fb);
  border-right:1px solid var(--line)
}
.sidebar-brand{
  padding:18px;border-radius:22px;background:linear-gradient(180deg,#ffffff,#f4f9fd);
  border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:18px
}
.brand-logo{
  width:84px;height:84px;object-fit:contain;border-radius:20px;
  background:#fff;border:1px solid #dfeaf3;padding:8px;margin-bottom:14px;box-shadow:0 10px 25px rgba(21,52,79,.08)
}
.brand-logo.centered{margin-inline:auto}
.sidebar-brand .mini{font-size:12px;color:#238dcc;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-weight:700}
.sidebar-brand h2{margin:0;font-size:19px;line-height:1.2}
.sidebar-brand p{margin:8px 0 0;color:var(--muted);font-size:14px}

.nav{display:grid;gap:9px;margin-top:14px}
.nav a{
  display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:15px;color:#21425f;
  border:1px solid transparent;transition:background .2s ease,border-color .2s ease,transform .15s ease,font-weight .2s ease
}
.nav a:hover,.nav a.active{
  background:#ffffff;border-color:#d6e4ef;transform:translateX(2px);font-weight:700;box-shadow:0 10px 22px rgba(21,52,79,.08)
}

.sidebar-footer{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}

.content{
  padding:26px;
  background:
    radial-gradient(circle at top right, rgba(76,183,245,.14), transparent 18%),
    linear-gradient(180deg,#f9fbfe,#eef4f9)
}
.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.topbar h1{margin:0;font-size:38px;line-height:1.05}
.topbar p{margin:8px 0 0;color:var(--muted);font-size:16px}
.topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.user-pill{
  display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;
  background:#fff;border:1px solid var(--line);color:var(--muted);font-size:14px;box-shadow:var(--shadow)
}
.dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,var(--accent),#7ce9cc);box-shadow:0 0 0 6px rgba(43,200,160,.15)}

.hero-card{
  padding:28px;border-radius:28px;border:1px solid #dce8f2;
  background:
    radial-gradient(circle at top right, rgba(76,183,245,.14), transparent 26%),
    linear-gradient(135deg,#ffffff,#f2f8fd);
  box-shadow:var(--shadow)
}
.hero-card h2{margin:0 0 10px;font-size:24px}
.hero-card p{margin:0;color:var(--muted);max-width:900px;font-size:16px}
.inline-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

.section{margin-top:22px}
.grid-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.stat-card{
  padding:24px;border-radius:24px;border:1px solid #dce8f2;
  background:linear-gradient(145deg,#ffffff,#f4f9fd);box-shadow:var(--shadow)
}
.stat-label{color:#517392;font-size:14px;margin-bottom:12px}
.stat-value{font-size:42px;font-weight:800;line-height:1;margin-bottom:12px;color:#15344f}
.stat-meta{color:var(--muted);font-size:14px}

.section-grid{display:grid;grid-template-columns:1.25fr .95fr;gap:18px}
.card{
  padding:24px;border-radius:24px;border:1px solid #dce8f2;background:linear-gradient(145deg,#ffffff,#f7fbff);box-shadow:var(--shadow)
}
.card h3{margin:0 0 8px;font-size:19px}
.card p{margin:0;color:var(--muted);font-size:15px}
.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.quick-link{
  padding:18px;border-radius:18px;border:1px solid #dce8f2;background:#fff
}
.quick-link strong{display:block;margin-bottom:6px;font-size:16px}
.quick-link span{color:var(--muted);font-size:14px}

.metric-list{margin-top:16px;display:grid;gap:12px}
.metric{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:16px;
  border:1px solid #dce8f2;background:#fff
}
.metric strong{font-size:14px}
.metric span{color:#15344f;font-weight:800}

.table-wrap{overflow:auto;border-radius:18px;border:1px solid var(--line);background:#fff}
table{width:100%;border-collapse:collapse}
th,td{padding:14px 16px;text-align:left;border-bottom:1px solid #edf2f7;font-size:14px}
th{color:#34536e;background:#f7fbff;position:sticky;top:0}
td{color:#29445e}

.badge{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;
  font-size:12px;font-weight:700;border:1px solid transparent
}
.badge-info{background:#eef7ff;color:#1e7db4;border-color:#cae6fa}
.badge-success{background:#effdf8;color:#1d8a69;border-color:#c9efdf}
.badge-warning{background:#fff8ec;color:#bb7d14;border-color:#f4e1b3}
.badge-danger{background:#fff0f3;color:#b84f62;border-color:#f4ccd3}

.footer-note{
  margin-top:20px;
  color:#6f869b;
  font-size:13px;
  padding:14px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
}
.wafa-footer{
  margin-top:26px;
  padding-top:16px;
  border-top:1px solid #d9e5f0;
  color:#6f869b;
  font-size:13px;
}
.wafa-footer strong{color:#35506a}
.logo-row{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap
}
.logo-copy{flex:1;min-width:240px}
.logo-box{
  width:94px;height:94px;padding:8px;border-radius:24px;background:#fff;border:1px solid #dce8f2;
  box-shadow:0 12px 26px rgba(21,52,79,.08)
}

@media (max-width:1100px){
  .grid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-grid,.auth-card{grid-template-columns:1fr}
  .auth-side{border-right:none;border-bottom:1px solid var(--line)}
}
@media (max-width:920px){
  .admin-shell{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto;border-right:none;border-bottom:1px solid var(--line)}
}
@media (max-width:720px){
  .topbar{flex-direction:column;align-items:flex-start}
  .grid-stats{grid-template-columns:1fr}
  .quick-links{grid-template-columns:1fr}
  .content{padding:18px}
  .auth-side,.auth-form{padding:26px}
}

/* =========================================================
   KOPERASI NI - PREMIUM ACCENT V2
   ========================================================= */

:root{
  --primary:#078ee6;
  --primary-2:#28b7f6;
  --primary-dark:#0a4d78;
  --primary-deep:#073b5d;

  --accent:#0bbf9a;
  --accent-2:#39d1b3;

  --gold:#f2b84b;

  --text:#12324d;
  --muted:#5d7890;

  --accent-shadow:0 16px 36px rgba(7,142,230,.22);
}

/* BODY */
body{
  background:
    radial-gradient(circle at 8% 0%, rgba(40,183,246,.20), transparent 27%),
    radial-gradient(circle at 96% 8%, rgba(11,191,154,.14), transparent 24%),
    linear-gradient(180deg,#f8fbfe 0%,#edf4f9 100%);
}

/* LOGIN */
.auth-card{
  box-shadow:
    0 32px 90px rgba(17,55,83,.17),
    0 0 0 1px rgba(7,142,230,.04);
}

.auth-side{
  background:
    radial-gradient(circle at 12% 8%, rgba(40,183,246,.24), transparent 30%),
    radial-gradient(circle at 100% 90%, rgba(11,191,154,.18), transparent 32%),
    linear-gradient(155deg,#f8fcff 0%,#edf7fd 55%,#e7f7f3 100%);
}

.auth-side::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:5px;
  background:linear-gradient(
    90deg,
    var(--primary),
    var(--primary-2),
    var(--accent),
    var(--gold)
  );
}

.auth-side .brand-logo{
  width:96px;
  height:96px;
  padding:7px;
  border-radius:24px;
  border:1px solid rgba(7,142,230,.18);
  box-shadow:
    0 12px 28px rgba(17,55,83,.12),
    0 0 0 6px rgba(255,255,255,.7);
}

.brand-badge{
  color:#08679f;
  background:linear-gradient(
    90deg,
    rgba(7,142,230,.12),
    rgba(40,183,246,.08)
  );
  border-color:rgba(7,142,230,.23);
  font-weight:700;
}

.form-eyebrow{
  color:var(--primary);
  font-weight:800;
}

.btn-primary{
  color:white;
  background:linear-gradient(
    135deg,
    var(--primary-2) 0%,
    var(--primary) 55%,
    #087ac1 100%
  );
  box-shadow:var(--accent-shadow);
}

.btn-primary:hover{
  box-shadow:0 18px 42px rgba(7,142,230,.30);
}

/* SIDEBAR */
.sidebar{
  background:
    linear-gradient(180deg,#f7fbfe 0%,#edf5fa 100%);
}

.sidebar-brand{
  position:relative;
  overflow:hidden;
}

.sidebar-brand::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(
    180deg,
    var(--primary),
    var(--accent)
  );
}

.sidebar-brand .brand-logo{
  width:90px;
  height:90px;
}

.sidebar-brand .mini{
  color:var(--primary);
  font-weight:800;
}

.nav a{
  position:relative;
}

.nav a:hover{
  color:var(--primary-dark);
}

.nav a.active{
  color:white;
  background:linear-gradient(
    135deg,
    var(--primary),
    #159fe9
  );
  border-color:transparent;
  box-shadow:0 12px 26px rgba(7,142,230,.18);
}

.nav a.active::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  bottom:11px;
  width:4px;
  border-radius:0 6px 6px 0;
  background:#ffffff;
}

/* TOPBAR */
.topbar h1{
  color:var(--primary-deep);
}

.user-pill{
  border-color:rgba(7,142,230,.16);
}

.dot{
  background:linear-gradient(
    135deg,
    var(--accent),
    #56e0c3
  );
}

/* HERO */
.hero-card{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 98% 0%, rgba(40,183,246,.22), transparent 32%),
    radial-gradient(circle at 82% 100%, rgba(11,191,154,.12), transparent 26%),
    linear-gradient(135deg,#ffffff 0%,#f4faff 58%,#edf9f7 100%);
  border-color:#cfe3f1;
}

.hero-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:linear-gradient(
    180deg,
    var(--primary),
    var(--accent)
  );
}

.hero-card h2{
  color:var(--primary-deep);
}

/* STAT CARDS */
.stat-card{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .2s ease;
}

.stat-card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 44px rgba(17,55,83,.14);
}

.stat-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:5px;
  background:linear-gradient(
    90deg,
    var(--primary),
    var(--primary-2)
  );
}

.stat-card:nth-child(2)::before{
  background:linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );
}

.stat-card:nth-child(3)::before{
  background:linear-gradient(
    90deg,
    #f0a93b,
    #ffd36b
  );
}

.stat-card:nth-child(4)::before{
  background:linear-gradient(
    90deg,
    #6c72e8,
    #938df5
  );
}

.stat-label{
  font-weight:600;
  color:#4e7090;
}

.stat-value{
  color:var(--primary-deep);
}

/* MAIN CARDS */
.card{
  position:relative;
}

.card h3{
  color:var(--primary-deep);
}

.quick-link{
  transition:
    transform .16s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.quick-link:hover{
  transform:translateY(-2px);
  border-color:#b7d8ec;
  background:linear-gradient(
    145deg,
    #ffffff,
    #f1f9ff
  );
  box-shadow:0 12px 28px rgba(7,142,230,.09);
}

.quick-link strong{
  color:#10496e;
}

.metric{
  transition:background .18s ease,border-color .18s ease;
}

.metric:hover{
  background:#f3faff;
  border-color:#c7e2f3;
}

.metric span{
  color:var(--primary);
}

/* FOOTER */
.footer-note,
.wafa-footer{
  color:#6a839a;
}

.footer-note strong,
.wafa-footer strong{
  color:var(--primary-dark);
}

/* LOGIN DETAIL */
.auth-point{
  position:relative;
  overflow:hidden;
  transition:
    transform .16s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.auth-point:hover{
  transform:translateY(-2px);
  border-color:#bfdeef;
  box-shadow:0 10px 26px rgba(7,142,230,.08);
}

.auth-point::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(
    180deg,
    var(--primary),
    var(--accent)
  );
}

/* INPUT */
.input:focus,
.select:focus,
.textarea:focus{
  border-color:#69bff0;
  box-shadow:
    0 0 0 5px rgba(7,142,230,.10),
    0 8px 18px rgba(7,142,230,.05);
}

/* LOGOUT */
.btn-danger{
  background:linear-gradient(
    135deg,
    #ff7188,
    #ef5670
  );
  box-shadow:0 12px 24px rgba(239,86,112,.18);
}

/* MOBILE */
@media(max-width:720px){
  .sidebar-brand .brand-logo{
    width:72px;
    height:72px;
  }
}

/* =========================================================
   PREMIUM ADMIN ALL PAGES V3
   ========================================================= */

:root{
  --primary:#068fe8;
  --primary-2:#2bb8f8;
  --primary-3:#eaf7ff;
  --primary-dark:#0c4d79;
  --teal:#10c4a0;
  --teal-2:#48d7b9;
  --gold:#efb44d;
  --purple:#7d7cf4;
  --soft-bg:#f4f9fd;
  --soft-line:#d8e5ef;
}

.sidebar{
  display:flex;
  flex-direction:column;
}

.nav-wrap{
  flex:1;
  overflow:auto;
  padding-right:2px;
}

.sidebar-footer{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}

.page-head-copy h1,
.page-head-copy h2{
  margin:0;
  font-size:34px;
  line-height:1.08;
  color:var(--primary-dark);
}

.page-head-copy p{
  margin:10px 0 0;
  max-width:900px;
  color:var(--muted);
  font-size:15px;
}

.page-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.section-title{
  margin:0 0 6px;
  font-size:20px;
  color:var(--primary-dark);
}

.section-subtitle{
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
}

.card-accent{
  position:relative;
  overflow:hidden;
}

.card-accent::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(180deg,var(--primary),var(--teal));
}

.soft-hero{
  position:relative;
  overflow:hidden;
  border:1px solid #cfe3f0;
  border-radius:26px;
  background:
    radial-gradient(circle at 96% 0%, rgba(43,184,248,.22), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(16,196,160,.12), transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f4fbff 60%,#eefbf8 100%);
  box-shadow:var(--shadow);
  padding:24px 24px 22px;
}

.soft-hero::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:linear-gradient(180deg,var(--primary),var(--teal));
}

.soft-hero h2{
  margin:0 0 8px;
  color:var(--primary-dark);
  font-size:22px;
}

.soft-hero p{
  margin:0;
  color:var(--muted);
  max-width:920px;
}

.mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.mini-card{
  background:#fff;
  border:1px solid #d9e6ef;
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:16px 18px;
  position:relative;
  overflow:hidden;
}

.mini-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:4px;
  background:linear-gradient(90deg,var(--primary),var(--primary-2));
}

.mini-card.teal::before{background:linear-gradient(90deg,var(--teal),var(--teal-2))}
.mini-card.gold::before{background:linear-gradient(90deg,#f0ae37,#ffd778)}
.mini-card.purple::before{background:linear-gradient(90deg,#6f70e8,#9894ff)}

.mini-card .label{
  color:#567694;
  font-size:13px;
  margin-bottom:8px;
}

.mini-card .value{
  font-size:28px;
  font-weight:800;
  color:var(--primary-dark);
  line-height:1;
}

.mini-card .meta{
  margin-top:7px;
  color:var(--muted);
  font-size:13px;
}

.split-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.split-3{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}

.stack{
  display:grid;
  gap:18px;
}

.form-card{
  padding:22px;
  border-radius:24px;
  border:1px solid #dbe7f0;
  background:linear-gradient(145deg,#ffffff,#f7fbff);
  box-shadow:var(--shadow);
}

.form-grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.form-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

textarea.textarea{
  min-height:110px;
  resize:vertical;
}

.toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.filter-inline{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:end;
}

.kbd-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted);
  background:#fff;
  border:1px solid #dce8f2;
  border-radius:999px;
  padding:8px 12px;
}

.note-box{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #d8e7f1;
  background:linear-gradient(180deg,#f8fcff,#f0f8ff);
  color:#4a6a86;
  font-size:14px;
}

.table-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.table-title h3{
  margin:0;
  font-size:18px;
  color:var(--primary-dark);
}

.table-title p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
}

table .actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.btn-sm{
  min-height:38px;
  padding:0 14px;
  border-radius:12px;
  font-size:13px;
}

.btn-ghost{
  color:var(--primary-dark);
  background:#fff;
  border:1px solid #d8e5ef;
}

.badge-neutral{
  background:#f2f7fb;
  color:#4d6c88;
  border-color:#d9e5ef;
}

.top-accent{
  position:relative;
}

.top-accent::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:5px;
  border-radius:24px 24px 0 0;
  background:linear-gradient(90deg,var(--primary),var(--teal));
}

.quick-link{
  position:relative;
  overflow:hidden;
}

.quick-link::after{
  content:"";
  position:absolute;
  right:-30px;
  top:-30px;
  width:90px;
  height:90px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(43,184,248,.10), transparent 70%);
}

.auth-side h2{
  max-width:540px;
}

.auth-point strong{
  color:var(--primary-dark);
}

.footer-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.footer-note .accent-text{
  color:var(--primary-dark);
  font-weight:700;
}

.hero-card,
.stat-card,
.card,
.quick-link,
.metric,
.auth-point,
.auth-card,
.sidebar-brand{
  transition:all .18s ease;
}

.hero-card:hover,
.card:hover,
.sidebar-brand:hover{
  box-shadow:0 22px 44px rgba(17,55,83,.12);
}

.empty-state{
  padding:28px;
  border-radius:20px;
  border:1px dashed #c9dbe8;
  background:#fbfdff;
  color:var(--muted);
  text-align:center;
}

.inline-help{
  font-size:12px;
  color:var(--muted-2);
  margin-top:6px;
}

input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:var(--primary);
}

@media(max-width:1180px){
  .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:920px){
  .split-2,.split-3,.form-grid-2,.form-grid-3{
    grid-template-columns:1fr;
  }
}

@media(max-width:720px){
  .page-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .page-head-copy h1,
  .page-head-copy h2{
    font-size:28px;
  }
  .mini-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   SIDEBAR COMPACT V4
   ========================================================= */

.sidebar-brand-compact{
  min-height:auto !important;
  padding:18px 16px !important;
  display:grid !important;
  grid-template-columns:72px 1fr;
  gap:14px;
  align-items:center;
}

.brand-logo-shell{
  width:72px;
  height:72px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#ffffff,#f5fbff);
  border:1px solid #d8e6ef;
  box-shadow:0 10px 24px rgba(26,73,109,.10);
}

.sidebar-brand-compact .brand-logo{
  width:54px !important;
  height:54px !important;
  margin:0 !important;
}

.sidebar-brand-compact .mini{
  margin:0 0 6px 0;
  font-size:12px;
  letter-spacing:.16em;
}

.sidebar-brand-compact h2{
  margin:0;
  font-size:18px;
  line-height:1.2;
  color:var(--primary-dark);
}

.sidebar-brand-compact p{
  display:none !important;
}

.nav-premium{
  display:grid;
  gap:10px;
}

.nav-premium a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:52px;
  padding:0 16px;
  border-radius:16px;
  color:#335675;
  font-weight:600;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(247,251,255,.94));
  border:1px solid #d7e4ee;
  box-shadow:
    0 6px 16px rgba(26,73,109,.05),
    inset 0 1px 0 rgba(255,255,255,.75);
  transition:all .18s ease;
}

.nav-premium a::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:4px;
  border-radius:8px;
  background:linear-gradient(180deg,#b7d5ea,#d8ebf7);
  opacity:.7;
}

.nav-premium a:hover{
  transform:translateX(2px);
  color:var(--primary-dark);
  background:linear-gradient(180deg,#ffffff,#eef8ff);
  border-color:#c9dff0;
  box-shadow:
    0 10px 22px rgba(15,86,139,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.nav-premium a:hover::before{
  background:linear-gradient(180deg,var(--primary-2),var(--teal));
  opacity:1;
}

.nav-premium a.active{
  color:#fff !important;
  background:linear-gradient(90deg,#1ea2f1 0%, #158ce5 60%, #119fd0 100%) !important;
  border-color:#1495e7 !important;
  box-shadow:
    0 14px 26px rgba(17,120,195,.20),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.nav-premium a.active::before{
  background:#ffffff;
  opacity:.95;
}

.sidebar-footer{
  margin-top:auto;
  padding-top:14px !important;
}

.sidebar-footer .btn-danger{
  box-shadow:0 14px 26px rgba(239,87,116,.18);
}

@media (max-width: 720px){
  .sidebar-brand-compact{
    grid-template-columns:60px 1fr;
    gap:12px;
    padding:16px 14px !important;
  }

  .brand-logo-shell{
    width:60px;
    height:60px;
    border-radius:18px;
  }

  .sidebar-brand-compact .brand-logo{
    width:46px !important;
    height:46px !important;
  }

  .sidebar-brand-compact h2{
    font-size:16px;
  }

  .nav-premium a{
    min-height:48px;
    padding:0 14px;
    border-radius:14px;
  }
}

/* =========================================================
   COPYRIGHT FOOTER V1
   ========================================================= */

.wafa-footer{
  line-height:1.7;
}

.wafa-footer a,
.footer-note a{
  color:var(--primary);
  font-weight:600;
}

.wafa-footer a:hover,
.footer-note a:hover{
  text-decoration:underline;
}

.wafa-footer strong{
  color:var(--primary-dark);
}


/* =========================================================
   LOGIN WAFA LOVE FOOTER FINAL
   ========================================================= */

.login-global-footer{
  grid-column:1 / -1;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;

  padding:14px 22px;

  border-top:1px solid #d8e6ef;

  background:
    linear-gradient(
      90deg,
      rgba(6,143,232,.055),
      rgba(16,196,160,.055)
    );

  color:#688199;
  font-size:12.5px;
  line-height:1.5;
  text-align:center;
}

.login-global-footer strong{
  color:#154b71;
  font-weight:800;
}

.wafa-credit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.wafa-credit a{
  color:#0b78bd;
  font-weight:800;
  text-decoration:none;
  transition:color .16s ease;
}

.wafa-credit a:hover{
  color:#0595e8;
  text-decoration:underline;
}

.wafa-love{
  color:#f05a72;
  font-size:15px;
  line-height:1;
  display:inline-block;
  transform:translateY(-1px);
}

.footer-dot{
  color:#a8becf;
}

@media(max-width:720px){
  .login-global-footer{
    padding:13px 16px;
    gap:5px;
  }

  .footer-dot{
    display:none;
  }
}


/* =========================================================
   GLOBAL COPYRIGHT FOOTER
   ========================================================= */

.app-global-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;

  margin-top:22px;
  padding:14px 20px;

  color:#688198;
  font-size:12.5px;
  line-height:1.5;
  text-align:center;

  border:1px solid #d8e6ef;
  border-radius:16px;

  background:
    linear-gradient(
      90deg,
      rgba(6,143,232,.045),
      rgba(255,255,255,.82) 45%,
      rgba(16,196,160,.045)
    );
}

.app-global-footer strong{
  color:#164c71;
  font-weight:800;
}

.app-global-footer .wafa-credit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.app-global-footer .wafa-credit a{
  color:#0b78bd;
  font-weight:800;
  text-decoration:none;
}

.app-global-footer .wafa-credit a:hover{
  color:#0797e9;
  text-decoration:underline;
}

.app-global-footer .wafa-love{
  color:#f05a72;
  font-size:15px;
  line-height:1;
  transform:translateY(-1px);
}

.app-global-footer .footer-dot{
  color:#a7bdce;
}

@media(max-width:720px){
  .app-global-footer{
    gap:5px;
    padding:13px 14px;
  }

  .app-global-footer .footer-dot{
    display:none;
  }
}



/* =========================================================
   MOBILE RESPONSIVE V1 - KOPERASI NURUL ISHLAH
   Fokus:
   - Landing publik lebih compact
   - Login Admin lebih cepat mencapai form
   - Desktop tidak berubah
   ========================================================= */

.public-badge-mobile,
.admin-badge-mobile,
.login-title-mobile,
.login-intro-mobile{
  display:none;
}


/* =========================================================
   MOBILE <= 720px
   ========================================================= */

@media (max-width:720px){

  /* -------------------------------------------------------
     GLOBAL MOBILE
     ------------------------------------------------------- */

  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }


  /* =======================================================
     PUBLIC HOME
     ======================================================= */

  .public-home .hero{
    min-height:100vh;
    min-height:100dvh;
    display:block;
    padding:18px 14px 28px;
  }

  .public-home .panel{
    width:100% !important;
    max-width:520px !important;
    margin:0 auto;
    padding:20px !important;
    border-radius:26px;
  }

  .public-home .logo-row{
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    align-items:center;
    gap:14px;
  }

  .public-home .logo-box{
    width:76px;
    height:76px;
    min-width:76px;
    padding:8px;
    border-radius:22px;
  }

  .public-home .logo-box img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .public-home .logo-copy{
    min-width:0 !important;
  }

  .public-home .brand{
    gap:5px;
    margin-bottom:0;
  }

  .public-home .public-badge-desktop{
    display:none !important;
  }

  .public-home .public-badge-mobile{
    display:inline-flex !important;
    width:max-content;
    max-width:100%;
    padding:7px 12px;
    font-size:11px;
    line-height:1.15;
    letter-spacing:.08em;
    white-space:nowrap;
  }

  .public-home .brand h1{
    margin:3px 0 0;
    font-size:26px;
    line-height:1.05;
    letter-spacing:-.02em;
  }

  .public-home .brand p{
    margin-top:3px;
    font-size:13px;
    line-height:1.5;
  }

  .public-home .choices{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:18px;
  }

  .public-home .choice{
    padding:17px 46px 17px 17px;
    border-radius:20px;
    min-height:0;
  }

  .public-home .choice strong{
    font-size:17px;
    margin-bottom:4px;
  }

  .public-home .choice small{
    font-size:12.5px;
    line-height:1.45;
  }

  .public-home .choice::after{
    right:16px;
    top:50%;
    transform:translateY(-50%);
  }

  .public-home .app-global-footer{
    margin-top:16px;
    padding:13px 10px;
    border-radius:18px;
    font-size:12px;
    line-height:1.45;
    text-align:center;
  }

  .public-home .app-global-footer .footer-dot{
    display:none;
  }

  .public-home .app-global-footer .wafa-credit{
    justify-content:center;
  }


  /* =======================================================
     ADMIN LOGIN
     ======================================================= */

  .admin-login .auth-wrap{
    min-height:100vh;
    min-height:100dvh;
    display:block;
    padding:12px;
  }

  .admin-login .auth-card{
    width:100%;
    max-width:520px;
    margin:0 auto;
    grid-template-columns:1fr !important;
    border-radius:26px;
    overflow:hidden;
  }

  .admin-login .auth-side{
    padding:18px 18px 15px !important;
    border-right:none !important;
    border-bottom:1px solid var(--line);
  }

  .admin-login .auth-side::after{
    opacity:.55;
  }

  .admin-login .auth-side .brand-logo{
    width:72px !important;
    height:72px !important;
    max-width:72px !important;
    object-fit:contain;
    margin:0 0 11px;
    border-radius:20px;
  }

  .admin-login .admin-badge-desktop{
    display:none !important;
  }

  .admin-login .admin-badge-mobile{
    display:inline-flex !important;
    width:max-content;
    max-width:100%;
    padding:7px 11px;
    font-size:10.5px;
    line-height:1.15;
    letter-spacing:.07em;
    white-space:nowrap;
  }

  .admin-login .login-title-desktop,
  .admin-login .login-intro-desktop{
    display:none !important;
  }

  .admin-login .login-title-mobile{
    display:block !important;
    margin:11px 0 5px;
    font-size:26px !important;
    line-height:1.08;
    letter-spacing:-.025em;
  }

  .admin-login .login-intro-mobile{
    display:block !important;
    margin:0 !important;
    max-width:440px;
    font-size:13.5px !important;
    line-height:1.48;
  }

  .admin-login .auth-points{
    display:none !important;
  }

  .admin-login .auth-form{
    padding:19px 18px 18px !important;
    align-items:flex-start;
  }

  .admin-login .form-eyebrow{
    margin-bottom:7px;
    font-size:11px;
    letter-spacing:.16em;
  }

  .admin-login .form-card h3{
    margin:0 0 5px;
    font-size:27px;
    line-height:1.1;
  }

  .admin-login .form-card > p{
    margin:0 0 16px;
    font-size:13.5px;
    line-height:1.5;
  }

  .admin-login .field{
    margin-bottom:13px;
  }

  .admin-login .field label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
  }

  .admin-login .input{
    min-height:50px;
    padding:12px 14px;
    font-size:16px;
    border-radius:16px;
  }

  .admin-login .btn-block{
    min-height:50px;
    border-radius:16px;
    font-size:16px;
  }

  .admin-login .footer-note{
    margin-top:14px !important;
    padding:13px 14px;
    border-radius:17px;
    gap:3px;
    font-size:12px;
    line-height:1.45;
  }

  .admin-login .login-global-footer{
    padding:13px 12px;
    text-align:center;
    font-size:12px;
    line-height:1.45;
  }

  .admin-login .login-global-footer .footer-dot{
    display:none;
  }

  .admin-login .login-global-footer .wafa-credit{
    justify-content:center;
  }
}


/* =========================================================
   EXTRA SMALL <= 390px
   ========================================================= */

@media (max-width:390px){

  .public-home .hero{
    padding:12px 10px 22px;
  }

  .public-home .panel{
    padding:17px !important;
    border-radius:22px;
  }

  .public-home .logo-row{
    grid-template-columns:68px minmax(0,1fr);
    gap:11px;
  }

  .public-home .logo-box{
    width:68px;
    height:68px;
    min-width:68px;
    border-radius:19px;
  }

  .public-home .brand h1{
    font-size:23px;
  }

  .public-home .brand p{
    font-size:12.5px;
  }

  .admin-login .auth-wrap{
    padding:8px;
  }

  .admin-login .auth-card{
    border-radius:22px;
  }

  .admin-login .auth-side{
    padding:15px !important;
  }

  .admin-login .auth-form{
    padding:17px 15px !important;
  }

  .admin-login .auth-side .brand-logo{
    width:64px !important;
    height:64px !important;
  }

  .admin-login .login-title-mobile{
    font-size:23px !important;
  }

  .admin-login .admin-badge-mobile{
    font-size:10px;
  }
}


/* =========================================================
   PUBLIC COMPACT + MOBILE SIDEBAR V2
   ========================================================= */

.public-badge-mobile{display:none;}
.admin-nav-toggle{
  position:fixed;
  opacity:0;
  pointer-events:none;
}
.mobile-nav-button,
.mobile-nav-overlay,
.sidebar-mobile-head,
.mobile-nav-close,
.burger-lines{
  display:none;
}

/* ---------- Public CTA ---------- */
.choice.choice-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:108px;
  padding:22px 50px 22px 22px;
  border:none;
  box-shadow:0 14px 32px rgba(20,72,113,.14);
}
.choice.choice-cta strong{
  margin:0;
  font-size:21px;
  letter-spacing:.02em;
}
.choice.choice-toko{
  background:linear-gradient(135deg,#16a3ff 0%,#0b7ce0 100%);
  color:#fff;
}
.choice.choice-bmt{
  background:linear-gradient(135deg,#19c37d 0%,#0f9f67 100%);
  color:#fff;
}
.choice.choice-toko strong,
.choice.choice-bmt strong{
  color:#fff;
}
.choice.choice-toko::after,
.choice.choice-bmt::after{
  color:rgba(255,255,255,.95);
  font-size:22px;
  top:50%;
  transform:translateY(-50%);
}
.compact-choice-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.public-panel .brand p{
  max-width:620px;
}

/* ---------- Mobile public compact ---------- */
@media (max-width:720px){

  html,body{
    max-width:100%;
    overflow-x:hidden;
  }

  .public-home .hero{
    min-height:100svh;
    min-height:100dvh;
    display:grid;
    place-items:start center;
    padding:10px 12px 10px;
  }

  .public-home .panel{
    width:100% !important;
    max-width:540px !important;
    margin:0 auto;
    padding:16px !important;
    border-radius:24px;
  }

  .public-home .logo-row{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:12px;
    align-items:center;
  }

  .public-home .logo-box{
    width:72px;
    height:72px;
    min-width:72px;
    border-radius:20px;
    padding:8px;
  }

  .public-home .logo-copy{
    min-width:0 !important;
  }

  .public-home .brand{
    gap:4px;
    margin-bottom:0;
  }

  .public-home .public-badge-desktop{
    display:none !important;
  }

  .public-home .public-badge-mobile{
    display:inline-flex !important;
    width:max-content;
    max-width:100%;
    padding:7px 12px;
    font-size:11px;
    line-height:1.1;
    letter-spacing:.08em;
    white-space:nowrap;
  }

  .public-home .brand h1{
    margin:2px 0 0;
    font-size:24px;
    line-height:1.04;
    letter-spacing:-.02em;
  }

  .public-home .brand p{
    margin-top:2px;
    font-size:12.5px;
    line-height:1.38;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .public-home .choices{
    margin-top:14px;
    gap:10px;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .public-home .choice.choice-cta{
    min-height:86px;
    padding:14px 34px 14px 14px;
    border-radius:20px;
  }

  .public-home .choice.choice-cta strong{
    font-size:16px;
    line-height:1.15;
  }

  .public-home .choice.choice-cta::after{
    right:14px;
    font-size:18px;
  }

  .public-home .app-global-footer{
    margin-top:12px;
    padding:12px 10px;
    border-radius:18px;
    font-size:12px;
    line-height:1.38;
    text-align:center;
  }

  .public-home .app-global-footer .footer-dot{
    display:none;
  }

  .public-home .app-global-footer .wafa-credit{
    justify-content:center;
  }


  /* ---------- Admin mobile sidebar drawer ---------- */
  .mobile-nav-button{
    display:inline-flex;
    align-items:center;
    gap:10px;
    position:fixed;
    top:12px;
    left:12px;
    z-index:1001;
    padding:11px 14px;
    border-radius:16px;
    background:rgba(255,255,255,.96);
    border:1px solid #d8e5ef;
    box-shadow:0 10px 24px rgba(18,53,84,.14);
    color:#17486c;
    font-weight:800;
    cursor:pointer;
    backdrop-filter:blur(8px);
  }

  .burger-lines{
    display:grid;
    gap:4px;
  }

  .burger-lines i{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#17486c;
  }

  .mobile-nav-overlay{
    display:block;
    position:fixed;
    inset:0;
    z-index:998;
    background:rgba(15,37,56,.28);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
  }

  .admin-shell{
    display:block !important;
  }

  .sidebar{
    position:fixed !important;
    top:0;
    left:-320px;
    width:286px;
    max-width:84vw;
    height:100dvh;
    z-index:999;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
    padding-bottom:20px;
    background:#fff;
    transition:left .24s ease;
    box-shadow:0 18px 38px rgba(17,45,74,.18);
  }

  .admin-nav-toggle:checked ~ .sidebar{
    left:0;
  }

  .admin-nav-toggle:checked ~ .mobile-nav-overlay{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .sidebar-mobile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px 8px;
    font-weight:800;
    color:#17486c;
  }

  .mobile-nav-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:12px;
    background:#eef6fb;
    color:#17486c;
    font-size:24px;
    line-height:1;
    cursor:pointer;
  }

  .sidebar-brand{
    padding-top:8px;
  }

  .content{
    padding-top:74px !important;
  }

  .page-head{
    margin-top:0 !important;
  }
}

@media (max-width:390px){
  .public-home .hero{
    padding:8px 10px 10px;
  }

  .public-home .panel{
    padding:14px !important;
    border-radius:22px;
  }

  .public-home .logo-row{
    grid-template-columns:66px minmax(0,1fr);
    gap:10px;
  }

  .public-home .logo-box{
    width:66px;
    height:66px;
    min-width:66px;
    border-radius:18px;
  }

  .public-home .brand h1{
    font-size:22px;
  }

  .public-home .choice.choice-cta{
    min-height:78px;
    padding:12px 30px 12px 12px;
  }

  .public-home .choice.choice-cta strong{
    font-size:15px;
  }

  .mobile-nav-button{
    top:10px;
    left:10px;
    padding:10px 12px;
  }

  .sidebar{
    width:274px;
  }

  .content{
    padding-top:70px !important;
  }
}



/* =========================================================
   PUBLIC MOBILE BALANCE V2.1
   Tombol tetap jelas, layout kembali proporsional terhadap HP
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    min-height:100dvh !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:14px 12px !important;
  }

  .public-home .panel{
    width:100% !important;
    max-width:540px !important;

    /* Jangan terlalu pendek pada layar HP tinggi */
    min-height:min(900px, calc(100dvh - 28px));

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:22px 24px !important;
    border-radius:28px;
  }

  .public-home .logo-row{
    display:grid;
    grid-template-columns:84px minmax(0,1fr);
    gap:16px;
    align-items:center;
  }

  .public-home .logo-box{
    width:84px;
    height:84px;
    min-width:84px;
    padding:8px;
    border-radius:22px;
  }

  .public-home .brand{
    gap:5px;
    margin-bottom:0;
  }

  .public-home .brand h1{
    font-size:27px;
    line-height:1.06;
  }

  .public-home .brand p{
    font-size:13px;
    line-height:1.48;

    /* tampil utuh lagi, tidak dipotong */
    display:block;
    overflow:visible;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin-top:24px !important;
  }

  .public-home .choice.choice-cta{
    min-height:112px !important;
    padding:20px 56px 20px 24px !important;
    justify-content:flex-start !important;
    text-align:left !important;
    border-radius:24px !important;
  }

  .public-home .choice.choice-cta strong{
    font-size:20px !important;
  }

  .public-home .choice.choice-cta::after{
    right:24px !important;
    font-size:25px !important;
  }

  .public-home .app-global-footer{
    margin-top:24px !important;
    padding:16px 12px !important;
    border-radius:20px;
    font-size:12px;
    line-height:1.5;
  }
}


/* HP lebih pendek */
@media (max-width:720px) and (max-height:760px){

  .public-home .panel{
    min-height:calc(100dvh - 20px);
    padding:16px 18px !important;
  }

  .public-home .logo-row{
    grid-template-columns:70px minmax(0,1fr);
    gap:12px;
  }

  .public-home .logo-box{
    width:70px;
    height:70px;
    min-width:70px;
  }

  .public-home .brand h1{
    font-size:23px;
  }

  .public-home .brand p{
    font-size:12px;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    gap:11px !important;
    margin-top:15px !important;
  }

  .public-home .choice.choice-cta{
    min-height:78px !important;
  }

  .public-home .app-global-footer{
    margin-top:14px !important;
    padding:11px 10px !important;
  }
}



/* =========================================================
   PUBLIC PROPORTIONAL V2.2
   Card mengikuti konten, card dipusatkan di viewport
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    min-height:100vh !important;
    min-height:100dvh !important;
    display:grid !important;
    place-items:center !important;
    padding:18px 12px !important;
  }

  .public-home .panel{
    width:100% !important;
    max-width:540px !important;

    /* hapus pemaksaan tinggi dari versi sebelumnya */
    min-height:0 !important;
    height:auto !important;

    display:block !important;
    margin:0 auto !important;
    padding:22px !important;

    border-radius:28px !important;
  }

  .public-home .logo-row{
    display:grid !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    align-items:center !important;
    gap:15px !important;
  }

  .public-home .logo-box{
    width:82px !important;
    height:82px !important;
    min-width:82px !important;
    padding:8px !important;
    border-radius:22px !important;
  }

  .public-home .brand{
    gap:4px !important;
    margin:0 !important;
  }

  .public-home .public-badge-mobile{
    padding:7px 12px !important;
    font-size:11px !important;
  }

  .public-home .brand h1{
    margin:4px 0 0 !important;
    font-size:26px !important;
    line-height:1.05 !important;
  }

  .public-home .brand p{
    margin:4px 0 0 !important;
    font-size:13px !important;
    line-height:1.43 !important;

    display:block !important;
    overflow:visible !important;
    -webkit-line-clamp:unset !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:13px !important;
    margin-top:20px !important;
  }

  .public-home .choice.choice-cta{
    min-height:96px !important;
    padding:18px 54px 18px 22px !important;
    border-radius:23px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;

    text-align:left !important;
  }

  .public-home .choice.choice-cta strong{
    margin:0 !important;
    font-size:19px !important;
    line-height:1.1 !important;
  }

  .public-home .choice.choice-cta::after{
    right:22px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    font-size:23px !important;
  }

  .public-home .app-global-footer{
    margin-top:18px !important;
    padding:14px 10px !important;
    border-radius:20px !important;

    font-size:12px !important;
    line-height:1.42 !important;
  }
}


/* HP sempit */
@media (max-width:390px){

  .public-home .hero{
    padding:12px 10px !important;
  }

  .public-home .panel{
    padding:18px !important;
    border-radius:24px !important;
  }

  .public-home .logo-row{
    grid-template-columns:72px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .public-home .logo-box{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
  }

  .public-home .brand h1{
    font-size:23px !important;
  }

  .public-home .brand p{
    font-size:12px !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:16px !important;
    gap:11px !important;
  }

  .public-home .choice.choice-cta{
    min-height:84px !important;
  }

  .public-home .choice.choice-cta strong{
    font-size:17px !important;
  }

  .public-home .app-global-footer{
    margin-top:15px !important;
    padding:12px 8px !important;
  }
}



/* =========================================================
   ADMIN MOBILE COMPACT V3
   ========================================================= */

@media (max-width:720px){

  /* =======================================================
     MENU BUTTON
     ======================================================= */

  .mobile-nav-button{
    top:12px !important;
    left:12px !important;
    min-height:48px;
    padding:9px 13px !important;
    gap:9px !important;
    border-radius:15px !important;
    font-size:15px !important;
  }

  .burger-lines i{
    width:17px !important;
  }

  /* ketika drawer terbuka, tombol Menu menghilang */
  .admin-nav-toggle:checked ~ .mobile-nav-button{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }


  /* =======================================================
     DRAWER / SIDEBAR
     ======================================================= */

  .sidebar{
    width:282px !important;
    max-width:82vw !important;
    height:100dvh !important;

    padding:0 14px 14px !important;

    background:
      linear-gradient(180deg,#ffffff 0%,#f8fcff 100%) !important;

    overflow:hidden !important;
  }

  .sidebar-mobile-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    min-height:58px;
    padding:10px 2px 8px !important;

    font-size:15px !important;
  }

  .mobile-nav-close{
    width:38px !important;
    height:38px !important;
    border-radius:13px !important;
    font-size:25px !important;
  }


  /* =======================================================
     BRAND SIDEBAR - COMPACT
     ======================================================= */

  .sidebar-brand{
    display:grid !important;
    grid-template-columns:58px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:12px !important;
    row-gap:2px !important;
    align-items:center !important;

    min-height:0 !important;
    margin:0 0 12px !important;
    padding:12px !important;

    border-radius:18px !important;
  }

  .sidebar-brand .brand-logo,
  .sidebar-brand .brand-logo.centered{
    grid-column:1 !important;
    grid-row:1 / 3 !important;

    width:58px !important;
    height:58px !important;
    min-width:58px !important;
    max-width:58px !important;

    margin:0 !important;
    padding:5px !important;

    border-radius:16px !important;
  }

  .sidebar-brand .mini{
    grid-column:2 !important;
    grid-row:1 !important;

    margin:0 !important;
    padding:0 !important;

    font-size:10px !important;
    line-height:1.15 !important;
    letter-spacing:.13em !important;
  }

  .sidebar-brand h2{
    grid-column:2 !important;
    grid-row:2 !important;

    margin:0 !important;

    font-size:17px !important;
    line-height:1.15 !important;
  }

  .sidebar-brand p{
    display:none !important;
  }


  /* =======================================================
     NAVIGATION
     ======================================================= */

  .nav-wrap{
    flex:1 !important;
    min-height:0 !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    padding:0 2px 6px !important;

    scrollbar-width:thin;
  }

  .nav{
    display:grid !important;
    gap:6px !important;
  }

  .nav a{
    min-height:46px !important;

    display:flex !important;
    align-items:center !important;

    margin:0 !important;
    padding:10px 14px !important;

    border-radius:14px !important;

    font-size:15px !important;
    line-height:1.15 !important;
  }

  .nav a.active{
    min-height:48px !important;
  }


  /* =======================================================
     LOGOUT
     ======================================================= */

  .sidebar-footer{
    flex:none !important;

    margin-top:8px !important;
    padding-top:10px !important;
  }

  .sidebar-footer .btn{
    min-height:48px !important;

    padding:10px 14px !important;

    border-radius:15px !important;

    font-size:15px !important;
  }


  /* =======================================================
     DASHBOARD MOBILE
     ======================================================= */

  .content{
    width:100% !important;
    padding:
      76px
      18px
      30px !important;
  }

  .page-head{
    display:block !important;
    margin:0 0 16px !important;
  }

  .page-head-copy h1,
  .page-head-copy h2{
    font-size:30px !important;
    line-height:1.05 !important;
    letter-spacing:-.025em !important;
  }

  .page-head-copy p{
    margin-top:8px !important;

    font-size:14px !important;
    line-height:1.45 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }


  /* =======================================================
     ACTION AREA
     ======================================================= */

  .page-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;

    margin-top:14px !important;
  }

  .page-actions .user-pill{
    min-height:46px !important;
    padding:9px 11px !important;

    border-radius:15px !important;

    font-size:12px !important;
    line-height:1.2 !important;
  }

  .page-actions .btn{
    min-height:46px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:9px 10px !important;

    border-radius:15px !important;

    font-size:12.5px !important;
    line-height:1.15 !important;
    text-align:center !important;
  }


  /* =======================================================
     HERO DASHBOARD:
     desktop = informasi
     mobile = akses cepat
     ======================================================= */

  .soft-hero{
    margin:14px 0 16px !important;
    padding:16px !important;

    border-radius:20px !important;
  }

  .soft-hero h2{
    margin:0 0 12px !important;

    font-size:19px !important;
    line-height:1.2 !important;
  }

  /* deskripsi panjang tidak diperlukan pada HP */
  .soft-hero > p{
    display:none !important;
  }

  .soft-hero .inline-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;

    margin-top:0 !important;
  }

  .soft-hero .inline-actions .btn{
    width:100% !important;
    min-height:44px !important;

    padding:9px 10px !important;

    border-radius:14px !important;

    font-size:12.5px !important;
  }


  /* =======================================================
     STAT CARD
     ======================================================= */

  .grid-stats{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .stat-card{
    min-width:0 !important;
    padding:15px !important;
    border-radius:18px !important;
  }

  .stat-label{
    font-size:11.5px !important;
    line-height:1.3 !important;
  }

  .stat-value{
    margin-top:5px !important;
    font-size:30px !important;
    line-height:1 !important;
  }

  .stat-meta{
    display:none !important;
  }


  /* =======================================================
     CARD DAN SECTION UMUM
     ======================================================= */

  .section{
    margin-top:14px !important;
  }

  .card{
    padding:16px !important;
    border-radius:19px !important;
  }

  .section-title{
    font-size:17px !important;
  }

  .footer-note{
    font-size:11px !important;
  }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width:390px){

  .content{
    padding:
      70px
      14px
      26px !important;
  }

  .page-head-copy h1,
  .page-head-copy h2{
    font-size:27px !important;
  }

  .sidebar{
    width:272px !important;
  }

  .sidebar-brand{
    grid-template-columns:52px minmax(0,1fr) !important;
  }

  .sidebar-brand .brand-logo,
  .sidebar-brand .brand-logo.centered{
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
  }

  .sidebar-brand h2{
    font-size:16px !important;
  }

  .nav a{
    min-height:43px !important;
    font-size:14px !important;
  }
}



/* =========================================================
   PUBLIC MOBILE HINT V2.3
   ========================================================= */

.mobile-attendance-hint{
  display:none;
}

@media (max-width:720px){

  /* Hilangkan label Absensi Premium hanya di HP */
  .public-home .public-badge-mobile,
  .public-home .public-badge-desktop{
    display:none !important;
  }

  /* Karena badge hilang, rapikan posisi judul */
  .public-home .brand h1{
    margin-top:0 !important;
  }

  /* Petunjuk sebelum tombol */
  .public-home .mobile-attendance-hint{
    display:block !important;

    margin-top:22px !important;
    padding:0 4px;

    color:var(--muted);
    font-size:13.5px;
    line-height:1.45;
    text-align:center;
    font-weight:500;
  }

  /* Beri jarak proporsional setelah petunjuk */
  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:20px !important;
  }
}

@media (max-width:390px){

  .public-home .mobile-attendance-hint{
    margin-top:18px !important;
    font-size:12.5px;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:18px !important;
  }
}



/* =========================================================
   PUBLIC TALL BALANCE V2.4
   Card lebih tinggi, isi didistribusikan proporsional
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    min-height:100dvh !important;
    display:grid !important;
    place-items:center !important;
    padding:14px 12px !important;
  }

  .public-home .panel{
    width:100% !important;
    max-width:540px !important;

    /*
      Card sengaja dibuat lebih tinggi.
      Bukan full screen, tetapi cukup memenuhi viewport.
    */
    min-height:80dvh !important;
    height:auto !important;

    display:flex !important;
    flex-direction:column !important;

    padding:
      30px
      24px
      26px !important;

    border-radius:28px !important;
  }


  /* =======================================================
     BAGIAN ATAS
     ======================================================= */

  .public-home .logo-row{
    flex:0 0 auto !important;

    display:grid !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    align-items:center !important;
    gap:15px !important;
  }

  .public-home .logo-box{
    width:82px !important;
    height:82px !important;
    min-width:82px !important;
  }

  .public-home .brand h1{
    font-size:26px !important;
    line-height:1.05 !important;
  }

  .public-home .brand p{
    font-size:13px !important;
    line-height:1.45 !important;
  }


  /* =======================================================
     PETUNJUK
     ======================================================= */

  .public-home .mobile-attendance-hint{
    flex:0 0 auto !important;

    margin:
      38px
      0
      0 !important;

    padding:0 5px !important;

    font-size:13.5px !important;
    line-height:1.45 !important;
  }


  /* =======================================================
     AREA TOMBOL
     ======================================================= */

  .public-home .choices,
  .public-home .compact-choice-grid{
    flex:0 0 auto !important;

    display:grid !important;
    grid-template-columns:1fr !important;

    gap:17px !important;

    /*
      tombol diturunkan lagi agar tidak terlalu dekat
      dengan petunjuk
    */
    margin-top:28px !important;
  }

  .public-home .choice.choice-cta{
    min-height:106px !important;

    padding:
      20px
      56px
      20px
      24px !important;

    border-radius:24px !important;
  }

  .public-home .choice.choice-cta strong{
    font-size:20px !important;
  }


  /* =======================================================
     DISTRIBUSI RUANG KE FOOTER
     ======================================================= */

  .public-home .app-global-footer{
    /*
      Ini yang membuat card terasa lebih tinggi,
      tanpa menciptakan rongga kosong besar di atas.
    */
    margin-top:auto !important;

    padding:
      16px
      10px !important;

    border-radius:20px !important;

    font-size:12px !important;
    line-height:1.45 !important;
  }
}


/* =========================================================
   HP DENGAN LAYAR LEBIH PENDEK
   ========================================================= */

@media (max-width:720px) and (max-height:700px){

  .public-home .panel{
    min-height:86dvh !important;
    padding:22px 20px !important;
  }

  .public-home .mobile-attendance-hint{
    margin-top:24px !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:20px !important;
    gap:12px !important;
  }

  .public-home .choice.choice-cta{
    min-height:88px !important;
  }
}


/* =========================================================
   HP SEMPIT
   ========================================================= */

@media (max-width:390px){

  .public-home .panel{
    min-height:82dvh !important;
    padding:
      24px
      18px
      22px !important;
  }

  .public-home .logo-row{
    grid-template-columns:72px minmax(0,1fr) !important;
  }

  .public-home .logo-box{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
  }

  .public-home .brand h1{
    font-size:23px !important;
  }

  .public-home .mobile-attendance-hint{
    margin-top:30px !important;
    font-size:12.5px !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:24px !important;
  }

  .public-home .choice.choice-cta{
    min-height:94px !important;
  }
}



/* =========================================================
   PUBLIC FINAL V2.5
   - tambah tinggi card 10-12%
   - turunkan area petunjuk + tombol
   ========================================================= */

@media (max-width:720px){

  .public-home .panel{
    /* sebelumnya 80dvh, sekarang dinaikkan */
    min-height:90dvh !important;
  }

  /* turunkan mulai dari teks petunjuk */
  .public-home .mobile-attendance-hint{
    margin-top:54px !important;
  }

  /* turunkan tombol lagi setelah petunjuk */
  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:40px !important;
  }
}

@media (max-width:720px) and (max-height:700px){

  .public-home .panel{
    min-height:94dvh !important;
  }

  .public-home .mobile-attendance-hint{
    margin-top:38px !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:28px !important;
  }
}

@media (max-width:390px){

  .public-home .panel{
    min-height:92dvh !important;
  }

  .public-home .mobile-attendance-hint{
    margin-top:42px !important;
  }

  .public-home .choices,
  .public-home .compact-choice-grid{
    margin-top:30px !important;
  }
}



/* =========================================================
   DASHBOARD HEADER V2
   ========================================================= */

/* Header dashboard tidak lagi membutuhkan blok kanan */
.dashboard-page-head{
  display:block;
}

.dashboard-greeting{
  margin-top:8px !important;
  font-size:16px;
}

/* Tombol halaman publik di dalam hero */
.dashboard-hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.btn-public-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:46px;
  padding:11px 18px;

  border:1px solid #bfe1ef;
  border-radius:14px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.96),
      rgba(228,248,250,.94)
    );

  color:#0d5b7d;
  font-weight:800;
  text-decoration:none;

  box-shadow:0 8px 20px rgba(30,104,140,.08);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.btn-public-page:hover{
  transform:translateY(-1px);
  border-color:#86cfe1;
  box-shadow:0 10px 24px rgba(30,104,140,.13);
}


/* =========================================================
   SIDEBAR DESKTOP - MODEL LAMA
   Mobile V3 tidak terpengaruh
   ========================================================= */

@media (min-width:721px){

  .sidebar-mobile-head,
  .mobile-nav-button,
  .mobile-nav-overlay{
    display:none !important;
  }

  .sidebar-brand{
    display:block !important;
  }

  .sidebar-brand .brand-logo.centered{
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .sidebar-brand .mini{
    display:block !important;
  }

  .sidebar-brand h2{
    display:block !important;
  }

  /* keterangan model lama tetap tampil di desktop */
  .sidebar-brand p{
    display:block !important;
  }
}


/* =========================================================
   MOBILE DASHBOARD
   ========================================================= */

@media (max-width:720px){

  .dashboard-page-head{
    margin-bottom:14px !important;
  }

  .dashboard-greeting{
    display:block !important;

    margin-top:7px !important;

    font-size:14px !important;
    line-height:1.4 !important;

    /*
      Override aturan clamp lama agar salam
      tidak ikut terpotong.
    */
    overflow:visible !important;
    -webkit-line-clamp:unset !important;
  }

  .dashboard-hero-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .dashboard-hero-actions .btn{
    width:100% !important;
  }

  /* tombol publik menjadi baris penuh */
  .dashboard-hero-actions .btn-public-page{
    grid-column:1 / -1 !important;
  }
}



/* =========================================================
   SIDEBAR DESKTOP COMPACT V4
   Logo + Admin Panel + Nama Koperasi
   Tanpa keterangan/deskripsi
   ========================================================= */

@media (min-width:721px){

  .sidebar-brand p{
    display:none !important;
  }

  .sidebar-brand{
    padding-bottom:18px !important;
  }

}



/* =========================================================
   DASHBOARD OPERASIONAL V3
   ========================================================= */


/* ---------- Informasi aplikasi ---------- */

.dashboard-app-info{
  max-width:920px;
  margin:7px 0 0 !important;

  color:var(--muted);
  font-size:14px !important;
  line-height:1.55;
}


/* ---------- Quick actions ---------- */

.dashboard-quick-card{
  padding-top:22px;
  padding-bottom:22px;
}

.dashboard-quick-copy h2{
  margin-bottom:5px;
}

.dashboard-quick-copy p{
  margin:0 0 16px;
}

.dashboard-hero-actions{
  margin-top:0 !important;
}


/* ---------- Stat money ---------- */

.stat-value.stat-money{
  font-size:24px;
}


/* =========================================================
   Section Heading
   ========================================================= */

.dashboard-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:16px;

  margin-bottom:16px;
}

.dashboard-section-head.compact{
  margin-bottom:14px;
}

.dashboard-section-head h3{
  margin:0 0 5px;

  color:var(--primary-dark);
  font-size:20px;
}

.dashboard-section-head p{
  margin:0;

  color:var(--muted);
  font-size:14px;
}

.dashboard-section-link{
  flex:none;

  color:#078fdc;
  font-size:13px;
  font-weight:800;

  text-decoration:none;
}

.dashboard-section-link:hover{
  text-decoration:underline;
}


/* =========================================================
   Operational Status
   ========================================================= */

.dashboard-operation-section{
  padding:20px;

  border:1px solid var(--soft-line);
  border-radius:22px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.98),
      rgba(244,250,254,.95)
    );

  box-shadow:
    0 14px 32px
    rgba(40,76,112,.07);
}

.operation-grid{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:12px;
}

.operation-card{
  position:relative;

  min-width:0;

  padding:16px;

  border:1px solid #dce8f0;
  border-radius:18px;

  background:#fff;

  overflow:hidden;
}

.operation-card::before{
  content:"";

  position:absolute;

  top:0;
  left:0;
  right:0;

  height:4px;

  background:#179eea;
}

.operation-card.success::before{
  background:#13c795;
}

.operation-card.warning::before{
  background:#efb44d;
}

.operation-card.danger::before{
  background:#f06c72;
}

.operation-card.info::before{
  background:#3fa8ea;
}

.operation-card.neutral::before{
  background:#8a87f5;
}

.operation-label{
  display:block;

  color:#58728a;
  font-size:13px;
  line-height:1.3;
}

.operation-value{
  display:block;

  margin-top:8px;

  color:#123f60;
  font-size:30px;
  line-height:1;
}


/* =========================================================
   Bottom information
   ========================================================= */

.dashboard-info-grid{
  display:grid;

  grid-template-columns:
    minmax(0,1.35fr)
    minmax(320px,.75fr);

  gap:18px;
}

.dashboard-activity-card,
.dashboard-system-card{
  min-width:0;
}


/* ---------- Activity ---------- */

.activity-list{
  display:grid;
  gap:8px;
}

.activity-item{
  display:grid;

  grid-template-columns:
    58px
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:12px;

  min-height:64px;

  padding:10px 12px;

  border:1px solid #e0eaf1;
  border-radius:16px;

  background:#fff;
}

.activity-time{
  color:#0c628f;
  font-size:15px;
  font-weight:800;
}

.activity-main{
  min-width:0;
}

.activity-main strong{
  display:block;

  color:#163c58;
  font-size:14px;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.activity-main span{
  display:block;

  margin-top:3px;

  color:var(--muted);
  font-size:12px;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.activity-badge{
  padding:6px 9px;

  border-radius:999px;

  font-size:11px;
  font-weight:800;

  white-space:nowrap;
}

.activity-badge.in{
  color:#08775c;
  background:#e8fbf5;
}

.activity-badge.out{
  color:#176995;
  background:#eaf7ff;
}

.activity-badge.early{
  color:#a26b05;
  background:#fff7df;
}

.activity-badge.auto{
  color:#6759b6;
  background:#f0efff;
}


/* ---------- Empty state ---------- */

.dashboard-empty{
  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  min-height:185px;

  padding:28px 18px;

  border:1px dashed #ccdde8;
  border-radius:18px;

  background:#f9fcfe;

  text-align:center;
}

.dashboard-empty strong{
  color:#174d70;
}

.dashboard-empty span{
  max-width:420px;

  margin-top:6px;

  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}


/* ---------- System ---------- */

.system-status-list{
  display:grid;
  gap:9px;
}

.system-status-item{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:15px;

  min-height:48px;

  padding:10px 13px;

  border:1px solid #e0eaf1;
  border-radius:15px;

  background:#fff;
}

.system-status-item span{
  color:#1d415c;
  font-size:13px;
  font-weight:700;
}

.system-status-item strong{
  color:#087ed0;
  font-size:13px;

  text-align:right;
}

.system-pill{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-width:68px;

  padding:5px 9px;

  border-radius:999px;
}

.system-pill.on{
  color:#08785e !important;
  background:#e7fbf4;
}

.system-pill.off{
  color:#9d5360 !important;
  background:#fff0f2;
}

.system-warning-text{
  color:#d47721 !important;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width:1100px){

  .operation-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .dashboard-info-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width:720px){

  .dashboard-page-head{
    margin-bottom:15px !important;
  }

  .dashboard-greeting{
    margin-bottom:0 !important;
  }

  .dashboard-app-info{
    display:block !important;

    margin-top:7px !important;

    font-size:12.5px !important;
    line-height:1.5 !important;

    overflow:visible !important;

    -webkit-line-clamp:unset !important;
  }


  /* Quick access */

  .dashboard-quick-card{
    padding:15px !important;
  }

  .dashboard-quick-copy h2{
    margin-bottom:0 !important;

    font-size:18px !important;
  }

  .dashboard-quick-copy p{
    display:none;
  }

  .dashboard-hero-actions{
    margin-top:12px !important;
  }


  /* operational */

  .dashboard-operation-section{
    padding:15px;
    border-radius:19px;
  }

  .dashboard-section-head{
    display:block;

    margin-bottom:13px;
  }

  .dashboard-section-head h3{
    font-size:17px;
  }

  .dashboard-section-head p{
    margin-bottom:5px;

    font-size:12px;
  }

  .dashboard-section-link{
    display:inline-block;

    margin-top:5px;
  }

  .operation-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:8px;
  }

  .operation-card{
    padding:12px;
    border-radius:15px;
  }

  .operation-label{
    font-size:11px;
  }

  .operation-value{
    font-size:26px;
  }


  /* bottom */

  .dashboard-info-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .activity-item{
    grid-template-columns:
      48px
      minmax(0,1fr)
      auto;

    gap:8px;

    padding:9px 10px;
  }

  .activity-time{
    font-size:13px;
  }

  .activity-main strong{
    font-size:12px;
  }

  .activity-main span{
    font-size:10.5px;
  }

  .activity-badge{
    padding:5px 7px;
    font-size:9.5px;
  }

  .system-status-item{
    min-height:44px;

    padding:9px 11px;
  }

  .system-status-item span,
  .system-status-item strong{
    font-size:11.5px;
  }
}


/* =========================================================
   Small Phone
   ========================================================= */

@media (max-width:390px){

  .operation-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .activity-item{
    grid-template-columns:
      44px
      minmax(0,1fr);

    position:relative;
  }

  .activity-badge{
    grid-column:2;

    justify-self:start;
  }
}



/* =========================================================
   SIDEBAR DESKTOP COMPACT V5
   Header lebih pendek agar menu tidak perlu scroll
   Mobile tidak berubah
   ========================================================= */

@media (min-width:721px){

  .sidebar-brand{
    min-height:0 !important;

    margin-bottom:12px !important;

    padding:
      14px
      14px
      16px !important;

    border-radius:20px !important;
  }

  .sidebar-brand .brand-logo,
  .sidebar-brand .brand-logo.centered{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
    max-width:72px !important;

    margin:
      0
      auto
      10px !important;

    padding:6px !important;

    border-radius:18px !important;
  }

  .sidebar-brand .mini{
    margin:
      0
      0
      6px !important;

    font-size:10px !important;
    line-height:1.1 !important;
    letter-spacing:.15em !important;
  }

  .sidebar-brand h2{
    margin:0 !important;

    font-size:17px !important;
    line-height:1.15 !important;
  }

  .sidebar-brand p{
    display:none !important;
  }


  /* rapikan jarak antara header dan menu */
  .nav-wrap{
    padding-top:2px !important;
  }

  .nav{
    gap:5px !important;
  }

  .nav a{
    min-height:46px !important;

    padding:
      10px
      13px !important;

    font-size:14px !important;
    line-height:1.15 !important;

    border-radius:13px !important;
  }

  .nav a.active{
    min-height:48px !important;
  }


  /* Logout sedikit lebih compact */
  .sidebar-footer{
    margin-top:8px !important;
    padding-top:10px !important;
  }

  .sidebar-footer .btn{
    min-height:46px !important;

    padding:10px 12px !important;

    font-size:14px !important;

    border-radius:14px !important;
  }

}



/* =========================================================
   SIDEBAR DESKTOP HORIZONTAL V6

   Desktop:
   - logo kiri
   - Admin Panel + nama kanan
   - tanpa deskripsi
   - setiap menu berupa button/card terpisah

   Mobile tetap memakai layout yang sudah ada.
   ========================================================= */

@media (min-width:721px){

  /* =======================================================
     BRAND HEADER
     ======================================================= */

  .sidebar-brand{
    display:grid !important;

    grid-template-columns:
      58px
      minmax(0,1fr) !important;

    grid-template-rows:
      auto
      auto !important;

    column-gap:12px !important;
    row-gap:3px !important;

    align-items:center !important;

    min-height:0 !important;

    margin:
      0
      0
      14px !important;

    padding:
      13px
      14px !important;

    border-radius:18px !important;
  }


  .sidebar-brand .brand-logo,
  .sidebar-brand .brand-logo.centered{
    grid-column:1 !important;
    grid-row:1 / 3 !important;

    width:58px !important;
    height:58px !important;

    min-width:58px !important;
    max-width:58px !important;

    margin:0 !important;

    padding:5px !important;

    border-radius:16px !important;

    align-self:center !important;
  }


  .sidebar-brand .mini{
    grid-column:2 !important;
    grid-row:1 !important;

    display:block !important;

    margin:0 !important;
    padding:0 !important;

    font-size:9.5px !important;
    line-height:1.1 !important;

    letter-spacing:.14em !important;
  }


  .sidebar-brand h2{
    grid-column:2 !important;
    grid-row:2 !important;

    display:block !important;

    margin:0 !important;

    font-size:16px !important;
    line-height:1.15 !important;
  }


  .sidebar-brand p{
    display:none !important;
  }


  /* =======================================================
     NAVIGATION WRAPPER
     ======================================================= */

  .nav-wrap{
    flex:1 !important;

    min-height:0 !important;

    padding:
      0
      2px
      4px !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    scrollbar-width:none;
  }

  .nav-wrap::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
  }


  /* =======================================================
     MENU BUTTONS
     ======================================================= */

  .nav{
    display:grid !important;

    grid-template-columns:1fr !important;

    gap:7px !important;
  }


  .nav a{
    position:relative !important;

    display:flex !important;
    align-items:center !important;

    width:100% !important;

    min-height:44px !important;

    margin:0 !important;

    padding:
      10px
      13px
      10px
      15px !important;

    border:
      1px solid
      #dbe7ef !important;

    border-radius:13px !important;

    background:
      linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fbfd 100%
      ) !important;

    color:#294c68 !important;

    font-size:13.5px !important;
    line-height:1.15 !important;
    font-weight:600 !important;

    text-decoration:none !important;

    box-shadow:
      0 5px 14px
      rgba(33,75,107,.045) !important;

    overflow:hidden !important;

    transition:
      transform .16s ease,
      border-color .16s ease,
      box-shadow .16s ease,
      background .16s ease !important;
  }


  /* aksen kiri inactive */
  .nav a::before{
    content:"" !important;

    position:absolute !important;

    top:9px !important;
    bottom:9px !important;
    left:0 !important;

    width:4px !important;

    border-radius:
      0
      999px
      999px
      0 !important;

    background:#d8edf9 !important;
  }


  .nav a:hover{
    transform:translateY(-1px) !important;

    border-color:#bcdcec !important;

    background:
      linear-gradient(
        180deg,
        #ffffff 0%,
        #f0f9fe 100%
      ) !important;

    box-shadow:
      0 8px 18px
      rgba(26,91,133,.08) !important;
  }


  /* =======================================================
     ACTIVE MENU
     ======================================================= */

  .nav a.active{
    min-height:46px !important;

    border-color:#1499e3 !important;

    background:
      linear-gradient(
        135deg,
        #18a8f3 0%,
        #118ed8 100%
      ) !important;

    color:#ffffff !important;

    font-weight:800 !important;

    box-shadow:
      0 10px 22px
      rgba(15,145,217,.18) !important;
  }


  .nav a.active::before{
    top:9px !important;
    bottom:9px !important;

    background:
      rgba(255,255,255,.95) !important;
  }


  /* =======================================================
     LOGOUT
     ======================================================= */

  .sidebar-footer{
    flex:none !important;

    margin-top:8px !important;

    padding-top:10px !important;

    border-top:
      1px solid
      #d9e4ec !important;
  }


  .sidebar-footer .btn{
    min-height:46px !important;

    padding:
      10px
      13px !important;

    border-radius:13px !important;

    font-size:14px !important;
    font-weight:800 !important;
  }

}



/* =========================================================
   SIDEBAR DESKTOP SPACING V7
   Isi ruang sidebar lebih proporsional
   Mobile tidak berubah
   ========================================================= */

@media (min-width:721px){

  /* area menu */
  .nav-wrap{
    padding:
      7px
      2px
      10px !important;
  }

  .nav{
    gap:10px !important;
  }


  /* setiap menu sedikit lebih besar */
  .nav a{
    min-height:54px !important;

    padding:
      13px
      15px
      13px
      16px !important;

    border-radius:14px !important;

    font-size:14px !important;
    line-height:1.15 !important;

    font-weight:600 !important;
  }


  /* menu aktif */
  .nav a.active{
    min-height:56px !important;

    font-weight:800 !important;
  }


  /* aksen kiri mengikuti tinggi tombol baru */
  .nav a::before{
    top:11px !important;
    bottom:11px !important;
  }

  .nav a.active::before{
    top:11px !important;
    bottom:11px !important;
  }


  /* beri jarak sedikit sebelum logout */
  .sidebar-footer{
    margin-top:12px !important;
    padding-top:12px !important;
  }


  /* logout diseimbangkan dengan menu */
  .sidebar-footer .btn{
    min-height:52px !important;

    padding:
      12px
      14px !important;

    border-radius:14px !important;

    font-size:14px !important;
  }

}



/* =========================================================
   DATA KARYAWAN V2
   ========================================================= */

.employee-alert{
  margin-bottom:14px;
}

.employee-alert-success{
  color:#08755b;
  background:#eafaf5;
  border:1px solid #b9ecd9;
}

.employee-alert-danger{
  color:#a04552;
  background:#fff0f2;
  border:1px solid #f3cbd1;
}


/* ---------- stats ---------- */

.employees-stats-section{
  margin-top:16px;
}

.employee-face-stat::before{
  background:#efb44d !important;
}


/* ---------- form + guide ---------- */

.employee-entry-grid{
  display:grid;

  grid-template-columns:
    minmax(0,1.35fr)
    minmax(300px,.65fr);

  gap:18px;
}

.employee-create-card,
.employee-guide-card{
  min-width:0;
}

.employee-card-head{
  margin-bottom:18px;
}

.employee-card-head h3{
  margin:0 0 6px;

  color:var(--primary-dark);
  font-size:23px;
}

.employee-card-head p{
  margin:0;

  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.employee-form-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:14px;
}

.employee-field-wide{
  grid-column:1 / -1;
}

.field-help{
  display:block;

  margin-top:6px;

  color:#7890a3;
  font-size:11.5px;
  line-height:1.4;
}

.employee-form-actions{
  margin-top:4px;
}


/* ---------- guide ---------- */

.employee-guide-card{
  align-self:start;
}

.employee-guide-list{
  display:grid;
  gap:9px;
}

.employee-guide-item{
  padding:12px 13px;

  border:1px solid #dfebf2;
  border-radius:14px;

  background:#f8fcfe;
}

.employee-guide-item strong{
  display:block;

  margin-bottom:3px;

  color:#174968;
  font-size:13px;
}

.employee-guide-item span{
  display:block;

  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}


/* ---------- list ---------- */

.employee-list-card{
  padding:20px;
}

.employee-list-head{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:16px;

  margin-bottom:15px;
}

.employee-list-head h3{
  margin:0 0 5px;

  color:var(--primary-dark);
  font-size:20px;
}

.employee-list-head p{
  margin:0;

  color:var(--muted);
  font-size:13px;
}


/* ---------- filter ---------- */

.employee-filter-bar{
  display:grid;

  grid-template-columns:
    minmax(220px,1.6fr)
    minmax(120px,.65fr)
    minmax(130px,.7fr)
    minmax(140px,.75fr)
    auto
    auto;

  gap:9px;

  align-items:center;

  margin-bottom:15px;
}

.employee-filter-bar .input{
  min-height:44px;
}

.employee-filter-button{
  min-height:44px;

  padding-left:15px;
  padding-right:15px;

  white-space:nowrap;
}


/* ---------- table ---------- */

.employee-table-wrap{
  border:1px solid #e0eaf1;
  border-radius:16px;

  overflow:auto;
}

.employee-table{
  min-width:900px;
}

.employee-table th{
  white-space:nowrap;
}

.employee-row-inactive{
  opacity:.68;
}

.employee-name-cell strong{
  display:block;
}

.employee-name-cell small{
  display:block;

  margin-top:3px;

  color:#8ba0af;
  font-size:10.5px;
}

.employee-phone{
  white-space:nowrap;

  color:#31536b;
}

.employee-muted{
  color:#9aabb6;
}

.employee-face-badge{
  display:inline-flex;

  align-items:center;

  padding:6px 9px;

  border-radius:999px;

  font-size:11px;
  font-weight:800;

  white-space:nowrap;
}

.employee-face-badge.ready{
  color:#08775d;
  background:#e8faf4;
}

.employee-face-badge.missing{
  color:#a56d09;
  background:#fff5d9;
}

.employee-actions{
  display:flex;

  flex-wrap:wrap;

  gap:6px;

  align-items:center;
}

.employee-actions form{
  margin:0;
}

.employee-empty{
  min-height:90px;
}


/* =========================================================
   EDIT KARYAWAN
   ========================================================= */

.employee-edit-grid{
  display:grid;

  grid-template-columns:
    minmax(0,1.4fr)
    minmax(280px,.6fr);

  gap:18px;
}

.employee-edit-status{
  align-self:start;
}

.employee-edit-actions{
  display:flex;

  flex-wrap:wrap;

  gap:9px;

  margin-top:5px;
}

.employee-status-summary{
  display:grid;

  gap:9px;

  margin-bottom:14px;
}

.employee-status-summary > div{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:12px;

  padding:11px 12px;

  border:1px solid #dfebf2;
  border-radius:14px;

  background:#f9fcfe;
}

.employee-status-summary span{
  color:var(--muted);
  font-size:12px;
}

.employee-status-summary strong{
  color:#174968;
  font-size:12.5px;

  text-align:right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1100px){

  .employee-entry-grid,
  .employee-edit-grid{
    grid-template-columns:1fr;
  }

  .employee-filter-bar{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .employee-filter-search{
    grid-column:1 / -1;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:720px){

  .employees-page-head{
    margin-bottom:12px !important;
  }

  .employees-stats{
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }

  .employee-entry-grid{
    gap:12px;
  }

  .employee-card-head{
    margin-bottom:14px;
  }

  .employee-card-head h3{
    font-size:18px;
  }

  .employee-card-head p{
    font-size:12px;
  }

  .employee-form-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .employee-field-wide{
    grid-column:auto;
  }

  .employee-create-card,
  .employee-guide-card,
  .employee-list-card{
    padding:15px !important;
  }

  .employee-guide-list{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }

  .employee-guide-item{
    padding:10px;
  }

  .employee-guide-item span{
    font-size:10.5px;
  }

  .employee-filter-bar{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }

  .employee-filter-search{
    grid-column:1 / -1;
  }

  .employee-filter-button{
    width:100%;
  }

  .employee-list-card{
    overflow:hidden;
  }

  .employee-table-wrap{
    margin-left:-2px;
    margin-right:-2px;
  }

  .employee-edit-grid{
    gap:12px;
  }

  .employee-edit-actions{
    display:grid;

    grid-template-columns:1fr 1fr;
  }

  .employee-edit-actions .btn{
    width:100%;
  }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width:390px){

  .employees-stats{
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }

  .employee-guide-list{
    grid-template-columns:1fr;
  }

  .employee-filter-bar{
    grid-template-columns:1fr;
  }

  .employee-filter-search{
    grid-column:auto;
  }
}



/* =========================================================
   DATA KARYAWAN MODAL V3
   ========================================================= */


/* ---------- page ---------- */

.employee-list-only{
  margin-top:8px !important;
}

.employee-add-button{
  min-width:168px;
}


/* =========================================================
   MODAL
   ========================================================= */

.employee-modal{
  width:min(650px,calc(100vw - 32px));

  max-width:650px;

  max-height:calc(100dvh - 40px);

  padding:0;

  border:0;
  border-radius:24px;

  background:#ffffff;

  box-shadow:
    0 30px 80px
    rgba(20,52,78,.28);

  overflow:hidden;
}


.employee-modal::backdrop{
  background:
    rgba(13,38,58,.48);

  backdrop-filter:
    blur(4px);
}


.employee-modal-shell{
  max-height:calc(100dvh - 40px);

  overflow:auto;

  padding:26px;
}


.employee-modal-head{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:18px;

  margin-bottom:22px;
}


.employee-modal-eyebrow{
  display:block;

  margin-bottom:6px;

  color:#078fdc;

  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
}


.employee-modal-head h2{
  margin:0 0 7px;

  color:var(--primary-dark);

  font-size:27px;
  line-height:1.1;
}


.employee-modal-head p{
  max-width:520px;

  margin:0;

  color:var(--muted);

  font-size:13px;
  line-height:1.5;
}


.employee-modal-close{
  flex:none;

  display:flex;

  align-items:center;
  justify-content:center;

  width:40px;
  height:40px;

  padding:0;

  border:0;
  border-radius:13px;

  background:#eef7fb;

  color:#174968;

  font-family:inherit;
  font-size:26px;
  line-height:1;

  cursor:pointer;
}


.employee-modal-close:hover{
  background:#e2f1f8;
}


.employee-modal-form-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:14px;
}


.employee-modal-wide{
  grid-column:1 / -1;
}


.employee-modal-actions{
  display:flex;

  align-items:center;

  gap:9px;

  margin-top:20px;
}


.employee-modal-actions .btn{
  min-width:130px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:720px){

  .employees-page-head{
    display:flex !important;

    align-items:flex-start !important;

    justify-content:space-between !important;

    gap:10px !important;
  }


  .employees-page-head .page-head-copy{
    min-width:0;
  }


  .employees-page-head .page-actions{
    display:block !important;

    margin:0 !important;
  }


  .employee-add-button{
    min-width:0 !important;

    width:auto !important;

    min-height:42px !important;

    padding:
      9px
      11px !important;

    font-size:11.5px !important;

    white-space:nowrap;
  }


  .employee-list-only{
    margin-top:5px !important;
  }


  .employee-modal{
    width:calc(100vw - 20px);

    max-height:calc(100dvh - 20px);

    border-radius:21px;
  }


  .employee-modal-shell{
    max-height:calc(100dvh - 20px);

    padding:19px 16px;
  }


  .employee-modal-head{
    margin-bottom:17px;
  }


  .employee-modal-head h2{
    font-size:22px;
  }


  .employee-modal-head p{
    font-size:12px;
  }


  .employee-modal-close{
    width:36px;
    height:36px;

    font-size:23px;
  }


  .employee-modal-form-grid{
    grid-template-columns:1fr;

    gap:10px;
  }


  .employee-modal-wide{
    grid-column:auto;
  }


  .employee-modal-actions{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:8px;
  }


  .employee-modal-actions .btn{
    width:100%;

    min-width:0;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width:390px){

  .employees-page-head{
    display:block !important;
  }


  .employees-page-head .page-actions{
    margin-top:12px !important;
  }


  .employee-add-button{
    width:100% !important;
  }

}



/* =========================================================
   MULTI UNIT EMPLOYEE FINAL V1
   ========================================================= */

.employee-unit-picker{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.employee-unit-choice{
  display:flex;
  align-items:center;
  gap:10px;

  min-height:52px;

  padding:11px 14px;

  border:1px solid #dce8ef;
  border-radius:15px;

  background:#f9fcfe;

  cursor:pointer;
}

.employee-unit-choice:hover{
  border-color:#a9d8ec;
  background:#f1fafe;
}

.employee-unit-choice input{
  width:18px;
  height:18px;
  margin:0;

  accent-color:#159be4;
}

.employee-unit-choice span{
  color:#174968;
  font-size:13px;
  font-weight:800;
}

.employee-unit-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.employee-unit-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:6px 9px;

  border-radius:999px;

  font-size:10.5px;
  font-weight:800;

  white-space:nowrap;
}

.employee-unit-badge.unit-toko{
  color:#0876a8;
  background:#e4f6ff;
}

.employee-unit-badge.unit-bmt{
  color:#08765c;
  background:#e6faf3;
}

.employee-unit-badge.primary{
  box-shadow:
    inset 0 0 0 2px
    rgba(20,116,165,.18);
}

@media(max-width:720px){

  .employee-unit-picker{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}

@media(max-width:390px){

  .employee-unit-picker{
    grid-template-columns:1fr;
  }
}



/* =========================================================
   FACE REGISTRATION V2
   ========================================================= */

.face-enroll-grid{
  display:grid;

  grid-template-columns:
    minmax(0,700px)
    minmax(280px,360px);

  gap:20px;

  align-items:start;
}


.face-enroll-card{
  min-width:0;

  padding:22px;
}


.face-employee-head{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:14px;

  margin-bottom:16px;
}


.face-eyebrow{
  display:block;

  margin-bottom:5px;

  color:#1196db;

  font-size:10px;
  font-weight:900;

  letter-spacing:.16em;
}


.face-employee-head h2{
  margin:0 0 4px;

  color:var(--primary-dark);

  font-size:23px;
  line-height:1.15;
}


.face-employee-head p{
  margin:0;

  color:var(--muted);

  font-size:13px;
}


.face-existing-status{
  flex:none;

  padding:7px 10px;

  border-radius:999px;

  color:#996c11;
  background:#fff4d8;

  font-size:10.5px;
  font-weight:800;

  white-space:nowrap;
}


.face-existing-status.registered{
  color:#08755b;
  background:#e7f9f3;
}



/* =========================================================
   CAMERA
   ========================================================= */

.face-enroll-camera{
  position:relative;

  width:100%;

  aspect-ratio:4 / 3;

  overflow:hidden;

  border:
    1px solid
    #d8e6ee;

  border-radius:22px;

  background:#0d1e29;

  isolation:isolate;
}


.face-enroll-camera video{
  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  /*
    PENTING:
    Preview registrasi ditampilkan NORMAL.
    Tidak di-mirror / scaleX(-1).
  */
  transform:none !important;

  -webkit-transform:none !important;

  z-index:1;
}


.face-guide{
  position:absolute;

  inset:0;

  display:flex;

  align-items:center;
  justify-content:center;

  pointer-events:none;

  overflow:hidden;

  z-index:3;
}


.face-guide-oval{
  width:41%;
  height:72%;

  max-width:255px;
  max-height:360px;

  min-width:160px;

  border:
    3px solid
    rgba(255,255,255,.9);

  border-radius:
    48%
    48%
    45%
    45%
    /
    42%
    42%
    56%
    56%;

  box-shadow:
    0 0 0 9999px
    rgba(7,24,34,.36),
    0 0 28px
    rgba(255,255,255,.18);

  transition:
    border-color .18s ease,
    box-shadow .18s ease;

  position:relative;
}


.face-guide-oval::before,
.face-guide-oval::after{
  content:"";

  position:absolute;

  left:50%;

  width:8px;
  height:8px;

  transform:translateX(-50%);

  border-radius:50%;

  background:
    rgba(255,255,255,.85);
}


.face-guide-oval::before{
  top:14px;
}


.face-guide-oval::after{
  bottom:14px;
}


.face-guide-oval.valid{
  border-color:#36e2ad;

  box-shadow:
    0 0 0 9999px
    rgba(7,24,34,.27),
    0 0 30px
    rgba(54,226,173,.34);
}


.face-guide-oval.warning{
  border-color:#ffcb58;
}


.face-guide-oval.invalid{
  border-color:#ff7382;
}


.face-camera-badge{
  position:absolute;

  top:14px;
  left:14px;

  z-index:5;

  padding:
    7px
    10px;

  border-radius:999px;

  color:#ffffff;

  background:
    rgba(13,35,49,.64);

  backdrop-filter:
    blur(8px);

  font-size:10.5px;
  font-weight:800;
}


.face-camera-badge.ready::before{
  content:"";

  display:inline-block;

  width:7px;
  height:7px;

  margin-right:6px;

  border-radius:50%;

  background:#36e2ad;
}



/* =========================================================
   LIVE STATUS
   ========================================================= */

.face-live-status{
  display:flex;

  align-items:flex-start;

  gap:11px;

  margin-top:14px;

  padding:
    13px
    14px;

  border:
    1px solid
    #dfebf1;

  border-radius:15px;

  background:#f8fbfd;
}


.face-live-status strong{
  display:block;

  margin-bottom:2px;

  color:#214d69;

  font-size:13px;
}


.face-live-status span{
  display:block;

  color:var(--muted);

  font-size:11.5px;
  line-height:1.4;
}


.face-live-dot{
  flex:none;

  width:11px;
  height:11px;

  margin-top:3px;

  border-radius:50%;

  background:#8aa0af;

  box-shadow:
    0 0 0 5px
    rgba(138,160,175,.12);
}


.face-live-status.loading .face-live-dot{
  background:#149ce2;
}


.face-live-status.warning .face-live-dot{
  background:#e6ac2c;

  box-shadow:
    0 0 0 5px
    rgba(230,172,44,.13);
}


.face-live-status.ready .face-live-dot,
.face-live-status.success .face-live-dot{
  background:#18b887;

  box-shadow:
    0 0 0 5px
    rgba(24,184,135,.13);
}


.face-live-status.danger .face-live-dot{
  background:#ef6072;

  box-shadow:
    0 0 0 5px
    rgba(239,96,114,.12);
}



/* =========================================================
   ACTION
   ========================================================= */

.face-enroll-actions{
  display:flex;

  align-items:center;

  gap:9px;

  margin-top:14px;
}


.face-save-button{
  min-width:210px;
}


.face-save-button:disabled{
  opacity:.48;

  cursor:not-allowed;

  box-shadow:none !important;

  transform:none !important;
}


.face-save-result{
  min-height:18px;

  margin-top:9px;

  font-size:12px;
}


.face-save-result.success{
  color:#08755b;

  font-weight:700;
}


.face-save-result.danger{
  color:#b74659;

  font-weight:700;
}



/* =========================================================
   GUIDE CARD
   ========================================================= */

.face-guide-card{
  padding:20px;

  align-self:start;
}


.face-guide-steps{
  display:grid;

  gap:10px;
}


.face-guide-step{
  display:grid;

  grid-template-columns:
    30px
    minmax(0,1fr);

  gap:10px;

  align-items:start;

  padding:
    11px
    12px;

  border:
    1px solid
    #dfebf1;

  border-radius:14px;

  background:#f9fcfe;
}


.face-guide-step > span{
  display:flex;

  align-items:center;
  justify-content:center;

  width:30px;
  height:30px;

  border-radius:10px;

  color:#087daf;

  background:#e4f5fc;

  font-size:12px;
  font-weight:900;
}


.face-guide-step strong{
  display:block;

  margin-bottom:3px;

  color:#214d69;

  font-size:12px;
}


.face-guide-step p{
  margin:0;

  color:var(--muted);

  font-size:10.8px;
  line-height:1.45;
}



/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1050px){

  .face-enroll-grid{
    grid-template-columns:1fr;
  }

  .face-guide-card{
    max-width:none;
  }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:720px){

  .face-page-head{
    gap:10px !important;
  }


  .face-page-head .page-actions{
    margin:0 !important;
  }


  .face-back-button{
    min-height:40px !important;

    padding:
      9px
      10px !important;

    font-size:11px !important;

    white-space:nowrap;
  }


  .face-enroll-grid{
    gap:12px;
  }


  .face-enroll-card{
    padding:14px !important;

    border-radius:20px !important;
  }


  .face-employee-head{
    margin-bottom:12px;
  }


  .face-employee-head h2{
    font-size:19px;
  }


  .face-existing-status{
    padding:6px 8px;

    font-size:9.5px;
  }


  .face-enroll-camera{
    /*
      Mobile dibuat portrait agar panduan wajah
      lebih natural dan area muka lebih besar.
    */
    aspect-ratio:3 / 4;

    max-height:
      min(
        64dvh,
        560px
      );

    border-radius:20px;
  }


  .face-guide-oval{
    width:61%;
    height:65%;

    min-width:0;

    max-width:270px;
    max-height:370px;
  }


  .face-live-status{
    padding:
      11px
      12px;

    margin-top:11px;
  }


  .face-live-status strong{
    font-size:12px;
  }


  .face-live-status span{
    font-size:10.5px;
  }


  .face-enroll-actions{
    display:grid;

    grid-template-columns:
      1fr
      auto;

    gap:7px;

    margin-top:11px;
  }


  .face-save-button{
    min-width:0;

    width:100%;
  }


  .face-guide-card{
    padding:15px !important;
  }


  .face-guide-steps{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }


  .face-guide-step{
    display:block;

    padding:10px;
  }


  .face-guide-step > span{
    width:25px;
    height:25px;

    margin-bottom:7px;
  }

}



/* =========================================================
   SMALL PHONE
   ========================================================= */

@media(max-width:390px){

  .face-page-head{
    display:block !important;
  }


  .face-page-head .page-actions{
    margin-top:10px !important;
  }


  .face-back-button{
    width:100%;
  }


  .face-guide-steps{
    grid-template-columns:1fr;
  }


  .face-enroll-actions{
    grid-template-columns:1fr;
  }


  .face-enroll-actions .btn{
    width:100%;
  }

}



/* =========================================================
   FACE SUCCESS POPUP V3
   ========================================================= */

body.face-popup-open{
  overflow:hidden;
}


.face-success-overlay{
  position:fixed;

  inset:0;

  z-index:99999;

  display:flex;

  align-items:center;
  justify-content:center;

  padding:20px;

  background:
    rgba(10,31,46,.52);

  backdrop-filter:
    blur(5px);

  opacity:0;
  visibility:hidden;

  pointer-events:none;

  transition:
    opacity .2s ease,
    visibility .2s ease;
}


.face-success-overlay.show{
  opacity:1;
  visibility:visible;

  pointer-events:auto;
}


.face-success-popup{
  width:min(430px,100%);

  padding:
    30px
    28px
    26px;

  border:
    1px solid
    rgba(219,234,242,.95);

  border-radius:26px;

  background:#ffffff;

  box-shadow:
    0 30px 80px
    rgba(9,36,55,.28);

  text-align:center;

  transform:
    translateY(12px)
    scale(.97);

  opacity:0;

  transition:
    transform .22s ease,
    opacity .22s ease;
}


.face-success-overlay.show
.face-success-popup{
  transform:
    translateY(0)
    scale(1);

  opacity:1;
}


.face-success-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  width:76px;
  height:76px;

  margin:
    0 auto
    18px;

  border-radius:50%;

  color:#ffffff;

  background:
    linear-gradient(
      135deg,
      #20c997,
      #13a778
    );

  box-shadow:
    0 14px 30px
    rgba(25,180,132,.24);

  font-size:38px;
  font-weight:900;
  line-height:1;
}


.face-success-popup h2{
  margin:
    0
    0
    10px;

  color:#123f5d;

  font-size:26px;
  line-height:1.15;
}


.face-success-popup p{
  margin:
    0
    auto;

  max-width:340px;

  color:#667f91;

  font-size:14px;
  line-height:1.55;
}


.face-success-popup p strong{
  color:#214e6c;
}


.face-success-actions{
  display:grid;

  grid-template-columns:1fr;

  gap:9px;

  margin-top:24px;
}


.face-success-actions .btn{
  width:100%;

  min-height:48px;

  display:flex;

  align-items:center;
  justify-content:center;
}


/* MOBILE */

@media(max-width:720px){

  .face-success-overlay{
    padding:16px;
  }


  .face-success-popup{
    width:min(380px,100%);

    padding:
      27px
      20px
      21px;

    border-radius:23px;
  }


  .face-success-icon{
    width:68px;
    height:68px;

    margin-bottom:15px;

    font-size:33px;
  }


  .face-success-popup h2{
    font-size:23px;
  }


  .face-success-popup p{
    font-size:12.5px;
  }


  .face-success-actions{
    margin-top:20px;
  }

}



/* =========================================================
   SCANNER MOBILE V2
   ========================================================= */

.scan-page-v2{
  min-height:100dvh;

  margin:0;

  background:
    linear-gradient(
      145deg,
      #eef8fc 0%,
      #f7fbfd 52%,
      #eefaf7 100%
    );
}


.scan-v2-wrap{
  min-height:100dvh;

  display:flex;

  justify-content:center;

  padding:
    max(14px,env(safe-area-inset-top))
    14px
    max(18px,env(safe-area-inset-bottom));
}


.scan-v2-card{
  width:min(560px,100%);

  align-self:flex-start;

  padding:18px;

  border:
    1px solid
    rgba(207,225,235,.92);

  border-radius:26px;

  background:
    rgba(255,255,255,.95);

  box-shadow:
    0 18px 55px
    rgba(29,72,100,.12);
}



/* HEADER */

.scan-v2-header{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:12px;

  margin-bottom:14px;
}


.scan-v2-eyebrow{
  display:block;

  margin-bottom:4px;

  color:#1498dc;

  font-size:9px;
  font-weight:900;

  letter-spacing:.16em;
}


.scan-v2-header h1{
  margin:0;

  color:#103f5e;

  font-size:28px;
  line-height:1.05;
}


.scan-v2-header p{
  margin:
    5px
    0
    0;

  color:#6d8596;

  font-size:12.5px;
}


.scan-v2-unit{
  flex:none;

  padding:
    7px
    10px;

  border-radius:999px;

  font-size:10px;
  font-weight:900;
}


.scan-v2-unit.toko{
  color:#087cad;
  background:#e2f5fd;
}


.scan-v2-unit.bmt{
  color:#08785e;
  background:#e4f8f1;
}



/* CAMERA */

.scan-v2-camera{
  position:relative;

  width:100%;

  aspect-ratio:3 / 4;

  max-height:58dvh;

  overflow:hidden;

  border-radius:22px;

  background:#102633;

  isolation:isolate;
}


.scan-v2-camera video{
  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  transform:none !important;
  -webkit-transform:none !important;

  z-index:1;
}


.scan-v2-guide{
  position:absolute;

  inset:0;

  z-index:3;

  display:flex;

  align-items:center;
  justify-content:center;

  pointer-events:none;
}


.scan-v2-oval{
  width:59%;
  height:64%;

  max-width:260px;

  border:
    3px solid
    rgba(255,255,255,.88);

  border-radius:
    48%
    48%
    44%
    44%
    /
    42%
    42%
    56%
    56%;

  box-shadow:
    0 0 0 9999px
    rgba(7,25,35,.30);

  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}


.scan-v2-oval.ready{
  border-color:#34e1ac;

  box-shadow:
    0 0 0 9999px
    rgba(7,25,35,.22),
    0 0 28px
    rgba(52,225,172,.32);
}


.scan-v2-oval.warning{
  border-color:#ffcb59;
}


.scan-v2-oval.danger{
  border-color:#ff7181;
}


.scan-v2-camera-label{
  position:absolute;

  top:12px;
  left:12px;

  z-index:5;

  padding:
    6px
    9px;

  border-radius:999px;

  color:#fff;

  background:
    rgba(13,38,52,.62);

  backdrop-filter:
    blur(7px);

  font-size:9.5px;
  font-weight:800;
}



/* CHIPS */

.scan-v2-status-row{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:8px;

  margin-top:11px;
}


.scan-v2-chip{
  display:flex;

  align-items:center;

  gap:8px;

  min-height:38px;

  padding:
    8px
    10px;

  border-radius:12px;

  background:#f5f9fb;

  color:#486578;

  font-size:10.5px;
  font-weight:800;
}


.scan-v2-dot{
  width:8px;
  height:8px;

  border-radius:50%;

  background:#8ca0ae;
}


.scan-v2-chip.ready{
  color:#08765c;
  background:#e9faf4;
}


.scan-v2-chip.ready
.scan-v2-dot{
  background:#1abb89;
}


.scan-v2-chip.warning{
  color:#93690f;
  background:#fff7e1;
}


.scan-v2-chip.warning
.scan-v2-dot{
  background:#e6ad2e;
}


.scan-v2-chip.danger{
  color:#b24656;
  background:#fff0f2;
}


.scan-v2-chip.danger
.scan-v2-dot{
  background:#ed6274;
}



/* FACE POSITION */

.scan-v2-position{
  margin-top:9px;

  padding:
    10px
    12px;

  border:
    1px solid
    #dfebf1;

  border-radius:13px;

  background:#f8fbfd;

  text-align:center;
}


.scan-v2-position strong{
  display:block;

  color:#214e6b;

  font-size:11.5px;
}


.scan-v2-position span{
  display:block;

  margin-top:2px;

  color:#748b9a;

  font-size:10px;
}


.scan-v2-position.ready{
  border-color:#bdebdc;
  background:#edfbf6;
}


.scan-v2-position.warning{
  border-color:#f0dfac;
  background:#fffbef;
}


.scan-v2-position.danger{
  border-color:#f3ced4;
  background:#fff5f6;
}



/* BUTTON */

.scan-v2-button{
  width:100%;

  min-height:50px;

  margin-top:10px;

  font-size:15px;
  font-weight:900;
}


.scan-v2-button:disabled{
  opacity:.48;

  cursor:not-allowed;

  box-shadow:none !important;
}



/* RESULT */

.scan-v2-result{
  min-height:48px;

  margin-top:9px;

  padding:
    11px
    12px;

  border-radius:13px;

  color:#31546b;

  background:#f5f9fb;

  font-size:11.5px;
  line-height:1.4;

  text-align:center;
}


.scan-v2-result.processing{
  color:#126f9d;

  background:#eaf7fd;
}


.scan-v2-result.success{
  color:#08765c;

  background:#e9faf4;

  font-weight:700;
}


.scan-v2-result.danger{
  color:#b24656;

  background:#fff0f2;

  font-weight:700;
}


.scan-v2-note{
  margin:
    10px
    0;

  color:#708796;

  font-size:9.8px;

  line-height:1.4;

  text-align:center;
}


.scan-v2-back{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;

  min-height:42px;
}



/* SMALL PHONE */

@media(max-width:420px){

  .scan-v2-wrap{
    padding:
      max(8px,env(safe-area-inset-top))
      8px
      max(12px,env(safe-area-inset-bottom));
  }


  .scan-v2-card{
    padding:12px;

    border-radius:21px;
  }


  .scan-v2-header{
    margin-bottom:10px;
  }


  .scan-v2-header h1{
    font-size:24px;
  }


  .scan-v2-camera{
    max-height:55dvh;

    border-radius:18px;
  }


  .scan-v2-oval{
    width:62%;
    height:65%;
  }

}


/* LANDSCAPE / DESKTOP */

@media(min-width:721px){

  .scan-v2-camera{
    aspect-ratio:4 / 3;

    max-height:520px;
  }


  .scan-v2-oval{
    width:40%;
    height:72%;
  }

}



/* =========================================================
   AUTO FACE SCAN V3
   ========================================================= */

body.scan-processing-open,
body.scan-result-open{
  overflow:hidden;
}


/* AUTO STATUS */

.scan-auto-status{
  display:flex;

  align-items:center;

  gap:11px;

  margin-top:10px;

  padding:
    11px
    13px;

  border:
    1px solid
    #cde5ef;

  border-radius:14px;

  background:
    linear-gradient(
      135deg,
      #eff9fd,
      #f1fbf7
    );
}


.scan-auto-icon{
  flex:none;

  display:flex;

  align-items:center;
  justify-content:center;

  width:34px;
  height:34px;

  border-radius:50%;

  color:#1297dc;

  background:#def3fd;

  font-size:19px;
  font-weight:900;
}


.scan-auto-status strong{
  display:block;

  color:#174c6b;

  font-size:11.5px;
}


.scan-auto-status span:last-child{
  display:block;

  margin-top:2px;

  color:#718998;

  font-size:9.8px;
  line-height:1.35;
}


.scan-auto-status.ready
.scan-auto-icon{
  color:#078261;

  background:#ddf8ee;
}


.scan-auto-status.locked{
  background:#f5f7f9;
}


.scan-auto-status.locked
.scan-auto-icon{
  color:#7c919f;

  background:#e8eef2;
}



/* =========================================================
   PROCESSING OVERLAY
   ========================================================= */

.scan-processing-overlay{
  position:fixed;

  inset:0;

  z-index:99990;

  display:flex;

  align-items:center;
  justify-content:center;

  padding:20px;

  background:
    rgba(8,29,43,.55);

  backdrop-filter:
    blur(6px);

  opacity:0;
  visibility:hidden;

  pointer-events:none;

  transition:
    opacity .18s ease,
    visibility .18s ease;
}


.scan-processing-overlay.show{
  opacity:1;
  visibility:visible;

  pointer-events:auto;
}


/*
  Pulse warna lembut, bukan flashing cepat.
*/
.scan-processing-overlay.show::before{
  content:"";

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      135deg,
      rgba(22,175,242,.15),
      rgba(28,219,164,.14),
      rgba(166,94,245,.13),
      rgba(255,190,69,.12)
    );

  background-size:
    300%
    300%;

  animation:
    scanProcessingGlow
    1.35s
    ease-in-out
    infinite alternate;
}


@keyframes scanProcessingGlow{

  0%{
    background-position:
      0% 40%;

    opacity:.55;
  }

  100%{
    background-position:
      100% 60%;

    opacity:1;
  }

}


.scan-processing-box{
  position:relative;

  z-index:2;

  width:min(310px,100%);

  padding:
    28px
    22px;

  border:
    1px solid
    rgba(255,255,255,.32);

  border-radius:25px;

  background:
    rgba(255,255,255,.94);

  box-shadow:
    0 25px 70px
    rgba(4,28,43,.28);

  text-align:center;
}


.scan-processing-ring{
  position:relative;

  width:74px;
  height:74px;

  margin:
    0 auto
    17px;

  border-radius:50%;

  background:
    conic-gradient(
      #17a9ef,
      #21d8a4,
      #9168e8,
      #f5b941,
      #17a9ef
    );

  animation:
    scanRingRotate
    1s
    linear
    infinite;
}


.scan-processing-ring::before{
  content:"";

  position:absolute;

  inset:7px;

  border-radius:50%;

  background:#ffffff;
}


.scan-processing-ring span{
  position:absolute;

  inset:21px;

  z-index:2;

  border-radius:50%;

  background:
    #e9f8fd;
}


@keyframes scanRingRotate{

  to{
    transform:
      rotate(360deg);
  }

}


.scan-processing-box strong{
  display:block;

  color:#123f5d;

  font-size:18px;
}


.scan-processing-box p{
  margin:
    7px
    0
    0;

  color:#6d8494;

  font-size:11.5px;
  line-height:1.45;
}



/* =========================================================
   RESULT POPUP
   ========================================================= */

.scan-result-overlay{
  position:fixed;

  inset:0;

  z-index:99999;

  display:flex;

  align-items:center;
  justify-content:center;

  padding:18px;

  background:
    rgba(8,28,42,.55);

  backdrop-filter:
    blur(6px);

  opacity:0;
  visibility:hidden;

  pointer-events:none;

  transition:
    opacity .2s ease,
    visibility .2s ease;
}


.scan-result-overlay.show{
  opacity:1;
  visibility:visible;

  pointer-events:auto;
}


.scan-result-popup{
  width:min(410px,100%);

  padding:
    28px
    23px
    22px;

  border:
    1px solid
    rgba(218,233,241,.94);

  border-radius:25px;

  background:#ffffff;

  box-shadow:
    0 28px 80px
    rgba(5,30,45,.30);

  text-align:center;

  transform:
    translateY(12px)
    scale(.97);

  transition:
    transform .2s ease;
}


.scan-result-overlay.show
.scan-result-popup{
  transform:
    translateY(0)
    scale(1);
}


.scan-result-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  width:72px;
  height:72px;

  margin:
    0 auto
    17px;

  border-radius:50%;

  color:#ffffff;

  background:
    linear-gradient(
      135deg,
      #23c99a,
      #11a575
    );

  box-shadow:
    0 13px 30px
    rgba(21,175,128,.24);

  font-size:36px;
  font-weight:900;
}


.scan-result-overlay.warning
.scan-result-icon{
  background:
    linear-gradient(
      135deg,
      #f2bd43,
      #dc991d
    );

  box-shadow:
    0 13px 30px
    rgba(222,160,31,.23);
}


.scan-result-overlay.danger
.scan-result-icon{
  background:
    linear-gradient(
      135deg,
      #f46b7c,
      #d84258
    );

  box-shadow:
    0 13px 30px
    rgba(221,68,89,.22);
}


.scan-result-popup h2{
  margin:
    0
    0
    9px;

  color:#123f5d;

  font-size:23px;
  line-height:1.15;
}


.scan-result-popup p{
  margin:
    0
    auto;

  max-width:330px;

  color:#657e8f;

  font-size:12.5px;
  line-height:1.55;
}


.scan-result-popup .btn{
  width:100%;

  min-height:47px;

  margin-top:21px;
}



/* MOBILE */

@media(max-width:420px){

  .scan-processing-box{
    width:min(290px,100%);

    padding:
      25px
      18px;
  }


  .scan-processing-ring{
    width:66px;
    height:66px;
  }


  .scan-result-popup{
    width:min(360px,100%);

    padding:
      26px
      19px
      20px;
  }


  .scan-result-icon{
    width:66px;
    height:66px;

    font-size:32px;
  }


  .scan-result-popup h2{
    font-size:21px;
  }

}



/* =========================================================
   SCANNER VOICE V4
   ========================================================= */

.scan-auto-status{
  position:relative;
}


.scan-voice-indicator{
  flex:none;

  display:flex;

  align-items:center;
  justify-content:center;

  width:34px;
  height:34px;

  margin-left:auto;

  border-radius:50%;

  color:#087b60;

  background:#def8ee;

  font-size:17px;

  line-height:1;
}


.scan-auto-status.locked
.scan-voice-indicator{
  color:#697f8e;

  background:#e8eef2;
}


@media(max-width:420px){

  .scan-voice-indicator{
    width:31px;
    height:31px;

    font-size:15px;
  }

}



/* =========================================================
   VOICE + BLINK LIVENESS V5
   ========================================================= */

.scan-v2-status-row{
  grid-template-columns:
    repeat(3,minmax(0,1fr));
}


@media(max-width:420px){

  .scan-v2-status-row{
    gap:6px;
  }


  .scan-v2-chip{
    padding:
      8px
      7px;

    gap:5px;

    font-size:9.4px;
  }


  .scan-v2-dot{
    width:7px;
    height:7px;
  }

}



/* =========================================================
   WEEKLY SCHEDULE V1
   ========================================================= */

.weekly-eyebrow{
  display:block;

  margin-bottom:5px;

  color:#1599dc;

  font-size:10px;
  font-weight:900;

  letter-spacing:.15em;
}


.weekly-page-head h1{
  margin-bottom:7px;
}



/* SUCCESS */

.weekly-success{
  display:flex;

  align-items:center;

  gap:12px;

  margin-bottom:16px;

  padding:
    13px
    16px;

  border:
    1px solid
    #bfeadd;

  border-radius:16px;

  background:#edfaf6;
}


.weekly-success-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  flex:none;

  width:34px;
  height:34px;

  border-radius:50%;

  color:#fff;

  background:#18b887;

  font-weight:900;
}


.weekly-success strong{
  display:block;

  color:#08765b;

  font-size:12px;
}


.weekly-success span{
  display:block;

  margin-top:2px;

  color:#618578;

  font-size:10.5px;
}



/* SUMMARY */

.weekly-summary{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:10px;

  margin-bottom:16px;
}


.weekly-stat{
  padding:
    13px
    15px;

  border:
    1px solid
    #dce9f0;

  border-radius:16px;

  background:#fff;
}


.weekly-stat span{
  display:block;

  color:#718797;

  font-size:10.5px;
}


.weekly-stat strong{
  display:block;

  margin-top:5px;

  color:#154b6d;

  font-size:22px;
}



/* TABS */

.weekly-unit-switch{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,260px));

  gap:9px;

  margin-bottom:15px;
}


.weekly-unit-tab{
  display:flex;

  align-items:center;

  gap:10px;

  min-height:62px;

  padding:
    9px
    12px;

  border:
    1px solid
    #d7e6ee;

  border-radius:16px;

  background:#fff;

  cursor:pointer;

  text-align:left;
}


.weekly-unit-tab.active{
  border-color:#62c4ee;

  background:
    linear-gradient(
      135deg,
      #edf9fe,
      #f5fcff
    );

  box-shadow:
    0 7px 20px
    rgba(20,151,216,.10);
}


.weekly-tab-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  width:38px;
  height:38px;

  flex:none;

  border-radius:12px;

  color:#087eb4;

  background:#dff4fd;

  font-size:15px;
  font-weight:900;
}


.weekly-tab-icon.bmt{
  color:#08765c;

  background:#e0f8ef;
}


.weekly-unit-tab strong{
  display:block;

  color:#174b6a;

  font-size:12px;
}


.weekly-unit-tab small{
  display:block;

  margin-top:2px;

  color:#7b909e;

  font-size:9.5px;
}



/* UNIT PANEL */

.weekly-unit-panel{
  display:none;
}


.weekly-unit-panel.active{
  display:block;
}


.weekly-main-card{
  padding:20px;
}


.weekly-card-header{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:18px;

  margin-bottom:17px;
}


.weekly-card-header h2{
  margin:
    7px
    0
    4px;

  color:#124c70;

  font-size:22px;
}


.weekly-card-header p{
  margin:0;

  color:#708697;

  font-size:11.5px;
}


.weekly-unit-label{
  display:inline-flex;

  padding:
    5px
    8px;

  border-radius:999px;

  color:#087caf;

  background:#dff4fd;

  font-size:9px;
  font-weight:900;
}


.weekly-unit-label.bmt{
  color:#08745b;

  background:#e0f8ef;
}


.weekly-rule{
  flex:none;

  min-width:230px;

  padding:
    11px
    13px;

  border:
    1px solid
    #d5e8f2;

  border-radius:14px;

  background:#f1f9fd;
}


.weekly-rule.bmt{
  border-color:#d5ede5;

  background:#f1fbf7;
}


.weekly-rule strong{
  display:block;

  color:#245873;

  font-size:10.5px;
}


.weekly-rule span{
  display:block;

  margin-top:3px;

  color:#78909e;

  font-size:9.5px;
}



/* TABLE */

.weekly-table-wrap{
  width:100%;

  overflow:auto;

  border:
    1px solid
    #dce9f0;

  border-radius:16px;
}


.weekly-table{
  width:100%;

  min-width:990px;

  border-collapse:separate;
  border-spacing:0;

  background:#fff;
}


.weekly-table th,
.weekly-table td{
  padding:10px 8px;

  border-bottom:
    1px solid
    #e5eef3;

  border-right:
    1px solid
    #edf3f6;

  text-align:center;

  vertical-align:middle;
}


.weekly-table tr:last-child td{
  border-bottom:0;
}


.weekly-table th:last-child,
.weekly-table td:last-child{
  border-right:0;
}


.weekly-table thead th{
  background:#f7fafc;

  color:#315b73;

  font-size:10px;
}


.weekly-table thead th span{
  display:block;

  font-size:11px;
  font-weight:900;
}


.weekly-table thead th small{
  display:block;

  margin-top:2px;

  color:#8194a0;

  font-size:8.5px;
  font-weight:500;
}


.weekly-name-column{
  position:sticky;

  left:0;

  z-index:2;

  width:185px;
  min-width:185px;

  background:#fff !important;

  text-align:left !important;
}


thead .weekly-name-column{
  z-index:3;

  background:#f7fafc !important;
}


.weekly-name-column strong{
  display:block;

  color:#204e69;

  font-size:10.5px;
}


.weekly-name-column span{
  display:block;

  margin-top:2px;

  color:#8a9aa5;

  font-size:8.5px;
}



/* SHIFT SELECT */

.weekly-shift-select{
  width:100%;
  min-width:90px;

  padding:
    8px
    7px;

  border:
    1px solid
    #dae6ec;

  border-radius:10px;

  color:#84949f;

  background:#f8fafb;

  font-size:9.5px;

  outline:none;
}


.weekly-shift-select.scheduled{
  border-color:#9edcf5;

  color:#087caf;

  background:#eaf8fe;

  font-weight:800;
}


.weekly-shift-select:focus{
  border-color:#24a7e4;

  box-shadow:
    0 0 0 3px
    rgba(36,167,228,.10);
}



/* BMT TOGGLE */

.weekly-bmt-toggle{
  display:inline-block;

  cursor:pointer;
}


.weekly-bmt-toggle input{
  position:absolute;

  opacity:0;

  pointer-events:none;
}


.weekly-bmt-toggle-ui{
  display:flex;

  align-items:center;
  justify-content:center;

  min-width:74px;
  min-height:34px;

  padding:
    6px
    8px;

  border:
    1px solid
    #e2e9ed;

  border-radius:10px;

  color:#8998a1;

  background:#f7f9fa;

  font-size:9px;
  font-weight:800;
}


.weekly-toggle-on{
  display:none;
}


.weekly-bmt-toggle input:checked
+ .weekly-bmt-toggle-ui{
  border-color:#9de1cd;

  color:#08785d;

  background:#e7f9f3;
}


.weekly-bmt-toggle input:checked
+ .weekly-bmt-toggle-ui
.weekly-toggle-on{
  display:inline;
}


.weekly-bmt-toggle input:checked
+ .weekly-bmt-toggle-ui
.weekly-toggle-off{
  display:none;
}



/* SAVE */

.weekly-save-row{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:12px;

  margin-top:15px;
}


.weekly-save-note{
  color:#7d909d;

  font-size:10px;
}


.weekly-save-btn{
  min-width:190px;
}



/* MOBILE FORM */

.weekly-mobile-form{
  display:none;
}


.weekly-mobile-list{
  display:grid;

  gap:10px;
}


.weekly-employee-card{
  overflow:hidden;

  border:
    1px solid
    #dce9f0;

  border-radius:17px;

  background:#fff;
}


.weekly-employee-head{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:10px;

  padding:
    12px
    13px;

  border-bottom:
    1px solid
    #e8f0f4;

  background:#f9fbfc;
}


.weekly-employee-head span{
  display:block;

  color:#1a9ddd;

  font-size:8px;
  font-weight:900;

  letter-spacing:.12em;
}


.weekly-employee-head strong{
  display:block;

  margin-top:3px;

  color:#194b69;

  font-size:13px;
}


.weekly-employee-unit{
  padding:
    5px
    8px;

  border-radius:999px;

  color:#087eb3;

  background:#e0f4fd;

  font-size:8.5px;
  font-weight:900;
}


.weekly-employee-unit.bmt{
  color:#08775c;

  background:#e2f8f0;
}


.weekly-mobile-day{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:12px;

  min-height:54px;

  padding:
    8px
    12px;

  border-bottom:
    1px solid
    #edf2f5;
}


.weekly-mobile-day:last-child{
  border-bottom:0;
}


.weekly-mobile-day > span{
  min-width:72px;
}


.weekly-mobile-day strong{
  display:block;

  color:#31586f;

  font-size:10.5px;
}


.weekly-mobile-day small{
  display:block;

  margin-top:2px;

  color:#8b9aa4;

  font-size:8.5px;
}


.weekly-mobile-day
.weekly-shift-select{
  width:145px;
}


.weekly-mobile-save{
  width:100%;

  min-height:48px;

  margin-top:12px;
}



/* INFO */

.weekly-info-card{
  display:flex;

  align-items:flex-start;

  gap:11px;

  margin-top:14px;

  padding:
    13px
    15px;

  border:
    1px solid
    #dce9f0;

  border-radius:16px;

  background:#f8fbfd;
}


.weekly-info-icon{
  display:flex;

  align-items:center;
  justify-content:center;

  flex:none;

  width:29px;
  height:29px;

  border-radius:9px;

  color:#087ead;

  background:#e1f4fc;

  font-weight:900;
}


.weekly-info-card strong{
  display:block;

  color:#315a72;

  font-size:10.5px;
}


.weekly-info-card p{
  margin:
    3px
    0
    0;

  color:#78909e;

  font-size:9.5px;
  line-height:1.5;
}


.weekly-empty{
  padding:35px 20px;

  border:
    1px dashed
    #d6e3e9;

  border-radius:14px;

  color:#80929e;

  background:#fafcfd;

  text-align:center;

  font-size:11px;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:720px){

  .weekly-summary{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }


  .weekly-stat{
    padding:
      10px
      11px;
  }


  .weekly-stat strong{
    font-size:18px;
  }


  .weekly-unit-switch{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }


  .weekly-unit-tab{
    min-height:55px;

    padding:
      8px
      9px;
  }


  .weekly-tab-icon{
    width:32px;
    height:32px;
  }


  .weekly-unit-tab strong{
    font-size:10.5px;
  }


  .weekly-unit-tab small{
    font-size:8px;
  }


  .weekly-main-card{
    padding:13px !important;
  }


  .weekly-card-header{
    display:block;

    margin-bottom:12px;
  }


  .weekly-card-header h2{
    font-size:18px;
  }


  .weekly-card-header p{
    font-size:10px;
  }


  .weekly-rule{
    min-width:0;

    margin-top:11px;

    padding:
      9px
      10px;
  }


  .weekly-desktop-form{
    display:none;
  }


  .weekly-mobile-form{
    display:block;
  }


  .weekly-mobile-day
  .weekly-shift-select{
    width:135px;
  }


  .weekly-info-card{
    margin-top:10px;
  }

}



/* =========================================================
   AUDIT KEHADIRAN V1
   ========================================================= */

.attendance-audit-eyebrow{
  display:block;
  margin-bottom:5px;
  color:#1599dc;
  font-size:10px;
  font-weight:900;
  letter-spacing:.15em;
}

.audit-flash{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
  padding:11px 14px;
  border-radius:14px;
  font-size:11px;
}
.audit-flash strong{flex:none}
.audit-flash.success{
  border:1px solid #bdebdc;
  color:#08765c;
  background:#ebfaf5;
}
.audit-flash.danger{
  border:1px solid #f0cdd3;
  color:#a94454;
  background:#fff2f4;
}


/* FINAL STATUS */

.audit-final-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
  padding:15px 17px;
  border-radius:18px;
}

.audit-final-card.open{
  border:1px solid #efdca1;
  background:linear-gradient(135deg,#fff9e9,#fffdf7);
}

.audit-final-card.final{
  border:1px solid #afe4d3;
  background:linear-gradient(135deg,#eafaf4,#f7fdfa);
}

.audit-final-main{
  display:flex;
  align-items:center;
  gap:12px;
}

.audit-final-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:40px;
  height:40px;
  border-radius:50%;
  color:#fff;
  background:#dfaa2d;
  font-size:18px;
  font-weight:900;
}

.audit-final-card.final .audit-final-icon{
  background:#18b887;
}

.audit-final-main strong{
  color:#254f68;
  font-size:12px;
}

.audit-final-main p{
  margin:3px 0 0;
  color:#748a98;
  font-size:10px;
}

.audit-finalize-form,
.audit-reopen-form{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:430px;
}

.audit-finalize-form .input,
.audit-reopen-form .input{
  margin:0;
}


/* STAT */

.audit-stat-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-bottom:14px;
}

.audit-stat-card{
  padding:11px 12px;
  border:1px solid #dce8ee;
  border-radius:14px;
  background:#fff;
}

.audit-stat-card span{
  display:block;
  color:#758b99;
  font-size:9.5px;
}

.audit-stat-card strong{
  display:block;
  margin:4px 0 2px;
  color:#244f68;
  font-size:20px;
}

.audit-stat-card small{
  color:#8a9ba5;
  font-size:8px;
  line-height:1.3;
}

.audit-stat-card.success{
  border-color:#c5eade;
  background:#f2fbf8;
}

.audit-stat-card.danger{
  border-color:#f0d0d5;
  background:#fff6f7;
}

.audit-stat-card.warning{
  border-color:#eedfae;
  background:#fffbef;
}

.audit-stat-card.admin{
  border-color:#cddff3;
  background:#f4f9fe;
}


/* TABLE */

.audit-table-card{
  overflow:hidden;
}

.attendance-audit-table{
  min-width:1120px;
}

.audit-code{
  display:block;
  margin-top:2px;
  color:#91a0aa;
  font-size:8px;
}

.audit-schedule{
  display:block;
  font-size:9.5px;
}

.audit-unscheduled{
  display:block;
  margin-top:3px;
  color:#c47832;
  font-size:8px;
}

.audit-state-missing td{
  background:rgba(255,242,244,.55);
}

.audit-state-open td{
  background:rgba(255,250,234,.55);
}

.audit-state-absent td{
  background:rgba(246,248,250,.65);
}


/* SOURCE */

.audit-source{
  display:inline-flex;
  padding:5px 7px;
  border-radius:999px;
  font-size:8px;
  font-weight:900;
}

.source-scan{
  color:#087cae;
  background:#e3f5fd;
}

.source-auto{
  color:#816218;
  background:#fff3d3;
}

.source-admin{
  color:#754cad;
  background:#f0e9fb;
}

.audit-actions{
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
}

.audit-btn-small{
  min-height:31px !important;
  padding:6px 9px !important;
  font-size:8.5px !important;
}

.audit-locked{
  color:#8798a2;
  font-size:9px;
  font-weight:800;
}


/* MODAL */

body.audit-modal-open{
  overflow:hidden;
}

.audit-modal{
  position:fixed;
  inset:0;
  z-index:99990;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(10,31,45,.52);
  backdrop-filter:blur(5px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
}

.audit-modal.show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.audit-modal-dialog{
  width:min(680px,100%);
  max-height:92dvh;
  overflow:auto;
  padding:21px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 80px rgba(6,34,50,.27);
}

.audit-modal-small{
  width:min(480px,100%);
}

.audit-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.audit-modal-head span{
  color:#1699dc;
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.14em;
}

.audit-modal-head h3{
  margin:4px 0 0;
  color:#174c6b;
  font-size:20px;
}

.audit-modal-close{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  color:#69808f;
  background:#eef3f6;
  cursor:pointer;
  font-size:21px;
}

.audit-modal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
}

.audit-reason-field{
  grid-column:1/-1;
}

.audit-modal textarea.input{
  min-height:82px;
  resize:vertical;
}

.audit-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:15px;
}


/* RANGE REKAP */

.attendance-range-filter{
  margin-bottom:14px;
  padding:14px;
}

.attendance-range-form{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(150px,1fr))
    auto;
  gap:9px;
  align-items:end;
}

.attendance-range-form .field{
  margin:0;
}

.attendance-range-actions{
  display:flex;
  gap:7px;
}


/* RESPONSIVE */

@media(max-width:1100px){

  .audit-stat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .audit-final-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .audit-finalize-form,
  .audit-reopen-form{
    width:100%;
    min-width:0;
  }

  .attendance-range-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .attendance-range-actions{
    grid-column:1/-1;
  }
}


@media(max-width:720px){

  .audit-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  .audit-final-card{
    padding:13px;
  }

  .audit-finalize-form,
  .audit-reopen-form{
    display:grid;
    grid-template-columns:1fr;
  }

  .audit-finalize-form .btn,
  .audit-reopen-form .btn{
    width:100%;
  }

  .audit-modal-dialog{
    padding:16px;
    border-radius:19px;
  }

  .audit-modal-grid{
    grid-template-columns:1fr;
  }

  .audit-reason-field{
    grid-column:auto;
  }

  .audit-modal-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .attendance-range-form{
    grid-template-columns:1fr;
  }

  .attendance-range-actions{
    grid-column:auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .attendance-range-actions .btn{
    width:100%;
  }
}



/* =========================================================
   SETTINGS DUAL WA V1
   ========================================================= */

.settings-v3-eyebrow{
  display:block;
  margin-bottom:5px;
  color:#1599dc;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}

.settings-v3-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.settings-v3-title .section-title{
  margin:0;
}

.settings-v3-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 9px;
  border-radius:999px;
  font-size:8px;
  font-weight:900;
}

.settings-v3-status.on{
  color:#08745c;
  border:1px solid #b7e6d7;
  background:#ecfaf5;
}

.settings-v3-status.off{
  color:#7a8992;
  border:1px solid #d9e4e9;
  background:#f4f7f9;
}

.settings-v3-status.neutral{
  color:#126e9e;
  border:1px solid #c6e4f3;
  background:#eef8fd;
}

.settings-v3-alert{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:14px;
  padding:12px 15px;
  border-radius:14px;
  font-size:10px;
}

.settings-v3-alert.success{
  color:#08745c;
  border:1px solid #bae8d9;
  background:#ecfaf5;
}

.settings-v3-alert.danger{
  color:#a14654;
  border:1px solid #efccd2;
  background:#fff2f4;
}

.settings-v3-toggle{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:17px 0;
  padding:12px 14px;
  border:1px solid #dce8ee;
  border-radius:14px;
  background:#f8fbfc;
  cursor:pointer;
}

.settings-v3-toggle input{
  width:17px;
  height:17px;
  margin-top:2px;
  accent-color:#159fe1;
}

.settings-v3-toggle strong{
  display:block;
  color:#234f68;
  font-size:10.5px;
}

.settings-v3-toggle small{
  display:block;
  margin-top:3px;
  color:#748a97;
  font-size:9px;
}

.settings-v3-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
}

.settings-v3-helper{
  color:#718895;
  font-size:9px;
}

.settings-v3-helper.block{
  display:block;
  margin-top:6px;
  line-height:1.45;
}

.settings-v3-warning{
  margin-top:13px;
  padding:11px 13px;
  border:1px solid #ecd99c;
  border-radius:13px;
  color:#7c621e;
  background:#fff9e8;
  font-size:9px;
  line-height:1.5;
}

.settings-v3-wa-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:8px;
}

.settings-v3-wa-summary > div{
  padding:12px;
  border:1px solid #dce8ee;
  border-radius:14px;
  background:#f8fbfc;
}

.settings-v3-wa-summary span{
  display:block;
  color:#778d99;
  font-size:8.5px;
}

.settings-v3-wa-summary strong{
  display:block;
  margin-top:4px;
  color:#24516a;
  font-size:20px;
}

.settings-v3-wa-grid{
  display:grid;
  grid-template-columns:
    minmax(0,1.1fr)
    minmax(320px,.9fr);
  gap:14px;
}

.settings-v3-provider{
  padding:14px;
  border:1px solid #d9e6ed;
  border-radius:15px;
  background:#f7fafc;
}

.settings-v3-provider > strong{
  display:block;
  margin-bottom:8px;
  color:#24516a;
  font-size:10px;
}

.settings-v3-provider > div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 0;
  border-bottom:1px solid #e3edf2;
  font-size:9px;
}

.settings-v3-provider > div span{
  color:#708793;
}

.settings-v3-provider b.ok{
  color:#0c8167;
}

.settings-v3-provider b.bad{
  color:#ad5865;
}

.settings-v3-provider b.neutral{
  color:#607b8a;
}

.settings-v3-provider small{
  display:block;
  margin-top:9px;
  color:#7c909b;
  font-size:8px;
}

.settings-v3-save{
  display:flex;
}

.settings-v3-test{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:14px;
}

.settings-v3-test strong{
  color:#24516a;
  font-size:11px;
}

.settings-v3-test p{
  margin:4px 0 0;
  color:#718895;
  font-size:9px;
}

.settings-v3-test button:disabled{
  opacity:.45;
  cursor:not-allowed;
}


@media(max-width:900px){

  .settings-v3-wa-grid{
    grid-template-columns:1fr;
  }

}


@media(max-width:720px){

  .settings-v3-wa-summary{
    grid-template-columns:1fr;
  }

  .settings-v3-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .settings-v3-actions .btn{
    width:100%;
  }

  .settings-v3-test{
    align-items:stretch;
    flex-direction:column;
  }

  .settings-v3-test form,
  .settings-v3-test button{
    width:100%;
  }

}



/* =========================================================
   EMPLOYEE PORTAL V1
   ========================================================= */

.public-home-panel{
  width:min(1040px,100%);
  padding:34px;
}

.public-main-actions{
  margin-top:28px;
}

.public-action-kicker{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  opacity:.7;
  margin-bottom:8px;
}


.employee-access-section{
  margin-top:28px;
}

.employee-access-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  color:#6b7f90;
  font-size:13px;
  font-weight:700;
}

.employee-access-divider::before,
.employee-access-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#dbe6ee;
}

.employee-access-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:17px 18px;
  border:1px solid #dce8f0;
  border-radius:18px;
  background:#f8fbfd;
  text-decoration:none;
  color:#18394f;
  transition:.18s ease;
}

.employee-access-card:hover{
  border-color:#b9d5e6;
  background:#f2f8fb;
  transform:translateY(-1px);
}

.employee-access-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#e9f4fa;
  font-size:21px;
}

.employee-access-copy{
  min-width:0;
}

.employee-access-copy strong{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}

.employee-access-copy span{
  display:block;
  color:#647b8c;
  font-size:13px;
  line-height:1.45;
}

.employee-access-arrow{
  font-size:13px;
  font-weight:800;
  color:#23688c;
  white-space:nowrap;
}


/* LOGIN PORTAL */

.employee-login-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:#f4f7fb;
}

.employee-login-card{
  width:min(900px,100%);
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #dce6ed;
  border-radius:24px;
  background:#fff;
  overflow:hidden;
}

.employee-login-brand{
  padding:38px;
  background:#f7fafc;
}

.employee-login-brand img{
  width:84px;
  height:84px;
  object-fit:contain;
  display:block;
  margin-bottom:20px;
}

.employee-login-brand h1{
  margin:16px 0 10px;
  color:#173b57;
}

.employee-login-brand p{
  color:#64798a;
  line-height:1.65;
}

.employee-login-form{
  padding:38px;
}

.employee-login-eyebrow{
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#668294;
  margin-bottom:8px;
}

.employee-login-form h2{
  margin:0 0 8px;
  color:#18384e;
}

.employee-login-form>p{
  margin:0 0 22px;
  color:#64798a;
  line-height:1.55;
}

.employee-pin-input{
  letter-spacing:.35em;
  font-size:20px;
  font-weight:700;
}

.employee-login-help{
  margin-top:20px;
  padding:14px;
  border-radius:14px;
  background:#f7f9fb;
  font-size:13px;
  color:#667b8b;
}

.employee-login-help span,
.employee-login-help strong{
  display:block;
}

.employee-back-home{
  display:inline-block;
  margin-top:18px;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  color:#306b8b;
}

.employee-login-card>.app-global-footer{
  grid-column:1/-1;
  padding:17px 28px;
  border-top:1px solid #e6edf2;
}


/* PORTAL DASHBOARD */

.employee-portal-shell{
  width:min(1100px,100%);
  margin:0 auto;
  padding:22px;
}

.employee-portal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.employee-portal-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.employee-portal-brand img{
  width:46px;
  height:46px;
  object-fit:contain;
}

.employee-portal-brand span{
  display:block;
  color:#6c8190;
  font-size:12px;
}

.employee-portal-brand strong{
  display:block;
  color:#17394f;
}

.employee-portal-logout{
  border:1px solid #d7e2e9;
  background:#fff;
  color:#425c6d;
  border-radius:12px;
  padding:10px 15px;
  font-weight:700;
  cursor:pointer;
}

.employee-profile-card{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  padding:24px;
  margin-bottom:18px;
  border-radius:20px;
  background:#173b57;
  color:#fff;
}

.employee-profile-greeting{
  display:block;
  opacity:.75;
  font-size:13px;
  margin-bottom:5px;
}

.employee-profile-card h1{
  margin:0 0 6px;
  font-size:28px;
}

.employee-profile-card p{
  margin:0;
  opacity:.8;
}

.employee-profile-date{
  text-align:right;
}

.employee-profile-date small,
.employee-profile-date strong{
  display:block;
}

.employee-profile-date small{
  opacity:.7;
  margin-bottom:5px;
}

.employee-portal-grid{
  display:grid;
  gap:18px;
}

.employee-portal-grid-main{
  grid-template-columns:1fr 1fr;
}

.employee-portal-card{
  margin-bottom:18px;
  padding:22px;
  border:1px solid #dce6ed;
  border-radius:18px;
  background:#fff;
}

.employee-card-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:18px;
}

.employee-card-kicker{
  display:block;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#728797;
  margin-bottom:4px;
}

.employee-card-title h2{
  margin:0;
  font-size:18px;
  color:#18394f;
}

.employee-schedule-list,
.employee-attendance-list,
.employee-weekly-list{
  display:grid;
  gap:10px;
}

.employee-schedule-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:13px;
  border-radius:14px;
  background:#f7fafc;
}

.employee-schedule-row strong,
.employee-schedule-row span{
  display:block;
}

.employee-schedule-row span{
  margin-top:3px;
  color:#667b8b;
  font-size:13px;
}

.employee-unit-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:55px;
  padding:6px 9px;
  border-radius:999px;
  background:#eaf3f8;
  color:#276280;
  font-size:11px;
  font-weight:800;
}

.employee-attendance-row{
  padding:14px;
  border-radius:14px;
  background:#f7fafc;
}

.employee-attendance-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.employee-status-pill{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}

.employee-status-pill.success{
  background:#eaf7ef;
  color:#297047;
}

.employee-status-pill.warning{
  background:#fff4df;
  color:#926111;
}

.employee-time-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.employee-time-pair span{
  font-size:12px;
  color:#718493;
}

.employee-time-pair strong{
  display:block;
  margin-top:4px;
  color:#203f54;
  font-size:15px;
}

.employee-empty-state{
  padding:18px;
  border:1px dashed #d5e1e8;
  border-radius:14px;
  color:#718494;
  text-align:center;
  font-size:13px;
}

.employee-payroll-status{
  padding:6px 10px;
  border-radius:999px;
  background:#fff4df;
  color:#8a6219;
  font-size:11px;
  font-weight:800;
}

.employee-payroll-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.employee-payroll-grid>div{
  min-width:0;
  padding:15px;
  border-radius:15px;
  background:#f7fafc;
}

.employee-payroll-grid span,
.employee-payroll-grid small{
  display:block;
  color:#718494;
  font-size:12px;
}

.employee-payroll-grid strong{
  display:block;
  margin:7px 0 3px;
  color:#173b57;
  font-size:20px;
}

.employee-payroll-note{
  margin-top:14px;
  padding:11px 13px;
  border-radius:12px;
  background:#fff9ed;
  color:#80652e;
  font-size:12px;
}

.employee-weekly-row{
  display:grid;
  grid-template-columns:90px 65px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #edf1f4;
}

.employee-weekly-row:last-child{
  border-bottom:none;
}

.employee-weekly-row>div{
  color:#5d7382;
  font-size:13px;
}

.employee-history-wrap{
  overflow-x:auto;
}

.employee-history-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}

.employee-history-table th,
.employee-history-table td{
  padding:11px 10px;
  border-bottom:1px solid #e9eef2;
  text-align:left;
  font-size:12px;
}

.employee-history-table th{
  color:#69808f;
  font-weight:800;
}

.employee-history-table td{
  color:#2c495d;
}

.employee-history-table td small{
  display:block;
  color:#7b8d99;
  margin-top:3px;
}

.employee-payroll-mini{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  background:#fff4df;
  color:#8b6216;
  font-size:10px;
  font-weight:800;
}

.employee-payroll-mini.final{
  background:#eaf7ef;
  color:#2b7049;
}


/* ADMIN PORTAL ACCESS */

.employee-portal-admin-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:18px;
}

.employee-portal-admin-status{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid #e8eef2;
}

.employee-portal-admin-status:last-child{
  border-bottom:none;
}

.employee-portal-admin-status span{
  color:#6b8090;
}

.employee-portal-admin-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.employee-portal-admin-link-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.employee-portal-admin-link-card h3{
  margin-bottom:5px;
}

.employee-portal-admin-link-card p{
  margin:0;
  color:#6c8190;
}


@media(max-width:760px){

  .public-home-panel{
    padding:22px 18px;
  }

  .employee-access-card{
    grid-template-columns:auto minmax(0,1fr);
  }

  .employee-access-arrow{
    grid-column:2;
  }

  .employee-login-wrap{
    padding:14px;
  }

  .employee-login-card{
    grid-template-columns:1fr;
  }

  .employee-login-brand{
    padding:25px 22px;
  }

  .employee-login-brand img{
    width:66px;
    height:66px;
  }

  .employee-login-form{
    padding:25px 22px;
  }

  .employee-login-card>.app-global-footer{
    grid-column:1;
  }

  .employee-portal-shell{
    padding:14px;
  }

  .employee-portal-grid-main{
    grid-template-columns:1fr;
  }

  .employee-profile-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .employee-profile-date{
    text-align:left;
  }

  .employee-payroll-grid{
    grid-template-columns:1fr 1fr;
  }

  .employee-weekly-row{
    grid-template-columns:75px 58px minmax(0,1fr);
    gap:8px;
  }

  .employee-portal-admin-grid{
    grid-template-columns:1fr;
  }

  .employee-portal-admin-link-card{
    align-items:flex-start;
    flex-direction:column;
  }

}


@media(max-width:430px){

  .employee-payroll-grid{
    grid-template-columns:1fr;
  }

  .employee-time-pair{
    grid-template-columns:1fr 1fr;
  }

  .employee-weekly-row{
    grid-template-columns:1fr auto;
  }

  .employee-weekly-row>div{
    grid-column:1/-1;
  }

}


/* =========================================================
   KOPERASI NI - PUBLIC HOME MOBILE RESTORE V1
   Final mobile override
   ========================================================= */

@media (max-width:720px){

  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .public-home{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .public-home .hero{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    min-height:100vh !important;

    display:block !important;

    padding:
      14px
      12px
      20px !important;

    overflow-x:hidden !important;
  }

  .public-home .panel,
  .public-home .public-home-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    margin:0 !important;

    padding:
      20px
      16px !important;

    box-sizing:border-box !important;
  }

  /* HEADER / BRAND */

  .public-home .logo-row{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) !important;

    align-items:center !important;

    gap:14px !important;

    margin:0 !important;
  }

  .public-home .logo-box{
    width:72px !important;
    height:72px !important;

    min-width:72px !important;
    max-width:72px !important;

    margin:0 !important;
  }

  .public-home .logo-box img{
    width:100% !important;
    height:100% !important;

    object-fit:contain !important;
  }

  .public-home .logo-copy{
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;

    margin:0 !important;
  }

  .public-home .logo-copy h1,
  .public-home .logo-copy h2,
  .public-home .logo-copy p{
    max-width:100% !important;
    overflow-wrap:anywhere !important;
  }

  /* ABSEN TOKO + BMT */

  .public-home .choices,
  .public-home .public-main-actions{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    display:grid !important;
    grid-template-columns:1fr !important;

    gap:12px !important;

    margin-top:20px !important;
  }

  .public-home .choice,
  .public-home .choice.choice-cta{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    box-sizing:border-box !important;

    margin:0 !important;

    padding:
      18px
      46px
      18px
      18px !important;

    border-radius:18px !important;
  }

  .public-home .choice strong,
  .public-home .choice.choice-cta strong{
    font-size:18px !important;
    line-height:1.25 !important;
  }

  .public-home .choice small{
    font-size:13px !important;
    line-height:1.45 !important;
  }

  .public-home .choice::after,
  .public-home .choice.choice-cta::after{
    right:16px !important;
    top:50% !important;

    transform:translateY(-50%) !important;
  }

  /* PORTAL KARYAWAN */

  .public-home .employee-access-section{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    margin-top:22px !important;
  }

  .public-home .employee-access-divider{
    width:100% !important;
    max-width:100% !important;

    margin-bottom:12px !important;
  }

  .public-home .employee-access-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    display:grid !important;

    grid-template-columns:
      48px
      minmax(0,1fr) !important;

    gap:12px !important;

    padding:16px !important;

    box-sizing:border-box !important;
  }

  .public-home .employee-access-icon{
    width:48px !important;
    height:48px !important;
  }

  .public-home .employee-access-copy{
    min-width:0 !important;
    max-width:100% !important;
  }

  .public-home .employee-access-copy strong{
    font-size:16px !important;
  }

  .public-home .employee-access-copy span{
    font-size:13px !important;
    line-height:1.45 !important;

    overflow-wrap:anywhere !important;
  }

  .public-home .employee-access-arrow{
    grid-column:2 !important;

    justify-self:start !important;

    margin-top:4px !important;
  }

  /* FOOTER */

  .public-home .app-global-footer{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    margin-top:20px !important;

    padding:
      15px
      10px !important;

    box-sizing:border-box !important;

    text-align:center !important;

    flex-wrap:wrap !important;
  }
}

@media (max-width:390px){

  .public-home .hero{
    padding:
      10px
      8px
      16px !important;
  }

  .public-home .panel,
  .public-home .public-home-panel{
    padding:
      18px
      14px !important;
  }

  .public-home .logo-row{
    grid-template-columns:
      64px
      minmax(0,1fr) !important;

    gap:11px !important;
  }

  .public-home .logo-box{
    width:64px !important;
    height:64px !important;

    min-width:64px !important;
    max-width:64px !important;
  }
}

/* KOPERASI_NI_PUBLIC_MOBILE_RESTORE_V1 */

/* =========================================================
   KOPERASI NI - PUBLIC MOBILE POLISH V3
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    padding:10px !important;
  }

  .public-home .panel,
  .public-home .public-home-panel{
    padding:18px 14px !important;
    border-radius:22px !important;
  }

  /* HEADER */
  .public-home .logo-row{
    grid-template-columns:62px minmax(0,1fr) !important;
    gap:12px !important;
    align-items:center !important;
  }

  .public-home .logo-box{
    width:62px !important;
    height:62px !important;
    min-width:62px !important;
    max-width:62px !important;
  }

  .public-home .brand-badge{
    display:inline-flex !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;

    padding:6px 10px !important;

    font-size:9px !important;
    line-height:1.25 !important;
    letter-spacing:.04em !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }

  .public-home .logo-copy h1{
    margin:8px 0 6px !important;
    font-size:25px !important;
    line-height:1.1 !important;
  }

  .public-home .logo-copy p{
    margin:0 !important;
    font-size:13px !important;
    line-height:1.45 !important;
  }

  /* TOMBOL ABSENSI */
  .public-home .choices,
  .public-home .public-main-actions{
    gap:10px !important;
    margin-top:18px !important;
  }

  .public-home .choice,
  .public-home .choice.choice-cta{
    min-height:0 !important;
    height:auto !important;

    padding:
      15px
      44px
      15px
      16px !important;

    border-radius:16px !important;
  }

  .public-home .public-action-kicker{
    margin-bottom:5px !important;
    font-size:10px !important;
  }

  .public-home .choice strong,
  .public-home .choice.choice-cta strong{
    margin-bottom:5px !important;
    font-size:17px !important;
  }

  .public-home .choice small{
    font-size:12px !important;
    line-height:1.4 !important;
  }

  .public-home .choice::after,
  .public-home .choice.choice-cta::after{
    font-size:19px !important;
  }

  /* PORTAL KARYAWAN */
  .public-home .employee-access-section{
    margin-top:18px !important;
  }

  .public-home .employee-access-divider{
    gap:10px !important;
    margin-bottom:10px !important;
    font-size:12px !important;
  }

  .public-home .employee-access-card{
    grid-template-columns:
      42px
      minmax(0,1fr) !important;

    gap:11px !important;
    padding:14px !important;

    border-radius:16px !important;
  }

  .public-home .employee-access-icon{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
    font-size:18px !important;
  }

  .public-home .employee-access-copy strong{
    margin-bottom:3px !important;
    font-size:15px !important;
  }

  .public-home .employee-access-copy span{
    font-size:12px !important;
    line-height:1.4 !important;
  }

  .public-home .employee-access-arrow{
    margin-top:3px !important;
    font-size:12px !important;
  }

  .public-home .app-global-footer{
    margin-top:16px !important;
    padding:12px 8px !important;
  }
}

@media (max-width:390px){

  .public-home .panel,
  .public-home .public-home-panel{
    padding:16px 12px !important;
  }

  .public-home .logo-row{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:10px !important;
  }

  .public-home .logo-box{
    width:56px !important;
    height:56px !important;
    min-width:56px !important;
    max-width:56px !important;
  }

  .public-home .logo-copy h1{
    font-size:22px !important;
  }

  .public-home .brand-badge{
    font-size:8px !important;
    padding:5px 8px !important;
  }
}

/* KOPERASI_NI_PUBLIC_MOBILE_POLISH_V3 */

/* =========================================================
   KOPERASI NI - PUBLIC HOME PREMIUM V1
   ========================================================= */

/* PANEL UTAMA */
.public-home .public-home-panel{
  background:
    linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
  border:1px solid #dce8ef !important;
  box-shadow:
    0 18px 44px rgba(29,78,118,.08),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

/* HEADER */
.public-home .logo-box{
  border:1px solid #d9e6ee !important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbfe 100%) !important;
  box-shadow:
    0 10px 24px rgba(29,78,118,.08),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.public-home .logo-copy h1,
.public-home .logo-copy h2{
  color:#173b57 !important;
  letter-spacing:-.02em !important;
}

.public-home .logo-copy p{
  color:#607888 !important;
}

.public-home .brand-badge{
  background:linear-gradient(180deg,#eef8ff 0%,#dff1fb 100%) !important;
  color:#256c94 !important;
  border:1px solid #bddced !important;
  box-shadow:0 6px 14px rgba(38,108,148,.08) !important;
}

/* KARTU PILIHAN */
.public-home .choice{
  position:relative !important;
  overflow:hidden !important;
  border-radius:26px !important;
  border:1px solid #dbe7ee !important;
  box-shadow:
    0 14px 30px rgba(31,72,104,.08),
    inset 0 1px 0 rgba(255,255,255,.7) !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

.public-home .choice:hover{
  transform:translateY(-3px) !important;
  box-shadow:
    0 18px 34px rgba(31,72,104,.12),
    inset 0 1px 0 rgba(255,255,255,.75) !important;
}

.public-home .choice .public-action-kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  margin-bottom:14px !important;
}

.public-home .choice strong{
  font-size:20px !important;
  line-height:1.15 !important;
  letter-spacing:-.02em !important;
  margin-bottom:10px !important;
}

.public-home .choice small{
  font-size:14px !important;
  line-height:1.6 !important;
}

.public-home .choice::after{
  width:44px !important;
  height:44px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  right:20px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  font-size:28px !important;
  font-weight:700 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.08) !important;
}

/* PEMBEDA ABSEN TOKO */
.public-home .choice.choice-toko{
  background:
    radial-gradient(circle at top right,rgba(255,220,166,.38),transparent 30%),
    linear-gradient(180deg,#fffaf1 0%,#fff5df 100%) !important;
  border-color:#efd39b !important;
}

.public-home .choice.choice-toko .public-action-kicker{
  background:rgba(214,145,38,.12) !important;
  color:#9b650b !important;
  border:1px solid rgba(214,145,38,.16) !important;
}

.public-home .choice.choice-toko strong{
  color:#4f3311 !important;
}

.public-home .choice.choice-toko small{
  color:#7b6348 !important;
}

.public-home .choice.choice-toko::after{
  background:linear-gradient(180deg,#f8c463 0%,#e9a93a 100%) !important;
  color:#6a4210 !important;
}

/* PEMBEDA ABSEN BMT */
.public-home .choice.choice-bmt{
  background:
    radial-gradient(circle at top right,rgba(172,233,216,.35),transparent 30%),
    linear-gradient(180deg,#f2fcf7 0%,#e6f8ef 100%) !important;
  border-color:#bfe5d3 !important;
}

.public-home .choice.choice-bmt .public-action-kicker{
  background:rgba(36,140,103,.11) !important;
  color:#187257 !important;
  border:1px solid rgba(36,140,103,.15) !important;
}

.public-home .choice.choice-bmt strong{
  color:#174e40 !important;
}

.public-home .choice.choice-bmt small{
  color:#55756a !important;
}

.public-home .choice.choice-bmt::after{
  background:linear-gradient(180deg,#62d0ae 0%,#34b38a 100%) !important;
  color:#0f5440 !important;
}

/* AKSES KARYAWAN */
.public-home .employee-access-divider{
  color:#688090 !important;
  font-weight:800 !important;
}

.public-home .employee-access-card.premium-access{
  border:1px solid #d9e7ef !important;
  border-radius:24px !important;
  background:
    radial-gradient(circle at top left,rgba(232,245,252,.7),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%) !important;
  box-shadow:
    0 14px 30px rgba(31,72,104,.07),
    inset 0 1px 0 rgba(255,255,255,.75) !important;
}

.public-home .employee-access-card.premium-access .employee-access-icon{
  background:linear-gradient(180deg,#eef7fd 0%,#ddeef9 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.public-home .employee-access-card.premium-access .employee-access-copy strong{
  color:#173b57 !important;
  font-size:17px !important;
}

.public-home .employee-access-card.premium-access .employee-access-copy span{
  color:#607988 !important;
}

.public-home .employee-access-card.premium-access .employee-access-arrow{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:9px 14px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#e9f6ff 0%,#d6edf9 100%) !important;
  color:#23688c !important;
  font-weight:800 !important;
  border:1px solid #c5e1ef !important;
}

/* FOOTER */
.public-home .app-global-footer{
  background:linear-gradient(90deg,#f7fbfd 0%,#eef7fb 100%) !important;
  border:1px solid #d8e7ef !important;
  border-radius:22px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8) !important;
}

/* MOBILE */
@media (max-width:720px){
  .public-home .choice{
    border-radius:22px !important;
  }

  .public-home .choice strong{
    font-size:17px !important;
  }

  .public-home .choice small{
    font-size:13px !important;
    line-height:1.52 !important;
  }

  .public-home .choice .public-action-kicker{
    font-size:10px !important;
    padding:6px 10px !important;
    margin-bottom:12px !important;
  }

  .public-home .choice::after{
    width:38px !important;
    height:38px !important;
    right:16px !important;
    font-size:24px !important;
  }

  .public-home .employee-access-card.premium-access{
    border-radius:22px !important;
  }

  .public-home .employee-access-card.premium-access .employee-access-arrow{
    padding:8px 12px !important;
  }
}

/* KOPERASI_NI_PUBLIC_HOME_PREMIUM_V1 */

/* =========================================================
   KOPERASI NI - PUBLIC HOME PREMIUM RESTORE V2
   ========================================================= */

.public-home{
  background:
    radial-gradient(circle at top left,#dff2fb 0%,transparent 32%),
    radial-gradient(circle at top right,#e6f8f0 0%,transparent 28%),
    linear-gradient(180deg,#edf7fb 0%,#eef4f8 45%,#e9f0f6 100%) !important;
}

.public-home .hero{
  min-height:100vh !important;
  display:grid !important;
  place-items:center !important;
  padding:20px 16px 28px !important;
}

.public-home .premium-home-panel{
  width:min(760px,100%) !important;
  border-radius:34px !important;
  border:1px solid #d7e6ef !important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
  box-shadow:
    0 24px 60px rgba(35,79,112,.10),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
  padding:26px 22px 20px !important;
}

.public-home .premium-home-top{
  display:flex !important;
  justify-content:center !important;
  margin-bottom:18px !important;
}

.public-home .premium-home-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 18px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  color:#3a7598 !important;
  background:linear-gradient(180deg,#eff8fd 0%,#ddf0fa 100%) !important;
  border:1px solid #bddbeb !important;
  box-shadow:0 8px 18px rgba(58,117,152,.10) !important;
}

.public-home .premium-logo-row{
  display:grid !important;
  grid-template-columns:108px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:center !important;
  margin:0 0 10px !important;
}

.public-home .premium-logo-box{
  width:108px !important;
  height:108px !important;
  min-width:108px !important;
  border-radius:28px !important;
  border:1px solid #d9e6ee !important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbfe 100%) !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:
    0 12px 28px rgba(35,79,112,.08),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.public-home .premium-logo-box img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
}

.public-home .premium-logo-copy h1{
  margin:0 0 8px !important;
  font-size:32px !important;
  line-height:1.06 !important;
  letter-spacing:-.03em !important;
  color:#193c58 !important;
}

.public-home .premium-logo-copy p{
  margin:0 !important;
  color:#627b8b !important;
  font-size:17px !important;
  line-height:1.55 !important;
}

.public-home .premium-helper-text{
  margin:18px 0 18px !important;
  text-align:center !important;
  color:#708595 !important;
  font-size:15px !important;
  line-height:1.5 !important;
}

.public-home .premium-main-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
  margin-top:0 !important;
}

.public-home .premium-choice{
  position:relative !important;
  display:grid !important;
  grid-template-columns:128px minmax(0,1fr) 78px !important;
  gap:18px !important;
  align-items:center !important;
  text-decoration:none !important;
  padding:18px 18px !important;
  border-radius:28px !important;
  border:1px solid #dbe7ee !important;
  box-shadow:
    0 14px 30px rgba(31,72,104,.08),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
  overflow:hidden !important;
}

.public-home .premium-choice::after{
  content:none !important;
}

.public-home .premium-choice-badge{
  width:116px !important;
  height:116px !important;
  border-radius:999px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  letter-spacing:.02em !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 10px 20px rgba(0,0,0,.06) !important;
}

.public-home .premium-choice-badge span{
  display:block !important;
  font-size:13px !important;
  margin-bottom:6px !important;
}

.public-home .premium-choice-badge strong{
  display:block !important;
  margin:0 !important;
  font-size:18px !important;
  line-height:1.15 !important;
}

.public-home .premium-choice-copy{
  min-width:0 !important;
}

.public-home .premium-choice-copy > strong{
  display:block !important;
  margin:0 0 8px !important;
  color:#274055 !important;
  font-size:24px !important;
  line-height:1.06 !important;
  letter-spacing:-.03em !important;
}

.public-home .premium-choice-copy > small{
  display:block !important;
  color:#6e7f87 !important;
  font-size:14px !important;
  line-height:1.55 !important;
}

.public-home .premium-choice-arrow{
  width:68px !important;
  height:68px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  font-size:38px !important;
  font-weight:700 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 10px 20px rgba(0,0,0,.08) !important;
}

/* TOKO */
.public-home .premium-choice-toko{
  background:
    radial-gradient(circle at top right,rgba(248,210,130,.28),transparent 30%),
    linear-gradient(180deg,#fffaf0 0%,#fdf4df 100%) !important;
  border-color:#ead39b !important;
}

.public-home .premium-choice-toko .premium-choice-badge{
  background:linear-gradient(180deg,#f8edd6 0%,#f3e3c2 100%) !important;
  border:1px solid #ead2a7 !important;
  color:#b68c42 !important;
}

.public-home .premium-choice-toko .premium-choice-copy > strong{
  color:#503410 !important;
}

.public-home .premium-choice-toko .premium-choice-copy > small{
  color:#786548 !important;
}

.public-home .premium-choice-toko .premium-choice-arrow{
  background:linear-gradient(180deg,#f2c254 0%,#e3a72b 100%) !important;
  color:#664213 !important;
}

/* BMT */
.public-home .premium-choice-bmt{
  background:
    radial-gradient(circle at top right,rgba(139,224,196,.22),transparent 28%),
    linear-gradient(180deg,#f1fbf6 0%,#e8f7ef 100%) !important;
  border-color:#c7e7d6 !important;
}

.public-home .premium-choice-bmt .premium-choice-badge{
  background:linear-gradient(180deg,#dff3ea 0%,#d4ece2 100%) !important;
  border:1px solid #c1dfd1 !important;
  color:#5f9a86 !important;
}

.public-home .premium-choice-bmt .premium-choice-copy > strong{
  color:#194d41 !important;
}

.public-home .premium-choice-bmt .premium-choice-copy > small{
  color:#5f7b73 !important;
}

.public-home .premium-choice-bmt .premium-choice-arrow{
  background:linear-gradient(180deg,#62d0ae 0%,#39ba91 100%) !important;
  color:#134c3e !important;
}

.public-home .premium-access-section{
  margin-top:24px !important;
}

.public-home .employee-access-divider{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  margin-bottom:16px !important;
  color:#6b8090 !important;
  font-weight:800 !important;
  font-size:14px !important;
}

.public-home .employee-access-divider::before,
.public-home .employee-access-divider::after{
  content:"" !important;
  flex:1 !important;
  height:1px !important;
  background:#dbe6ee !important;
}

.public-home .premium-access-card{
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr) auto !important;
  gap:18px !important;
  align-items:center !important;
  padding:24px 22px !important;
  border-radius:28px !important;
  border:1px solid #d9e7ef !important;
  background:
    radial-gradient(circle at top left,rgba(232,245,252,.72),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%) !important;
  box-shadow:
    0 14px 30px rgba(31,72,104,.07),
    inset 0 1px 0 rgba(255,255,255,.76) !important;
  text-decoration:none !important;
}

.public-home .premium-access-icon{
  width:76px !important;
  height:76px !important;
  border-radius:22px !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(180deg,#edf7fd 0%,#dcebfa 100%) !important;
  font-size:32px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.public-home .premium-access-copy strong{
  display:block !important;
  margin-bottom:8px !important;
  color:#173b57 !important;
  font-size:22px !important;
  line-height:1.1 !important;
  letter-spacing:-.02em !important;
}

.public-home .premium-access-copy span{
  display:block !important;
  color:#647b8c !important;
  font-size:15px !important;
  line-height:1.6 !important;
}

.public-home .premium-access-arrow{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:140px !important;
  padding:16px 22px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#e7f4fc 0%,#d2e9f7 100%) !important;
  border:1px solid #bddcec !important;
  color:#28698e !important;
  font-weight:800 !important;
  font-size:18px !important;
  box-shadow:0 8px 18px rgba(40,105,142,.08) !important;
}

.public-home .premium-home-footer{
  margin-top:22px !important;
  padding:18px 18px !important;
  border-radius:24px !important;
  border:1px solid #d9e7ef !important;
  background:linear-gradient(90deg,#f8fbfd 0%,#edf7fb 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84) !important;
  text-align:center !important;
}

.public-home .premium-home-footer strong{
  color:#274b68 !important;
}

.public-home .premium-home-footer .wafa-credit{
  color:#758a98 !important;
}

.public-home .premium-home-footer .wafa-credit a{
  color:#2471a1 !important;
  font-weight:800 !important;
  text-decoration:none !important;
}

@media (max-width:720px){
  .public-home .hero{
    padding:16px 10px 24px !important;
  }

  .public-home .premium-home-panel{
    border-radius:30px !important;
    padding:18px 14px 18px !important;
  }

  .public-home .premium-home-badge{
    font-size:11px !important;
    padding:9px 14px !important;
    width:100% !important;
    max-width:520px !important;
    text-align:center !important;
  }

  .public-home .premium-logo-row{
    grid-template-columns:92px minmax(0,1fr) !important;
    gap:14px !important;
  }

  .public-home .premium-logo-box{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    border-radius:24px !important;
  }

  .public-home .premium-logo-box img{
    width:62px !important;
    height:62px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:28px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:14px !important;
    line-height:1.5 !important;
  }

  .public-home .premium-helper-text{
    margin:16px 0 16px !important;
    font-size:14px !important;
  }

  .public-home .premium-main-actions{
    gap:14px !important;
  }

  .public-home .premium-choice{
    grid-template-columns:104px minmax(0,1fr) 60px !important;
    gap:12px !important;
    padding:14px !important;
    border-radius:24px !important;
  }

  .public-home .premium-choice-badge{
    width:92px !important;
    height:92px !important;
  }

  .public-home .premium-choice-badge span{
    font-size:11px !important;
    margin-bottom:5px !important;
  }

  .public-home .premium-choice-badge strong{
    font-size:15px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:19px !important;
    margin-bottom:6px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:12px !important;
    line-height:1.48 !important;
  }

  .public-home .premium-choice-arrow{
    width:50px !important;
    height:50px !important;
    font-size:28px !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:70px minmax(0,1fr) !important;
    gap:14px !important;
    padding:18px 16px !important;
    border-radius:24px !important;
  }

  .public-home .premium-access-icon{
    width:62px !important;
    height:62px !important;
    border-radius:18px !important;
    font-size:26px !important;
  }

  .public-home .premium-access-copy strong{
    font-size:18px !important;
    margin-bottom:6px !important;
  }

  .public-home .premium-access-copy span{
    font-size:13px !important;
    line-height:1.52 !important;
  }

  .public-home .premium-access-arrow{
    grid-column:2 !important;
    justify-self:start !important;
    margin-top:6px !important;
    min-width:unset !important;
    padding:11px 18px !important;
    font-size:16px !important;
  }

  .public-home .premium-home-footer{
    border-radius:22px !important;
    padding:16px 14px !important;
  }
}

@media (max-width:430px){
  .public-home .premium-logo-row{
    grid-template-columns:84px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .public-home .premium-logo-box{
    width:84px !important;
    height:84px !important;
    min-width:84px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:25px !important;
  }

  .public-home .premium-choice{
    grid-template-columns:1fr !important;
    padding:16px 14px !important;
  }

  .public-home .premium-choice-badge{
    width:88px !important;
    height:88px !important;
    margin:0 auto !important;
  }

  .public-home .premium-choice-copy{
    text-align:center !important;
  }

  .public-home .premium-choice-arrow{
    margin:0 auto !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:1fr !important;
    text-align:center !important;
  }

  .public-home .premium-access-icon{
    margin:0 auto !important;
  }

  .public-home .premium-access-arrow{
    grid-column:auto !important;
    justify-self:center !important;
  }
}

/* KOPERASI_NI_PUBLIC_HOME_PREMIUM_RESTORE_V2 */

/* =========================================================
   KOPERASI NI - MOBILE COMPACT PREMIUM V3
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    display:block !important;
    min-height:100svh !important;
    padding:8px !important;
  }

  .public-home .premium-home-panel{
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;

    padding:13px !important;
    border-radius:24px !important;
  }

  /* BADGE ATAS */
  .public-home .premium-home-top{
    margin-bottom:10px !important;
  }

  .public-home .premium-home-badge{
    width:100% !important;
    min-height:30px !important;

    padding:6px 10px !important;

    font-size:9px !important;
    line-height:1.2 !important;
    letter-spacing:.04em !important;

    white-space:nowrap !important;
  }

  /* HEADER */
  .public-home .premium-logo-row{
    display:grid !important;

    grid-template-columns:
      64px
      minmax(0,1fr) !important;

    gap:11px !important;

    margin:0 0 12px !important;
  }

  .public-home .premium-logo-box{
    width:64px !important;
    height:64px !important;
    min-width:64px !important;

    border-radius:18px !important;
  }

  .public-home .premium-logo-box img{
    width:47px !important;
    height:47px !important;
  }

  .public-home .premium-logo-copy h1{
    margin:0 0 4px !important;

    font-size:22px !important;
    line-height:1.05 !important;
  }

  .public-home .premium-logo-copy p{
    margin:0 !important;

    font-size:11px !important;
    line-height:1.35 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  /* TIDAK PERLU DI MOBILE */
  .public-home .premium-helper-text{
    display:none !important;
  }

  /* TOMBOL ABSENSI */
  .public-home .premium-main-actions{
    display:grid !important;
    grid-template-columns:1fr !important;

    gap:9px !important;
    margin:0 !important;
  }

  .public-home .premium-choice{
    display:grid !important;

    grid-template-columns:
      52px
      minmax(0,1fr)
      38px !important;

    align-items:center !important;

    gap:11px !important;

    min-height:88px !important;
    height:88px !important;

    padding:10px 12px !important;

    border-radius:19px !important;
  }

  .public-home .premium-choice-badge{
    width:52px !important;
    height:52px !important;

    min-width:52px !important;

    margin:0 !important;

    border-radius:16px !important;
  }

  .public-home .premium-choice-badge span{
    margin:0 0 2px !important;

    font-size:7px !important;
    line-height:1 !important;
  }

  .public-home .premium-choice-badge strong{
    margin:0 !important;

    font-size:10px !important;
    line-height:1.05 !important;
  }

  .public-home .premium-choice-copy{
    min-width:0 !important;
    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    margin:0 0 3px !important;

    font-size:17px !important;
    line-height:1.1 !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:10px !important;
    line-height:1.3 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .public-home .premium-choice-arrow{
    width:36px !important;
    height:36px !important;

    margin:0 !important;

    border-radius:12px !important;

    font-size:21px !important;
  }

  /* AKSES KARYAWAN */
  .public-home .premium-access-section{
    margin-top:12px !important;
  }

  .public-home .employee-access-divider{
    gap:8px !important;

    margin-bottom:8px !important;

    font-size:10px !important;
    line-height:1 !important;
  }

  .public-home .premium-access-card{
    display:grid !important;

    grid-template-columns:
      48px
      minmax(0,1fr)
      auto !important;

    align-items:center !important;

    gap:10px !important;

    min-height:78px !important;

    padding:10px 12px !important;

    border-radius:19px !important;

    text-align:left !important;
  }

  .public-home .premium-access-icon{
    width:48px !important;
    height:48px !important;

    margin:0 !important;

    border-radius:15px !important;

    font-size:21px !important;
  }

  .public-home .premium-access-copy{
    min-width:0 !important;
    text-align:left !important;
  }

  .public-home .premium-access-copy strong{
    margin:0 0 3px !important;

    font-size:15px !important;
    line-height:1.1 !important;
  }

  .public-home .premium-access-copy span{
    font-size:10px !important;
    line-height:1.3 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .public-home .premium-access-arrow{
    grid-column:auto !important;

    justify-self:end !important;

    min-width:0 !important;

    margin:0 !important;

    padding:7px 9px !important;

    border-radius:10px !important;

    font-size:0 !important;
  }

  .public-home .premium-access-arrow::after{
    content:"→";
    font-size:18px !important;
  }

  /* FOOTER */
  .public-home .premium-home-footer{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap:5px !important;

    margin-top:12px !important;

    min-height:52px !important;

    padding:9px 8px !important;

    border-radius:18px !important;

    font-size:10px !important;
    line-height:1.3 !important;

    flex-wrap:wrap !important;
  }

  .public-home .premium-home-footer strong{
    font-size:10px !important;
  }

  .public-home .premium-home-footer .wafa-credit{
    font-size:10px !important;
  }

}


/* HP KECIL: TETAP HORIZONTAL, JANGAN BALIK 1 KOLOM */
@media (max-width:430px){

  .public-home .premium-home-panel{
    padding:11px !important;
  }

  .public-home .premium-home-badge{
    font-size:8px !important;
  }

  .public-home .premium-logo-row{
    grid-template-columns:
      58px
      minmax(0,1fr) !important;

    gap:9px !important;
  }

  .public-home .premium-logo-box{
    width:58px !important;
    height:58px !important;
    min-width:58px !important;
  }

  .public-home .premium-logo-box img{
    width:43px !important;
    height:43px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:20px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:10px !important;
  }

  .public-home .premium-choice{
    grid-template-columns:
      48px
      minmax(0,1fr)
      34px !important;

    height:82px !important;
    min-height:82px !important;

    gap:9px !important;

    padding:9px 10px !important;
  }

  .public-home .premium-choice-badge{
    width:48px !important;
    height:48px !important;

    margin:0 !important;

    border-radius:14px !important;
  }

  .public-home .premium-choice-copy{
    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:15px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:9px !important;
  }

  .public-home .premium-choice-arrow{
    width:32px !important;
    height:32px !important;

    margin:0 !important;

    font-size:19px !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:
      44px
      minmax(0,1fr)
      auto !important;

    min-height:72px !important;

    padding:9px 10px !important;

    text-align:left !important;
  }

  .public-home .premium-access-icon{
    width:44px !important;
    height:44px !important;

    margin:0 !important;
  }

  .public-home .premium-access-copy{
    text-align:left !important;
  }

  .public-home .premium-access-arrow{
    grid-column:auto !important;
    justify-self:end !important;
  }

}

/* KOPERASI_NI_MOBILE_COMPACT_PREMIUM_V3 */

/* =========================================================
   KOPERASI NI - HOME MOBILE PREMIUM V4
   Balance + No Arrow + Stronger Contrast
   ========================================================= */

@media (max-width:720px){

  /* POSISI PANEL LEBIH TENGAH */
  .public-home .hero{
    min-height:100svh !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:18px 10px 18px !important;
  }

  .public-home .premium-home-panel{
    width:100% !important;
    max-width:680px !important;
    margin:0 auto !important;
  }

  /* HEADER */
  .public-home .premium-home-top{
    margin-bottom:12px !important;
  }

  .public-home .premium-home-badge{
    font-size:10px !important;
    padding:8px 12px !important;
  }

  .public-home .premium-logo-row{
    margin:0 0 14px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:24px !important;
    line-height:1.08 !important;
  }

  .public-home .premium-logo-copy p{
    font-size:12px !important;
    line-height:1.42 !important;
  }

  .public-home .premium-helper-text{
    margin:10px 0 14px !important;
    font-size:13px !important;
    line-height:1.4 !important;
  }

  /* KARTU ABSENSI */
  .public-home .premium-main-actions{
    gap:12px !important;
  }

  .public-home .premium-choice{
    grid-template-columns:72px minmax(0,1fr) !important;
    gap:12px !important;
    min-height:96px !important;
    height:auto !important;
    padding:12px 14px !important;
    border-radius:22px !important;
  }

  /* HILANGKAN PANAH */
  .public-home .premium-choice-arrow{
    display:none !important;
  }

  .public-home .premium-choice-badge{
    width:72px !important;
    height:72px !important;
    border-radius:18px !important;
    margin:0 !important;
  }

  .public-home .premium-choice-badge span{
    font-size:9px !important;
    margin-bottom:3px !important;
  }

  .public-home .premium-choice-badge strong{
    font-size:14px !important;
    line-height:1.05 !important;
  }

  .public-home .premium-choice-copy{
    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:18px !important;
    margin:0 0 4px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:12px !important;
    line-height:1.35 !important;
  }

  /* TOKO LEBIH KONTRAS */
  .public-home .premium-choice-toko{
    background:
      linear-gradient(180deg,#fff4d6 0%,#f8e5aa 100%) !important;
    border:1px solid #dcb65a !important;
    box-shadow:
      0 10px 24px rgba(193,145,31,.14),
      inset 0 1px 0 rgba(255,255,255,.70) !important;
  }

  .public-home .premium-choice-toko .premium-choice-badge{
    background:
      linear-gradient(180deg,#f6c54f 0%,#e2a425 100%) !important;
    border:1px solid #cf941e !important;
    color:#5a3a0e !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.45),
      0 8px 18px rgba(193,145,31,.16) !important;
  }

  .public-home .premium-choice-toko .premium-choice-copy > strong{
    color:#5a3910 !important;
  }

  .public-home .premium-choice-toko .premium-choice-copy > small{
    color:#745a2d !important;
  }

  /* BMT LEBIH KONTRAS */
  .public-home .premium-choice-bmt{
    background:
      linear-gradient(180deg,#e3fbf0 0%,#c8f1dd 100%) !important;
    border:1px solid #69c89b !important;
    box-shadow:
      0 10px 24px rgba(47,170,120,.12),
      inset 0 1px 0 rgba(255,255,255,.72) !important;
  }

  .public-home .premium-choice-bmt .premium-choice-badge{
    background:
      linear-gradient(180deg,#61d0a6 0%,#2bb57f 100%) !important;
    border:1px solid #25a974 !important;
    color:#0f4b39 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.35),
      0 8px 18px rgba(43,181,127,.16) !important;
  }

  .public-home .premium-choice-bmt .premium-choice-copy > strong{
    color:#144d3f !important;
  }

  .public-home .premium-choice-bmt .premium-choice-copy > small{
    color:#477166 !important;
  }

  /* PORTAL */
  .public-home .premium-access-section{
    margin-top:14px !important;
  }

  .public-home .employee-access-divider{
    margin-bottom:10px !important;
    font-size:12px !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:56px minmax(0,1fr) auto !important;
    gap:12px !important;
    padding:14px !important;
    min-height:92px !important;
    border-radius:22px !important;
  }

  .public-home .premium-access-icon{
    width:56px !important;
    height:56px !important;
    border-radius:16px !important;
    font-size:24px !important;
  }

  .public-home .premium-access-copy strong{
    font-size:16px !important;
    margin-bottom:4px !important;
  }

  .public-home .premium-access-copy span{
    font-size:12px !important;
    line-height:1.35 !important;
  }

  /* BUTTON MASUK TANPA PANAH */
  .public-home .premium-access-arrow{
    min-width:auto !important;
    padding:10px 14px !important;
    border-radius:12px !important;
    background:
      linear-gradient(180deg,#43adff 0%,#1c8fe4 100%) !important;
    border:1px solid #177fd0 !important;
    color:#ffffff !important;
    font-size:13px !important;
    font-weight:800 !important;
    box-shadow:
      0 8px 18px rgba(28,143,228,.22),
      inset 0 1px 0 rgba(255,255,255,.28) !important;
  }

  /* FOOTER */
  .public-home .premium-home-footer{
    margin-top:14px !important;
    padding:14px 12px !important;
  }
}

@media (max-width:430px){

  .public-home .hero{
    padding:16px 8px 16px !important;
  }

  .public-home .premium-home-panel{
    padding:16px 12px !important;
    border-radius:26px !important;
  }

  .public-home .premium-home-badge{
    font-size:9px !important;
    padding:8px 10px !important;
  }

  .public-home .premium-logo-row{
    grid-template-columns:64px minmax(0,1fr) !important;
    gap:10px !important;
  }

  .public-home .premium-logo-box{
    width:64px !important;
    height:64px !important;
    min-width:64px !important;
    border-radius:18px !important;
  }

  .public-home .premium-logo-box img{
    width:45px !important;
    height:45px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:21px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .public-home .premium-choice{
    grid-template-columns:62px minmax(0,1fr) !important;
    min-height:90px !important;
    padding:11px 12px !important;
    gap:10px !important;
  }

  .public-home .premium-choice-badge{
    width:62px !important;
    height:62px !important;
  }

  .public-home .premium-choice-badge strong{
    font-size:13px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:16px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:11px !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:52px minmax(0,1fr) auto !important;
    min-height:86px !important;
    padding:12px !important;
  }

  .public-home .premium-access-icon{
    width:52px !important;
    height:52px !important;
  }

  .public-home .premium-access-copy strong{
    font-size:15px !important;
  }

  .public-home .premium-access-copy span{
    font-size:11px !important;
  }

  .public-home .premium-access-arrow{
    padding:9px 12px !important;
    font-size:12px !important;
  }

  .public-home .premium-home-footer{
    font-size:11px !important;
  }
}

/* KOPERASI_NI_HOME_MOBILE_PREMIUM_V4 */


/* =========================================================
   KOPERASI NI - MOBILE FIT 1 SCREEN V1
   Compact vertical balance for mobile
   ========================================================= */

@media (max-width:720px){

  .public-home .hero{
    min-height:100dvh !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:
      12px
      10px !important;
  }

  .public-home .premium-home-panel{
    width:min(680px,100%) !important;
    max-width:100% !important;

    margin:0 auto !important;

    padding:
      16px
      14px !important;

    border-radius:28px !important;
  }

  /* HEADER BADGE */

  .public-home .premium-home-top{
    margin-bottom:12px !important;
  }

  .public-home .premium-home-badge{
    padding:
      8px
      14px !important;

    font-size:10px !important;
    line-height:1.2 !important;
  }

  /* IDENTITAS */

  .public-home .premium-logo-row{
    grid-template-columns:
      74px
      minmax(0,1fr) !important;

    gap:12px !important;

    margin:
      0
      0
      10px !important;
  }

  .public-home .premium-logo-box{
    width:74px !important;
    height:74px !important;

    min-width:74px !important;
    max-width:74px !important;

    border-radius:20px !important;
  }

  .public-home .premium-logo-box img{
    width:50px !important;
    height:50px !important;
  }

  .public-home .premium-logo-copy h1{
    margin:
      0
      0
      6px !important;

    font-size:24px !important;
    line-height:1.05 !important;
  }

  .public-home .premium-logo-copy p{
    margin:0 !important;

    font-size:12px !important;
    line-height:1.42 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;

    overflow:hidden !important;
  }

  /* HELPER */

  .public-home .premium-helper-text{
    margin:
      8px
      0
      10px !important;

    font-size:12px !important;
    line-height:1.35 !important;
  }

  /* AREA ABSENSI */

  .public-home .premium-main-actions{
    display:grid !important;
    grid-template-columns:1fr !important;

    gap:10px !important;

    margin-top:0 !important;
  }

  .public-home .premium-choice{
    display:grid !important;

    grid-template-columns:
      72px
      minmax(0,1fr) !important;

    align-items:center !important;

    gap:12px !important;

    min-height:84px !important;
    height:auto !important;

    padding:
      11px
      14px !important;

    border-radius:22px !important;
  }

  /* HILANGKAN PANAH ABSENSI */

  .public-home .premium-choice-arrow{
    display:none !important;
  }

  .public-home .premium-choice::after{
    display:none !important;
    content:none !important;
  }

  /* BADGE KIRI */

  .public-home .premium-choice-badge{
    width:64px !important;
    height:64px !important;

    min-width:64px !important;

    margin:0 auto !important;

    border-radius:18px !important;
  }

  .public-home .premium-choice-badge span{
    margin-bottom:3px !important;

    font-size:9px !important;
    line-height:1 !important;
  }

  .public-home .premium-choice-badge strong{
    margin:0 !important;

    font-size:12px !important;
    line-height:1.05 !important;
  }

  /* COPY ABSENSI */

  .public-home .premium-choice-copy{
    min-width:0 !important;

    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    margin:
      0
      0
      4px !important;

    font-size:17px !important;
    line-height:1.08 !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:11px !important;
    line-height:1.35 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;

    overflow:hidden !important;
  }

  /* TOKO - KONTRAS */

  .public-home .premium-choice-toko{
    background:
      linear-gradient(
        180deg,
        #fff3cf 0%,
        #f9e6ae 100%
      ) !important;

    border:
      1px solid
      #ddb95d !important;

    box-shadow:
      0 10px 24px rgba(193,145,31,.13),
      inset 0 1px 0 rgba(255,255,255,.70) !important;
  }

  .public-home
  .premium-choice-toko
  .premium-choice-badge{
    background:
      linear-gradient(
        180deg,
        #f7c84e 0%,
        #e7a926 100%
      ) !important;

    border:
      1px solid
      #d3961b !important;

    color:#57370b !important;
  }

  .public-home
  .premium-choice-toko
  .premium-choice-copy > strong{
    color:#55370e !important;
  }

  .public-home
  .premium-choice-toko
  .premium-choice-copy > small{
    color:#73582b !important;
  }

  /* BMT - KONTRAS */

  .public-home .premium-choice-bmt{
    background:
      linear-gradient(
        180deg,
        #dff9ed 0%,
        #c7efd9 100%
      ) !important;

    border:
      1px solid
      #65c696 !important;

    box-shadow:
      0 10px 24px rgba(47,170,120,.12),
      inset 0 1px 0 rgba(255,255,255,.72) !important;
  }

  .public-home
  .premium-choice-bmt
  .premium-choice-badge{
    background:
      linear-gradient(
        180deg,
        #59d0a1 0%,
        #29b47e 100%
      ) !important;

    border:
      1px solid
      #209f6e !important;

    color:#104737 !important;
  }

  .public-home
  .premium-choice-bmt
  .premium-choice-copy > strong{
    color:#124d3e !important;
  }

  .public-home
  .premium-choice-bmt
  .premium-choice-copy > small{
    color:#477065 !important;
  }

  /* AKSES KARYAWAN */

  .public-home .premium-access-section{
    margin-top:12px !important;
  }

  .public-home .employee-access-divider{
    gap:9px !important;

    margin-bottom:9px !important;

    font-size:12px !important;
    line-height:1.1 !important;
  }

  .public-home .premium-access-card{
    display:grid !important;

    grid-template-columns:
      58px
      minmax(0,1fr)
      auto !important;

    align-items:center !important;

    gap:12px !important;

    min-height:82px !important;

    padding:
      12px
      14px !important;

    border-radius:22px !important;

    text-align:left !important;
  }

  .public-home .premium-access-icon{
    width:54px !important;
    height:54px !important;

    margin:0 !important;

    border-radius:16px !important;

    font-size:23px !important;
  }

  .public-home .premium-access-copy{
    min-width:0 !important;

    text-align:left !important;
  }

  .public-home .premium-access-copy strong{
    margin:
      0
      0
      4px !important;

    font-size:16px !important;
    line-height:1.1 !important;
  }

  .public-home .premium-access-copy span{
    font-size:11px !important;
    line-height:1.35 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;

    overflow:hidden !important;
  }

  /* BUTTON MASUK */

  .public-home .premium-access-arrow{
    grid-column:auto !important;

    justify-self:end !important;

    min-width:auto !important;

    margin:0 !important;

    padding:
      9px
      12px !important;

    border-radius:14px !important;

    background:
      linear-gradient(
        180deg,
        #42adff 0%,
        #1d8fe3 100%
      ) !important;

    border:
      1px solid
      #177fd0 !important;

    color:#ffffff !important;

    font-size:12px !important;
    font-weight:800 !important;

    box-shadow:
      0 7px 16px rgba(28,143,228,.20),
      inset 0 1px 0 rgba(255,255,255,.28) !important;
  }

  /* FOOTER */

  .public-home .premium-home-footer{
    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    gap:5px !important;

    margin-top:12px !important;

    min-height:54px !important;

    padding:
      10px
      12px !important;

    border-radius:20px !important;

    flex-wrap:wrap !important;
  }

  .public-home .premium-home-footer strong,
  .public-home .premium-home-footer .wafa-credit{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .public-home .premium-home-footer .footer-dot{
    display:none !important;
  }

}


/* HP KECIL */
@media (max-width:430px){

  .public-home .hero{
    padding:
      10px
      8px !important;
  }

  .public-home .premium-home-panel{
    padding:
      14px
      12px !important;

    border-radius:25px !important;
  }

  .public-home .premium-home-badge{
    font-size:9px !important;
  }

  .public-home .premium-logo-row{
    grid-template-columns:
      64px
      minmax(0,1fr) !important;

    gap:10px !important;
  }

  .public-home .premium-logo-box{
    width:64px !important;
    height:64px !important;

    min-width:64px !important;
    max-width:64px !important;
  }

  .public-home .premium-logo-box img{
    width:45px !important;
    height:45px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:21px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:10px !important;
  }

  .public-home .premium-choice{
    grid-template-columns:
      60px
      minmax(0,1fr) !important;

    min-height:80px !important;

    gap:10px !important;

    padding:
      10px
      12px !important;
  }

  .public-home .premium-choice-badge{
    width:56px !important;
    height:56px !important;

    min-width:56px !important;
  }

  .public-home .premium-choice-badge strong{
    font-size:11px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:16px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:10px !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:
      52px
      minmax(0,1fr)
      auto !important;

    min-height:76px !important;

    padding:
      10px
      12px !important;
  }

  .public-home .premium-access-icon{
    width:48px !important;
    height:48px !important;
  }

  .public-home .premium-access-copy strong{
    font-size:15px !important;
  }

  .public-home .premium-access-copy span{
    font-size:10px !important;
  }

  .public-home .premium-access-arrow{
    padding:
      8px
      10px !important;

    font-size:11px !important;
  }

  .public-home .premium-home-footer{
    margin-top:10px !important;

    padding:
      9px
      10px !important;
  }

}

/* KOPERASI_NI_MOBILE_FIT_1SCREEN_V1 */

/* =========================================================
   KOPERASI NI - ABSENSI LABEL CLEAN V1
   ========================================================= */

@media (max-width:720px){

  .public-home .premium-choice{
    grid-template-columns:minmax(0,1fr) !important;

    min-height:82px !important;

    padding:
      15px
      18px !important;
  }

  .public-home .premium-choice-copy{
    width:100% !important;
    min-width:0 !important;

    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:19px !important;
    line-height:1.1 !important;

    margin:
      0
      0
      5px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:12px !important;
    line-height:1.4 !important;
  }
}

@media (max-width:430px){

  .public-home .premium-choice{
    grid-template-columns:minmax(0,1fr) !important;

    min-height:78px !important;

    padding:
      14px
      16px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:18px !important;
  }
}

/* KOPERASI_NI_ABSENSI_LABEL_CLEAN_V1 */

/* =========================================================
   KOPERASI NI - MOBILE FULL HEIGHT V1
   Panel fill viewport + balanced vertical spacing
   ========================================================= */

@media (max-width:720px){

  html,
  body.public-home{
    min-height:100%;
  }

  body.public-home{
    min-height:100dvh !important;
  }

  /* AREA LUAR PANEL */
  .public-home .hero{
    width:100% !important;
    min-height:100dvh !important;

    display:flex !important;
    align-items:stretch !important;
    justify-content:center !important;

    padding:
      8px
      8px !important;

    box-sizing:border-box !important;
  }

  /* PANEL UTAMA HAMPIR PENUH 1 LAYAR */
  .public-home .premium-home-panel{
    width:100% !important;
    max-width:680px !important;

    min-height:
      calc(100dvh - 16px) !important;

    margin:0 auto !important;

    display:flex !important;
    flex-direction:column !important;

    justify-content:space-between !important;

    padding:
      16px
      14px !important;

    border-radius:28px !important;

    box-sizing:border-box !important;
  }

  /* JANGAN ADA MARGIN BESAR TERSEMBUNYI */
  .public-home .premium-home-top,
  .public-home .premium-logo-row,
  .public-home .premium-main-actions,
  .public-home .premium-access-section,
  .public-home .premium-home-footer{
    flex-shrink:0 !important;
  }

  .public-home .premium-home-top{
    margin:
      0
      0
      8px !important;
  }

  .public-home .premium-logo-row{
    margin:
      0
      0
      8px !important;
  }

  .public-home .premium-main-actions{
    margin:0 !important;
    gap:12px !important;
  }

  .public-home .premium-access-section{
    margin:
      8px
      0
      0 !important;
  }

  .public-home .employee-access-divider{
    margin-bottom:8px !important;
  }

  .public-home .premium-home-footer{
    margin-top:8px !important;
  }

  /* Sedikit ruang internal yang elegan */
  .public-home .premium-logo-row{
    padding:
      2px
      0 !important;
  }

  .public-home .premium-main-actions{
    padding:
      2px
      0 !important;
  }

  .public-home .premium-access-section{
    padding:
      2px
      0 !important;
  }

  /* BUTTON MASUK TANPA PANAH */
  .public-home .premium-access-arrow{
    font-size:12px !important;
  }

  .public-home .premium-access-arrow::after{
    content:none !important;
    display:none !important;
  }

}


/* HP KECIL */
@media (max-width:430px){

  .public-home .hero{
    padding:
      6px
      6px !important;
  }

  .public-home .premium-home-panel{
    min-height:
      calc(100dvh - 12px) !important;

    padding:
      14px
      12px !important;

    border-radius:25px !important;
  }

}

/* KOPERASI_NI_MOBILE_FULLHEIGHT_V1 */

/* =========================================================
   KOPERASI NI - MOBILE BUTTON POLISH V1
   Bigger cards, centered titles, stronger colors, proportional spacing
   ========================================================= */

@media (max-width:720px){

  /* panel spacing lebih proporsional */
  .public-home .premium-home-panel{
    justify-content:flex-start !important;
    gap:14px !important;
    padding:18px 14px 16px !important;
  }

  .public-home .premium-home-top,
  .public-home .premium-logo-row,
  .public-home .premium-main-actions,
  .public-home .premium-access-section,
  .public-home .premium-home-footer{
    margin:0 !important;
  }

  .public-home .premium-home-footer{
    margin-top:auto !important;
  }

  .public-home .premium-home-badge{
    padding:11px 16px !important;
    font-size:11px !important;
  }

  .public-home .premium-logo-row{
    gap:14px !important;
    margin-bottom:2px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:29px !important;
    line-height:1.05 !important;
    margin-bottom:6px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:14px !important;
    line-height:1.42 !important;
    margin:0 !important;
  }

  .public-home .premium-helper-text{
    margin:2px 0 0 !important;
    font-size:13px !important;
    line-height:1.35 !important;
    color:#6d8291 !important;
  }

  .public-home .premium-main-actions{
    gap:14px !important;
  }

  /* tombol absensi diperbesar dan dipusatkan */
  .public-home .premium-choice{
    display:block !important;
    min-height:132px !important;
    padding:20px 18px !important;
    border-radius:24px !important;
    text-align:center !important;
    box-shadow:
      0 10px 24px rgba(30,60,90,.08),
      inset 0 1px 0 rgba(255,255,255,.38) !important;
  }

  /* pastikan icon kiri & panah tidak tampil */
  .public-home .premium-choice-badge,
  .public-home .premium-choice-arrow{
    display:none !important;
  }

  .public-home .premium-choice-copy{
    width:100% !important;
    min-height:92px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .public-home .premium-choice-copy > strong{
    display:block !important;
    margin:0 0 10px !important;
    font-size:23px !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
    text-align:center !important;
  }

  .public-home .premium-choice-copy > small{
    display:block !important;
    max-width:95% !important;
    margin:0 auto !important;
    font-size:13px !important;
    line-height:1.45 !important;
    text-align:center !important;
    font-weight:600 !important;
  }

  /* ABSENSI TOKO lebih solid */
  .public-home .premium-choice-toko{
    background:linear-gradient(180deg,#f7dfa0 0%,#efc75d 100%) !important;
    border:1px solid #d8ab2d !important;
  }

  .public-home .premium-choice-toko .premium-choice-copy > strong{
    color:#4b2f00 !important;
  }

  .public-home .premium-choice-toko .premium-choice-copy > small{
    color:#654817 !important;
  }

  /* ABSENSI BMT lebih solid */
  .public-home .premium-choice-bmt{
    background:linear-gradient(180deg,#a7ecd0 0%,#63d1a0 100%) !important;
    border:1px solid #39aa77 !important;
  }

  .public-home .premium-choice-bmt .premium-choice-copy > strong{
    color:#124d3c !important;
  }

  .public-home .premium-choice-bmt .premium-choice-copy > small{
    color:#215847 !important;
  }

  .public-home .premium-access-section{
    margin-top:2px !important;
  }

  .public-home .employee-access-divider{
    margin:2px 0 2px !important;
    font-size:14px !important;
  }

  /* card portal sedikit lebih proporsional */
  .public-home .premium-access-card{
    grid-template-columns:74px minmax(0,1fr) 140px !important;
    gap:12px !important;
    padding:16px 16px !important;
    min-height:118px !important;
    border-radius:24px !important;
  }

  .public-home .premium-access-icon{
    width:60px !important;
    height:60px !important;
    border-radius:18px !important;
    font-size:26px !important;
  }

  .public-home .premium-access-copy strong{
    font-size:17px !important;
    margin-bottom:4px !important;
  }

  .public-home .premium-access-copy span{
    font-size:13px !important;
    line-height:1.38 !important;
  }

  /* tombol Masuk lebih besar dan lebih solid */
  .public-home .premium-access-arrow{
    min-width:136px !important;
    width:136px !important;
    min-height:64px !important;
    padding:0 14px !important;
    border-radius:20px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:18px !important;
    font-weight:900 !important;
    background:linear-gradient(180deg,#39a8ff 0%,#1e83eb 100%) !important;
    border:1px solid #146fce !important;
    color:#ffffff !important;
    box-shadow:
      0 10px 22px rgba(30,131,235,.28),
      inset 0 1px 0 rgba(255,255,255,.25) !important;
  }

  .public-home .premium-home-footer{
    padding:14px 14px !important;
  }
}

/* HP kecil */
@media (max-width:430px){

  .public-home .premium-home-panel{
    gap:12px !important;
    padding:16px 12px 14px !important;
  }

  .public-home .premium-logo-copy h1{
    font-size:27px !important;
  }

  .public-home .premium-logo-copy p{
    font-size:13px !important;
  }

  .public-home .premium-choice{
    min-height:122px !important;
    padding:18px 16px !important;
  }

  .public-home .premium-choice-copy{
    min-height:84px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:21px !important;
    margin-bottom:8px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:12.5px !important;
    line-height:1.4 !important;
  }

  .public-home .premium-access-card{
    grid-template-columns:66px minmax(0,1fr) 122px !important;
    gap:10px !important;
    padding:14px !important;
    min-height:108px !important;
  }

  .public-home .premium-access-arrow{
    min-width:118px !important;
    width:118px !important;
    min-height:58px !important;
    font-size:17px !important;
    border-radius:18px !important;
  }

  .public-home .premium-home-footer{
    padding:13px 12px !important;
  }
}

/* KOPERASI_NI_MOBILE_BUTTON_POLISH_V1 */

/* =========================================================
   KOPERASI NI - PORTAL NO BUTTON V1
   ========================================================= */

@media (max-width:720px){

  .public-home .premium-access-card{
    grid-template-columns:
      64px
      minmax(0,1fr) !important;

    gap:14px !important;

    padding:
      16px
      18px !important;
  }

  .public-home .premium-access-copy strong{
    white-space:nowrap !important;
  }

  .public-home .premium-access-copy span{
    -webkit-line-clamp:2 !important;
  }

}

@media (max-width:430px){

  .public-home .premium-access-card{
    grid-template-columns:
      56px
      minmax(0,1fr) !important;

    gap:12px !important;

    padding:
      14px
      16px !important;
  }

}

/* KOPERASI_NI_PORTAL_NO_BUTTON_V1 */

/* =========================================================
   KOPERASI NI - ABSENSI ICON V1
   Visual icon kiri + teks rata kiri
   ========================================================= */

@media (max-width:720px){

  .public-home .premium-choice{
    display:grid !important;

    grid-template-columns:
      64px
      minmax(0,1fr) !important;

    align-items:center !important;

    gap:16px !important;

    min-height:118px !important;

    padding:
      16px
      20px !important;

    text-align:left !important;

    border-radius:24px !important;
  }

  .public-home .premium-choice-copy{
    width:100% !important;
    min-width:0 !important;

    display:block !important;

    text-align:left !important;
  }

  .public-home .premium-choice-copy > strong{
    display:block !important;

    margin:
      0
      0
      7px !important;

    font-size:22px !important;
    line-height:1.08 !important;

    font-weight:900 !important;

    text-align:left !important;
  }

  .public-home .premium-choice-copy > small{
    display:block !important;

    max-width:none !important;

    margin:0 !important;

    font-size:13px !important;
    line-height:1.42 !important;

    font-weight:600 !important;

    text-align:left !important;
  }

  /* ICON DASAR */

  .public-home .premium-choice-icon{
    width:60px !important;
    height:60px !important;

    display:grid !important;
    place-items:center !important;

    border-radius:18px !important;

    box-sizing:border-box !important;
  }

  .public-home .premium-choice-icon svg{
    width:31px !important;
    height:31px !important;

    fill:none !important;

    stroke:currentColor !important;
    stroke-width:1.9 !important;

    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }

  /* TOKO */

  .public-home .premium-choice-icon-toko{
    color:#68460e !important;

    background:
      linear-gradient(
        180deg,
        #ffd56d 0%,
        #efa91f 100%
      ) !important;

    border:
      1px solid
      #d79b20 !important;

    box-shadow:
      0 8px 18px rgba(190,132,20,.20),
      inset 0 1px 0 rgba(255,255,255,.45) !important;
  }

  /* BMT */

  .public-home .premium-choice-icon-bmt{
    color:#104f3c !important;

    background:
      linear-gradient(
        180deg,
        #69ddb1 0%,
        #29b87f 100%
      ) !important;

    border:
      1px solid
      #20a46f !important;

    box-shadow:
      0 8px 18px rgba(32,164,111,.18),
      inset 0 1px 0 rgba(255,255,255,.40) !important;
  }

  /* Pastikan badge lama tidak pernah muncul */

  .public-home .premium-choice-badge,
  .public-home .premium-choice-arrow{
    display:none !important;
  }

}


/* HP KECIL */
@media (max-width:430px){

  .public-home .premium-choice{
    grid-template-columns:
      56px
      minmax(0,1fr) !important;

    gap:13px !important;

    min-height:108px !important;

    padding:
      14px
      16px !important;
  }

  .public-home .premium-choice-icon{
    width:54px !important;
    height:54px !important;

    border-radius:16px !important;
  }

  .public-home .premium-choice-icon svg{
    width:28px !important;
    height:28px !important;
  }

  .public-home .premium-choice-copy > strong{
    font-size:20px !important;
  }

  .public-home .premium-choice-copy > small{
    font-size:12px !important;
    line-height:1.38 !important;
  }

}

/* KOPERASI_NI_ABSENSI_ICON_V1 */

/* =========================================================
   KOPERASI NURUL ISHLAH
   EMPLOYEE MOBILE APP V1
   ========================================================= */

.employee-mobile-body{
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  background:
    linear-gradient(
      180deg,
      #eaf3f8 0%,
      #f5f8fb 55%,
      #eef3f7 100%
    );
  color:#173b57;
}

.employee-mobile-body *{
  box-sizing:border-box;
}

.employee-mobile-app{
  width:100%;
  max-width:680px;
  min-height:100vh;
  min-height:100dvh;
  margin:0 auto;
  background:#f5f8fb;
  position:relative;
}

.employee-mobile-header{
  position:sticky;
  top:0;
  z-index:40;

  min-height:82px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:14px;

  padding:
    calc(12px + env(safe-area-inset-top))
    16px
    12px;

  background:
    rgba(255,255,255,.94);

  backdrop-filter:
    blur(16px);

  border-bottom:
    1px solid
    rgba(23,59,87,.08);
}

.employee-mobile-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
}

.employee-mobile-logo{
  width:45px;
  height:45px;

  display:grid;
  place-items:center;

  flex:0 0 auto;

  background:#fff;

  border-radius:14px;

  border:
    1px solid
    rgba(23,59,87,.10);

  box-shadow:
    0 5px 14px
    rgba(23,59,87,.08);
}

.employee-mobile-logo img{
  width:35px;
  height:35px;
  object-fit:contain;
}

.employee-mobile-brand-copy{
  min-width:0;
}

.employee-mobile-brand-copy span{
  display:block;

  margin-bottom:2px;

  color:#79909e;

  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.employee-mobile-brand-copy strong{
  display:block;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  color:#173b57;

  font-size:15px;
  font-weight:900;
}

.employee-mobile-date{
  flex:0 0 auto;

  text-align:right;
}

.employee-mobile-date small{
  display:block;

  margin-bottom:2px;

  color:#8aa0ad;

  font-size:10px;
}

.employee-mobile-date strong{
  display:block;

  color:#173b57;

  font-size:12px;
  font-weight:800;
}

.employee-mobile-content{
  padding:
    16px
    14px
    calc(104px + env(safe-area-inset-bottom));
}

.employee-mobile-page[hidden]{
  display:none !important;
}

.employee-mobile-page.active{
  animation:
    employeeMobilePageIn
    .18s ease;
}

@keyframes employeeMobilePageIn{
  from{
    opacity:.35;
    transform:translateY(5px);
  }

  to{
    opacity:1;
    transform:none;
  }
}


/* HERO */

.employee-mobile-hero{
  position:relative;
  overflow:hidden;

  margin-bottom:14px;

  padding:22px 20px;

  border-radius:25px;

  background:
    linear-gradient(
      135deg,
      #173b57 0%,
      #205a7e 55%,
      #2383b5 100%
    );

  color:#fff;

  box-shadow:
    0 15px 32px
    rgba(23,59,87,.18);
}

.employee-mobile-hero::after{
  content:"";

  position:absolute;
  width:170px;
  height:170px;

  top:-85px;
  right:-55px;

  border-radius:50%;

  background:
    rgba(255,255,255,.08);
}

.employee-mobile-greeting{
  display:block;

  margin-bottom:5px;

  color:
    rgba(255,255,255,.72);

  font-size:12px;
  font-weight:700;
}

.employee-mobile-hero h1{
  position:relative;
  z-index:1;

  margin:0 0 5px;

  color:#fff;

  font-size:25px;
  line-height:1.08;
  font-weight:900;
}

.employee-mobile-hero p{
  position:relative;
  z-index:1;

  margin:0;

  color:
    rgba(255,255,255,.78);

  font-size:12px;
  font-weight:700;
}


/* SUMMARY */

.employee-mobile-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:10px;

  margin-bottom:14px;
}

.employee-mobile-summary-card{
  padding:15px;

  border-radius:20px;

  background:#fff;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 6px 18px
    rgba(23,59,87,.055);
}

.employee-mobile-summary-card span{
  display:block;

  margin-bottom:4px;

  color:#8095a1;

  font-size:11px;
  font-weight:700;
}

.employee-mobile-summary-card strong{
  display:block;

  color:#173b57;

  font-size:25px;
  line-height:1;
  font-weight:900;
}

.employee-mobile-summary-card small{
  display:block;

  margin-top:4px;

  color:#98a8b2;

  font-size:10px;
}


/* PAGE TITLE */

.employee-mobile-page-title{
  margin:
    2px
    2px
    16px;
}

.employee-mobile-page-title>span{
  display:block;

  margin-bottom:4px;

  color:#1d91cf;

  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.employee-mobile-page-title h1{
  margin:0;

  color:#173b57;

  font-size:27px;
  line-height:1.08;
  font-weight:900;
}

.employee-mobile-page-title p{
  margin:
    5px
    0
    0;

  color:#8095a1;

  font-size:13px;
}


/* CARD */

.employee-mobile-card{
  margin-bottom:14px;

  padding:17px;

  border-radius:22px;

  background:#fff;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 7px 20px
    rgba(23,59,87,.055);
}

.employee-mobile-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:14px;
}

.employee-mobile-kicker{
  display:block;

  margin-bottom:3px;

  color:#1d91cf;

  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}

.employee-mobile-card-head h2{
  margin:0;

  color:#173b57;

  font-size:18px;
  font-weight:900;
}


/* COMMON LIST */

.employee-mobile-list{
  display:grid;
  gap:10px;
}

.employee-mobile-schedule-item{
  display:grid;

  grid-template-columns:
    58px
    minmax(0,1fr);

  align-items:center;

  gap:12px;

  padding:12px;

  border-radius:17px;

  background:#f5f9fc;
}

.employee-mobile-unit{
  min-width:52px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:max-content;

  padding:
    6px
    9px;

  border-radius:10px;

  background:#e3f4fd;

  color:#177bb0;

  font-size:10px;
  line-height:1;
  font-weight:900;
}

.employee-mobile-schedule-item strong{
  display:block;

  margin-bottom:3px;

  color:#173b57;

  font-size:14px;
  font-weight:900;
}

.employee-mobile-schedule-item div>span{
  display:block;

  color:#79909e;

  font-size:12px;
  font-weight:600;
}

.employee-mobile-empty{
  padding:
    22px
    16px;

  border-radius:16px;

  background:#f6f9fb;

  color:#8497a3;

  text-align:center;

  font-size:12px;
}


/* ATTENDANCE */

.employee-mobile-attendance-item{
  padding:13px;

  border-radius:18px;

  background:#f7fafc;
}

.employee-mobile-attendance-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:10px;

  margin-bottom:11px;
}

.employee-mobile-attendance-top>strong{
  color:#173b57;

  font-size:13px;
  font-weight:900;
}

.employee-mobile-status{
  flex:0 0 auto;

  display:inline-flex;
  align-items:center;

  padding:
    5px
    8px;

  border-radius:999px;

  font-size:9px;
  font-weight:900;
}

.employee-mobile-status.success{
  background:#dcf7eb;
  color:#17845e;
}

.employee-mobile-status.warning{
  background:#fff1d2;
  color:#a26b00;
}

.employee-mobile-times{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:8px;
}

.employee-mobile-times>div{
  padding:
    9px
    10px;

  border-radius:13px;

  background:#fff;
}

.employee-mobile-times span{
  display:block;

  color:#8ca0ab;

  font-size:9px;
}

.employee-mobile-times strong{
  display:block;

  margin-top:2px;

  color:#173b57;

  font-size:14px;
  font-weight:900;
}


/* WEEKLY */

.employee-mobile-weekly-list{
  display:grid;
  gap:8px;
}

.employee-mobile-weekly-item{
  display:grid;

  grid-template-columns:
    72px
    minmax(0,1fr);

  gap:12px;

  align-items:center;

  padding:
    12px
    5px;

  border-bottom:
    1px solid
    #edf1f4;
}

.employee-mobile-weekly-item:last-child{
  border-bottom:0;
}

.employee-mobile-weekday strong{
  color:#173b57;

  font-size:13px;
  font-weight:900;
}

.employee-mobile-weekly-copy{
  min-width:0;
}

.employee-mobile-weekly-copy p{
  margin:
    6px
    0
    0;

  color:#6f8592;

  font-size:11px;
  line-height:1.4;
}


/* HISTORY */

.employee-mobile-history-list{
  display:grid;
  gap:11px;
}

.employee-mobile-history-card{
  padding:15px;

  border-radius:20px;

  background:#fff;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 6px 18px
    rgba(23,59,87,.05);
}

.employee-mobile-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:10px;

  margin-bottom:11px;
}

.employee-mobile-history-date{
  display:block;

  margin-bottom:3px;

  color:#8ba0ac;

  font-size:10px;
  font-weight:700;
}

.employee-mobile-history-head strong{
  display:block;

  color:#173b57;

  font-size:13px;
  font-weight:900;
}

.employee-mobile-history-times{
  margin-bottom:10px;
}

.employee-mobile-history-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding-top:9px;

  border-top:
    1px solid
    #edf2f5;
}

.employee-mobile-history-foot span{
  color:#79909e;

  font-size:10px;
  font-weight:700;
}

.employee-mobile-history-foot strong{
  color:#173b57;

  font-size:12px;
  font-weight:900;
}


/* PAYROLL */

.employee-mobile-payroll-hero{
  margin-bottom:12px;

  padding:22px 19px;

  border-radius:24px;

  background:
    linear-gradient(
      135deg,
      #126e54 0%,
      #18a078 100%
    );

  color:#fff;

  box-shadow:
    0 14px 28px
    rgba(18,110,84,.18);
}

.employee-mobile-payroll-hero span{
  display:block;

  margin-bottom:6px;

  color:
    rgba(255,255,255,.75);

  font-size:11px;
  font-weight:700;
}

.employee-mobile-payroll-hero strong{
  display:block;

  color:#fff;

  font-size:29px;
  line-height:1;
  font-weight:900;
}

.employee-mobile-payroll-hero small{
  display:block;

  margin-top:7px;

  color:
    rgba(255,255,255,.68);

  font-size:10px;
}

.employee-mobile-payroll-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:10px;

  margin-bottom:12px;
}

.employee-mobile-payroll-grid article{
  padding:15px;

  border-radius:19px;

  background:#fff;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 6px 18px
    rgba(23,59,87,.05);
}

.employee-mobile-payroll-grid span{
  display:block;

  margin-bottom:5px;

  color:#8297a3;

  font-size:10px;
  font-weight:700;
}

.employee-mobile-payroll-grid strong{
  display:block;

  color:#173b57;

  font-size:22px;
  line-height:1.1;
  font-weight:900;
}

.employee-mobile-payroll-grid small{
  display:block;

  margin-top:4px;

  color:#9aaab3;

  font-size:9px;
}

.employee-mobile-money-small{
  font-size:16px !important;
}

.employee-mobile-notice{
  display:grid;

  grid-template-columns:
    35px
    minmax(0,1fr);

  gap:10px;

  align-items:center;

  padding:13px;

  border-radius:17px;

  background:#edf7fc;

  border:
    1px solid
    #d7edf8;
}

.employee-mobile-notice-icon{
  width:32px;
  height:32px;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:#1d91cf;

  color:#fff;

  font-family:serif;
  font-weight:900;
}

.employee-mobile-notice p{
  margin:0;

  color:#577384;

  font-size:10px;
  line-height:1.5;
}


/* PROFILE */

.employee-mobile-profile-main{
  padding:
    20px
    16px
    18px;

  margin-bottom:12px;

  border-radius:23px;

  background:#fff;

  text-align:center;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 7px 20px
    rgba(23,59,87,.05);
}

.employee-mobile-profile-avatar{
  width:76px;
  height:76px;

  display:grid;
  place-items:center;

  margin:
    0
    auto
    11px;

  border-radius:24px;

  background:
    linear-gradient(
      145deg,
      #1d91cf,
      #173b57
    );

  box-shadow:
    0 10px 22px
    rgba(29,145,207,.22);
}

.employee-mobile-profile-avatar span{
  color:#fff;

  font-size:31px;
  font-weight:900;
}

.employee-mobile-profile-main h2{
  margin:0;

  color:#173b57;

  font-size:21px;
  font-weight:900;
}

.employee-mobile-profile-main p{
  margin:
    4px
    0
    0;

  color:#8297a3;

  font-size:11px;
}

.employee-mobile-profile-details{
  padding:
    5px
    16px;
}

.employee-mobile-profile-row{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:18px;

  padding:
    14px
    2px;

  border-bottom:
    1px solid
    #edf2f5;
}

.employee-mobile-profile-row:last-child{
  border-bottom:0;
}

.employee-mobile-profile-row span{
  color:#8195a1;

  font-size:11px;
}

.employee-mobile-profile-row strong{
  color:#173b57;

  text-align:right;

  font-size:12px;
  font-weight:900;
}

.employee-mobile-account-active{
  color:#15825c !important;
}

.employee-mobile-logout-form{
  margin:
    18px
    0;
}

.employee-mobile-logout-form button{
  width:100%;

  padding:
    14px
    18px;

  border:0;

  border-radius:17px;

  background:#fff0f0;

  color:#b84040;

  font-size:13px;
  font-weight:900;

  cursor:pointer;
}

.employee-mobile-footer{
  padding:
    8px
    0
    18px;

  color:#91a2ac;

  text-align:center;

  font-size:9px;
  line-height:1.6;
}

.employee-mobile-footer strong,
.employee-mobile-footer span{
  display:block;
}

.employee-mobile-footer a{
  color:#2383b5;

  font-weight:800;

  text-decoration:none;
}


/* =========================================================
   BOTTOM NAV
   ========================================================= */

.employee-bottom-nav{
  position:fixed;

  z-index:70;

  left:50%;
  bottom:
    calc(
      8px
      + env(safe-area-inset-bottom)
    );

  transform:
    translateX(-50%);

  width:
    min(
      calc(100% - 16px),
      664px
    );

  min-height:72px;

  display:grid;

  grid-template-columns:
    repeat(5,minmax(0,1fr));

  align-items:center;

  gap:2px;

  padding:
    7px
    6px;

  border-radius:23px;

  background:
    rgba(255,255,255,.96);

  border:
    1px solid
    rgba(23,59,87,.09);

  box-shadow:
    0 12px 35px
    rgba(23,59,87,.17);

  backdrop-filter:
    blur(18px);
}

.employee-bottom-nav-item{
  position:relative;

  min-width:0;
  height:57px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:4px;

  padding:4px 2px;

  border:0;

  border-radius:17px;

  background:transparent;

  color:#8a9da8;

  cursor:pointer;
}

.employee-bottom-nav-item svg{
  width:21px;
  height:21px;

  fill:none;

  stroke:currentColor;
  stroke-width:1.8;

  stroke-linecap:round;
  stroke-linejoin:round;
}

.employee-bottom-nav-item span{
  overflow:hidden;

  max-width:100%;

  color:inherit;

  font-size:9px;
  line-height:1;
  font-weight:700;

  white-space:nowrap;
}

.employee-bottom-nav-item.active{
  background:#eaf6fc;

  color:#177fb7;
}

.employee-bottom-nav-item.active::before{
  content:"";

  position:absolute;

  top:4px;

  width:18px;
  height:3px;

  border-radius:999px;

  background:#1d91cf;
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width:430px){

  .employee-mobile-header{
    padding-left:12px;
    padding-right:12px;
  }

  .employee-mobile-content{
    padding-left:10px;
    padding-right:10px;
  }

  .employee-mobile-brand-copy strong{
    font-size:14px;
  }

  .employee-mobile-date{
    display:none;
  }

  .employee-mobile-hero{
    padding:
      20px
      17px;
  }

  .employee-mobile-hero h1{
    font-size:23px;
  }

  .employee-mobile-card{
    padding:15px;
  }

  .employee-mobile-payroll-hero strong{
    font-size:26px;
  }

  .employee-bottom-nav{
    width:
      calc(100% - 12px);

    bottom:
      calc(
        6px
        + env(safe-area-inset-bottom)
      );

    border-radius:21px;
  }

  .employee-bottom-nav-item{
    height:55px;
  }

  .employee-bottom-nav-item svg{
    width:20px;
    height:20px;
  }

  .employee-bottom-nav-item span{
    font-size:8px;
  }

}


/* =========================================================
   DESKTOP PREVIEW
   ========================================================= */

@media (min-width:721px){

  .employee-mobile-app{
    margin:
      18px
      auto;

    min-height:
      calc(100dvh - 36px);

    border-radius:30px;

    overflow:hidden;

    box-shadow:
      0 20px 50px
      rgba(23,59,87,.14);
  }

}

/* KOPERASI_NI_EMPLOYEE_MOBILE_APP_V1 */

/* =========================================================
   KOPERASI NI - EMPLOYEE BOTTOM STICKY V2
   Bottom navigation menempel ke bawah, bukan floating
   ========================================================= */

.employee-mobile-content{
  padding-bottom:
    calc(92px + env(safe-area-inset-bottom)) !important;
}

.employee-bottom-nav{
  position:fixed !important;

  left:50% !important;
  right:auto !important;

  bottom:0 !important;

  transform:
    translateX(-50%) !important;

  width:100% !important;
  max-width:680px !important;

  min-height:76px !important;

  grid-template-columns:
    repeat(5,minmax(0,1fr)) !important;

  gap:0 !important;

  padding:
    7px
    8px
    calc(7px + env(safe-area-inset-bottom)) !important;

  border-radius:0 !important;

  background:
    rgba(255,255,255,.98) !important;

  border:
    0 !important;

  border-top:
    1px solid
    rgba(23,59,87,.11) !important;

  box-shadow:
    0 -8px 24px
    rgba(23,59,87,.08) !important;

  backdrop-filter:
    blur(18px) !important;
}

.employee-bottom-nav-item{
  height:59px !important;

  border-radius:14px !important;
}

.employee-bottom-nav-item.active{
  background:#eaf6fc !important;
}

.employee-bottom-nav-item.active::before{
  top:3px !important;
}


/* HP kecil */
@media (max-width:430px){

  .employee-mobile-content{
    padding-bottom:
      calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .employee-bottom-nav{
    width:100% !important;

    bottom:0 !important;

    padding:
      6px
      6px
      calc(6px + env(safe-area-inset-bottom)) !important;

    border-radius:0 !important;
  }

  .employee-bottom-nav-item{
    height:57px !important;
  }

}


/* Desktop preview tetap menyatu dengan app */
@media (min-width:721px){

  .employee-bottom-nav{
    max-width:680px !important;
  }

}

/* KOPERASI_NI_EMPLOYEE_BOTTOM_STICKY_V2 */

/* =========================================================
   KOPERASI NI - EMPLOYEE HEADER STABILITY V3
   ========================================================= */

.employee-mobile-app{
  isolation:isolate !important;
}

.employee-mobile-header{
  position:sticky !important;
  top:0 !important;

  z-index:100 !important;

  transform:translateZ(0);

  background:
    rgba(255,255,255,.98) !important;

  border-bottom:
    1px solid
    rgba(23,59,87,.09) !important;

  box-shadow:
    0 3px 12px
    rgba(23,59,87,.035) !important;
}


/*
 * Bottom navigation tetap seperti versi final:
 * menempel penuh di bawah layar.
 */

.employee-bottom-nav{
  z-index:110 !important;
}


/* cegah anchor/restore browser menggeser page */
.employee-mobile-page{
  scroll-margin-top:0 !important;
}


/* KOPERASI_NI_EMPLOYEE_HEADER_STABILITY_V3 */

/* =========================================================
   KOPERASI NI - EMPLOYEE QUICK ABSEN V1
   ========================================================= */

.employee-mobile-quick-absen{
  margin-bottom:14px;

  padding:15px;

  border-radius:22px;

  background:#fff;

  border:
    1px solid
    rgba(23,59,87,.07);

  box-shadow:
    0 7px 20px
    rgba(23,59,87,.055);
}

.employee-mobile-quick-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;

  gap:10px;

  margin-bottom:12px;
}

.employee-mobile-quick-head>div>span{
  display:block;

  margin-bottom:2px;

  color:#1d91cf;

  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.employee-mobile-quick-head>div>strong{
  display:block;

  color:#173b57;

  font-size:17px;
  font-weight:900;
}

.employee-mobile-quick-head>small{
  color:#8ca0ac;

  font-size:9px;
  text-align:right;
}


.employee-mobile-quick-actions{
  display:grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(0,1fr)
    );

  gap:10px;
}


.employee-mobile-quick-btn{
  min-width:0;

  display:grid;

  grid-template-columns:
    48px
    minmax(0,1fr);

  align-items:center;

  gap:10px;

  min-height:76px;

  padding:
    11px
    12px;

  border-radius:18px;

  text-decoration:none;
}


.employee-mobile-quick-btn.toko{
  background:
    linear-gradient(
      135deg,
      #fff4cf 0%,
      #f6d66c 100%
    );

  border:
    1px solid
    #e4be48;
}


.employee-mobile-quick-btn.bmt{
  background:
    linear-gradient(
      135deg,
      #dcf8ec 0%,
      #79ddb5 100%
    );

  border:
    1px solid
    #55c89a;
}


.employee-mobile-quick-icon{
  width:46px;
  height:46px;

  display:grid;
  place-items:center;

  border-radius:15px;

  background:
    rgba(255,255,255,.58);
}


.employee-mobile-quick-icon svg{
  width:25px;
  height:25px;

  fill:none;

  stroke:currentColor;
  stroke-width:1.9;

  stroke-linecap:round;
  stroke-linejoin:round;
}


.employee-mobile-quick-btn.toko{
  color:#6a4707;
}

.employee-mobile-quick-btn.bmt{
  color:#145c46;
}


.employee-mobile-quick-copy{
  min-width:0;
}

.employee-mobile-quick-copy strong{
  display:block;

  margin-bottom:3px;

  color:inherit;

  font-size:13px;
  line-height:1.15;
  font-weight:900;
}

.employee-mobile-quick-copy small{
  display:block;

  color:inherit;

  opacity:.76;

  font-size:9px;
  line-height:1.35;
  font-weight:700;
}


@media (max-width:430px){

  .employee-mobile-quick-absen{
    padding:13px;
  }

  .employee-mobile-quick-btn{
    grid-template-columns:
      43px
      minmax(0,1fr);

    min-height:70px;

    padding:
      10px;
  }

  .employee-mobile-quick-icon{
    width:42px;
    height:42px;
  }

  .employee-mobile-quick-icon svg{
    width:23px;
    height:23px;
  }

  .employee-mobile-quick-copy strong{
    font-size:12px;
  }

}


/* KOPERASI_NI_EMPLOYEE_QUICK_ABSEN_V1 */

/* =========================================================
   KOPERASI NI - EMPLOYEE CARD ACCENT V1
   Background & card accent supaya tidak pucat
   ========================================================= */

/* APP BACKGROUND */
body{
  background:
    radial-gradient(circle at top left, rgba(61,148,201,.10) 0%, transparent 24%),
    radial-gradient(circle at top right, rgba(63,186,146,.08) 0%, transparent 22%),
    linear-gradient(180deg, #eef5fb 0%, #f4f7fb 42%, #eef3f8 100%) !important;
}

.employee-mobile-app,
.employee-portal-shell{
  background:
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 100%) !important;
}

.employee-mobile-content{
  background:
    linear-gradient(180deg, #f3f6fb 0%, #eef3f8 100%) !important;
}

/* HEADER / APP BAR */
.employee-mobile-header{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%) !important;
  border-bottom:
    1px solid rgba(23,59,87,.07) !important;
  box-shadow:
    0 6px 18px rgba(23,59,87,.04) !important;
}

/* GENERIC CARD LOOK */
.employee-mobile-card,
.employee-mobile-summary-card,
.employee-mobile-profile-main,
.employee-mobile-profile-details,
.employee-mobile-history-card,
.employee-mobile-payroll-grid article,
.employee-mobile-notice,
.employee-mobile-quick-absen{
  border:
    1px solid rgba(23,59,87,.08) !important;
  box-shadow:
    0 10px 24px rgba(23,59,87,.06) !important;
}

/* MAIN SECTION CARDS */
.employee-mobile-card{
  background:
    radial-gradient(circle at top right, rgba(50,144,203,.05) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

/* QUICK ABSEN */
.employee-mobile-quick-absen{
  background:
    radial-gradient(circle at top right, rgba(38,149,212,.06) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

/* SUMMARY CARDS */
.employee-mobile-summary-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%) !important;
}

/* JADWAL ITEMS */
.employee-mobile-schedule-item{
  background:
    linear-gradient(180deg, #f7fbff 0%, #edf5fb 100%) !important;
  border:
    1px solid rgba(46,128,178,.10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 6px 16px rgba(23,59,87,.04) !important;
}

/* ATTENDANCE ITEMS */
.employee-mobile-attendance-item{
  background:
    linear-gradient(180deg, #fbfcff 0%, #f3f8fc 100%) !important;
  border:
    1px solid rgba(43,126,179,.09) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 6px 16px rgba(23,59,87,.04) !important;
}

/* WEEKLY LIST */
.employee-mobile-weekly-item{
  background:
    linear-gradient(180deg, rgba(248,251,254,.95) 0%, rgba(241,247,251,.95) 100%) !important;
  border-radius:16px !important;
  padding:12px !important;
  border:
    1px solid rgba(23,59,87,.06) !important;
  margin-bottom:8px !important;
}

/* HISTORY CARD */
.employee-mobile-history-card{
  background:
    radial-gradient(circle at top right, rgba(79,183,146,.05) 0%, transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

/* PROFILE MAIN */
.employee-mobile-profile-main{
  background:
    radial-gradient(circle at top center, rgba(36,143,212,.05) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

.employee-mobile-profile-details{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

/* PAYROLL GRID */
.employee-mobile-payroll-grid article{
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
}

/* NOTICE BOX */
.employee-mobile-notice{
  background:
    linear-gradient(180deg, #eef8fe 0%, #e8f4fb 100%) !important;
  border:
    1px solid #cde5f3 !important;
}

/* FOOTER */
.employee-mobile-footer{
  color:#8296a3 !important;
}

/* =========================================================
   SECTION-SPECIFIC ACCENT
   ========================================================= */

/* Jadwal */
[data-employee-page="home"] .employee-mobile-card:nth-of-type(1),
[data-employee-page="schedule"] .employee-mobile-card{
  background:
    radial-gradient(circle at top right, rgba(67,155,214,.07) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  border-color: rgba(52,140,196,.11) !important;
}

/* Kehadiran */
[data-employee-page="home"] .employee-mobile-card:nth-of-type(2),
[data-employee-page="attendance"] .employee-mobile-card{
  background:
    radial-gradient(circle at top right, rgba(82,190,145,.07) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fcf8 100%) !important;
  border-color: rgba(64,166,126,.11) !important;
}

/* Gaji */
[data-employee-page="payroll"] .employee-mobile-card{
  background:
    radial-gradient(circle at top right, rgba(27,169,129,.07) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fcfa 100%) !important;
  border-color: rgba(30,150,117,.11) !important;
}

/* Profil */
[data-employee-page="profile"] .employee-mobile-card{
  background:
    radial-gradient(circle at top right, rgba(77,151,214,.07) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border-color: rgba(52,140,196,.11) !important;
}

/* =========================================================
   BETTER HEADINGS
   ========================================================= */
.employee-mobile-card-kicker,
.employee-mobile-quick-head > div > span{
  text-shadow:none !important;
}

.employee-mobile-card-title h2,
.employee-mobile-quick-head > div > strong{
  letter-spacing:-.02em !important;
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width:430px){

  .employee-mobile-card,
  .employee-mobile-summary-card,
  .employee-mobile-profile-main,
  .employee-mobile-profile-details,
  .employee-mobile-history-card,
  .employee-mobile-payroll-grid article,
  .employee-mobile-notice,
  .employee-mobile-quick-absen{
    box-shadow:
      0 8px 18px rgba(23,59,87,.05) !important;
  }

}

/* KOPERASI_NI_EMPLOYEE_CARD_ACCENT_V1 */

/* =========================================================
   KOPERASI NI - EMPLOYEE ELEGANT V2
   Fokus: lebih premium, lebih clean, lebih elegan
   ========================================================= */

/* =========================================================
   GLOBAL BACKGROUND
   ========================================================= */
body{
  background:
    radial-gradient(circle at top left, rgba(41,126,182,.08) 0%, transparent 24%),
    radial-gradient(circle at top right, rgba(39,168,132,.05) 0%, transparent 22%),
    linear-gradient(180deg, #edf3f8 0%, #f3f6fa 46%, #eef3f7 100%) !important;
}

.employee-mobile-app,
.employee-portal-shell,
.employee-mobile-content{
  background: transparent !important;
}

/* =========================================================
   HEADER
   ========================================================= */
.employee-mobile-header{
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,251,254,.92) 100%) !important;
  border-bottom: 1px solid rgba(23,59,87,.06) !important;
  box-shadow: 0 6px 18px rgba(23,59,87,.035) !important;
}

.employee-mobile-brand{
  gap:12px !important;
}

.employee-mobile-brand img{
  box-shadow:
    0 6px 16px rgba(23,59,87,.08),
    inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.employee-mobile-brand-copy span{
  color:#8799a5 !important;
  letter-spacing:.08em !important;
  font-weight:800 !important;
}

.employee-mobile-brand-copy strong{
  color:#1d3d59 !important;
  font-weight:900 !important;
}

/* =========================================================
   GENERIC CARD SYSTEM
   ========================================================= */
.employee-mobile-card,
.employee-mobile-summary-card,
.employee-mobile-history-card,
.employee-mobile-profile-main,
.employee-mobile-profile-details,
.employee-mobile-payroll-grid article,
.employee-mobile-notice,
.employee-mobile-quick-absen{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,252,253,.98) 100%) !important;
  border:1px solid rgba(23,59,87,.07) !important;
  box-shadow:
    0 10px 28px rgba(23,59,87,.05),
    0 2px 6px rgba(23,59,87,.03) !important;
}

/* main content cards lebih refined */
.employee-mobile-card{
  border-radius:28px !important;
  padding:22px 20px !important;
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.employee-mobile-card-kicker,
.employee-mobile-quick-head > div > span{
  color:#2b86bd !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
}

.employee-mobile-card-title h2,
.employee-mobile-quick-head > div > strong{
  color:#173b57 !important;
  font-size:27px !important;
  line-height:1.12 !important;
  font-weight:900 !important;
  letter-spacing:-.03em !important;
}

.employee-mobile-card-subtitle,
.employee-mobile-quick-head > small{
  color:#8496a3 !important;
}

/* =========================================================
   QUICK ABSEN SECTION
   ========================================================= */
.employee-mobile-quick-absen{
  background:
    radial-gradient(circle at top right, rgba(44,140,198,.055) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  border-radius:30px !important;
  padding:20px !important;
}

.employee-mobile-quick-actions{
  gap:16px !important;
}

.employee-mobile-quick-btn{
  border-radius:24px !important;
  border:1px solid rgba(23,59,87,.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 10px 18px rgba(23,59,87,.05) !important;
  padding:16px !important;
}

.employee-mobile-quick-btn .icon-box,
.employee-mobile-quick-btn .employee-mobile-quick-icon{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 4px 10px rgba(23,59,87,.05) !important;
}

.employee-mobile-quick-btn-toko{
  background:
    linear-gradient(135deg, #f8ebbf 0%, #f4dd87 100%) !important;
  border-color: rgba(195,154,55,.28) !important;
}

.employee-mobile-quick-btn-bmt{
  background:
    linear-gradient(135deg, #cff3e5 0%, #8fe4c2 100%) !important;
  border-color: rgba(48,155,118,.24) !important;
}

.employee-mobile-quick-btn strong{
  color:#234055 !important;
  font-weight:900 !important;
}

.employee-mobile-quick-btn p,
.employee-mobile-quick-btn small,
.employee-mobile-quick-btn span{
  color:#4d6472 !important;
}

/* =========================================================
   SUMMARY BOXES
   ========================================================= */
.employee-mobile-summary-grid{
  gap:16px !important;
}

.employee-mobile-summary-card{
  position:relative !important;
  overflow:hidden !important;
  border-radius:26px !important;
  padding:20px 18px !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
}

.employee-mobile-summary-card::before{
  content:"" !important;
  position:absolute !important;
  inset:0 auto 0 0 !important;
  width:4px !important;
  border-radius:4px !important;
  background:linear-gradient(180deg, #2d8ec6 0%, #69b3da 100%) !important;
  opacity:.95 !important;
}

.employee-mobile-summary-card:nth-child(2)::before{
  background:linear-gradient(180deg, #23a277 0%, #5dc9a0 100%) !important;
}

.employee-mobile-summary-card span,
.employee-mobile-summary-card small{
  color:#8d9da8 !important;
  font-size:12px !important;
}

.employee-mobile-summary-card strong{
  color:#183c58 !important;
  font-size:50px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.03em !important;
}

/* =========================================================
   JADWAL / ABSENSI LIST ITEM
   ========================================================= */
.employee-mobile-schedule-item,
.employee-mobile-attendance-item{
  border-radius:24px !important;
  padding:18px !important;
}

.employee-mobile-schedule-item{
  background:
    linear-gradient(180deg, #f9fbfd 0%, #f1f6fa 100%) !important;
  border:1px solid rgba(44,126,177,.08) !important;
}

.employee-mobile-attendance-item{
  background:
    linear-gradient(180deg, #fbfcfd 0%, #f4f8fb 100%) !important;
  border:1px solid rgba(44,126,177,.08) !important;
}

.employee-unit-badge,
.employee-mobile-schedule-item .employee-mobile-unit,
.employee-mobile-weekly-item .employee-unit-badge{
  background:
    linear-gradient(180deg, #eaf5fb 0%, #dbeef8 100%) !important;
  color:#2877a7 !important;
  border:1px solid rgba(40,119,167,.10) !important;
  font-weight:800 !important;
}

.employee-mobile-attendance-top > strong,
.employee-mobile-schedule-copy strong,
.employee-mobile-history-head strong{
  color:#173b57 !important;
  font-weight:900 !important;
}

.employee-mobile-times > div{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%) !important;
  border:1px solid rgba(23,59,87,.05) !important;
}

/* =========================================================
   WEEKLY LIST
   ========================================================= */
.employee-mobile-weekly-item{
  padding:14px !important;
  border-radius:18px !important;
  background:
    linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%) !important;
  border:1px solid rgba(23,59,87,.06) !important;
  box-shadow:none !important;
}

.employee-mobile-weekday strong{
  color:#173b57 !important;
  font-weight:900 !important;
}

.employee-mobile-weekly-copy p{
  color:#728793 !important;
}

/* =========================================================
   HISTORY / PAYROLL / PROFILE
   ========================================================= */
.employee-mobile-history-card{
  border-radius:28px !important;
}

.employee-mobile-payroll-hero{
  border-radius:28px !important;
  background:
    linear-gradient(135deg, #0d7b5c 0%, #13a77b 100%) !important;
  box-shadow:
    0 14px 28px rgba(18,110,84,.16) !important;
}

.employee-mobile-notice{
  border-radius:22px !important;
}

.employee-mobile-profile-main{
  border-radius:28px !important;
}

.employee-mobile-profile-details{
  border-radius:28px !important;
}

/* =========================================================
   STATUS PILLS
   ========================================================= */
.employee-mobile-status.success,
.employee-status-pill.success{
  background:#dff7ea !important;
  color:#1b8b63 !important;
}

.employee-mobile-status.warning,
.employee-status-pill.warning{
  background:#fff2d9 !important;
  color:#a86a00 !important;
}

/* =========================================================
   BOTTOM NAV - more elegant
   ========================================================= */
.employee-bottom-nav{
  background: rgba(255,255,255,.97) !important;
  border-top:1px solid rgba(23,59,87,.08) !important;
  box-shadow:0 -8px 20px rgba(23,59,87,.05) !important;
  backdrop-filter: blur(14px) !important;
}

.employee-bottom-nav-item{
  border-radius:18px !important;
  color:#91a0aa !important;
  transition:all .2s ease !important;
}

.employee-bottom-nav-item.active{
  background:
    linear-gradient(180deg, #eaf6fc 0%, #e3f1f9 100%) !important;
  color:#237fb3 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.employee-bottom-nav-item.active::before{
  width:32px !important;
  height:4px !important;
  top:5px !important;
  background:#2593cf !important;
  border-radius:999px !important;
}

.employee-bottom-nav-item span{
  font-weight:700 !important;
}

/* =========================================================
   MOBILE SMALL
   ========================================================= */
@media (max-width:430px){

  .employee-mobile-card,
  .employee-mobile-summary-card,
  .employee-mobile-history-card,
  .employee-mobile-profile-main,
  .employee-mobile-profile-details,
  .employee-mobile-payroll-grid article,
  .employee-mobile-notice,
  .employee-mobile-quick-absen{
    box-shadow:
      0 8px 20px rgba(23,59,87,.045),
      0 2px 5px rgba(23,59,87,.025) !important;
  }

  .employee-mobile-card{
    padding:20px 18px !important;
  }

  .employee-mobile-card-title h2,
  .employee-mobile-quick-head > div > strong{
    font-size:24px !important;
  }

  .employee-mobile-summary-card strong{
    font-size:44px !important;
  }

  .employee-mobile-quick-btn{
    padding:14px !important;
  }
}

/* KOPERASI_NI_EMPLOYEE_ELEGANT_V2 */

/* =========================================================
   KOPERASI NI - EMPLOYEE CARD CONTRAST V3
   Fokus:
   - card absensi lebih terlihat
   - box datang/pulang lebih tegas
   - tetap elegan dan lembut
   ========================================================= */

/* card status hari ini / absensi */
.employee-mobile-attendance-item{
  background:
    linear-gradient(180deg, #f1f5f9 0%, #edf2f7 100%) !important;
  border:1px solid rgba(23,59,87,.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 6px 16px rgba(23,59,87,.035) !important;
}

/* bila history card terasa terlalu putih, sekalian dibuat sedikit bertone */
.employee-mobile-history-card{
  background:
    linear-gradient(180deg, #f7fafc 0%, #f1f5f8 100%) !important;
  border:1px solid rgba(23,59,87,.07) !important;
}

/* kotak datang / pulang di dashboard */
.employee-mobile-times > div{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
  border:1px solid rgba(23,59,87,.08) !important;
  box-shadow:
    0 4px 10px rgba(23,59,87,.04),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

/* kalau di history memakai wrapper serupa */
.employee-mobile-history-times > div{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
  border:1px solid rgba(23,59,87,.08) !important;
  border-radius:16px !important;
  padding:10px 12px !important;
  box-shadow:
    0 4px 10px rgba(23,59,87,.04),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

/* label kecil datang / pulang */
.employee-mobile-times span,
.employee-mobile-history-times span{
  color:#8a9ba7 !important;
  font-size:10px !important;
  font-weight:700 !important;
}

/* angka jam */
.employee-mobile-times strong,
.employee-mobile-history-times strong{
  color:#173b57 !important;
  font-weight:900 !important;
}

/* sedikit pertegas judul unit dalam card absensi */
.employee-mobile-attendance-top > strong,
.employee-mobile-history-head strong{
  color:#173b57 !important;
  font-weight:900 !important;
}

/* status pill biar tetap enak dibaca */
.employee-mobile-status.success,
.employee-status-pill.success{
  background:#d9f3e6 !important;
  color:#1d8b64 !important;
}

.employee-mobile-status.warning,
.employee-status-pill.warning{
  background:#fcecc8 !important;
  color:#a87408 !important;
}

/* optional: section card utama sedikit lebih hidup */
.employee-mobile-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  border:1px solid rgba(23,59,87,.07) !important;
  box-shadow:
    0 8px 22px rgba(23,59,87,.04),
    0 2px 5px rgba(23,59,87,.025) !important;
}

/* KOPERASI_NI_EMPLOYEE_CARD_CONTRAST_V3 */

/* =========================================================
   KOPERASI NI - EMPLOYEE TIMEBOX FINAL V4
   ========================================================= */

.employee-mobile-times > div,
.employee-mobile-history-times > div{
  background:
    linear-gradient(
      180deg,
      #f5f8fb 0%,
      #edf3f7 100%
    ) !important;

  border:
    1px solid
    rgba(23,59,87,.10) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 3px 8px rgba(23,59,87,.035) !important;
}

.employee-mobile-times span,
.employee-mobile-history-times span{
  color:#7e919d !important;
  font-weight:700 !important;
}

.employee-mobile-times strong,
.employee-mobile-history-times strong{
  color:#163d59 !important;
  font-weight:900 !important;
}

/* sedikit aksen pada tiap blok absensi */
.employee-mobile-attendance-item{
  border-left:
    3px solid
    rgba(42,139,195,.28) !important;
}

/* KOPERASI_NI_EMPLOYEE_TIMEBOX_FINAL_V4 */

/* =========================================================
   KOPERASI NI - ADMIN SUBSTITUTIONS V1
   ========================================================= */

.substitution-page{
  padding-bottom:48px;
}

.substitution-page-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.substitution-head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.substitution-alert{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:16px 18px;
  margin:0 0 18px;
  border-radius:18px;
  border:1px solid transparent;
}

.substitution-alert.success{
  background:#edf8f2;
  border-color:#cfe9da;
  color:#246b4d;
}

.substitution-alert.danger{
  background:#fff3f2;
  border-color:#f1d3cf;
  color:#9b463d;
}

.substitution-alert span{
  font-size:13px;
  line-height:1.5;
}

.substitution-filter-card{
  margin:0 0 18px;
  padding:16px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(23,59,87,.08);
  box-shadow:0 8px 24px rgba(23,59,87,.04);
}

.substitution-filter-form{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr) auto;
  gap:12px;
  align-items:end;
}

.substitution-filter-form label,
.substitution-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.substitution-filter-form label > span,
.substitution-form label > span{
  font-size:12px;
  font-weight:800;
  color:#506879;
}

.substitution-filter-form input,
.substitution-filter-form select,
.substitution-form input,
.substitution-form select,
.substitution-form textarea{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid rgba(23,59,87,.13);
  border-radius:12px;
  background:#f9fbfc;
  color:#173b57;
  font:inherit;
  outline:none;
}

.substitution-form textarea{
  min-height:86px;
  resize:vertical;
}

.substitution-filter-form input:focus,
.substitution-filter-form select:focus,
.substitution-form input:focus,
.substitution-form select:focus,
.substitution-form textarea:focus{
  border-color:rgba(40,112,160,.42);
  box-shadow:0 0 0 3px rgba(40,112,160,.08);
}

.substitution-form-card,
.substitution-list-card{
  margin-bottom:18px;
  padding:22px;
  border-radius:24px;
}

.substitution-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:20px;
}

.substitution-kicker{
  display:block;
  margin-bottom:6px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  color:#8093a0;
}

.substitution-card-head h2{
  margin:0;
  color:#173b57;
}

.substitution-card-head p{
  margin:5px 0 0;
  color:#7b8d99;
  font-size:13px;
}

.substitution-unit-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}

.substitution-unit-badge.toko{
  background:#fff1d5;
  color:#9a6900;
}

.substitution-unit-badge.bmt{
  background:#dcf4e8;
  color:#237458;
}

.substitution-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.substitution-form small{
  color:#8a9ba7;
  line-height:1.45;
}

.substitution-full{
  grid-column:1 / -1;
}

.substitution-submit-row{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:4px;
}

.substitution-submit-row > div{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.substitution-submit-row strong{
  font-size:13px;
  color:#173b57;
}

.substitution-submit-row span{
  font-size:12px;
  color:#8a9ba7;
}

.substitution-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.substitution-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px;
  border-radius:18px;
  background:#f7fafc;
  border:1px solid rgba(23,59,87,.07);
}

.substitution-item.cancelled{
  opacity:.68;
}

.substitution-item-main{
  min-width:0;
  flex:1;
}

.substitution-item-top{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.substitution-shift-pill,
.substitution-status{
  padding:6px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
}

.substitution-shift-pill{
  background:#edf3f7;
  color:#587083;
}

.substitution-status.active{
  background:#dcf4e8;
  color:#237458;
}

.substitution-status.cancelled{
  background:#edf0f2;
  color:#7a8993;
}

.substitution-people{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:12px;
  align-items:center;
}

.substitution-people > div:not(.substitution-arrow){
  display:flex;
  flex-direction:column;
  gap:3px;
}

.substitution-people span{
  font-size:10px;
  font-weight:800;
  color:#8a9ba7;
}

.substitution-people strong{
  color:#173b57;
  font-size:14px;
}

.substitution-arrow{
  color:#9aabb6;
  font-weight:900;
}

.substitution-reason{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
  font-size:12px;
}

.substitution-reason strong{
  color:#6c7f8d;
}

.substitution-reason span{
  color:#8a9ba7;
}

.substitution-cancel-btn{
  white-space:nowrap;
}

@media (max-width:720px){

  .substitution-page-head{
    display:block;
  }

  .substitution-head-actions{
    margin-top:14px;
  }

  .substitution-filter-form{
    grid-template-columns:1fr 1fr;
  }

  .substitution-filter-form button{
    grid-column:1 / -1;
    width:100%;
  }

  .substitution-form-card,
  .substitution-list-card{
    padding:17px;
    border-radius:20px;
  }

  .substitution-form{
    grid-template-columns:1fr;
  }

  .substitution-full,
  .substitution-submit-row{
    grid-column:1;
  }

  .substitution-submit-row{
    align-items:stretch;
    flex-direction:column;
  }

  .substitution-submit-row button{
    width:100%;
  }

  .substitution-item{
    align-items:stretch;
    flex-direction:column;
  }

  .substitution-people{
    grid-template-columns:1fr auto 1fr;
  }

  .substitution-cancel-btn{
    width:100%;
  }
}

/* KOPERASI_NI_ADMIN_SUBSTITUTIONS_CSS_V1 */


/* KOPERASI_NI_SUBSTITUTION_COMPACT_UI_V3 */

.substitution-page{
  padding-top:24px;
}

.substitution-page .substitution-page-head{
  margin-bottom:22px;
  align-items:center;
}

.substitution-page .substitution-page-head h1{
  margin-top:7px;
  margin-bottom:7px;
}

.substitution-page .substitution-page-head p{
  margin:0;
  max-width:720px;
}

.substitution-control-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  margin:0 0 16px;
  padding:14px 16px;

  border:1px solid rgba(23,59,87,.08);
  border-radius:18px;

  background:#fff;

  box-shadow:
    0 8px 24px
    rgba(23,59,87,.035);
}

.substitution-today-info{
  display:flex;
  align-items:center;
  gap:11px;
}

.substitution-today-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  width:38px;
  height:38px;

  border-radius:12px;

  background:#edf7fc;
  color:#1689ca;

  font-size:15px;
  font-weight:900;
}

.substitution-today-info > div{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.substitution-today-label{
  color:#7c909f;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.10em;
}

.substitution-today-info strong{
  color:#173b57;
  font-size:15px;
  line-height:1.25;
}

.substitution-unit-switch{
  display:flex;
  align-items:center;
  gap:12px;
}

.substitution-unit-label{
  color:#708696;
  font-size:11px;
  font-weight:800;
}

.substitution-unit-tabs{
  display:flex;
  gap:5px;

  padding:4px;

  border-radius:13px;
  background:#f0f5f8;
}

.substitution-unit-tabs a{
  min-width:72px;

  padding:9px 14px;

  border-radius:10px;

  color:#5d7485;
  text-align:center;
  text-decoration:none;

  font-size:12px;
  font-weight:900;

  transition:.18s ease;
}

.substitution-unit-tabs a:hover{
  background:rgba(255,255,255,.7);
  color:#173b57;
}

.substitution-unit-tabs a.active{
  background:#fff;
  color:#173b57;

  box-shadow:
    0 2px 8px
    rgba(23,59,87,.09);
}

.substitution-unit-tabs a.active.toko{
  color:#986500;
}

.substitution-unit-tabs a.active.bmt{
  color:#237458;
}

.substitution-page .substitution-form-card,
.substitution-page .substitution-list-card{
  padding:19px 20px;
  margin-bottom:16px;
  border-radius:21px;
}

.substitution-page .substitution-card-head{
  margin-bottom:15px;
}

.substitution-page .substitution-card-head h2{
  margin-top:5px;
  margin-bottom:5px;
}

.substitution-page .substitution-card-head p{
  margin:0;
}

.substitution-empty-compact{
  display:flex;
  align-items:center;
  gap:12px;

  min-height:0;
  padding:15px 16px;

  border:1px dashed #d5e2e9;
  border-radius:14px;

  background:#fafcfd;
}

.substitution-empty-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 auto;

  width:34px;
  height:34px;

  border-radius:50%;

  background:#edf7f3;
  color:#278364;

  font-weight:900;
}

.substitution-empty-compact > div:last-child{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.substitution-empty-compact strong{
  color:#38576c;
  font-size:13px;
}

.substitution-empty-compact span{
  color:#8396a3;
  font-size:11px;
}

.substitution-history-empty{
  padding:15px 16px;

  border:1px dashed #d8e3e9;
  border-radius:13px;

  background:#fafcfd;

  color:#8396a3;
  text-align:center;
  font-size:11px;
}

.substitution-page .substitution-list-card
.substitution-card-head{
  margin-bottom:12px;
}

@media (max-width:720px){

  .substitution-page{
    padding-top:16px;
  }

  .substitution-page .substitution-page-head{
    margin-bottom:16px;
  }

  .substitution-page .substitution-page-head h1{
    font-size:27px;
  }

  .substitution-head-actions{
    margin-top:12px;
  }

  .substitution-head-actions .btn{
    width:auto;
    min-height:40px;
    padding:9px 14px;
  }

  .substitution-control-bar{
    display:block;
    padding:13px;
  }

  .substitution-today-info{
    margin-bottom:12px;
  }

  .substitution-unit-switch{
    display:block;
  }

  .substitution-unit-label{
    display:block;
    margin-bottom:6px;
  }

  .substitution-unit-tabs{
    width:100%;
  }

  .substitution-unit-tabs a{
    flex:1;
  }

  .substitution-page .substitution-form-card,
  .substitution-page .substitution-list-card{
    padding:16px;
    border-radius:18px;
  }

  .substitution-empty-compact{
    padding:13px;
  }

}


/* =========================================================
   KOPERASI_NI_PUBLIC_DESKTOP_V1
   PUBLIC HOME - DESKTOP ONLY
   ========================================================= */

@media (min-width:1024px){

  .public-home{
    min-height:100vh !important;
  }


  .public-home .hero{
    width:100% !important;
    min-height:100vh !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:
      30px
      38px !important;

    box-sizing:border-box !important;
  }


  /*
   * PANEL UTAMA
   */

  .public-home .premium-home-panel{
    width:min(1180px,100%) !important;
    max-width:1180px !important;

    min-height:auto !important;

    margin:0 auto !important;

    padding:
      30px
      34px
      26px !important;

    display:block !important;

    border-radius:32px !important;

    box-sizing:border-box !important;
  }


  /*
   * BADGE ATAS
   */

  .public-home .premium-home-top{
    display:flex !important;
    justify-content:center !important;

    margin:
      0
      0
      24px !important;
  }


  .public-home .premium-home-badge{
    padding:
      9px
      18px !important;

    font-size:11px !important;
    line-height:1.2 !important;

    letter-spacing:.04em !important;
  }


  /*
   * IDENTITAS
   */

  .public-home .premium-logo-row{
    display:grid !important;

    grid-template-columns:
      108px
      minmax(0,1fr) !important;

    align-items:center !important;

    gap:24px !important;

    max-width:900px !important;

    margin:
      0
      auto
      20px !important;

    padding:0 !important;
  }


  .public-home .premium-logo-box{
    width:108px !important;
    height:108px !important;

    min-width:108px !important;
    max-width:108px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:26px !important;
  }


  .public-home .premium-logo-box img{
    width:82px !important;
    height:82px !important;

    object-fit:contain !important;
  }


  .public-home .premium-logo-copy h1{
    margin:
      0
      0
      8px !important;

    font-size:34px !important;
    line-height:1.08 !important;
  }


  .public-home .premium-logo-copy p{
    max-width:760px !important;

    margin:0 !important;

    font-size:15px !important;
    line-height:1.55 !important;
  }


  /*
   * HELPER
   */

  .public-home .premium-helper-text{
    margin:
      8px
      0
      18px !important;

    text-align:center !important;

    font-size:14px !important;
  }


  /*
   * TOKO + BMT
   */

  .public-home .premium-main-actions{
    display:grid !important;

    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;

    gap:18px !important;

    margin:
      0
      0
      22px !important;

    padding:0 !important;
  }


  .public-home .premium-choice{
    min-height:154px !important;

    display:grid !important;

    grid-template-columns:
      82px
      minmax(0,1fr)
      50px !important;

    align-items:center !important;

    gap:20px !important;

    padding:
      24px
      26px !important;

    border-radius:26px !important;

    box-sizing:border-box !important;
  }


  .public-home .premium-choice-icon{
    width:72px !important;
    height:72px !important;

    min-width:72px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }


  .public-home .premium-choice-icon svg{
    width:48px !important;
    height:48px !important;
  }


  .public-home .premium-choice-copy{
    min-width:0 !important;

    text-align:left !important;
  }


  .public-home .premium-choice-copy strong{
    display:block !important;

    margin:
      0
      0
      7px !important;

    font-size:22px !important;
    line-height:1.15 !important;
  }


  .public-home .premium-choice-copy small{
    display:block !important;

    font-size:13px !important;
    line-height:1.45 !important;
  }


  .public-home .premium-choice-arrow{
    width:48px !important;
    height:48px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:25px !important;

    border-radius:50% !important;
  }


  /*
   * PORTAL KARYAWAN
   */

  .public-home .premium-access-section{
    margin:
      0
      0
      18px !important;

    padding:0 !important;
  }


  .public-home .employee-access-divider{
    margin:
      0
      0
      14px !important;
  }


  .public-home .premium-access-card{
    min-height:100px !important;

    display:grid !important;

    grid-template-columns:
      68px
      minmax(0,1fr)
      auto !important;

    align-items:center !important;

    gap:18px !important;

    padding:
      18px
      22px !important;

    border-radius:22px !important;

    box-sizing:border-box !important;
  }


  .public-home .premium-access-icon{
    width:58px !important;
    height:58px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:27px !important;

    border-radius:17px !important;
  }


  .public-home .premium-access-copy strong{
    display:block !important;

    margin:
      0
      0
      5px !important;

    font-size:18px !important;
  }


  .public-home .premium-access-copy span{
    font-size:13px !important;
    line-height:1.45 !important;
  }


  /*
   * FOOTER
   */

  .public-home .premium-home-footer{
    margin-top:0 !important;

    padding:
      14px
      18px !important;

    min-height:auto !important;

    font-size:12px !important;

    border-radius:18px !important;
  }

}


/*
 * Desktop lebar
 */

@media (min-width:1400px){

  .public-home .premium-home-panel{
    max-width:1220px !important;
  }

}



/* KOPERASI_NI_SECRET_TOGGLE_V1 */

.secret-input-wrap{
  position:relative;
  width:100%;
}

.secret-input-wrap .input{
  width:100%;
  padding-right:52px !important;
}

.secret-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);

  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0;

  border:0;
  border-radius:10px;

  background:transparent;
  color:#718797;

  cursor:pointer;

  transition:
    background .18s ease,
    color .18s ease;
}

.secret-toggle:hover{
  background:#edf5f8;
  color:#1f6e99;
}

.secret-toggle:focus-visible{
  outline:2px solid rgba(31,110,153,.28);
  outline-offset:1px;
}

.secret-toggle svg{
  width:21px;
  height:21px;

  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.secret-eye-off{
  display:none;
}

.secret-toggle.is-visible .secret-eye-open{
  display:none;
}

.secret-toggle.is-visible .secret-eye-off{
  display:block;
}

.employee-pin-input{
  padding-right:52px !important;
}

