﻿
/* â”€â”€ RESET & BASE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold:    #C4A050;
  --gold-lt: #E8C870;
  --navy:    #0D1B4B;
  --navy2:   #162466;
  --white:   #ffffff;
  --bg:      #F5F7FC;
  --border:  rgba(196,160,80,.18);
  --text:    #1a1a2e;
  --muted:   #8892AA;
  --success: #276749;
  --danger:  #742A2A;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }

/* â”€â”€ NOTIFICATION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#notif {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  padding: 12px 22px; border-radius: 12px; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,.15); display: none;
  animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity:0; } to { transform: translateX(0); opacity:1; } }
.notif-ok  { background:#C6F6D5; color:#1A4731; }
.notif-err { background:#FED7D7; color:#742A2A; }

/* â”€â”€ LOGIN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#screen-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#fff 0%,#EEF2FF 40%,#FFF8E7 100%);
  position: relative; overflow: hidden;
}
#screen-login::before,#screen-login::after {
  content:''; position:absolute; border-radius:50%;
}
#screen-login::before {
  width:500px; height:500px;
  background: radial-gradient(circle,rgba(196,160,80,.12),transparent 70%);
  top:-140px; right:-140px;
}
#screen-login::after {
  width:350px; height:350px;
  background: radial-gradient(circle,rgba(13,27,75,.08),transparent 70%);
  bottom:-80px; left:-80px;
}
.login-card {
  background:#fff; border-radius:24px; padding:48px 44px; width:440px;
  box-shadow: 0 28px 80px rgba(10,20,60,.13);
  border: 1px solid var(--border); position:relative; z-index:2;
}
.login-brand { display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.brand-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; color:var(--navy); }
.brand-title span { color:var(--gold); }
.brand-sub { font-size:10px; color:var(--gold); letter-spacing:3px; font-weight:600; text-transform:uppercase; }
.login-h { font-size:30px; font-weight:700; color:var(--navy); }
.login-p { font-size:13px; color:var(--muted); margin:6px 0 28px; }

/* â”€â”€ FORM ELEMENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
label.lbl {
  display:block; font-size:11px; font-weight:700; color:#5A6280;
  letter-spacing:1px; text-transform:uppercase; margin-bottom:6px;
}
input[type=text],input[type=email],input[type=password],
input[type=number],input[type=date],input[type=tel],input[type=url],
input:not([type]),select,textarea,.field-input {
  width:100%; padding:12px 16px; border:1.5px solid #E2E8F0; border-radius:10px;
  font-size:14px; font-family:'DM Sans',sans-serif; color:var(--text);
  background:#FAFBFF; outline:none; transition:border .2s;
  box-sizing:border-box;
}
input:focus,select:focus,textarea:focus { border-color:var(--gold); }
.mb16 { margin-bottom:16px; }
.mb12 { margin-bottom:12px; }

/* â”€â”€ BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-gold {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:13px 28px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
  font-size:14px; font-family:'DM Sans',sans-serif; letter-spacing:.5px;
  background: linear-gradient(135deg,var(--gold) 0%,var(--gold-lt) 50%,var(--gold) 100%);
  color:#fff; box-shadow: 0 4px 20px rgba(196,160,80,.4);
  transition: transform .15s, box-shadow .15s;
}
.btn-gold:hover { transform:translateY(-1px); box-shadow:0 6px 28px rgba(196,160,80,.5); }
.btn-gold.full { width:100%; }
.btn-navy {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 20px; border:none; border-radius:9px; cursor:pointer; font-weight:600;
  font-size:13px; font-family:'DM Sans',sans-serif;
  background:var(--navy); color:#fff; transition: opacity .2s;
}
.btn-navy:hover { opacity:.88; }
.btn-red {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 20px; border:none; border-radius:9px; cursor:pointer; font-weight:600;
  font-size:13px; font-family:'DM Sans',sans-serif;
  background:#E53E3E; color:#fff;
}
.btn-sm-gold {
  padding:8px 18px; border:none; border-radius:8px; cursor:pointer; font-weight:600;
  font-size:12px; font-family:'DM Sans',sans-serif;
  background: linear-gradient(135deg,var(--gold),var(--gold-lt));
  color:#fff;
}

/* â”€â”€ HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#app-header {
  background:#fff; border-bottom:1px solid rgba(196,160,80,.2);
  padding:0 32px; display:flex; align-items:center; justify-content:space-between;
  height:68px; position:sticky; top:0; z-index:100;
  box-shadow:0 2px 20px rgba(0,0,0,.06);
}
.header-logo { display:flex; align-items:center; gap:10px; }
.user-badge {
  display:flex; align-items:center; gap:10px; background:#F8F9FF;
  border-radius:50px; padding:6px 16px 6px 6px; border:1px solid #E8EAF0;
}
.avatar {
  width:36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg,var(--gold),var(--navy));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:14px; overflow:hidden; flex-shrink:0;
}
.avatar img { width:100%; height:100%; object-fit:cover; }

/* â”€â”€ NAV â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#app-nav {
  background:#fff; border-bottom:1px solid #EEF0F8;
  padding:0 32px; display:flex; gap:0; overflow-x:auto;
}
.nav-btn {
  padding:16px 20px; border:none; background:none; cursor:pointer;
  font-size:13px; font-weight:500; color:#6B7280; font-family:'DM Sans',sans-serif;
  border-bottom:2px solid transparent; white-space:nowrap; transition:all .2s;
}
.nav-btn.active { color:var(--gold); font-weight:700; border-bottom-color:var(--gold); }

/* â”€â”€ MAIN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#app-main { padding:28px 32px; max-width:1200px; margin:0 auto; }

/* â”€â”€ CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background:#fff; border-radius:16px; padding:24px;
  box-shadow:0 2px 16px rgba(0,0,0,.06); border:1px solid rgba(196,160,80,.1);
  margin-bottom:20px;
}
.card-title {
  font-family:'Playfair Display',serif; font-size:17px; font-weight:700;
  color:var(--navy); margin-bottom:18px; padding-bottom:12px;
  border-bottom:1px solid #F0F2F8;
}

/* â”€â”€ STAT CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stat-grid { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.stat-card {
  flex:1; min-width:160px; border-radius:16px; padding:22px 24px;
  color:#fff; position:relative; overflow:hidden;
}
.stat-card::after {
  content:''; position:absolute; width:120px; height:120px; border-radius:50%;
  background:rgba(255,255,255,.07); bottom:-30px; right:-30px;
}
.stat-icon { font-size:22px; margin-bottom:6px; }
.stat-val { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; margin:4px 0; }
.stat-lbl { font-size:10px; opacity:.85; letter-spacing:1px; text-transform:uppercase; }

/* â”€â”€ PROGRESS BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.progress-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:22px; }
.progress-wrap { background:#EEF2FF; border-radius:8px; height:10px; overflow:hidden; margin:10px 0 6px; }
.progress-bar { height:100%; border-radius:8px; transition:width 1s ease; }

/* â”€â”€ TABLE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tbl { width:100%; border-collapse:collapse; font-size:13px; }
.tbl th { padding:10px 14px; text-align:left; background:#F8F9FF; color:#5A6280; font-size:11px; letter-spacing:1px; font-weight:700; text-transform:uppercase; }
.tbl td { padding:12px 14px; border-bottom:1px solid #F0F2F8; color:#2D3748; }
.tbl tr:nth-child(even) td { background:#FAFBFF; }

/* â”€â”€ GRID HELPERS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.g2 { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.g3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }
.g2-full { grid-column:1/-1; }

/* â”€â”€ MONTH TABS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.month-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.month-tab {
  padding:6px 14px; border-radius:20px; cursor:pointer; font-size:12px; font-weight:500;
  font-family:'DM Sans',sans-serif; transition:all .2s;
  background:#fff; color:#6B7280; border:1.5px solid #E2E8F0;
}
.month-tab.active { background:var(--gold); color:#fff; border-color:var(--gold); font-weight:700; }

/* â”€â”€ MINI STAT ROW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mini-stats { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:20px; }
.mini-stat { flex:1; min-width:140px; padding:16px 18px; border-radius:12px; }

/* â”€â”€ GARANSI HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.garansi-hero {
  background: linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);
  border-radius:16px; padding:28px 32px; color:#fff; position:relative; overflow:hidden; margin-bottom:22px;
}
.garansi-hero::before {
  content:''; position:absolute; width:220px; height:220px; border-radius:50%;
  background:rgba(196,160,80,.1); right:-50px; top:-50px;
}
.garansi-hero::after {
  content:''; position:absolute; width:160px; height:160px; border-radius:50%;
  background:rgba(196,160,80,.06); right:80px; bottom:-60px;
}
.garansi-total {
  background: linear-gradient(135deg,var(--gold),var(--gold-lt));
  border-radius:16px; padding:24px 32px; display:flex; justify-content:space-between; align-items:center;
}

/* â”€â”€ PROFILE PHOTO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.photo-ring {
  width:88px; height:88px; border-radius:50%; flex-shrink:0; overflow:hidden;
  background: linear-gradient(135deg,var(--gold),var(--navy));
  display:flex; align-items:center; justify-content:center; font-size:30px;
}
.photo-ring img { width:100%; height:100%; object-fit:cover; }

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer {
  text-align:center; padding:24px 32px; background:var(--navy);
  color:rgba(255,255,255,.55); font-size:12px; margin-top:48px;
}
footer .footer-brand { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:8px; }
footer .footer-name { color:#fff; font-weight:700; font-size:14px; }

/* â”€â”€ SCREEN MANAGEMENT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Login uses display:flex, dash uses display:block - managed via JS */
.hidden { display:none !important; }
/* file inputs: off-screen so .click() works in all browsers */
input[type=file] { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

/* â”€â”€ ERROR TEXT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.err-text { color:#E53E3E; font-size:12px; margin-top:6px; display:none; }

/* â”€â”€ RESPONSIVE TWEAKS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media(max-width:720px){
  .g2,.g3,.progress-grid { grid-template-columns:1fr; }
  #app-main { padding:20px 16px; }
  #app-header { padding:0 16px; }
  .login-card { padding:32px 24px; width:94vw; }
  .stat-card { min-width:130px; }
}

