/* Ubah warna merek melalui variabel di bawah. Tidak ada library CSS eksternal. */
:root {
  --navy: #122a38;
  --navy-light: #203c4c;
  --gold: #d8bd7c;
  --gold-soft: #f5efdf;
  --ink: #18313d;
  --muted: #6b7981;
  --line: #e4e9e9;
  --bg: #f5f7f7;
  --white: #fff;
  --green: #26755b;
  --red: #a74040;
  --radius: 16px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.2;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
p {
  line-height: 1.6;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bc9342;
  outline-offset: 4px;
}
input:focus,
textarea:focus {
  outline: 2px solid #698b9c;
  outline-offset: 1px;
  border-color: #698b9c;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dddf;
  border-radius: 9px;
  line-height: 1.4;
  font-size: 15px;
}
input::placeholder,
textarea::placeholder {
  color: #849096;
}
textarea {
  resize: vertical;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: #82908e;
  margin: 0 0 12px;
}
.eyebrow.light {
  color: var(--gold);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.primary {
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #294959;
}
.secondary {
  background: white;
  color: var(--ink);
  border-color: #d7dfe1;
}
.secondary:hover {
  background: #f4f7f7;
}
.gold {
  background: var(--gold);
  color: var(--navy);
}
.gold:hover {
  background: #e2cb95;
}
.wide {
  width: 100%;
}
.small {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 12px;
}
.text-button {
  background: transparent;
  color: var(--muted);
  border: 0;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71a88c;
  display: inline-block;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #f2f5f5;
  line-height: 1.6;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #b8c6cc;
}
.brand-mark {
  width: 49px;
  height: 49px;
  border: 1px solid #ad985e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: -1px;
  flex-shrink: 0;
  border-radius: 4px;
}
.auth-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px 56px;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  top: 12%;
  right: -240px;
  box-shadow:
    0 0 0 65px #ffffff03,
    0 0 0 130px #ffffff02;
  pointer-events: none;
}
.story-content {
  padding: 75px 0;
  position: relative;
  z-index: 1;
}
.story-content h1 {
  font-family: Georgia, serif;
  font-size: clamp(40px, 4.2vw, 66px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 25px;
}
.story-content p {
  color: #b0c0c8;
  max-width: 350px;
  font-size: 15px;
}
.story-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 35px 0;
}
.story-points {
  display: flex;
  gap: 32px;
  font-size: 10px;
  color: var(--gold);
}
.story-points b {
  display: block;
  margin-top: 8px;
  color: #d8e0e5;
  font-weight: 500;
  font-size: 12px;
}
.story-footer {
  font-size: 10px;
  color: #95aab5;
}
.story-footer span {
  padding: 0 8px;
  color: var(--gold);
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 35px;
  background: #fff;
}
.auth-card {
  width: 100%;
  max-width: 375px;
}
.auth-card h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
.auth-card .muted {
  font-size: 14px;
  margin-bottom: 30px;
}
.auth-help {
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0;
}
.auth-caption {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #82908e;
  line-height: 1.5;
}
.form-error {
  padding: 11px 13px;
  background: #fff0ee;
  color: var(--red);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.loading {
  padding: 35px;
  color: var(--muted);
}
.notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 15px 21px;
  box-shadow: 0 10px 40px #10232b30;
  max-width: min(480px, calc(100vw - 32px));
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.notice.error {
  background: #963d3d;
}
.password-screen {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 30px;
}
.password-card {
  width: 100%;
  max-width: 460px;
  padding: 32px !important;
}
.password-card .brand-mark {
  background: var(--navy);
  margin-bottom: 24px;
}
.password-card h1 {
  font-size: 27px;
}
.password-card .muted {
  font-size: 14px;
}
.app-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}
.sidebar {
  background: var(--navy);
  color: #b9c6ce;
  padding: 29px 22px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin-bottom: 51px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #7e98a5;
  margin: 0 12px 15px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  text-align: left;
  color: #a6bac6;
  border-radius: 8px;
  min-height: 47px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-item.active {
  color: #f6e6ba;
  background: #294150;
}
.nav-item:hover {
  background: #243d4b;
}
.nav-icon {
  font-size: 20px;
  width: 20px;
  text-align: center;
  font-weight: 400;
  line-height: 1;
}
.sidebar-note {
  margin-top: auto;
  padding: 45px 10px 22px;
  font-size: 10px;
  line-height: 1.5;
  color: #b0bfc7;
}
.sidebar-note .dot {
  margin-right: 7px;
}
.sidebar-note p {
  font-size: 10px;
  color: #829ba9;
  margin: 10px 0 0;
}
.sidebar-account {
  border-top: 1px solid #ffffff13;
  display: flex;
  gap: 11px;
  padding-top: 23px;
  align-items: center;
}
.sidebar-account strong {
  display: block;
  font-size: 12px;
  color: #eef2f4;
  max-width: 135px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.sidebar-account small {
  display: block;
  font-size: 10px;
  color: #829eac;
  margin-top: 3px;
}
.avatar {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #d8bd7c20;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.account-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 10px;
}
.account-buttons button {
  color: #9bb0bd;
  font-size: 10px;
  background: none;
  border: 0;
  padding: 5px 0;
  min-height: 32px;
}
.main-content {
  max-width: 1500px;
  width: 100%;
  margin: auto;
  padding: 38px 44px 20px;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-header h1 {
  font-size: 29px;
  margin-bottom: 8px;
}
.page-header .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}
.page-header p.muted {
  font-size: 12px;
  margin: 0;
}
.date-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  font-size: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 13px;
}
.admin-hero {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 29px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.admin-hero h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
}
.admin-hero p {
  font-size: 12px;
  color: #abc1cd;
  margin: 0;
}
.admin-hero .eyebrow {
  font-size: 9px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 21px 0 30px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 23px;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -0.05em;
  margin: 12px 0 7px;
  font-variant-numeric: tabular-nums;
}
.stat small {
  font-size: 10px;
  color: #9aa3a6;
}
.stat.emphasis {
  background: var(--gold-soft);
  border-color: #e9ddbc;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.employee-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}
.attendance-card {
  background: var(--navy);
  color: white;
  padding: 27px 29px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.attendance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.attendance-top .eyebrow {
  font-size: 9px;
  margin: 0;
}
.on-dark-badge {
  font-size: 9px;
  color: #dfcd9f;
  background: #ffffff0d;
  border: 1px solid #ffffff18;
  padding: 6px 9px;
  border-radius: 40px;
}
.clock {
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin-top: 28px;
}
.attendance-card > p {
  font-size: 11px;
  color: #8eacbd;
  margin: 6px 0 25px;
}
.attendance-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid #ffffff1a;
}
.attendance-times div + div {
  border-left: 1px solid #ffffff1a;
  padding-left: 25px;
}
.attendance-times span {
  font-size: 10px;
  display: block;
  color: #9db5c3;
}
.attendance-times strong {
  font-size: 18px;
  font-weight: 500;
  display: block;
  margin-top: 9px;
}
.action-card {
  padding: 25px 27px;
}
.action-card .eyebrow {
  font-size: 9px;
}
.action-card h2 {
  font-size: 21px;
  margin-bottom: 9px;
}
.action-card p {
  font-size: 12px;
}
.action-card label {
  margin: 19px 0 0;
  font-size: 11px;
}
.action-card textarea {
  font-size: 13px;
}
.attendance-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.attendance-buttons .button {
  flex: 1;
  padding: 10px;
  min-height: 42px;
  font-size: 12px;
}
.field-hint {
  font-size: 11px !important;
  color: #889599;
  line-height: 1.55;
  margin: 12px 0 0;
}
.section-heading {
  padding: 25px 26px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-heading h2 {
  font-size: 19px;
  margin: 0;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 0 26px 22px;
}
.filters label {
  margin: 0;
  font-size: 10px;
  flex: 0 1 155px;
}
.filters input {
  font-size: 12px;
  padding: 10px 11px;
  height: 40px;
}
.filters .button {
  min-height: 40px;
  font-size: 11px;
  padding: 10px 15px;
}
.filters .search-label {
  flex: 1;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  background: #f8faf9;
  color: #8a979b;
  font-weight: 500;
  font-size: 10px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 18px;
  border-bottom: 1px solid #eef1f1;
  line-height: 1.55;
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 26px;
}
th:last-child,
td:last-child {
  padding-right: 26px;
}
td strong {
  display: block;
  font-weight: 600;
  font-size: 11px;
}
td small {
  display: block;
  color: #8b999d;
  font-size: 10px;
  margin-top: 3px;
}
.row-note {
  min-width: 100px;
  max-width: 200px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
}
.time-pair {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.badge {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  background: #edf5f0;
  color: var(--green);
}
.badge.warning {
  background: #fbf0df;
  color: #9b6b24;
}
.badge.inactive {
  background: #f0f2f3;
  color: #77848b;
}
.table-footer {
  padding: 16px 26px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #8b999d;
}
.empty-state {
  padding: 36px 20px 40px;
  text-align: center;
  color: var(--muted);
}
.empty-state > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #99aaa8;
}
.empty-state h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  margin-bottom: 0;
}
.section-note {
  font-size: 12px;
  color: var(--muted);
  padding: 0 26px 20px;
  margin: 0;
}
.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.row-actions button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 10px;
  min-height: 36px;
  color: var(--ink);
}
.row-actions button.danger {
  color: var(--red);
}
.employee-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 20px;
}
.employee-filter label {
  margin: 0;
}
.employee-filter select {
  width: auto;
  max-width: 100%;
  min-height: 44px;
}
#employees-section .row-actions {
  max-width: 300px;
}
#employees-section .row-actions button {
  min-height: 44px;
  font-size: 12px;
}
.employee-confirm-name {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dialog-actions .button {
  flex: 1;
}
.button.danger-solid {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.main-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #94a1a6;
  margin-top: 29px;
}
.main-footer span span {
  padding: 0 8px;
  color: #bcc3c6;
}
dialog {
  width: calc(100% - 32px);
  max-width: 470px;
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 90px #122a3830;
  color: var(--ink);
}
dialog::backdrop {
  background: #09192390;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.dialog-heading h2 {
  font-size: 22px;
  margin: 0;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border: 0;
  background: var(--bg);
  border-radius: 50%;
  font-size: 23px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  .main-content {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .sidebar {
    padding: 26px 17px;
  }
  .main-content {
    padding: 30px 25px 20px;
  }
  .date-chip {
    font-size: 9px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 19px 17px;
  }
  .employee-overview {
    gap: 15px;
  }
  .action-card {
    padding: 23px;
  }
  .attendance-card {
    padding: 25px;
  }
  .page-header h1 {
    font-size: 26px;
  }
  .admin-hero h2 {
    font-size: 25px;
  }
}
@media (max-width: 950px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px 24px;
    display: block;
  }
  .sidebar .brand {
    margin-bottom: 18px;
  }
  .sidebar .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 15px;
  }
  .sidebar .brand {
    font-size: 10px;
  }
  .nav-label,
  .sidebar-note,
  .sidebar-account {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }
  .nav-item {
    min-height: 42px;
    font-size: 12px;
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
  }
  .account-buttons {
    position: absolute;
    right: 24px;
    top: 26px;
    margin: 0;
  }
  .account-buttons button {
    font-size: 11px;
  }
  .main-content {
    padding: 26px 24px;
  }
  .auth-story {
    padding: 36px;
  }
  .story-content h1 {
    font-size: 44px;
  }
  .story-footer {
    font-size: 9px;
  }
  .table-wrap table {
    min-width: 670px;
  }
}
@media (max-width: 650px) {
  .auth-screen {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 24px 26px;
  }
  .auth-story .brand {
    font-size: 10px;
  }
  .auth-story .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .story-content {
    padding: 29px 0 8px;
  }
  .story-content .eyebrow {
    font-size: 8px;
  }
  .story-content h1 {
    font-size: 35px;
    margin-bottom: 12px;
    line-height: 1.1;
  }
  .story-content h1 br {
    display: none;
  }
  .story-content p {
    font-size: 12px;
    max-width: 100%;
    margin: 0;
  }
  .story-rule,
  .story-points,
  .story-footer {
    display: none;
  }
  .auth-main {
    padding: 34px 26px;
  }
  .auth-card {
    max-width: 440px;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .auth-card .eyebrow {
    font-size: 9px;
  }
  .auth-card .muted {
    font-size: 13px;
    margin-bottom: 23px;
  }
  input,
  textarea {
    font-size: 16px;
  }
  .auth-caption {
    font-size: 10px;
  }
  .sidebar {
    padding: 17px 16px;
  }
  .account-buttons {
    right: 16px;
    top: 20px;
    gap: 12px;
  }
  .account-buttons button {
    font-size: 9px;
  }
  .nav-item {
    font-size: 10px;
    gap: 7px;
    padding: 8px 10px;
  }
  .nav-icon {
    font-size: 17px;
  }
  .main-content {
    padding: 25px 16px 22px;
  }
  .page-header {
    display: block;
    margin-bottom: 23px;
  }
  .page-header h1 {
    font-size: 25px;
  }
  .page-header .eyebrow {
    font-size: 8px;
  }
  .page-header p.muted {
    font-size: 12px;
  }
  .date-chip {
    display: inline-flex;
    margin-top: 15px;
    padding: 8px 11px;
    font-size: 10px;
  }
  .employee-overview {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .attendance-card {
    padding: 25px;
  }
  .clock {
    font-size: 53px;
    margin-top: 22px;
  }
  .attendance-card > p {
    margin-bottom: 24px;
  }
  .action-card {
    padding: 24px;
  }
  .action-card textarea {
    font-size: 16px;
  }
  .action-card h2 {
    font-size: 23px;
  }
  .attendance-buttons .button {
    font-size: 13px;
    min-height: 48px;
  }
  .admin-hero {
    display: block;
    padding: 25px;
  }
  .admin-hero h2 {
    font-size: 27px;
    max-width: 260px;
  }
  .admin-hero .button {
    margin-top: 23px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .stat {
    padding: 19px;
  }
  .stat strong {
    font-size: 34px;
    margin: 10px 0 5px;
  }
  .stat span {
    font-size: 11px;
  }
  .section-heading {
    padding: 23px 20px 19px;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading .button {
    font-size: 10px;
    padding: 9px 11px;
    min-height: 40px;
  }
  .filters {
    padding: 0 20px 22px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .filters label {
    flex: 1 1 calc(50% - 12px);
  }
  .filters input {
    font-size: 14px;
    min-height: 43px;
    padding: 9px;
  }
  .filters .search-label {
    flex: 1 1 100%;
  }
  .filters .button {
    width: 100%;
    min-height: 43px;
  }
  .table-footer {
    padding: 15px 20px;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
  }
  .main-footer {
    font-size: 9px;
    gap: 10px;
  }
  .section-note {
    padding: 0 20px 20px;
  }
  .password-screen {
    padding: 20px;
  }
  .password-card {
    padding: 25px !important;
  }
  dialog {
    padding: 24px;
  }
  .notice {
    bottom: 16px;
    right: 16px;
  }
  .table-wrap {
    scrollbar-width: thin;
  }
  .row-actions button {
    min-height: 40px;
  }
  .account-buttons button {
    min-height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}
/* Logo perusahaan */
.company-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border-radius: 8px;
  flex-shrink: 0;
}
.sidebar .company-logo {
  width: 52px;
  height: 52px;
}
.password-card .company-logo {
  margin-bottom: 24px;
  border: 1px solid #e4e9e9;
}
@media (max-width: 650px) {
  .auth-story .company-logo {
    width: 60px;
    height: 60px;
  }
  .sidebar .company-logo {
    width: 40px;
    height: 40px;
  }
}
/* Tombol lihat / sembunyikan password */
.kpm-password-field {
  position: relative;
  margin-bottom: 18px;
}

.kpm-password-field > label {
  margin-bottom: 0;
}

.kpm-password-field input {
  padding-right: 120px;
}

.kpm-password-toggle {
  position: absolute;
  right: 4px;
  bottom: 2px;
  min-height: 44px;
  min-width: 104px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #294959;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.kpm-password-toggle:hover {
  background: #eef3f5;
}
.leave-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.leave-page h1 {
  margin: 24px 0 10px;
}

.leave-pad {
  padding: 24px;
  margin-top: 20px;
}

.leave-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.leave-success {
  background: #e5f4ec;
  color: #155d3b;
  padding: 12px;
  border-radius: 8px;
}

.leave-page .table-wrap {
  margin-top: 20px;
}

.leave-page td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.leave-page .row-actions button {
  min-height: 44px;
  font-size: 12px;
}

.nav-item[href] {
  text-decoration: none;
}

@media (max-width: 600px) {
  .leave-grid {
    grid-template-columns: 1fr;
  }

  .leave-pad {
    padding: 18px;
  }

  .leave-page input,
  .leave-page select,
  .leave-page textarea {
    font-size: 16px;
  }
}
/* Tampilan ikon menu samping */
.sidebar .nav-item {
  border-radius: 10px;
}

.sidebar .nav-item > {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Warna emas pada ikon menu aktif */
.sidebar .nav-item.active > svg.nav-icon {
  color: var(--gold, #d8bd7c);
}

/* Bingkai tipis untuk memperjelas menu aktif */
.sidebar .nav-item.active {
  box-shadow: inset 0 0 0 1px rgba(216, 189, 124, 0.12);
}

/* Ukuran ikon pada layar kecil */
@media (max-width: 650px) {
  .sidebar .nav-item > svg.nav-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}
