/* =========================================================
   SIAGAR ADMIN DASHBOARD — REFACTORED CSS
   Tujuan: merapikan struktur tanpa mengubah fungsi/style yang ada.
   ========================================================= */

:root {
  --purple-950:#24103f;
  --purple-900:#35135f;
  --purple-800:#48157d;
  --purple-700:#5b1aa0;
  --purple-600:#6b21b5;
  --purple-100:#f1e8fb;
  --purple-50:#faf7ff;
  --gold:#d49a17;
  --gold-light:#f4d477;
  --ink:#182033;
  --muted:#72798a;
  --line:#e9e7ef;
  --surface:#fff;
  --bg:#f7f7fa;
  --green:#29935f;
  --red:#dc4c58;
  --blue:#3375d4;
  --shadow:0 12px 35px rgba(43,
  24,
  73,
  .08);
  --radius:15px
}
/* {
  box-sizing:border-box
} */
html,
body {
  margin:0;
  padding:0
}
body {
  font-family:Inter,
  "Segoe UI",
  Arial,
  sans-serif;
  color:var(--ink);
  background:var(--bg)
}
a {
  color:inherit;
  text-decoration:none
}
button,
input {
  font:inherit
}
.app-shell {
  min-height:100vh;
  display:flex
}
.sidebar {
  position:fixed;
  z-index:20;
  inset:0 auto 0 0;
  width:224px;
  display:flex;
  flex-direction:column;
  color:#fff;
  background:linear-gradient(180deg,
  #2c124d,
  #2f1552 70%,
  #27103e);
  box-shadow:8px 0 30px rgba(34,
  13,
  57,
  .1)
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  padding:18px 15px;
  border-bottom:1px solid rgba(255,
  255,
  255,
  .08)
}
.brand-logo-wrap {
  width:43px;
  height:43px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  display:grid;
  place-items:center;
  flex:0 0 43px
}
.brand img {
  width:100%;
  height:100%;
  object-fit:cover
}
.brand strong {
  display:block;
  font-size:20px;
  letter-spacing:.5px
}
.brand span {
  display:block;
  margin-top:2px;
  font-size:8px;
  line-height:1.3;
  color:#ddd1eb
}
.nav {
  padding:15px 10px;
  flex:1
}
.nav-label {
  display:block;
  margin:6px 11px 8px;
  color:#bcaad0;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px
}
.nav-label.separated {
  margin-top:15px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:11px;
  margin:3px 0;
  padding:10px 10px;
  border-radius:8px;
  color:#eee8f5;
  font-size:13px;
  transition:.2s
}
.nav-item:hover,
.nav-item.active {
  color:#fff;
  background:linear-gradient(90deg,
  #6321a7,
  #7629bc)
}
.nav-icon {
  width:19px;
  text-align:center;
  font-size:20px
}
.nav-badge {
  margin-left:auto;
  min-width:19px;
  padding:2px 6px;
  border-radius:20px;
  background:#b66ae2;
  text-align:center;
  font-size:9px
}
.sidebar-profile {
  display:flex;
  align-items:center;
  gap:9px;
  padding:14px 15px;
  border-top:1px solid rgba(255,
  255,
  255,
  .08)
}
.sidebar-profile strong {
  display:block;
  font-size:12px
}
.sidebar-profile small {
  color:#cbbbd9;
  font-size:9px
}
.sidebar-profile a {
  margin-left:auto
}
.avatar {
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-weight:800;
  font-size:10px;
  background:linear-gradient(135deg,
  #9b5ad3,
  #32104f);
  border:2px solid rgba(255,
  255,
  255,
  .35)
}
.main-content {
  width:calc(100% - 224px);
  margin-left:224px;
  min-width:0
}
.topbar {
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  background:#fff;
  border-bottom:1px solid var(--line)
}
.topbar-left,
.topbar-actions {
  display:flex;
  align-items:center
}
.topbar-left {
  gap:12px
}
.topbar h1 {
  margin:0 0 3px;
  font-size:13px
}
.topbar p {
  margin:0;
  color:var(--muted);
  font-size:10px
}
.mobile-menu {
  display:none;
  border:0;
  background:transparent;
  font-size:20px
}
.topbar-actions {
  gap:15px
}
.search-box {
  width:370px;
  height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:21px;
  background:#fff
}
.search-box span {
  color:var(--muted);
  font-size:19px
}
.search-box input {
  width:100%;
  border:0;
  outline:0;
  color:var(--ink);
  font-size:10px
}
.icon-button {
  position:relative;
  border:0;
  background:transparent;
  color:#4d5260;
  font-size:20px;
  cursor:pointer
}
.icon-button span {
  position:absolute;
  top:-5px;
  right:-7px;
  min-width:16px;
  height:16px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:10px
}
.profile {
  display:flex;
  align-items:center;
  gap:8px
}
.profile strong {
  display:block;
  font-size:12px
}
.profile small {
  display:block;
  margin-top:1px;
  color:var(--muted);
  font-size:9px
}
.content {
  padding:24px
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:19px
}
.eyebrow {
  color:var(--purple-700);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.2px
}
.page-heading h2 {
  margin:5px 0 3px;
  font-size:22px
}
.page-heading p {
  margin:0;
  color:var(--muted);
  font-size:10px
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:0 16px;
  border:0;
  border-radius:9px;
  cursor:pointer;
  font-weight:700;
  font-size:11px
}
.btn-primary {
  color:#fff;
  background:linear-gradient(135deg,
  var(--purple-800),
  var(--purple-600));
  box-shadow:0 8px 20px rgba(91,
  26,
  160,
  .18)
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(5,
  1fr);
  gap:11px;
  margin-bottom:15px
}
.stat-card {
  display:flex;
  align-items:center;
  gap:11px;
  padding:14px 12px;
  min-height:92px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.stat-icon {
  width:45px;
  height:45px;
  flex:0 0 45px;
  display:grid;
  place-items:center;
  border-radius:25px;
  font-size:20px
}
.stat-icon.purple {
  background:#f0e7fa;
  color:#6120a5
}
.stat-icon.blue {
  background:#e9f0ff;
  color:var(--blue)
}
.stat-icon.gold {
  background:#fff4db;
  color:#c48910
}
.stat-icon.green {
  background:#e4f6ed;
  color:var(--green)
}
.stat-icon.red {
  background:#ffebed;
  color:var(--red)
}
.stat-card span {
  display:block;
  color:var(--blue);
  font-size:12px
}
.stat-card small {
  display:block;
  color:var(--muted);
  font-size:9px
}
.stat-card strong {
  display:block;
  margin:3px 0 2px;
  font-size:23px;
  line-height:1
}
.dashboard-grid {
  display:grid;
  grid-template-columns:1.08fr .84fr .72fr;
  gap:13px;
  align-items:start
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden
}
.panel-head {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:10px;
  padding:15px 16px 10px
}
.panel-head h3 {
  margin:0 0 3px;
  font-size:12px
}
.panel-head p {
  margin:0;
  color:var(--muted);
  font-size:9px
}
.panel-head a,
.panel-footer a {
  color:var(--purple-700);
  font-size:9px;
  font-weight:700
}
.panel-footer {
  padding:10px 16px 13px;
  text-align:center;
  border-top:1px solid #f1eff4
}
.agenda-list {
  padding:0 12px
}
.agenda-item {
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 3px;
  border-top:1px solid #f0eef3
}
.agenda-item:first-child {
  border-top:0
}
.date-box {
  width:54px;
  min-width:54px;
  height:54px;
  display:grid;
  place-content:center;
  text-align:center;
  border-radius:10px;
  background:#f4edfb;
  color:var(--purple-800)
}
.date-box strong {
  font-size:19px;
  line-height:1
}
.date-box span {
  margin-top:2px;
  font-size:8px;
  font-weight:800
}
.agenda-info {
  flex:1;
  min-width:0
}
.agenda-info h4,
.mini-item h4 {
  margin:0 0 4px;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.agenda-info p {
  margin:2px 0;
  color:var(--muted);
  font-size:9px
}
.tiny-icon {
  color:#6b7080
}
.status {
  padding:5px 7px;
  border-radius:6px;
  background:#f0f1f5;
  color:#5b6170;
  font-size:8px;
  font-weight:700;
  white-space:nowrap
}
.status.today {
  background:#eee4f8;
  color:var(--purple-700)
}
.timeline {
  padding:2px 15px 3px
}
.timeline-item {
  display:grid;
  grid-template-columns:40px 17px 1fr;
  min-height:59px
}
.timeline-time {
  padding-top:3px;
  color:#555d6d;
  font-size:9px;
  line-height:1.2;
  text-align:right
}
.timeline-time small {
  display:block;
  color:#9aa0ab
}
.timeline-line {
  position:relative;
  display:flex;
  justify-content:center
}
.timeline-line:before {
  content:"";
  width:1px;
  height:100%;
  background:#ddd6e5
}
.timeline-line i {
  position:absolute;
  top:4px;
  width:8px;
  height:8px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--purple-700);
  box-shadow:0 0 0 1px #c6addb
}
.timeline-body {
  padding-left:8px
}
.timeline-body strong {
  display:block;
  font-size:12px
}
.timeline-body span {
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px
}

.timeline-meeting-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    padding-left: 1px;
    line-height: 1.4;
}

.timeline-meeting-link .meeting-icon {
    flex: 0 0 auto;
    font-size: 14px;
}

.timeline-meeting-link a {
    color: #5b21b6;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    transition: all .2s ease;
}

.timeline-meeting-link a:hover {
    color: #7c3aed;
    text-decoration: underline;
}


.side-column {
  display:grid;
  gap:13px
}

.calendar-nav {
  display:flex;
  gap:2px
}

.calendar-nav button {
  width:24px;
  height:24px;
  border:0;
  border-radius:6px;
  background:#f5f2f8;
  color:var(--purple-700);
  cursor:pointer
}

.calendar {
  padding:0 14px 15px
}

.calendar-week,
.calendar-days {
  display:grid;
  grid-template-columns:repeat(7,
  1fr);
  text-align:center
}

.calendar-week {
  padding:5px 0 7px;
  color:#8b8f99;
  font-size:8px;
  font-weight:700
}

.calendar-days {
  gap:2px
}

.calendar-days span {
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:9px
}

.calendar-days span.selected {
  color:#fff;
  background:var(--purple-700);
  box-shadow:0 4px 10px rgba(91,
  26,
  160,
  .2)
}

.calendar-days span.sunday {
  color:#d74350
}

.mini-list {
  padding:0 14px 12px
}

.mini-item {
  display:flex;
  gap:9px;
  padding:9px 0;
  border-top:1px solid #f0eef3
}

.mini-item:first-child {
  border-top:0
}

.date-box.compact {
  width:43px;
  min-width:43px;
  height:43px
}

.date-box.compact strong {
  font-size:15px
}

.mini-item p,
.mini-item small {
  margin:0 0 2px;
  color:var(--muted);
  font-size:8px
}

.placeholder-panel {
  padding:55px 20px;
  text-align:center
}

.placeholder-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  border-radius:15px;
  background:var(--purple-100);
  color:var(--purple-700);
  font-size:28px
}

.placeholder-panel h3 {
  margin:0 0 6px
}

.placeholder-panel p {
  margin:0 auto;
  max-width:500px;
  color:var(--muted);
  font-size:11px;
  line-height:1.6
}


/* =========================================================
   LOGIN SIKAP v6.0 FIX — MODERN FULLSCREEN MOCKUP
   Background: assets/images/gedung-bpjph.jpg
   Logo: PNG transparan agar tidak muncul kotak putih.
   ========================================================= */
.login-body {
  min-height:100vh;
  overflow-x:hidden;
  background:#24103f
}
.login-body * {
  box-sizing:border-box
}
.sikap-login {
  position:relative;
  min-height:100vh;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
}
.login-background {
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:url('../images/login-bg-blue.jpg');
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.login-background-overlay {
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(38,8,78,.96) 0%,
      rgba(55,10,105,.78) 34%,
      rgba(38,8,72,.25) 64%,
      rgba(21,5,43,.34) 100%),
    linear-gradient(180deg,
      rgba(20,5,42,.22) 0%,
      rgba(20,5,42,.08) 45%,
      rgba(20,5,42,.45) 100%);
}
.login-layout {
  position:relative;
  z-index:2;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(500px, 1fr) minmax(430px, 520px);
  align-items:center;
  gap:30px;
  padding:34px 5.5% 58px 5.2%;
}
.login-intro {
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.intro-inner {
  width:min(610px,100%);
  padding-left:0;
}
.login-logo {
  display:block;
  width:138px;
  height:138px;
  object-fit:contain;
  object-position:center;
  margin:0 0 16px;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.2));
}
.login-brand-name {
  margin:0;
  color:#65E736;
  font-size:clamp(64px,6vw,88px);
  font-weight:900;
  letter-spacing:6px;
  line-height:.92;
  text-shadow:0 5px 22px rgba(18,4,42,.28);
}
.login-intro h1 {
  margin:18px 0 0;
  color:#fff;
  font-size:clamp(20px,1.7vw,28px);
  line-height:1.3;
  font-weight:750;
  letter-spacing:-.25px;
  text-shadow:0 3px 15px rgba(18,4,42,.3);
}
.intro-divider {
  width:62px;
  height:4px;
  margin:22px 0 15px;
  border-radius:99px;
  background:#ffd11a;
  box-shadow:0 0 16px rgba(255,209,26,.18);
}
.login-tagline {
  margin:0;
  max-width:560px;
  color:#ffd52b;
  font-size:clamp(14px,1.1vw,18px);
  line-height:1.5;
  font-weight:700;
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(95px,1fr));
  gap:12px;
  max-width:560px;
  margin-top:28px;
}
.feature-card {
  min-height:126px;
  padding:18px 9px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:15px;
  background:rgba(255,255,255,.96);
  color:#161624;
  box-shadow:0 12px 28px rgba(17,2,38,.2);
}
.feature-icon {
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  margin-bottom:11px;
  color:#6515b1;
}
.feature-icon svg {
  width:31px;
  height:31px;
}
.feature-card strong {
  font-size:13px;
  line-height:1.38;
  font-weight:800;
}
.login-status-bar {
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:24px;
  padding:11px 19px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:11px;
  background:rgba(43,7,78,.7);
  box-shadow:0 10px 25px rgba(13,1,31,.2);
  backdrop-filter:blur(8px);
}
.login-status-bar div {
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
  color:#fff;
  font-size:11px;
  font-weight:600;
}
.status-icon {
  color:#ffd21a;
  font-size:17px;
  line-height:1;
}
.login-status-bar i {
  width:1px;
  height:22px;
  background:#f1c400;
}
.login-panel {
  min-width:0;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.login-card {
  width:min(100%,400px);
  padding:25px 35px 25px;
  border:1px solid rgba(255,255,255,.8);
  border-radius:25px;
  background:rgba(255,255,255,.985);
  color:#182033;
  box-shadow:0 28px 80px rgba(22,3,47,.38), 0 3px 12px rgba(0,0,0,.08);
}
.login-card-head {
  text-align:center;
}
.login-card-head > span {
  display:block;
  margin-bottom:3px;
  color:#252735;
  font-size:15px;
  font-weight:600;
}
.login-card-head h2 {
  margin:0;
  color:#5c0da7;
  font-size:52px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:1px;
}
.login-card-head p {
  margin:7px 0 24px;
  color:#697080;
  font-size:15px;
  line-height:1.5;
}
.alert-error {
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:-5px 0 18px;
  padding:11px 13px;
  border:1px solid #f2c4ca;
  border-radius:10px;
  color:#9f2431;
  background:#fff2f3;
  font-size:12px;
  line-height:1.4;
}
.alert-error > span {
  flex:0 0 20px;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:#c53c4a;
  font-weight:800;
}
.form-group {
  margin-bottom:15px;
}
.form-group > label {
  display:block;
  margin-bottom:7px;
  color:#202332;
  font-size:13px;
  font-weight:800;
}
.input-wrap {
  position:relative;
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border:1px solid #d8dbe4;
  border-radius:10px;
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input-wrap:focus-within {
  border-color:#7b24d1;
  box-shadow:0 0 0 3px rgba(123,36,209,.12);
  background:#fff;
}
.input-icon {
  flex:0 0 23px;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  color:#5f6675;
}
.input-icon svg {
  width:20px;
  height:20px;
}
.input-wrap input {
  min-width:0;
  width:100%;
  height:49px;
  border:0;
  outline:0;
  color:#242733;
  background:transparent;
  font-size:14px;
}
.input-wrap input::placeholder {
  color:#9298a6;
}
.password-toggle {
  flex:0 0 26px;
  width:26px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#656c7b;
  cursor:pointer;
}
.password-toggle:hover {
  color:#5c0da7;
}
.eye-icon {
  width:19px;
  height:19px;
}
.login-options {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:3px 0 19px;
  font-size:12px;
}
.remember-me {
  display:flex;
  align-items:center;
  gap:8px;
  color:#606776;
  cursor:pointer;
}
.remember-me input {
  width:18px;
  height:18px;
  margin:0;
  accent-color:#5c0da7;
}
.forgot-link {
  color:#5c0da7;
  font-weight:800;
}
.forgot-link:hover {
  text-decoration:underline;
}
.btn-login {
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(135deg,#4d078d,#6814b5);
  box-shadow:0 10px 24px rgba(88,12,153,.24);
  font-size:15px;
  font-weight:850;
  letter-spacing:.2px;
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn-login:hover {
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 13px 28px rgba(88,12,153,.3);
}
.btn-login:active {
  transform:translateY(0);
}
.login-separator {
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  margin:21px 0 14px;
  color:#858b98;
  font-size:12px;
}
.login-separator:before,
.login-separator:after {
  content:"";
  flex:1;
  height:1px;
  background:#e4e5ea;
}
.login-separator span {
  white-space:nowrap;
}
.google-login {
  width:100%;
  min-height:47px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px solid #d7d9e0;
  border-radius:10px;
  background:#fff;
  color:#303441;
  font-size:14px;
  cursor:not-allowed;
}
.google-login:disabled {
  opacity:1;
}
.google-g {
  font-family:Arial,sans-serif;
  color:#4285f4;
  font-size:22px;
  font-weight:900;
  line-height:1;
}
.login-page-footer {
  position:absolute;
  z-index:4;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  color:rgba(255,255,255,.86);
  font-size:11px;
  line-height:1.4;
  font-weight:500;
  text-align:center;
  text-shadow:0 1px 5px rgba(0,0,0,.35);
}
.login-page-footer .footer-dot {
  color:#ffd21a;
  font-weight:800;
}
.login-orbit {
  position:absolute;
  z-index:1;
  pointer-events:none;
}
.login-orbit-top {
  width:380px;
  height:180px;
  top:-112px;
  left:-95px;
  border:17px solid #3f0c73;
  border-radius:50%;
  transform:rotate(-28deg);
  box-shadow:0 19px 0 -2px #f5c51b;
}
.login-orbit-bottom {
  width:650px;
  height:190px;
  left:-210px;
  bottom:-135px;
  border:19px solid #3c0870;
  border-radius:50%;
  transform:rotate(-7deg);
  box-shadow:0 -17px 0 -1px #f5c51b;
}
@media (max-width:1200px) {
  .login-layout {
    grid-template-columns:minmax(450px,1fr) minmax(430px,520px);
    padding-left:4%;
    padding-right:4%;
  }
  .login-card {
    width:min(100%,470px);
    padding:29px 32px 24px;
  }
  .feature-grid {
    gap:9px;
  }
  .feature-card {
    min-height:118px;
  }
}
@media (max-width:900px) {
  .login-body {
    overflow:auto;
  }
  .sikap-login {
    min-height:100vh;
  }
  .login-background-overlay {
    background:
      linear-gradient(180deg,rgba(35,6,69,.9),rgba(35,6,69,.78)),
      linear-gradient(90deg,rgba(25,4,52,.45),rgba(25,4,52,.45));
  }
  .login-layout {
    min-height:100vh;
    grid-template-columns:1fr;
    gap:25px;
    padding:55px 22px 45px;
  }
  .login-intro {
    justify-content:center;
  }
  .intro-inner {
    text-align:center;
  }
  .login-logo {
    margin-left:auto;
    margin-right:auto;
  }
  .intro-divider {
    margin-left:auto;
    margin-right:auto;
  }
  .login-tagline {
    margin-left:auto;
    margin-right:auto;
  }
  .feature-grid {
    margin-left:auto;
    margin-right:auto;
  }
  .login-status-bar {
    margin-left:auto;
    margin-right:auto;
  }
  .login-panel {
    justify-content:center;
  }
  .login-card {
    width:min(560px,100%);
  }
}
@media (max-width:560px) {
  .login-layout {
    padding:35px 15px 30px;
  }
  .login-logo {
    width:105px;
    height:105px;
    margin-bottom:11px;
  }
  .login-brand-name {
    font-size:60px;
    letter-spacing:4px;
  }
  .login-intro h1 {
    margin-top:12px;
    font-size:18px;
  }
  .login-tagline {
    font-size:13px;
  }
  .feature-grid {
    grid-template-columns:repeat(2,1fr);
    max-width:360px;
    margin-top:21px;
  }
  .feature-card {
    min-height:112px;
  }
  .login-status-bar {
    width:100%;
    justify-content:center;
    gap:9px;
    padding:10px 9px;
  }
  .login-status-bar div {
    gap:4px;
    font-size:9px;
  }
  .login-status-bar i {
    height:18px;
  }
  .status-icon {
    font-size:14px;
  }
  .login-card {
    width:100%;
    padding:26px 20px 22px;
    border-radius:20px;
  }
  .login-page-footer {
    position:relative;
    bottom:auto;
    margin-top:-8px;
    padding-bottom:2px;
    font-size:10px;
  }
  .login-card-head h2 {
    font-size:43px;
  }
  .login-card-head > span {
    font-size:14px;
  }
  .login-card-head p {
    font-size:13px;
    margin-bottom:23px;
  }
  .login-options {
    font-size:11px;
  }
  .input-wrap {
    min-height:52px;
  }
  .input-wrap input {
    height:49px;
    font-size:13px;
  }
  .login-orbit-top {
    width:280px;
    height:135px;
    left:-90px;
  }
  .login-orbit-bottom {
    width:430px;
    height:140px;
    left:-180px;
  }
}
.empty-state {
  padding:22px;
  text-align:center;
  color:#8b8f99;
  font-size:10px
}
.calendar-days span.has-event {
  box-shadow:inset 0 -2px 0 var(--gold)
}
.table-wrap {
  overflow:auto
}
.data-table {
  width:100%;
  border-collapse:collapse;
  min-width:760px
}
.data-table th,
.data-table td {
  padding:11px 12px;
  border-bottom:1px solid #efedf3;
  text-align:left;
  font-size:12px;
  vertical-align:middle
}
.data-table th {
  background:#fbfafc;
  color:#666d7a;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.4px
}
.data-table td strong {
  font-size:12px
}
.toolbar {
  display:flex;
  gap:8px;
  align-items:end;
  flex-wrap:wrap;
  padding:0 15px 13px
}
.field {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:150px
}
.field label {
  font-size:12px;
  color:#666d7a;
  font-weight:700
}
.field input,
.field select,
.field textarea {
  border:1px solid #dedbe5;
  border-radius:8px;
  padding:9px 10px;
  outline:0;
  background:#fff;
  font-size:11px
}
.field textarea {
  min-height:90px;
  resize:vertical
}
.actions {
  display:flex;
  gap:5px;
  flex-wrap:wrap
}
.btn-sm {
  min-height:28px;
  padding:0 9px;
  border-radius:6px;
  font-size:8px
}
.btn-danger {
  background:#fff0f1;
  color:#b92d3b
}
.btn-light {
  background:#f3eff8;
  color:#5c248f
}
.pagination {
  display:flex;
  justify-content:center;
  gap:5px;
  padding:14px
}
.pagination a,
.pagination span {
  min-width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:6px;
  background:#f5f2f8;
  color:#5b1a9b;
  font-size:8px
}
.pagination .active {
  background:#5b1a9b;
  color:#fff
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,
  1fr);
  gap:13px;
  padding:18px
}
.form-grid .full {
  grid-column:1/-1
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:0 18px 18px
}
.status-badge {
  display:inline-block;
  padding:5px 7px;
  border-radius:6px;
  background:#f0f1f5;
  font-size:8px;
  font-weight:700
}
.status-badge.green {
  background:#e7f6ed;
  color:#277c51
}
.status-badge.red {
  background:#ffebed;
  color:#b92d3b
}
.status-badge.gold {
  background:#fff3d9;
  color:#a06e00
}
.status-badge.purple {
  background:#eee4f8;
  color:#6321a7
}
.alert {
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:8px;
  font-size:9px
}
.alert.success {
  background:#e9f7ef;
  color:#277c51
}
.alert.error {
  background:#fdebed;
  color:#9f2431
}
@media(max-width:700px) {
  .form-grid {
    grid-template-columns:1fr
  }
  .form-grid .full {
    grid-column:auto
  }
  .toolbar {
    align-items:stretch
  }
  .field {
    min-width:100%
  }
}
.hidden-form {
  display:none!important
}
.table-sub {
  display:block;
  margin-top:3px;
  color:#9aa0ab;
  font-size:8px
}
.help-text {
  display:block;
  margin-top:5px;
  color:#8c919c;
  font-size:8px
}
.detail-grid {
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:13px;
  align-items:start
}
.detail-card {
  padding:18px
}
.detail-date {
  width:64px;
  height:64px;
  float:left;
  margin-right:14px;
  display:grid;
  place-content:center;
  text-align:center;
  border-radius:12px;
  background:#f1e8fb;
  color:#5b1a9b
}
.detail-date strong {
  font-size:23px;
  line-height:1
}
.detail-date span {
  font-size:8px;
  font-weight:800
}
.detail-title {
  min-height:70px
}
.detail-title h3 {
  margin:7px 0 3px;
  font-size:16px
}
.detail-title p {
  margin:0;
  color:#7b808d;
  font-size:9px
}
.detail-info-grid {
  clear:both;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:15px
}
.detail-info-grid>div {
  padding:11px;
  border:1px solid #eeeaf2;
  border-radius:9px;
  background:#fcfbfd
}
.detail-info-grid small {
  display:block;
  color:#858b97;
  font-size:8px;
  margin-bottom:4px
}
.detail-info-grid strong {
  display:block;
  font-size:9px
}
.detail-section {
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid #eeeaf2
}
.detail-section h4 {
  margin:0 0 6px;
  font-size:10px
}
.detail-section p {
  margin:0;
  color:#666d79;
  font-size:9px;
  line-height:1.7
}
.upload-bar {
  display:flex;
  gap:7px;
  align-items:center;
  padding:0 15px 12px;
  flex-wrap:wrap
}
.upload-bar input[type=file],
.upload-bar input[type=text],
.upload-bar input:not([type]) {
  min-height:30px;
  max-width:280px;
  border:1px solid #dedbe5;
  border-radius:7px;
  padding:6px;
  font-size:8px
}
.file-list {
  padding:0 15px 14px
}
.file-item {
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 0;
  border-top:1px solid #efedf3
}
.file-item:first-child {
  border-top:0
}
.file-icon {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#eee4f8;
  color:#6120a5
}
.file-item>div:nth-child(2) {
  flex:1
}
.file-item strong {
  display:block;
  font-size:9px
}
.file-item small {
  display:block;
  margin-top:2px;
  color:#9297a2;
  font-size:8px
}
.photo-grid {
  display:grid;
  grid-template-columns:repeat(3,
  1fr);
  gap:10px;
  padding:0 15px 15px
}
.photo-card {
  margin:0;
  border:1px solid #eeeaf2;
  border-radius:10px;
  overflow:hidden;
  background:#fff
}
.photo-card img {
  display:block;
  width:100%;
  height:135px;
  object-fit:cover;
  background:#f2eff5
}
.photo-card figcaption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  padding:7px;
  font-size:8px
}
.photo-card figcaption span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.notification-list {
  padding:0 15px
}
.notification-item {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid #efedf3
}
.notification-item:last-child {
  border-bottom:0
}
.notification-item.unread {
  background:#fbf8ff;
  margin:0 -15px;
  padding-left:15px;
  padding-right:15px
}
.notification-dot {
  width:9px;
  height:9px;
  min-width:9px;
  border-radius:50%;
  background:#9aa0ab
}
.notification-dot.success {
  background:#29935f
}
.notification-dot.warning {
  background:#d49a17
}
.notification-dot.info {
  background:#3375d4
}
.notification-copy {
  flex:1
}
.notification-copy strong {
  font-size:10px
}
.notification-copy p {
  margin:3px 0;
  color:#656c78;
  font-size:9px
}
.notification-copy small {
  color:#969ba5;
  font-size:8px
}
.modal {
  display:none;
  position:fixed;
  inset:0;
  z-index:100
}
.modal.show {
  display:block
}
.modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(27,
  14,
  45,
  .48);
  backdrop-filter:blur(2px)
}
.modal-dialog {
  position:relative;
  width:min(390px,
  calc(100% - 30px));
  margin:18vh auto 0;
  padding:25px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 30px 80px rgba(30,
  12,
  48,
  .25);
  text-align:center
}
.modal-icon {
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin:0 auto 10px;
  border-radius:50%;
  background:#fff3d9;
  color:#a06e00;
  font-weight:900;
  font-size:20px
}
.modal-dialog h3 {
  margin:0 0 5px;
  font-size:15px
}
.modal-dialog p {
  margin:0;
  color:#777d89;
  font-size:9px;
  line-height:1.6
}
.modal-actions {
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:18px
}
.btn-danger {
  border:0
}
.calendar-filter {
  display:flex;
  gap:8px;
  align-items:end;
  padding:0 15px 15px
}
.calendar-filter .field {
  min-width:130px
}
@media(max-width:900px) {
  .detail-grid {
    grid-template-columns:1fr
  }
  .photo-grid {
    grid-template-columns:repeat(2,
    1fr)
  }
}
@media(max-width:600px) {
  .detail-info-grid {
    grid-template-columns:1fr
  }
  .photo-grid {
    grid-template-columns:1fr
  }
  .upload-bar {
    align-items:stretch
  }
  .upload-bar input[type=file] {
    max-width:100%;
    width:100%
  }
}
/* === VISUAL POLISH V3: Government Dashboard 1:1 === */
.svg-icon {
  display:inline-block;
  vertical-align:middle;
  flex:0 0 auto
}
.nav-item {
  position:relative
}
.nav-item .svg-icon {
  opacity:.9
}
.nav-item span {
  display:inline-block
}
.nav-item.active:before {
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:3px;
  border-radius:0 4px 4px 0;
  background:#f2cb57
}
.sidebar-profile .svg-icon {
  transform:rotate(180deg)
}
.icon-btn {
  width:35px;
  height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid #e4e0e9;
  border-radius:8px;
  background:#fff;
  color:#5d6170;
  cursor:pointer;
  transition:.18s
}
.icon-btn:hover {
  border-color:#cdb7e1;
  color:#5b1a9b;
  background:#faf7fd
}
.icon-btn.danger {
  color:#b92d3b;
  background:#fff7f8;
  border-color:#f1d7db
}
.icon-btn.danger:hover {
  background:#fff0f1;
  border-color:#e9b9c0
}
.actions {
  align-items:center
}
.table-wrap {
  border-top:1px solid #f0edf3
}
.data-table tbody tr {
  transition:.15s
}
.data-table tbody tr:hover {
  background:#fcf9ff
}
.data-table td:last-child,
.data-table th:last-child {
  white-space:nowrap
}
.data-table td:first-child {
  color:#555b68
}
.table-sub {
  font-weight:500
}
.data-table th {
  height:38px
}
.data-table td {
  height:54px
}
.btn {
  gap:6px
}
.btn-light {
  border:1px solid #e6e1eb
}
.btn-primary {
  border:1px solid transparent
}
.btn-danger {
  cursor:pointer
}
.form-grid {
  background:#fff
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color:#9d6bc7;
  box-shadow:0 0 0 3px rgba(107,
  33,
  181,
  .08)
}
.detail-card {
  background:linear-gradient(180deg,
  #fff,
  #fdfbff)
}
.detail-title h3 {
  font-size:18px;
  color:#1c2030
}
.detail-info-grid>div {
  min-height:67px
}
.detail-info-grid>div:hover {
  border-color:#ded0ea;
  background:#fff
}
.file-item:hover {
  background:#fcf9ff
}
.file-icon {
  display:grid;
  place-items:center
}
.photo-card {
  box-shadow:0 4px 16px rgba(44,
  24,
  70,
  .05)
}
.photo-card:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(44,
  24,
  70,
  .10);
  transition:.18s
}
.photo-card img {
  height:145px
}
.modal-open {
  overflow:hidden
}
.modal-dialog {
  animation:modalIn .18s ease-out
}
.modal-icon {
  box-shadow:0 6px 16px rgba(160,
  110,
  0,
  .12)
}
.modal-actions .btn-danger {
  color:#fff;
  background:linear-gradient(135deg,
  #c73c4b,
  #e65b67)
}
@keyframes modalIn {
  from {
    opacity:0;
    transform:translateY(10px) scale(.98)
  }
  to {
    opacity:1;
    transform:none
  }
}
.report-grid {
  display:grid;
  grid-template-columns:repeat(4,
  1fr);
  gap:11px;
  padding:0 15px 15px
}
.report-card {
  padding:15px;
  border:1px solid #ece8f1;
  border-radius:12px;
  background:#fff
}
.report-card .report-number {
  font-size:24px;
  font-weight:800;
  margin-top:7px
}
.report-card small {
  color:#8b909c;
  font-size:8px
}
.report-bars {
  padding:0 15px 18px
}
.bar-row {
  display:grid;
  grid-template-columns:110px 1fr 40px;
  align-items:center;
  gap:10px;
  margin:9px 0;
  font-size:9px
}
.bar-track {
  height:8px;
  border-radius:10px;
  background:#f0edf3;
  overflow:hidden
}
.bar-fill {
  height:100%;
  border-radius:10px;
  background:linear-gradient(90deg,
  #5b1aa0,
  #8c4cc1)
}

.icon-btn.danger:disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    border-color: #dcdcdc;
    opacity: 0.6;
}

@media(max-width:1000px) {
  .report-grid {
    grid-template-columns:repeat(2,
    1fr)
  }
}
@media(max-width:600px) {
  .report-grid {
    grid-template-columns:1fr
  }
  .bar-row {
    grid-template-columns:85px 1fr 30px
  }
  .icon-btn {
    width:29px;
    height:29px
  }
}
