* { box-sizing: border-box; }
:root {
  --brand-green: #057C43;
  --brand-green-dark: #0a5c33;
  --brand-green-deep: #052d1c;
  --brand-lime: #7AB41D;
  --brand-gold-1: #B57837;
  --brand-gold-2: #FFE370;
  --text-dark: #303030;
  --text-muted: #777777;
}
html, body { margin: 0; padding: 0; background: #F7F7F5; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-dark); }
#app { max-width: none; margin: 0; padding: 0; }
.dash-shell { display: flex; flex-direction: row; height: 100vh; }
.dash-sidebar { width: 220px; flex-shrink: 0; background: linear-gradient(180deg, #052d1c, #0a3d24); display: flex; flex-direction: column; padding: 20px 14px; overflow-y: auto; }
.dash-content { flex: 1; overflow-y: auto; padding: 26px 32px; max-width: 1300px; }
.nav-pill { flex-shrink:0; border:none; padding:10px 12px; border-radius:9px; font-weight:600; font-size:13px; cursor:pointer; text-align: left; width: 100%; }

.login-wrap { min-height: 100vh; display: flex; max-width: none; margin: 0; padding: 0; }
.login-brand-panel {
  width: 44%; position: relative; background: linear-gradient(155deg, var(--brand-green-deep) 0%, var(--brand-green) 60%, #0c6b3a 100%);
  display: flex; flex-direction: column; justify-content: space-between; padding: 52px 48px; overflow: hidden;
}
.login-form-panel { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 68px; background: #ffffff; }
.login-title { font-size: 26px; font-weight: 700; text-align: center; margin: 0 0 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #6e6e73; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 44px; border-radius: 10px; border: 1px solid #d1d1d6; padding: 0 12px; font-size: 15px; background: #fff; }
.btn-primary { background: var(--brand-green); color: #fff; border: none; border-radius: 10px; height: 44px; font-size: 15px; font-weight: 700; padding: 0 20px; cursor: pointer; }
.btn-secondary { background: #fff; color: var(--brand-green); border: 1.5px solid #D8D8D8; border-radius: 10px; height: 40px; font-size: 14px; font-weight: 700; padding: 0 16px; cursor: pointer; }
.error-box { background: #FCEBEA; color: #B3261E; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; font-weight: 600; }

.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.topbar .title { font-family: 'Trebuchet MS', sans-serif; font-size: 21px; font-weight: 700; margin: 0; color: #1a1a1a; }
.nav { display: flex; gap: 8px; margin-bottom: 20px; }
.nav button { background: #fff; border: 1.5px solid #E4E4E4; border-radius: 10px; height: 38px; padding: 0 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.nav button.active { background: var(--brand-green); color: #fff; border-color: var(--brand-green); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.card { background: #fff; border: 1px solid #ECECEC; border-radius: 14px; padding: 20px; }
.stat-label { font-size: 12px; color: #888888; margin: 0 0 6px; }
.stat-value { font-family: 'Trebuchet MS', sans-serif; font-size: 28px; font-weight: 700; margin: 0; color: var(--brand-green); }

table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #ECECEC; border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid #ECECEC; }
th { background: #F9F9F7; font-size: 12px; color: #888888; text-transform: uppercase; font-weight: 700; }
img.thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.alert-row { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #ECECEC; border-radius:12px; padding:13px 16px; margin-bottom:8px; }
.alert-dot { width:8px; height:8px; border-radius:50%; background:var(--brand-gold-1); flex-shrink:0; }

#map { height: 480px; border-radius: 14px; }

/* ============================================================
   DESAIN LOGIN TRANSPARAN + VIDEO DAMAR (revisi terbaru)
   Kartu login transparan penuh (tanpa kaca buram) di atas video
   full-layar, diposisikan kiri-proporsional. Semua teks hitam
   kecuali tombol "Masuk". Dibungkus penuh di .login-outer supaya
   class seperti .intro / .options / .remember TIDAK bentrok
   dengan bagian dashboard lain.
   ============================================================ */
.login-outer{
  min-height:100vh; width:100%; box-sizing:border-box; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:flex-start;
  padding:0 9vw;
  font-family:"DM Sans",Arial,sans-serif; color:#111;
  background:#e9e4d8; /* warna fallback senada video, tampil sebentar sebelum video termuat */
}
.login-outer *{ box-sizing:border-box; }

.login-outer .login-bg-video{
  position:fixed; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0; pointer-events:none;
}

/* TRANSPARAN PENUH sesuai keputusan - tidak ada latar/blur, video
   terlihat 100% tembus di balik kartu. */
.login-outer .login-card{
  position:relative; z-index:2;
  width:380px; max-width:88vw;
  padding:6px 4px;
  color:#111;
}
.login-outer .eyebrow{ font-size:12.5px; font-weight:700; letter-spacing:.06em; color:#111; margin:0 0 8px; }
.login-outer .login-card h1{ font-family:"Playfair Display",Georgia,serif; font-weight:600; font-size:27px; color:#111; margin:0 0 10px; letter-spacing:-.01em; line-height:1.15; }
.login-outer .intro{ font-size:12.5px; color:#111; line-height:1.65; margin:0 0 24px; }

.login-outer form label{ display:block; font-size:11px; font-weight:700; letter-spacing:.05em; color:#111; margin:0 0 7px; }
.login-outer .input-box{
  height:48px; display:flex; align-items:center;
  border:1.4px solid rgba(0,0,0,.55); border-radius:10px;
  background:transparent;
  margin-bottom:17px; transition:.2s;
}
.login-outer .input-box:focus-within{ border-color:#057C43; box-shadow:0 0 0 3px rgba(5,124,67,.15); }
.login-outer .input-box img{ width:17px; height:17px; margin:0 11px; flex:none; }
.login-outer .input-box input{ flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; color:#111; font:500 13px "DM Sans",Arial,sans-serif; }
.login-outer .input-box input::placeholder{ color:rgba(0,0,0,.55); }
.login-outer .icon-button{ width:36px; height:100%; border:0; background:transparent; cursor:pointer; display:flex; align-items:center; justify-content:center; flex:none; }
.login-outer .icon-button img{ width:18px; height:18px; margin:0; }

.login-outer .options{ display:flex; justify-content:space-between; align-items:center; margin:2px 0 22px; font-size:12px; }
.login-outer .remember{ display:flex; align-items:center; gap:7px; color:#111; }
.login-outer .remember input{ accent-color:#057C43; }
.login-outer .options a{ color:#111; font-weight:700; text-decoration:underline; cursor:pointer; }

/* Satu-satunya elemen yang TIDAK hitam - tombol Masuk, sesuai permintaan */
.login-outer .login-button{
  width:100%; height:50px; border:0; border-radius:10px; color:#fff;
  background:linear-gradient(100deg,#B57837,#7AB41D,#057C43);
  font:700 14px "DM Sans",Arial,sans-serif; cursor:pointer;
  box-shadow:0 12px 26px rgba(5,124,67,.28); transition:.2s ease;
}
.login-outer .login-button span{ margin-left:8px; }
.login-outer .login-button:hover{ transform:translateY(-1px); box-shadow:0 15px 30px rgba(5,124,67,.34); }

.login-outer footer{ margin-top:26px; text-align:center; }
.login-outer .footer-line{ height:1px; background:rgba(0,0,0,.3); margin-bottom:14px; }
.login-outer footer p{ margin:0; color:#111; font-size:10.5px; line-height:1.5; }

@media(max-width:600px){
  .login-outer{ justify-content:center; padding:0 6vw; }
}
