/* =========================================================
   TEST + FINAL GRID KALENDER GENDING
   TEMPATKAN PALING ATAS STYLE.CSS
   ========================================================= */

.gending-calendar {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

/* Toolbar */

.gending-calendar-toolbar {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;

  border-bottom: 1px solid #e5e7eb;
}

.calendar-nav {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.calendar-month-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #073475;
}

.calendar-summary {
  justify-self: end;

  padding: 7px 12px;

  background: #e8f7f1;
  color: #08765a;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;
}

/* =========================================================
   HEADER SENIN - MINGGU
   ========================================================= */

.calendar-week-header {
  display: grid !important;

  grid-template-columns: repeat(7, 1fr) !important;

  width: 100%;

  background: #f8fafc;
}

.calendar-week-header > div {
  min-width: 0;

  padding: 12px 8px;

  text-align: center;

  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;

  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.calendar-week-header > div:last-child {
  border-right: none;
}

/* =========================================================
   GRID TANGGAL
   ========================================================= */

.calendar-days {
  display: grid !important;

  grid-template-columns: repeat(7, 1fr) !important;

  width: 100%;
}

.calendar-day {
  box-sizing: border-box;

  min-width: 0;
  min-height: 135px;

  padding: 9px;

  background: #ffffff;

  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.calendar-day:nth-child(7n) {
  border-right: none;
}

.calendar-day.empty-day {
  background: #f8fafc;
}

.calendar-day.today-day {
  background: #f2fbf7;
}

/* =========================================================
   NOMOR TANGGAL
   ========================================================= */

.calendar-day-top {
  display: flex !important;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 7px;
}

.calendar-number {
  width: 27px;
  height: 27px;

  display: flex !important;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 11px;
  font-weight: 700;

  color: #172033;
}

.calendar-number.today-number {
  color: #ffffff;

  background: linear-gradient(135deg, #0a4ca5, #10966f);
}

.agenda-count {
  min-width: 20px;
  height: 20px;

  padding: 0 5px;

  display: inline-flex !important;

  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: #eaf2ff;
  color: #174ea6;

  font-size: 9px;
  font-weight: 700;
}

/* =========================================================
   AGENDA DALAM KALENDER
   ========================================================= */

.calendar-agenda-list {
  display: flex !important;
  flex-direction: column;

  gap: 5px;

  min-width: 0;
}

.calendar-agenda {
  display: block !important;

  width: 100%;

  box-sizing: border-box;

  padding: 6px 7px;

  border-radius: 6px;
  border-left: 3px solid #2463eb;

  background: #edf4ff;

  color: #174a9c;

  text-decoration: none;

  font-size: 9px;
  line-height: 1.35;

  overflow: hidden;
}

.agenda-time {
  font-weight: 700;
  margin-right: 3px;
}

.agenda-name {
  font-weight: 600;
}

/* Status */

.event-terjadwal {
  background: #edf4ff;
  border-left-color: #2463eb;
  color: #174a9c;
}

.event-berlangsung {
  background: #e9f8fb;
  border-left-color: #0891b2;
  color: #0e7490;
}

.event-selesai {
  background: #eaf8f1;
  border-left-color: #15966a;
  color: #08754e;
}

.event-ditunda {
  background: #fff7df;
  border-left-color: #e5a510;
  color: #986300;
}

.event-dibatalkan {
  background: #fff0f1;
  border-left-color: #dc3545;
  color: #b42332;
}

/* =========================================================
   GENDING V2.0
   Gerbang Digital Monitoring Kegiatan
   PTA Palembang
   ========================================================= */

/* =========================================================
   1. ROOT / COLOR
   ========================================================= */

:root {
  --primary: #4c5c6e;
  --primary-dark: #2a3848;
  --primary-light: #b1bece;

  --secondary: #284038bb;
  --secondary-dark: #212524;
  --secondary-soft: #e8f7f1;

  --gold: #f2b705;
  --gold-soft: #fff7d6;

  --white: #ffffff;

  --background: #f5f8fc;

  --text: #172033;
  --text-secondary: #64748b;
  --text-light: #94a3b8;

  --border: #e2e8f0;

  --success: #16a36a;
  --warning: #f59e0b;
  --danger: #dc3545;
  --info: #0b7ddc;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);

  --shadow: 0 8px 25px rgba(15, 23, 42, 0.08);

  --shadow-lg: 0 15px 40px rgba(15, 23, 42, 0.12);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --sidebar-width: 250px;
}

/* =========================================================
   2. RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;

  background: var(--background);

  color: var(--text);

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* =========================================================
   LOGIN PAGE - COMPACT VERSION
   ========================================================= */
.login-page {
  margin: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;

  background-image: url("../img/Background-Gending-Login.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-visual::before,
.login-visual::after {
  display: none;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.login-layout {
  height: 100vh;
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1fr 480px;
  overflow: hidden;
}

/* =========================================================
   LEFT SIDE
   ========================================================= */

.login-visual {
  position: relative;

  display: flex;
  align-items: center;

  padding: 60px 80px;

  overflow: hidden;
}

.login-visual::before {
  content: "";

  position: absolute;

  width: 430px;
  height: 430px;

  left: -160px;
  bottom: -180px;

  border-radius: 50%;

  background: rgba(13, 79, 164, 0.06);
}

.login-visual::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: 20px;
  top: -120px;

  border-radius: 50%;

  background: rgba(15, 139, 111, 0.06);
}

.login-visual-content {
  position: relative;
  z-index: 2;

  max-width: 540px;
}

.login-visual-badge {
  display: inline-flex;

  padding: 6px 11px;

  margin-bottom: 15px;
  margin-left: 105px;

  border-radius: 999px;

  background: #ffffff;

  color: #031954;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.6px;
}

.login-visual h1 {
  margin: 0 0 13px;

  max-width: 550px;

  color: #ffffff;

  font-size: 38px;
  font-weight: 800;

  line-height: 1.17;

  display: flex;
  align-items: center;

  padding-left: 105px;
  padding-right: 40px;
}

.login-visual p {
  margin: 0;

  max-width: 800px;

  color: #f7f9fb;

  font-size: 13px;
  line-height: 1.7;

  display: flex;
  align-items: center;

  padding-left: 105px;
  padding-right: 40px;
}

/* =========================================================
   RIGHT SIDE
   ========================================================= */

.login-panel {
  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px 38px;
}

/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-container {
  width: 100%;
  max-width: 360px;

  padding: 22px 26px 20px;

  background: rgba(255, 255, 255, 0.97);

  border: 1px solid rgba(216, 226, 238, 0.9);

  border-radius: 18px;

  box-shadow: 0 15px 38px rgba(26, 56, 92, 0.12);

  text-align: center;
}

/* =========================================================
   LOGO
   ========================================================= */

.login-logo {
  display: block;

  width: 105px;
  height: auto;

  margin: 0 auto 8px;

  object-fit: contain;
}

/* =========================================================
   TITLE
   ========================================================= */

.login-title {
  margin: 0;

  color: #073b78;

  font-size: 22px;
  font-weight: 800;
}

.login-subtitle {
  margin: 4px 0 18px;

  color: #71839a;

  font-size: 11px;
  line-height: 1.4;
}

/* =========================================================
   FORM
   ========================================================= */

.login-container .form-group {
  margin-bottom: 13px;

  text-align: left;
}

.login-container label {
  display: block;

  margin-bottom: 5px;

  color: #29425f;

  font-size: 11px;
  font-weight: 600;
}

.login-container .form-control {
  width: 100%;
  height: 40px;

  padding: 0 13px;

  border: 1px solid #d9e4ef;

  border-radius: 9px;

  background: #f8fbff;

  color: #172b42;

  font-family: "Plus Jakarta Sans", sans-serif;

  font-size: 12px;

  outline: none;

  box-sizing: border-box;

  transition: 0.2s ease;
}

.login-container .form-control:focus {
  border-color: #1769c2;

  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(23, 105, 194, 0.07);
}

/* =========================================================
   PASSWORD
   ========================================================= */

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 42px;
}

.toggle-password {
  position: absolute;

  top: 50%;
  right: 11px;

  transform: translateY(-50%);

  padding: 3px;

  border: none;

  background: transparent;

  cursor: pointer;

  font-size: 13px;

  opacity: 0.6;
}

/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.btn-login {
  width: 100%;
  height: 43px;

  margin-top: 3px;

  border: none;
  border-radius: 9px;

  background: linear-gradient(90deg, #0d4fa4, #176ad7);

  color: #ffffff;

  font-family: "Plus Jakarta Sans", sans-serif;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 7px 16px rgba(23, 105, 194, 0.16);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-login:hover {
  transform: translateY(-1px);

  box-shadow: 0 9px 20px rgba(23, 105, 194, 0.2);
}

/* =========================================================
   ERROR
   ========================================================= */

.login-container .alert {
  margin-bottom: 13px;

  padding: 9px 11px;

  border-radius: 8px;

  font-size: 11px;

  text-align: left;
}

/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
  margin-top: 17px;

  color: #98a8ba;

  font-size: 9px;

  line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .login-layout {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 100vh;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    width: 100%;

    padding: 25px 18px;
  }

  .login-container {
    max-width: 370px;
  }
}

/* =========================================================
   4. MAIN APPLICATION
   ========================================================= */

.app {
  min-height: 100vh;
}

/* =========================================================
   5. SIDEBAR
   ========================================================= */

.sidebar {
  position: fixed;

  top: 0;

  left: 0;

  width: var(--sidebar-width);

  height: 100vh;

  background: linear-gradient(180deg, var(--primary-dark), var(--primary));

  color: var(--white);

  z-index: 1000;

  display: flex;

  flex-direction: column;
  overflow: hidden;

  box-shadow: 4px 0 20px rgba(3, 43, 104, 0.15);
}

/* Sidebar Logo */

.sidebar-brand {
  padding: 15px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand img {
  width: 80px;

  max-width: 100%;

  display: block;
}

/* Navigation */

.sidebar-menu {
  padding: 20px 12px;

  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.sidebar-menu::-webkit-scrollbar {
  width: 5px;
}

.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);

  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.sidebar-section-title {
  padding: 12px 14px 7px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.nav-link {
  min-height: 44px;
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 9px 13px;

  margin-bottom: 3px;

  border-radius: 10px;
  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.86);

  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.09);

  color: var(--white);
}

.nav-link.active {
  background: linear-gradient(
    135deg,
    rgba(21, 150, 107, 0.95),
    rgba(11, 94, 215, 0.95)
  );

  color: var(--white);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.nav-icon {
  width: 20px;

  text-align: center;

  font-size: 16px;
}

/* Sidebar Footer */

.sidebar-footer {
  padding: 10px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 11px;

  text-align: center;

  color: rgba(255, 255, 255, 0.5);

  flex-shrink: 0;

  background: rgba(0, 0, 0, 0.05);
}

/* =========================================================
   6. MAIN CONTENT
   ========================================================= */

.main-content {
  margin-left: var(--sidebar-width);

  min-height: 100vh;

  min-width: 0;
}

/* =========================================================
   7. TOPBAR
   ========================================================= */

.topbar {
  height: 72px;

  background: var(--white);

  border-bottom: 1px solid var(--border);

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 30px;

  position: sticky;

  top: 0;

  z-index: 900;
}

.topbar-title {
  font-size: 16px;

  font-weight: 700;

  color: var(--primary-dark);
}

.topbar-right {
  display: flex;

  align-items: center;

  gap: 18px;
}

/* Notification */

.notification-button {
  width: 38px;

  height: 38px;

  border-radius: 50%;

  border: 1px solid var(--border);

  background: var(--white);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--text-secondary);
}

.notification-button:hover {
  color: var(--primary);

  border-color: var(--primary-light);
}

/* User */

.user-menu {
  display: flex;

  align-items: center;

  gap: 10px;
}

.user-avatar {
  width: 38px;

  height: 38px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: var(--white);

  font-weight: 700;

  font-size: 13px;
}

.user-info {
  line-height: 1.3;
}

.user-name {
  font-size: 13px;

  font-weight: 700;
}

.user-role {
  font-size: 11px;

  color: var(--text-secondary);
}

/* =========================================================
   8. PAGE CONTENT
   ========================================================= */

.detail-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-content {
  padding: 30px;
  width: 100%;
  min-width: 0;
}

.page-header {
  margin-bottom: 25px;
}

.page-title {
  font-size: 24px;

  font-weight: 700;

  color: var(--primary-dark);
}

.page-description {
  margin-top: 4px;

  color: var(--text-secondary);

  font-size: 13px;
}

/* =========================================================
   9. DASHBOARD
   ========================================================= */

.welcome-card {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-light)
  );

  color: var(--white);

  border-radius: var(--radius-lg);

  padding: 28px;

  margin-bottom: 25px;

  position: relative;

  overflow: hidden;
}

.welcome-card {
  min-width: 0;
}

.welcome-card::after {
  content: "";

  position: absolute;

  width: 180px;

  height: 180px;

  border-radius: 50%;

  right: -50px;

  top: -70px;
}

.welcome-title {
  font-size: 21px;

  font-weight: 700;

  line-height: 1.4;

  position: relative;
  z-index: 2;
}

.welcome-text {
  margin-top: 5px;

  color: rgba(255, 255, 255, 0.75);

  font-size: 13px;
  line-height: 1.5;

  position: relative;

  z-index: 2;
}

/* Statistics */

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;

  margin-bottom: 25px;
}

.stat-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 20px;

  box-shadow: var(--shadow-sm);

  transition: 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);

  box-shadow: var(--shadow);
}

.stat-icon {
  width: 42px;

  height: 42px;

  border-radius: 10px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  margin-bottom: 14px;
}

.stat-icon.blue {
  background: #e8f0ff;

  color: var(--primary);
}

.stat-icon.green {
  background: var(--secondary-soft);

  color: var(--secondary);
}

.stat-icon.gold {
  background: var(--gold-soft);

  color: #a97900;
}

.stat-icon.red {
  background: #fff0f0;

  color: var(--danger);
}

.stat-number {
  font-size: 25px;

  font-weight: 800;

  color: var(--text);
}

.stat-label {
  font-size: 12px;

  color: var(--text-secondary);

  margin-top: 2px;
}

/* Dashboard Grid */

.dashboard-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr;

  gap: 20px;
}

/* =========================================================
   DASHBOARD FILTER
   ========================================================= */

.dashboard-filter {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 18px 20px;

  margin-bottom: 25px;

  box-shadow: var(--shadow-sm);
}

.dashboard-filter-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin-bottom: 16px;
}

.dashboard-filter-title {
  font-size: 14px;

  font-weight: 700;

  color: var(--text);
}

.dashboard-filter-subtitle {
  font-size: 11px;

  color: var(--text-secondary);

  margin-top: 3px;
}

.active-period {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 7px 12px;

  border-radius: 20px;

  background: var(--secondary-soft);

  color: var(--secondary-dark);

  font-size: 11px;

  font-weight: 600;

  white-space: nowrap;
}

.dashboard-filter-form {
  display: flex;

  align-items: flex-end;

  gap: 12px;

  flex-wrap: wrap;
}

.dashboard-filter-group {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.dashboard-filter-group label {
  font-size: 11px;

  font-weight: 600;

  color: var(--text-secondary);
}

.dashboard-filter-date {
  min-width: 190px;
}

.dashboard-filter-actions {
  display: flex;

  gap: 8px;
}

.btn-filter,
.btn-reset {
  height: 43px;
}

/* Responsive */

@media (max-width: 700px) {
  .dashboard-filter-header {
    align-items: flex-start;

    flex-direction: column;
  }

  .dashboard-filter-form {
    flex-direction: column;

    align-items: stretch;
  }

  .dashboard-filter-date {
    width: 100%;

    min-width: 0;
  }

  .dashboard-filter-actions {
    width: 100%;
  }

  .dashboard-filter-actions .btn {
    flex: 1;
  }
}

/* Card */

.card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 18px 20px;

  border-bottom: 1px solid var(--border);

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.card-title {
  font-size: 14px;

  font-weight: 700;

  color: var(--text);
}

.card-body {
  padding: 20px;
}

/* =========================================================
   10. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  border: none;

  border-radius: 8px;

  padding: 10px 16px;

  font-size: 13px;

  font-weight: 600;

  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);

  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-success {
  background: var(--secondary);

  color: var(--white);
}

.btn-success:hover {
  background: var(--secondary-dark);
}

.btn-outline {
  background: var(--white);

  border: 1px solid var(--border);

  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);

  color: var(--primary);
}

/* =========================================================
   11. STATUS BADGES
   ========================================================= */

.badge {
  display: inline-flex;

  align-items: center;

  padding: 5px 9px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 600;
}

.badge-success {
  background: var(--secondary-soft);

  color: var(--secondary-dark);
}

.badge-warning {
  background: var(--gold-soft);

  color: #9a7000;
}

.badge-danger {
  background: #fff0f0;

  color: #b42318;
}

.badge-info {
  background: #e8f2ff;

  color: #0756a5;
}

/* =========================================================
   12. TABLE
   ========================================================= */

.table-wrapper {
  width: 100%;

  overflow-x: auto;
}

.table {
  width: 100%;

  border-collapse: collapse;
}

.table th {
  background: #f8fafc;

  color: var(--text-secondary);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.3px;

  padding: 12px 14px;

  text-align: left;

  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 13px 14px;

  border-bottom: 1px solid var(--border);

  font-size: 13px;
}

.table tbody tr:hover {
  background: #f8fafc;
}

/* =========================================================
   13. PROGRESS
   ========================================================= */

.progress {
  width: 100%;

  height: 8px;

  background: #e9eef5;

  border-radius: 20px;

  overflow: hidden;
}

.progress-bar {
  height: 100%;

  border-radius: 20px;

  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* =========================================================
   14. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .main-content {
    margin-left: 0;
  }

  .page-content {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 0 18px;
  }

  .user-info {
    display: none;
  }
}

@media (max-width: 500px) {
  .login-container {
    padding: 30px 22px;
  }

  .topbar {
    padding: 0 18px;
  }
}

/* =========================================================
   AGENDA KEGIATAN
   ========================================================= */

.page-header-flex {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.agenda-filter-card {
  margin-bottom: 22px;
}

.agenda-filter-form {
  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr
    0.7fr
    auto;

  gap: 12px;

  align-items: end;
}

.agenda-filter-group {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.agenda-filter-group label {
  font-size: 11px;

  font-weight: 600;

  color: var(--text-secondary);
}

.agenda-filter-actions {
  display: flex;

  gap: 8px;
}

.table-result-count {
  font-size: 12px;

  color: var(--text-secondary);
}

.agenda-code {
  display: inline-flex;

  padding: 4px 8px;

  border-radius: 6px;

  background: #eef4ff;

  color: var(--primary);

  font-size: 11px;

  font-weight: 700;
}

.agenda-name {
  font-weight: 600;

  color: var(--text);
}

.btn-sm {
  padding: 7px 11px;

  font-size: 11px;
}

.table-empty {
  padding: 45px 20px !important;

  text-align: center;

  color: var(--text-secondary);
}

@media (max-width: 1100px) {
  .agenda-filter-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .agenda-filter-actions {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .page-header-flex {
    align-items: stretch;

    flex-direction: column;
  }

  .agenda-filter-form {
    grid-template-columns: 1fr;
  }

  .agenda-filter-actions {
    grid-column: auto;
  }
}

/* =========================================================
   FORM KEGIATAN
   ========================================================= */

.form-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  overflow: hidden;
}

.form-section-header {
  padding: 20px 22px;

  border-bottom: 1px solid var(--border);

  background: #fbfcfe;
}

.form-section-title {
  font-size: 15px;

  font-weight: 700;

  color: var(--text);
}

.form-section-description {
  margin-top: 3px;

  color: var(--text-secondary);

  font-size: 11px;
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  padding: 22px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.required {
  color: var(--danger);
}

.form-textarea {
  min-height: 120px;

  resize: vertical;
}

.form-actions {
  margin-top: 20px;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 10px;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }

  .form-actions {
    flex-direction: column-reverse;

    align-items: stretch;
  }
}

/* =========================================================
   TABLE PAGINATION
   ========================================================= */

.table-number {
  width: 65px;
  text-align: center !important;
}

.table-pagination {
  padding: 17px 20px;

  border-top: 1px solid var(--border);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  background: var(--white);
}

.pagination-info {
  color: var(--text-secondary);

  font-size: 12px;
}

.pagination-info strong {
  color: var(--text);

  font-weight: 700;
}

.pagination {
  display: flex;

  align-items: center;

  gap: 6px;

  flex-wrap: wrap;
}

.pagination-link {
  min-width: 38px;

  height: 38px;

  padding: 0 12px;

  border: 1px solid var(--border);

  border-radius: 8px;

  background: var(--white);

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: var(--text);

  font-size: 12px;

  font-weight: 600;

  transition: 0.2s ease;
}

.pagination-link:hover {
  border-color: var(--primary);

  color: var(--primary);

  background: #f6f9ff;
}

.pagination-link.active {
  background: var(--secondary);

  border-color: var(--secondary);

  color: var(--white);
}

.pagination-link.disabled {
  color: var(--text-light);

  background: #f8fafc;

  cursor: not-allowed;

  pointer-events: none;
}

.pagination-dots {
  padding: 0 5px;

  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .table-pagination {
    flex-direction: column;

    align-items: flex-start;
  }

  .pagination {
    width: 100%;
  }
}

/* =========================================================
   DETAIL KEGIATAN
   ========================================================= */

.detail-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  padding: 22px;

  margin-bottom: 22px;
}

.detail-card-header {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 22px;
}

.detail-kode {
  color: var(--primary);

  font-size: 11px;

  font-weight: 700;

  margin-bottom: 5px;
}

.detail-title {
  font-size: 20px;

  line-height: 1.4;

  color: var(--text);
}

.detail-info-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 15px;
}

.detail-info-item {
  padding: 14px;

  border-radius: 10px;

  background: #f8fafc;

  border: 1px solid var(--border);
}

.detail-info-label {
  font-size: 10px;

  color: var(--text-secondary);

  margin-bottom: 5px;
}

.detail-info-value {
  font-size: 12px;

  font-weight: 600;

  color: var(--text);
}

/* =========================================================
   DOCUMENT STATUS
   ========================================================= */

.document-status-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  padding: 20px;

  margin-bottom: 22px;
}

.document-status-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 15px;
}

.document-status-title {
  font-size: 15px;

  font-weight: 700;

  color: var(--text);
}

.document-status-description {
  margin-top: 3px;

  color: var(--text-secondary);

  font-size: 11px;
}

.document-status-percentage {
  font-size: 26px;

  font-weight: 800;

  color: var(--primary);
}

.document-status-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin-top: 12px;
}

.document-status-count {
  font-size: 11px;

  color: var(--text-secondary);
}

/* =========================================================
   DOCUMENT CARDS
   ========================================================= */

.documents-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 22px;
}

.document-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 18px 20px;

  box-shadow: var(--shadow-sm);

  min-width: 0;
}

.document-card-main {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 14px;
}

.document-card-content {
  min-width: 0;
}

.document-card-title {
  font-size: 13px;

  font-weight: 700;

  color: var(--text);
}

.document-card-description {
  margin-top: 2px;

  color: var(--text-secondary);

  font-size: 10px;
}

.document-card-actions {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 16px;

  width: 100%;
}

.document-card-actions .btn-primary {
  flex: 1;
}

.document-upload-full {
  width: 100%;
}

.document-upload-grow {
  flex: 1;
}

.document-image-count {
  flex-shrink: 0;

  font-size: 10px;

  color: var(--secondary-dark);

  font-weight: 600;
}

.document-check {
  width: 26px;

  height: 26px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--secondary);

  color: var(--white);

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 13px;

  font-weight: 700;
}

.document-missing {
  flex-shrink: 0;

  font-size: 10px;

  color: var(--danger);

  font-weight: 600;
}

.document-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.document-subitem:first-of-type {
  border-top: none;
}

.document-subitem strong {
  display: block;
  font-size: 11px;
}

.document-subitem small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: var(--text-secondary);
}

.document-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .document-card-main {
    grid-template-columns:
      auto
      minmax(0, 1fr);
  }

  .document-card-main .document-check,
  .document-card-main .document-missing {
    grid-column: 2;
  }

  .document-card-actions {
    flex-wrap: wrap;
  }
}
/* =========================================================
   DOCUMENTATION
   ========================================================= */
.documentation-item img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: 0.2s ease;
}

.documentation-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1100px) {
  .detail-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .documentation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .detail-card-header {
    flex-direction: column;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .document-status-top,
  .document-status-footer {
    align-items: flex-start;

    flex-direction: column;
  }

  .document-card {
    grid-template-columns: auto 1fr;
  }

  .document-card .btn,
  .document-card .document-check,
  .document-card .document-missing,
  .document-card .document-image-count {
    grid-column: 2;
  }

  .documentation-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   UPLOAD DOKUMEN
   ========================================================= */

.upload-layout {
  max-width: 850px;
}

.upload-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));

  border-radius: var(--radius);

  padding: 20px 22px;

  color: var(--white);

  margin-bottom: 18px;

  box-shadow: var(--shadow-sm);
}

.upload-info-label {
  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.8px;

  color: rgba(255, 255, 255, 0.65);

  margin-bottom: 4px;
}

.upload-info-title {
  font-size: 16px;

  font-weight: 700;

  line-height: 1.4;
}

.upload-info-meta {
  font-size: 11px;

  margin-top: 5px;

  color: rgba(255, 255, 255, 0.75);
}

.upload-form-body {
  padding: 22px;
}

.form-help {
  margin-top: 7px;

  color: var(--text-secondary);

  font-size: 10px;
}

.upload-existing {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding: 14px;

  margin-bottom: 20px;

  border-radius: 10px;

  border: 1px solid var(--border);

  background: #f8fafc;
}

.upload-existing-label {
  font-size: 10px;

  color: var(--text-secondary);
}

.upload-existing-name {
  margin-top: 3px;

  font-size: 12px;

  font-weight: 600;

  color: var(--text);

  overflow-wrap: anywhere;
}

/* =========================================================
   DOCUMENTATION UPLOAD
   ========================================================= */

.documentation-existing-info {
  padding: 12px 14px;

  margin-bottom: 18px;

  border-radius: 9px;

  background: var(--secondary-soft);

  color: var(--secondary-dark);

  font-size: 11px;

  border: 1px solid rgba(21, 150, 107, 0.15);
}

.documentation-existing-info strong {
  font-weight: 800;
}

/* =========================================================
   UPLOAD LIMIT
   ========================================================= */

.btn-disabled {
  background: #e2e8f0;

  color: #94a3b8;

  border: 1px solid #cbd5e1;

  cursor: not-allowed;

  pointer-events: none;
  font-size: 11px;
}

.upload-limit-message {
  padding: 14px 16px;

  border-radius: 10px;

  background: #f1f5f9;

  border: 1px solid var(--border);

  color: var(--text-secondary);

  font-size: 12px;
}

/* =========================================================
   GOOGLE DRIVE DOCUMENTATION
   ========================================================= */

.drive-card-description {
  margin-top: 3px;

  font-size: 10px;

  color: var(--text-secondary);
}

.drive-link-input {
  min-width: 0;
}

.drive-link-input label {
  display: block;

  margin-bottom: 7px;

  font-size: 11px;

  font-weight: 600;

  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .drive-link-form {
    grid-template-columns: 1fr;
  }
}

.document-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  opacity: 0.9;
}

.documentation-delete:hover {
  background: var(--danger);
}

/* =========================================================
   DOKUMENTASI KEGIATAN
   ========================================================= */

.documentation-section {
  width: 100%;

  margin-bottom: 22px;

  overflow: hidden;
}

.card-subtitle {
  margin-top: 3px;

  font-size: 11px;

  color: var(--text-secondary);
}

.documentation-counter {
  font-size: 11px;

  font-weight: 600;

  color: var(--secondary-dark);

  background: var(--secondary-soft);

  padding: 6px 10px;

  border-radius: 20px;

  white-space: nowrap;
}

.documentation-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;

  padding: 20px;
}

.documentation-item-wrapper {
  position: relative;

  width: 100%;

  min-width: 0;
}

.documentation-item {
  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius: 11px;

  border: 1px solid var(--border);

  background: #f8fafc;
}

.documentation-item img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.2s ease;
}

.documentation-item:hover img {
  transform: scale(1.03);
}

.documentation-delete {
  position: absolute;

  top: 8px;

  right: 8px;

  width: 30px;

  height: 30px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(220, 53, 69, 0.95);

  color: var(--white);

  font-size: 18px;

  font-weight: 700;

  box-shadow: var(--shadow-sm);

  z-index: 5;
}

.documentation-delete:hover {
  background: #b42318;
}

/* =========================================================
   GOOGLE DRIVE DOCUMENTATION
   ========================================================= */

.drive-documentation-card {
  width: 100%;

  margin-bottom: 25px;

  overflow: hidden;
}

.drive-card-header {
  gap: 20px;
}

.drive-card-header > div:first-child {
  min-width: 0;
}

.drive-link-form {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 12px;

  align-items: end;
}

.drive-link-input {
  min-width: 0;
}

.drive-link-input label {
  display: block;

  margin-bottom: 7px;

  font-size: 11px;

  font-weight: 600;

  color: var(--text-secondary);
}

.drive-link-input .form-control {
  width: 100%;
}

@media (max-width: 1100px) {
  .documentation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .documentation-grid {
    grid-template-columns: 1fr;
  }

  .drive-card-header {
    align-items: flex-start;

    flex-direction: column;
  }

  .drive-link-form {
    grid-template-columns: 1fr;
  }

  .drive-link-form .btn {
    width: 100%;
  }
}

.merged-document-card {
  margin-bottom: 30px;
}

.merge-document-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.merge-document-item {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #f8fafc;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  font-size: 11px;
  color: var(--text-secondary);
}

.merge-document-item.complete {
  background: var(--secondary-soft);

  border-color: rgba(21, 150, 107, 0.2);

  color: var(--secondary-dark);
}

.merge-document-item.complete span:last-child {
  font-weight: 800;
}

.merge-info {
  margin-top: 12px;

  font-size: 10px;

  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .merge-document-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DANGER ZONE
   ========================================================= */

.danger-zone {
  margin-top: 24px;
  margin-bottom: 30px;

  padding: 18px 20px;

  border-radius: var(--radius);

  border: 1px solid #f5c2c7;

  background: #fff5f5;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.danger-zone-content {
  display: flex;

  align-items: flex-start;

  gap: 14px;
}

.danger-zone-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 10px;

  background: #fde2e4;

  font-size: 18px;
}

.danger-zone-title {
  font-size: 13px;

  font-weight: 700;

  color: #b42318;
}

.danger-zone-description {
  margin-top: 4px;

  max-width: 650px;

  font-size: 10px;

  line-height: 1.6;

  color: #7a271a;
}

.btn-danger {
  background: #dc3545;

  border: 1px solid #dc3545;

  color: #fff;

  flex-shrink: 0;
}

.btn-danger:hover {
  background: #bb2d3b;

  border-color: #b02a37;
}

@media (max-width: 700px) {
  .danger-zone {
    align-items: stretch;

    flex-direction: column;
  }

  .danger-zone .btn-danger {
    width: 100%;
  }
}

/* DOK DOK DOK */

/* =========================================================
   DOKUMEN KEGIATAN
   ========================================================= */

.document-filter-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  padding: 18px 20px;

  margin-bottom: 22px;
}

.document-filter-grid {
  display: grid;

  grid-template-columns:
    1.5fr
    1fr
    1fr
    1fr
    auto;

  gap: 14px;

  align-items: end;
}

.document-filter-actions {
  display: flex;

  gap: 8px;
}

.document-table-card {
  overflow: hidden;
}

.document-per-page {
  display: flex;

  align-items: center;

  gap: 7px;

  font-size: 10px;

  color: var(--text-secondary);
}

.document-per-page .form-control {
  width: 75px;

  min-height: 36px;
}

.table-responsive {
  width: 100%;

  overflow-x: auto;
}

.document-table {
  width: 100%;

  border-collapse: collapse;
}

.document-table th {
  padding: 13px 16px;

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

  background: #f8fafc;

  color: var(--text-secondary);

  font-size: 10px;

  font-weight: 700;

  text-align: left;

  text-transform: uppercase;

  letter-spacing: 0.3px;
}

.document-table td {
  padding: 15px 16px;

  border-bottom: 1px solid var(--border);

  font-size: 11px;

  vertical-align: middle;

  color: var(--text);
}

.document-table tbody tr:last-child td {
  border-bottom: none;
}

.document-table tbody tr:hover {
  background: #fafcff;
}

.document-number {
  width: 55px;

  text-align: center !important;
}

.document-activity-name {
  max-width: 360px;

  font-weight: 600;

  line-height: 1.5;
}

.document-activity-code {
  margin-top: 4px;

  color: var(--primary);

  font-size: 9px;

  font-weight: 700;
}

.document-progress-wrapper {
  min-width: 160px;
}

.document-progress-info {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 6px;

  color: var(--text-secondary);

  font-size: 9px;
}

.document-progress-info span:first-child {
  font-size: 11px;

  font-weight: 700;

  color: var(--primary);
}

.document-progress {
  width: 100%;

  height: 7px;

  overflow: hidden;

  border-radius: 999px;

  background: #e8eef6;
}

.document-progress-bar {
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.document-empty {
  padding: 40px !important;

  text-align: center;

  color: var(--text-secondary) !important;
}

.document-pagination-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding: 16px 20px;

  border-top: 1px solid var(--border);
}

.document-pagination-info {
  font-size: 10px;

  color: var(--text-secondary);
}

.pagination {
  display: flex;

  align-items: center;

  gap: 6px;
}

.pagination-link {
  min-width: 36px;

  height: 36px;

  padding: 0 11px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--border);

  border-radius: 8px;

  background: var(--white);

  color: var(--text);

  font-size: 10px;

  font-weight: 600;
}

.pagination-link:hover {
  border-color: var(--primary);

  color: var(--primary);
}

.pagination-link.active {
  background: var(--primary);

  border-color: var(--primary);

  color: var(--white);
}

.pagination-link.disabled {
  background: #f8fafc;

  color: #a0aec0;

  cursor: not-allowed;
}

@media (max-width: 1200px) {
  .document-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .document-filter-grid {
    grid-template-columns: 1fr;
  }

  .document-filter-actions {
    grid-column: auto;
  }

  .document-filter-actions .btn {
    flex: 1;
  }

  .document-pagination-footer {
    flex-direction: column;

    align-items: flex-start;
  }
}
/* =========================================================
   AGENDA TERDEKAT
   ========================================================= */
.upcoming-agenda-date {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.upcoming-agenda-date .day {
  font-size: 13px;
  font-weight: 700;
}

.upcoming-agenda-date .month {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: none;
}

.upcoming-agenda-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.upcoming-agenda-meta {
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-secondary);
}

.upcoming-agenda-item .badge {
  font-size: 9px;
}
.upcoming-agenda-wrapper {
  margin-bottom: 18px;
}

.upcoming-agenda-wrapper:last-child {
  margin-bottom: 0;
}

/* =========================================================
   GENDING V2.0
   SIDEBAR SUBMENU
   ========================================================= */

.sidebar-dropdown {
  width: 100%;
}

.sidebar-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.sidebar-dropdown > summary::-webkit-details-marker {
  display: none;
}

.sidebar-dropdown > summary.nav-link {
  display: flex;
  align-items: center;
  width: 100%;
}

.sidebar-dropdown .nav-text {
  flex: 1;
}

.sidebar-dropdown .nav-arrow {
  margin-left: auto;
  font-size: 9px;
}

/* =========================================================
   SIDEBAR SUBMENU
   ========================================================= */

.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  margin: 0;

  transition:
    max-height 0.25s ease,
    opacity 0.2s ease,
    margin 0.2s ease;
}

/* Saat dropdown dibuka */

.sidebar-menu-group.open .sidebar-submenu {
  max-height: 220px;
  opacity: 1;

  margin-top: 5px;
  margin-bottom: 8px;
}

/* Item submenu */

.sidebar-submenu-link {
  position: relative;

  display: flex;
  align-items: center;

  width: calc(100% - 18px);

  min-height: 38px;

  margin-left: 18px;
  margin-right: 0;
  margin-bottom: 2px;

  padding: 8px 12px;

  border-radius: 8px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 12.5px;
  font-weight: 500;

  line-height: 1.35;

  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

/* Hover */

.sidebar-submenu-link:hover {
  background: rgba(255, 255, 255, 0.07);

  color: #ffffff;
}

/* Submenu aktif */

.sidebar-submenu-link.active {
  background: rgba(18, 148, 188, 0.28);

  color: #ffffff;

  font-weight: 600;
}

/* Icon submenu */

.submenu-icon {
  width: 22px;

  flex: 0 0 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-right: 6px;

  font-size: 13px;

  opacity: 0.9;
}

/* =========================================================
   GENDING CALENDAR
   ========================================================= */

.gending-calendar {
  width: 100%;

  background: #ffffff;

  border: 1px solid #e3e8ef;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

/* =========================================================
   TOOLBAR
   ========================================================= */

.gending-calendar-toolbar {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 20px;

  padding: 18px 20px;

  border-bottom: 1px solid #e3e8ef;
}

.calendar-nav {
  display: flex;

  align-items: center;

  gap: 7px;
}

.calendar-month-title {
  color: #073475;

  font-size: 18px;

  font-weight: 800;

  text-align: center;
}

.calendar-summary {
  justify-self: end;

  padding: 7px 12px;

  background: #e8f7f1;

  border-radius: 999px;

  color: #08765a;

  font-size: 10px;

  font-weight: 700;
}

/* =========================================================
   HEADER HARI
   ========================================================= */

.calendar-week-header {
  display: grid !important;

  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;

  background: #f7f9fc;

  border-bottom: 1px solid #e3e8ef;
}

.calendar-week-header > div {
  padding: 12px 8px;

  text-align: center;

  border-right: 1px solid #e3e8ef;

  color: #64748b;

  font-size: 10px;

  font-weight: 700;
}

.calendar-week-header > div:last-child {
  border-right: none;
}

/* =========================================================
   BODY KALENDER
   ========================================================= */

.calendar-days {
  display: grid !important;

  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;

  align-items: stretch;
}

.calendar-day {
  position: relative;

  min-width: 0;

  min-height: 130px;

  padding: 9px;

  background: #ffffff;

  border-right: 1px solid #e3e8ef;

  border-bottom: 1px solid #e3e8ef;
}

/*
Setiap kolom ke-7 tidak perlu
border kanan
*/

.calendar-day:nth-child(7n) {
  border-right: none;
}

.calendar-day:hover {
  background: #fbfdff;
}

.empty-day {
  background: #f8fafc;
}

.today-day {
  background: #f2fbf7;
}

/* =========================================================
   NOMOR TANGGAL
   ========================================================= */

.calendar-day-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  min-height: 28px;

  margin-bottom: 7px;
}

.calendar-number {
  width: 26px;

  height: 26px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  color: #14213d;

  font-size: 11px;

  font-weight: 700;
}

.today-number {
  background: linear-gradient(135deg, #0a4ca5, #10966f);

  color: #ffffff;
}

.agenda-count {
  min-width: 19px;

  height: 19px;

  padding: 0 5px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 999px;

  background: #e8f1ff;

  color: #1756a9;

  font-size: 8px;

  font-weight: 700;
}

/* =========================================================
   DAFTAR AGENDA
   ========================================================= */

.calendar-agenda-list {
  display: flex;

  flex-direction: column;

  gap: 5px;

  min-width: 0;
}

.calendar-agenda {
  display: block;

  width: 100%;

  min-width: 0;

  padding: 6px 7px;

  border-radius: 6px;

  border-left: 3px solid #2463eb;

  background: #edf4ff;

  color: #174a9c;

  text-decoration: none;

  font-size: 8.5px;

  line-height: 1.35;

  overflow: hidden;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.calendar-agenda:hover {
  transform: translateY(-1px);

  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
}

.agenda-time {
  display: inline-block;

  margin-right: 3px;

  font-weight: 800;
}

.agenda-name {
  font-weight: 600;

  word-break: break-word;
}

/* =========================================================
   WARNA STATUS
   ========================================================= */

/* TERJADWAL */

.event-terjadwal {
  background: #edf4ff;

  border-left-color: #2463eb;

  color: #174a9c;
}

/* BERLANGSUNG */

.event-berlangsung {
  background: #e9f8fb;

  border-left-color: #0891b2;

  color: #0e7490;
}

/* SELESAI */

.event-selesai {
  background: #eaf8f1;

  border-left-color: #15966a;

  color: #08754e;
}

/* DITUNDA */

.event-ditunda {
  background: #fff7df;

  border-left-color: #e5a510;

  color: #986300;
}

/* DIBATALKAN */

.event-dibatalkan {
  background: #fff0f1;

  border-left-color: #dc3545;

  color: #b42332;
}

/* =========================================================
   RESPONSIVE CALENDAR
   ========================================================= */

@media (max-width: 1100px) {
  .gending-calendar {
    overflow-x: auto;
  }

  .calendar-week-header,
  .calendar-days {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .gending-calendar-toolbar {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .calendar-month-title {
    order: -1;

    text-align: left;
  }

  .calendar-summary {
    justify-self: start;
  }
}
/* =========================================================
   RENCANA KEGIATAN
   ========================================================= */

.rencana-year-navigation {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin: 20px 0 18px;
}

.rencana-year-heading {
  min-width: 220px;

  display: flex;
  align-items: baseline;
  justify-content: center;

  gap: 5px;

  text-align: center;
}

.rencana-year-heading small {
  font-size: 12px;

  color: var(--text);
}

.rencana-year-heading strong {
  margin: 0;

  font-size: 16px;
  font-weight: 700;

  color: #073b78;
}
/* =========================================================
   TABLE RENCANA KEGIATAN
   ========================================================= */

.rencana-table-scroll {
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scrollbar-width: thin;
}

.rencana-table {
  width: 100%;

  min-width: 1500px;

  border-collapse: collapse;

  background: #ffffff;
}

.rencana-table th,
.rencana-table td {
  border: 1px solid #dce4ee;

  padding: 9px 7px;

  vertical-align: middle;
}

.rencana-table thead th {
  background: #f4f7fb;

  color: #173b67;

  text-align: center;

  font-size: 10px;
  font-weight: 700;

  line-height: 1.3;

  white-space: nowrap;
}

/* Baris Triwulan */

.rencana-table thead tr:first-child th {
  background: #edf3f9;

  font-size: 10px;

  letter-spacing: 0.2px;
}

/* Baris Bulan */

.rencana-table thead tr:nth-child(2) th {
  background: #f7f9fc;

  font-size: 9px;
}

/* =========================================================
   UKURAN KOLOM
   ========================================================= */

.rencana-table .col-no {
  width: 45px;
  min-width: 45px;
}

.rencana-table .col-kegiatan {
  width: 230px;
  min-width: 230px;
}

.rencana-table .col-pj {
  width: 175px;
  min-width: 175px;
}

.rencana-table .col-action {
  width: 65px;
  min-width: 65px;
}

/* Januari - Desember */

.rencana-table thead tr:nth-child(2) th {
  min-width: 75px;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.rencana-empty {
  height: 110px;

  padding: 30px !important;

  text-align: center;

  vertical-align: middle !important;

  color: var(--text-secondary);

  font-size: 12px;
}
/* =========================================================
   FORM RENCANA KEGIATAN
   ========================================================= */

.rencana-form-card {
  max-width: 100%;
}

/* GRID INFORMASI */

.rencana-form-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  padding: 20px 24px 26px;
}

.form-group-full {
  grid-column: 1 / -1;
}

/* HEADER JADWAL */

.rencana-jadwal-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 5px;
}

/* CONTAINER TANGGAL */

.rencana-date-container {
  display: flex;
  flex-direction: column;

  gap: 10px;

  padding: 20px 24px 26px;
}

.rencana-no-date {
  color: #a0aec0;
  font-size: 10px;
}

/* SATU BARIS TANGGAL */

.rencana-date-row {
  display: flex;

  align-items: flex-end;

  gap: 12px;

  padding: 14px;

  background: #f8fafc;

  border: 1px solid var(--border);

  border-radius: 10px;
}

.rencana-date-number {
  width: 34px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 8px;

  background: #eaf2ff;

  color: #0b4c9c;

  font-size: 12px;
  font-weight: 700;
}

.rencana-date-input {
  flex: 1;
}

.rencana-date-input label {
  display: block;

  margin-bottom: 7px;

  font-size: 11px;
  font-weight: 600;

  color: var(--text);
}

/* HAPUS TANGGAL */

.btn-remove-date {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border: 1px solid #fecaca;

  border-radius: 8px;

  background: #fff1f2;

  color: #dc2626;

  font-size: 20px;

  cursor: pointer;

  transition: 0.2s ease;
}

.btn-remove-date:hover {
  background: #fee2e2;

  border-color: #f87171;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .rencana-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }

  .rencana-jadwal-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   RENCANA KEGIATAN - RAPIIKAN ISI TABEL
   ========================================================= */

/* Semua isi tabel */
.rencana-table tbody td {
  font-size: 11px;
  line-height: 1.45;
  color: #334155;
  padding: 10px 8px;
  vertical-align: middle;
}

/* Nomor */
.rencana-table tbody td:first-child {
  font-size: 11px;
  text-align: center;
  color: #64748b;
}

/* Nama kegiatan */
.rencana-table .rencana-name {
  font-size: 11px;
  line-height: 1.45;
  color: #1e293b;
}

.rencana-table .rencana-name strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

/* Keterangan kecil di bawah nama kegiatan */
.rencana-table .rencana-name small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.4;
  color: #64748b;
}

/* Kolom bulan */
.rencana-month-cell {
  text-align: center;
  font-size: 10px !important;
  line-height: 1.4;
}

/* Setiap tanggal */
.rencana-date-item {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  margin-bottom: 4px;
}

/* Nama hari */
.rencana-date-item .rencana-day {
  font-size: 10px;
  font-weight: 500;
}

/* Tanda "-" */
.rencana-no-date {
  font-size: 10px;
  color: #cbd5e1;
}

/* Penanggung jawab */
.rencana-pj {
  font-size: 10px !important;
  line-height: 1.45;
}

/* Header tetap kecil */
.rencana-table thead th {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.rencana-date-item {
  text-align: center;
  margin-bottom: 7px;
}

.rencana-date-item:last-child {
  margin-bottom: 0;
}

.rencana-day {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #334155;
}

.rencana-date {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: #64748b;
  white-space: nowrap;
}

/* =========================================================
   FORM TAMBAH & EDIT RENCANA KEGIATAN
   ========================================================= */

/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

/* =========================================================
   FORM CARD
   ========================================================= */

.rencana-form-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* =========================================================
   FORM SECTION
   ========================================================= */

.form-section-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5eaf0;
}

.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #073b78;
  margin-bottom: 4px;
}

.form-section-description {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* =========================================================
   FORM GRID
   ========================================================= */

.rencana-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-group-full {
  grid-column: 1 / -1;
}

/* =========================================================
   LABEL
   ========================================================= */

.form-group label,
.rencana-date-input label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.required {
  color: #dc2626;
}

/* =========================================================
   INPUT
   ========================================================= */

.form-control {
  width: 100%;
  min-height: 42px;

  padding: 10px 12px;

  border: 1px solid #dbe3ec;
  border-radius: 8px;

  background: #ffffff;
  color: #1f2937;

  font-family: inherit;
  font-size: 13px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-control:hover {
  border-color: #b9c8d8;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.08);
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}

input[type="date"].form-control {
  cursor: pointer;
}

/* =========================================================
   JADWAL RENCANA
   ========================================================= */

.rencana-jadwal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 6px;
  margin-bottom: 18px;
}

/* =========================================================
   CONTAINER TANGGAL
   ========================================================= */

.rencana-date-container {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-bottom: 28px;
}

/* =========================================================
   ROW TANGGAL
   ========================================================= */

.rencana-date-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;

  align-items: end;
  gap: 12px;

  padding: 13px;

  background: #f8fafc;

  border: 1px solid #e4eaf1;
  border-radius: 10px;
}

/* =========================================================
   NOMOR TANGGAL
   ========================================================= */

.rencana-date-number {
  width: 32px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #eaf2ff;
  color: #0b5ed7;

  font-size: 12px;
  font-weight: 700;
}

/* =========================================================
   INPUT TANGGAL
   ========================================================= */

.rencana-date-input {
  min-width: 0;
}

.rencana-date-input label {
  margin-bottom: 6px;
}

/* =========================================================
   BUTTON HAPUS TANGGAL
   ========================================================= */

.btn-remove-date {
  width: 36px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid #fecaca;
  border-radius: 8px;

  background: #fff5f5;
  color: #dc2626;

  font-size: 20px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;

  transition: 0.2s ease;
}

.btn-remove-date:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* =========================================================
   FORM ACTIONS
   ========================================================= */

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;

  padding-top: 20px;

  border-top: 1px solid #e5eaf0;
}

/* =========================================================
   ALERT
   ========================================================= */

.alert {
  width: 100%;

  padding: 12px 14px;

  margin-bottom: 20px;

  border-radius: 8px;

  font-size: 12px;
  line-height: 1.5;
}

.alert-danger {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .rencana-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }
}

@media (max-width: 650px) {
  .page-header-flex {
    flex-direction: column;
  }

  .rencana-form-card {
    padding: 18px;
  }

  .rencana-jadwal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rencana-date-row {
    grid-template-columns: 32px minmax(0, 1fr) 36px;
    gap: 8px;
    padding: 10px;
  }

  .rencana-date-number {
    width: 30px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   DANGER ZONE - HAPUS RENCANA
   ========================================================= */

.danger-zone {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 24px;
  padding: 18px 20px;

  background: #fff7f7;

  border: 1px solid #fecaca;
  border-radius: 10px;
}

.danger-zone-info {
  flex: 1;
}

.danger-zone-title {
  margin-bottom: 4px;

  font-size: 13px;
  font-weight: 700;

  color: #b91c1c;
}

.danger-zone-description {
  max-width: 650px;

  font-size: 11px;
  line-height: 1.5;

  color: #7f1d1d;
}

.btn-danger {
  background: #dc2626;

  color: #ffffff;

  border: 1px solid #dc2626;
}

.btn-danger:hover {
  background: #b91c1c;

  border-color: #b91c1c;
}

@media (max-width: 700px) {
  .danger-zone {
    flex-direction: column;

    align-items: stretch;
  }

  .danger-zone .btn {
    width: 100%;
  }
}

.btn-print-rencana {
  width: 40px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: 2px;

  background: #ffffff;

  border: 1px solid #dbe3ec;
  border-radius: 8px;

  color: #334155;

  font-size: 18px;

  text-decoration: none;

  transition: 0.2s ease;
}

.btn-print-rencana:hover {
  border-color: #0b5ed7;

  color: #0b5ed7;

  background: #f8fbff;
}

/* =========================================================
   MONITORING
   ========================================================= */

/* FILTER */

.monitoring-filter-card {
  width: 100%;

  margin-bottom: 22px;

  padding: 20px 22px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.monitoring-filter-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.monitoring-filter-title {
  font-size: 14px;
  font-weight: 700;

  color: #073b78;

  margin-bottom: 4px;
}

.monitoring-filter-subtitle {
  font-size: 11px;

  color: var(--text-secondary);
}

.monitoring-period-badge {
  padding: 8px 12px;

  border-radius: 999px;

  background: #ecfdf5;

  color: #047857;

  font-size: 10px;
  font-weight: 600;

  white-space: nowrap;
}

.monitoring-filter-form {
  display: grid;

  grid-template-columns:
    1fr
    1fr
    1fr
    auto;

  align-items: end;

  gap: 14px;
}

.monitoring-filter-actions {
  display: flex;

  align-items: center;

  gap: 8px;
}

/* =========================================================
   STATS
   ========================================================= */

.monitoring-stats-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 22px;
}

.monitoring-stat-card {
  min-height: 130px;

  padding: 18px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.monitoring-stat-icon {
  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 16px;

  border-radius: 10px;

  font-size: 18px;
}

.monitoring-stat-icon.blue {
  background: #eaf2ff;
}

.monitoring-stat-icon.green {
  background: #e8f8f1;
}

.monitoring-stat-icon.red {
  background: #fff0f0;
}

.monitoring-stat-icon.gold {
  background: #fff7d6;
}

.monitoring-stat-number {
  margin-bottom: 4px;

  color: #0b2545;

  font-size: 25px;
  font-weight: 700;
}

.monitoring-stat-label {
  font-size: 11px;

  color: var(--text-secondary);
}

/* =========================================================
   TABLE CARD
   ========================================================= */

.monitoring-table-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.monitoring-table-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 22px;

  border-bottom: 1px solid var(--border);
}

.monitoring-table-title {
  margin-bottom: 3px;

  font-size: 14px;
  font-weight: 700;

  color: #073b78;
}

.monitoring-table-description {
  font-size: 10px;

  color: var(--text-secondary);
}

.monitoring-result-count {
  padding: 7px 11px;

  border-radius: 999px;

  background: #eef4fb;

  color: #31587f;

  font-size: 10px;
  font-weight: 600;
}

/* =========================================================
   TABLE
   ========================================================= */

.monitoring-table-scroll {
  width: 100%;

  overflow-x: auto;
}

.monitoring-table {
  width: 100%;

  min-width: 1250px;

  border-collapse: collapse;

  background: #ffffff;
}

.monitoring-table th {
  padding: 11px 10px;

  background: #f5f8fc;

  border-bottom: 1px solid #dce4ee;

  color: #526b87;

  font-size: 9px;
  font-weight: 700;

  text-align: center;

  white-space: nowrap;
}

.monitoring-table td {
  padding: 12px 10px;

  border-bottom: 1px solid #edf1f5;

  color: #334155;

  font-size: 10px;

  vertical-align: middle;
}

.monitoring-table tbody tr:hover {
  background: #fafcff;
}

.monitoring-no {
  width: 45px;

  text-align: center;
}

.monitoring-kegiatan {
  min-width: 260px;
}

.monitoring-nama {
  color: #172b4d;

  font-size: 10px;
  font-weight: 600;

  line-height: 1.5;
}

.monitoring-center {
  text-align: center;
}

/* =========================================================
   CHECK / CROSS
   ========================================================= */

.monitoring-check,
.monitoring-cross,
.monitoring-support-check {
  width: 24px;
  height: 24px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 12px;
  font-weight: 700;
}

.monitoring-check {
  background: #e8f8f1;

  color: #059669;
}

.monitoring-cross {
  background: #fff0f0;

  color: #dc2626;
}

.monitoring-support-check {
  background: #eef4ff;

  color: #2563eb;
}

.monitoring-support-empty {
  color: #cbd5e1;

  font-size: 12px;
}

/* =========================================================
   PROGRESS
   ========================================================= */

.monitoring-progress-cell {
  min-width: 130px;
}

.monitoring-progress-value {
  margin-bottom: 5px;

  color: #173b67;

  font-size: 11px;
  font-weight: 700;
}

.monitoring-progress {
  width: 100%;
  height: 6px;

  background: #e8eef5;

  border-radius: 999px;

  overflow: hidden;
}

.monitoring-progress-bar {
  height: 100%;

  background: linear-gradient(90deg, #0b5ed7, #15966b);

  border-radius: 999px;
}

.monitoring-progress-detail {
  margin-top: 4px;

  color: #94a3b8;

  font-size: 8px;
}

/* =========================================================
   STATUS
   ========================================================= */

.monitoring-status {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;

  white-space: nowrap;
}

.monitoring-status.complete {
  background: #e8f8f1;

  color: #047857;
}

.monitoring-status.incomplete {
  background: #fff7d6;

  color: #a16207;
}

/* =========================================================
   EMPTY
   ========================================================= */

.monitoring-empty {
  padding: 45px !important;

  text-align: center;

  color: var(--text-secondary);

  font-size: 11px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .monitoring-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monitoring-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .monitoring-filter-header {
    flex-direction: column;
  }

  .monitoring-filter-form {
    grid-template-columns: 1fr;
  }

  .monitoring-filter-actions {
    width: 100%;
  }

  .monitoring-filter-actions .btn {
    flex: 1;
  }

  .monitoring-stats-grid {
    grid-template-columns: 1fr;
  }

  .monitoring-table-header {
    align-items: flex-start;

    flex-direction: column;
  }
}
/* =========================================================
   FILTER ACTION
   ========================================================= */

.monitoring-action-group {
  display: flex;
  flex-direction: column;
}

.monitoring-action-label {
  visibility: hidden;
}

.monitoring-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitoring-filter-actions .btn {
  height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}
.monitoring-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  border-radius: 50%;
}

.monitoring-document-link:hover .monitoring-check,
.monitoring-document-link:hover .monitoring-cross,
.monitoring-document-link:hover .monitoring-support-check {
  transform: scale(1.12);
}

.monitoring-check,
.monitoring-cross,
.monitoring-support-check {
  transition: 0.15s ease;
}

.monitoring-status-cell {
  min-width: 115px;
  text-align: center;
}

.monitoring-stat-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.monitoring-stat-link .monitoring-stat-card {
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.monitoring-stat-link:hover .monitoring-stat-card {
  transform: translateY(-2px);

  border-color: #c9d8e8;

  box-shadow: 0 8px 20px rgba(15, 45, 80, 0.08);
}
/* =========================================================
   LAPORAN
   ========================================================= */

/* FILTER */

.laporan-filter-card {
  width: 100%;

  margin-bottom: 22px;
  padding: 20px 22px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.laporan-filter-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.laporan-filter-title {
  margin-bottom: 4px;

  color: #073b78;

  font-size: 14px;
  font-weight: 700;
}

.laporan-filter-subtitle {
  color: var(--text-secondary);

  font-size: 11px;
}

.laporan-period-badge {
  padding: 8px 12px;

  background: #ecfdf5;

  border-radius: 999px;

  color: #047857;

  font-size: 10px;
  font-weight: 600;

  white-space: nowrap;
}

.laporan-filter-form {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    auto;

  align-items: end;

  gap: 14px;
}

.laporan-action-label {
  visibility: hidden;
}

.laporan-filter-actions {
  display: flex;
  align-items: center;

  gap: 8px;
}

.laporan-filter-actions .btn {
  height: 44px;

  white-space: nowrap;
}

/* =========================================================
   STATISTICS
   ========================================================= */

.laporan-stats-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 22px;
}

.laporan-stat-card {
  min-height: 125px;

  padding: 18px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.laporan-stat-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;

  border-radius: 10px;

  font-size: 17px;
}

.laporan-stat-icon.blue {
  background: #eaf2ff;
}

.laporan-stat-icon.green {
  background: #e8f8f1;
}

.laporan-stat-icon.red {
  background: #fff0f0;
}

.laporan-stat-icon.gold {
  background: #fff7d6;
}

.laporan-stat-number {
  margin-bottom: 4px;

  color: #0b2545;

  font-size: 24px;
  font-weight: 700;
}

.laporan-stat-label {
  color: var(--text-secondary);

  font-size: 11px;
}

/* =========================================================
   TABLE CARD
   ========================================================= */

.laporan-table-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.laporan-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 22px;

  border-bottom: 1px solid var(--border);
}

.laporan-table-title {
  margin-bottom: 3px;

  color: #073b78;

  font-size: 14px;
  font-weight: 700;
}

.laporan-table-description {
  color: var(--text-secondary);

  font-size: 10px;
}

.laporan-result-count {
  padding: 7px 11px;

  background: #eef4fb;

  border-radius: 999px;

  color: #31587f;

  font-size: 10px;
  font-weight: 600;
}

/* =========================================================
   TABLE
   ========================================================= */

.laporan-table-scroll {
  width: 100%;

  overflow-x: auto;
}

.laporan-table {
  width: 100%;

  min-width: 1150px;

  border-collapse: collapse;

  background: #ffffff;
}

.laporan-table th {
  padding: 11px 10px;

  background: #f5f8fc;

  border-bottom: 1px solid #dce4ee;

  color: #526b87;

  font-size: 9px;
  font-weight: 700;

  text-align: center;

  white-space: nowrap;
}

.laporan-table td {
  padding: 12px 10px;

  border-bottom: 1px solid #edf1f5;

  color: #334155;

  font-size: 10px;

  vertical-align: middle;
}

.laporan-table tbody tr:hover {
  background: #fafcff;
}

.laporan-no {
  width: 45px;

  text-align: center;
}

.laporan-kegiatan {
  min-width: 250px;

  color: #172b4d !important;

  font-size: 10px !important;
  font-weight: 600;

  line-height: 1.5;
}

.laporan-center {
  text-align: center;
}

/* =========================================================
   PROGRESS
   ========================================================= */

.laporan-progress-cell {
  min-width: 120px;
}

.laporan-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-bottom: 5px;
}

.laporan-progress-top strong {
  color: #173b67;

  font-size: 10px;
}

.laporan-progress-top span {
  color: #94a3b8;

  font-size: 8px;
}

.laporan-progress {
  width: 100%;
  height: 6px;

  background: #e8eef5;

  border-radius: 999px;

  overflow: hidden;
}

.laporan-progress-bar {
  height: 100%;

  background: linear-gradient(90deg, #0b5ed7, #15966b);

  border-radius: 999px;
}

/* =========================================================
   STATUS
   ========================================================= */

.laporan-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;

  white-space: nowrap;
}

.laporan-status.complete {
  background: #e8f8f1;

  color: #047857;
}

.laporan-status.incomplete {
  background: #fff7d6;

  color: #a16207;
}

/* =========================================================
   EMPTY
   ========================================================= */

.laporan-empty {
  padding: 45px !important;

  text-align: center;

  color: var(--text-secondary);

  font-size: 11px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .laporan-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .laporan-filter-header {
    flex-direction: column;
  }

  .laporan-filter-form {
    grid-template-columns: 1fr;
  }

  .laporan-filter-actions {
    width: 100%;
  }

  .laporan-filter-actions .btn {
    flex: 1;
  }

  .laporan-stats-grid {
    grid-template-columns: 1fr;
  }

  .laporan-table-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   SETTING
   ========================================================= */

.setting-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  max-width: 900px;
}

.setting-card {
  padding: 22px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.setting-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(15, 45, 80, 0.08);
}

.setting-card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}

.setting-icon {
  width: 46px;
  height: 46px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #eef4ff;

  border-radius: 11px;

  font-size: 19px;
}

.setting-count {
  color: #073b78;

  font-size: 24px;
  font-weight: 700;
}

.setting-title {
  margin-bottom: 6px;

  color: #102a4c;

  font-size: 15px;
  font-weight: 700;
}

.setting-description {
  min-height: 42px;

  color: var(--text-secondary);

  font-size: 11px;
  line-height: 1.55;
}

.setting-card-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  margin-top: 20px;
  padding-top: 16px;

  border-top: 1px solid #edf1f5;
}

.setting-status {
  padding: 6px 10px;

  background: #ecfdf5;

  border-radius: 999px;

  color: #047857;

  font-size: 9px;
  font-weight: 600;
}

@media (max-width: 750px) {
  .setting-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MASTER DATA SETTING
   ========================================================= */

.master-stats-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 20px;
}

.master-stat-card {
  padding: 18px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.master-stat-icon {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 12px;

  border-radius: 9px;

  font-size: 16px;
}

.master-stat-icon.blue {
  background: #eef4ff;
}

.master-stat-icon.green {
  background: #e8f8f1;

  color: #059669;
}

.master-stat-icon.red {
  background: #fff0f0;

  color: #dc2626;
}

.master-stat-value {
  margin-bottom: 3px;

  color: #0b2545;

  font-size: 22px;
  font-weight: 700;
}

.master-stat-label {
  color: var(--text-secondary);

  font-size: 10px;
}

/* FILTER */

.master-filter-card {
  margin-bottom: 20px;

  padding: 18px 20px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.master-filter-form {
  display: grid;

  grid-template-columns:
    2fr
    1fr
    auto;

  align-items: end;

  gap: 14px;
}

.master-action-label {
  visibility: hidden;
}

.master-filter-actions {
  display: flex;

  gap: 8px;
}

.master-filter-actions .btn {
  height: 44px;

  white-space: nowrap;
}

/* TABLE */

.master-table-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.master-table-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 22px;

  border-bottom: 1px solid var(--border);
}

.master-table-title {
  margin-bottom: 3px;

  color: #073b78;

  font-size: 14px;
  font-weight: 700;
}

.master-table-description {
  color: var(--text-secondary);

  font-size: 10px;
}

.master-result-count {
  padding: 7px 11px;

  background: #eef4fb;

  border-radius: 999px;

  color: #31587f;

  font-size: 10px;
  font-weight: 600;
}

.master-table-scroll {
  width: 100%;

  overflow-x: auto;
}

.master-table {
  width: 100%;

  min-width: 700px;

  border-collapse: collapse;
}

.master-table th {
  padding: 11px 10px;

  background: #f5f8fc;

  border-bottom: 1px solid #dce4ee;

  color: #526b87;

  font-size: 9px;
  font-weight: 700;

  text-align: center;
}

.master-table td {
  padding: 12px 14px;

  border-bottom: 1px solid #edf1f5;

  color: #334155;

  font-size: 10px;

  vertical-align: middle;
}

.master-table tbody tr:hover {
  background: #fafcff;
}

.master-no {
  width: 50px;

  text-align: center;
}

.master-center {
  text-align: center;
}

/* PERSON */

.master-person {
  display: flex;

  align-items: center;

  gap: 10px;
}

.master-avatar {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #0b5ed7, #15966b);

  border-radius: 50%;

  color: #ffffff;

  font-size: 11px;
  font-weight: 700;
}

.master-person-name {
  color: #172b4d;

  font-size: 11px;
  font-weight: 600;
}

.master-person-caption {
  margin-top: 2px;

  color: #94a3b8;

  font-size: 8px;
}

/* STATUS */

.master-status {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;
}

.master-status.active {
  background: #e8f8f1;

  color: #047857;
}

.master-status.inactive {
  background: #f1f5f9;

  color: #64748b;
}

.master-empty {
  padding: 45px !important;

  text-align: center;

  color: var(--text-secondary);
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .master-stats-grid {
    grid-template-columns: 1fr;
  }

  .master-filter-form {
    grid-template-columns: 1fr;
  }

  .master-filter-actions {
    width: 100%;
  }

  .master-filter-actions .btn {
    flex: 1;
  }
}

/* =========================================================
   MASTER DATA FORM
   ========================================================= */

.master-form-card {
  width: 100%;
  max-width: 760px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.master-form-header {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 20px 22px;

  border-bottom: 1px solid #edf1f5;
}

.master-form-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #eef4ff;

  border-radius: 10px;

  font-size: 18px;
}

.master-form-title {
  margin-bottom: 3px;

  color: #073b78;

  font-size: 14px;
  font-weight: 700;
}

.master-form-description {
  color: var(--text-secondary);

  font-size: 10px;
}

.master-form-body {
  padding: 22px;
}

.master-form-body .form-group {
  margin-bottom: 18px;
}

.master-form-body label {
  display: block;

  margin-bottom: 7px;

  color: #17324d;

  font-size: 11px;
  font-weight: 600;
}

.master-form-body .form-control {
  width: 100%;

  min-height: 44px;
}

.master-form-body .form-help {
  margin-top: 6px;

  color: #94a3b8;

  font-size: 9px;
  line-height: 1.5;
}

.master-form-body .required {
  color: #dc2626;
}

.master-form-actions {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  margin-top: 26px;
  padding-top: 18px;

  border-top: 1px solid #edf1f5;
}

@media (max-width: 650px) {
  .master-form-actions {
    flex-direction: column-reverse;
  }

  .master-form-actions .btn {
    width: 100%;
  }
}
/* =========================================================
   MASTER EDIT INFO
   ========================================================= */

.master-edit-info {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 6px;
  padding: 14px 16px;

  background: #f8fafc;

  border: 1px solid #edf1f5;
  border-radius: 10px;
}

.master-edit-info > div {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.master-edit-info span {
  color: #94a3b8;

  font-size: 8px;
}

.master-edit-info strong {
  color: #475569;

  font-size: 9px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .master-edit-info {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   USERS
   ========================================================= */

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 20px;
}

.user-stat-card {
  display: flex;
  align-items: center;

  gap: 14px;

  padding: 20px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

.user-stat-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 12px;

  font-size: 17px;
}

.user-stat-icon.blue {
  background: #edf4ff;
}

.user-stat-icon.green {
  background: #eaf8f1;

  color: #059669;
}

.user-stat-icon.red {
  background: #fff0f0;

  color: #dc2626;
}

.user-stat-value {
  color: #073b78;

  font-size: 24px;
  font-weight: 700;

  line-height: 1;
}

.user-stat-label {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 11px;
}

/* =========================================================
   USER FILTER
   ========================================================= */

.user-filter-card {
  margin-bottom: 20px;

  padding: 18px 20px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.user-filter-form {
  display: grid;

  grid-template-columns:
    minmax(240px, 1.5fr)
    minmax(180px, 1fr)
    minmax(170px, 0.8fr)
    auto;

  align-items: end;

  gap: 14px;
}

.user-filter-form .form-group {
  margin-bottom: 0;
}

.user-filter-action {
  display: flex;

  align-items: center;

  gap: 8px;
}

/* =========================================================
   USER TABLE
   ========================================================= */

.user-table-card {
  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

.user-table-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 22px;

  border-bottom: 1px solid var(--border);
}

.user-table-title {
  color: #0b376e;

  font-size: 14px;
  font-weight: 700;
}

.user-table-description {
  margin-top: 4px;

  color: var(--text-secondary);

  font-size: 10px;
}

.user-result-count {
  padding: 7px 11px;

  border-radius: 999px;

  background: #eef4fb;

  color: #46627f;

  font-size: 10px;
}

.user-table-scroll {
  width: 100%;

  overflow-x: auto;
}

.user-table {
  width: 100%;

  min-width: 1000px;

  border-collapse: collapse;
}

.user-table th {
  padding: 12px 16px;

  background: #f5f8fc;

  border-bottom: 1px solid var(--border);

  color: #5c7088;

  text-align: left;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.2px;
}

.user-table td {
  padding: 14px 16px;

  border-bottom: 1px solid #edf1f5;

  color: #233b55;

  font-size: 11px;

  vertical-align: middle;
}

.user-table tbody tr:last-child td {
  border-bottom: none;
}

.user-table tbody tr:hover {
  background: #fbfdff;
}

.user-no {
  width: 40px;

  text-align: center;
}

/* =========================================================
   USER PERSON
   ========================================================= */

.user-person {
  display: flex;

  align-items: center;

  gap: 10px;
}

.user-list-avatar {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: linear-gradient(135deg, #0f8069, #0955b4);

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;
}

.user-list-name {
  color: #122f50;

  font-size: 11px;
  font-weight: 600;
}

.user-list-caption {
  margin-top: 2px;

  color: #9aa8b8;

  font-size: 8px;
}

.user-username {
  color: #0b57b3;

  font-weight: 600;
}

/* =========================================================
   ROLE BADGE
   ========================================================= */

.user-role-badge {
  display: inline-flex;

  align-items: center;

  padding: 6px 9px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;

  white-space: nowrap;
}

.user-role-badge.administrator {
  background: #e8efff;

  color: #194b9c;
}

.user-role-badge.kepegawaian {
  background: #e9f8f2;

  color: #08775b;
}

.user-role-badge.perencanaan {
  background: #eef0ff;

  color: #5753a8;
}

.user-role-badge.notulis {
  background: #fff4df;

  color: #a15b00;
}

.user-role-badge.pimpinan {
  background: #f4ecff;

  color: #7244a3;
}

.user-role-badge.aparatur {
  background: #edf2f7;

  color: #5d6877;
}

/* =========================================================
   USER STATUS
   ========================================================= */

.user-status {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 6px 9px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;
}

.user-status.active {
  background: #e9f8f1;

  color: #08785b;
}

.user-status.active .status-dot {
  background: #10a772;
}

.user-status.inactive {
  background: #fff0f0;

  color: #b93636;
}

.user-status.inactive .status-dot {
  background: #e34a4a;
}

/* =========================================================
   ACTION
   ========================================================= */

.user-actions {
  display: flex;

  align-items: center;

  gap: 7px;

  white-space: nowrap;
}

.btn-danger-soft {
  background: #fff0f0;

  border: 1px solid #ffd3d3;

  color: #c53030;
}

.btn-danger-soft:hover {
  background: #ffe5e5;
}

.btn-success-soft {
  background: #eaf8f1;

  border: 1px solid #cceedd;

  color: #08775b;
}

.btn-success-soft:hover {
  background: #dff4e9;
}

.user-self-label {
  display: inline-flex;

  padding: 6px 9px;

  border-radius: 999px;

  background: #f3f6fa;

  color: #8090a1;

  font-size: 9px;
}

/* =========================================================
   EMPTY
   ========================================================= */

.user-empty {
  padding: 50px 20px !important;

  color: var(--text-secondary) !important;

  text-align: center;

  font-size: 11px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .user-stats-grid {
    grid-template-columns: 1fr;
  }

  .user-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .user-filter-form {
    grid-template-columns: 1fr;
  }

  .user-filter-action {
    width: 100%;
  }

  .user-filter-action .btn {
    flex: 1;
  }
}

/* =========================================================
   USERS PAGE
   ========================================================= */

.users-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.users-summary-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(20, 46, 76, 0.04);
}

.users-summary-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  font-size: 18px;
}

.users-summary-icon.blue {
  background: #eaf1ff;
}

.users-summary-icon.green {
  background: #e8f8f1;
  color: #0d8b68;
}

.users-summary-icon.red {
  background: #fff0f0;
  color: #d34444;
}

.users-summary-number {
  color: #082f68;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.users-summary-label {
  margin-top: 7px;
  color: #6c8098;
  font-size: 11px;
}

/* =========================================================
   FILTER
   ========================================================= */

.users-filter-card {
  margin-bottom: 20px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(20, 46, 76, 0.035);
}

.users-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.5fr)
    minmax(200px, 1fr)
    minmax(180px, 0.9fr)
    auto;
  align-items: end;
  gap: 14px;
}

.users-filter-grid .form-group {
  margin-bottom: 0;
}

.users-filter-grid label {
  display: block;
  margin-bottom: 7px;
  color: #243f5e;
  font-size: 11px;
  font-weight: 600;
}

.users-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   TABLE
   ========================================================= */

.users-table-card {
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 46, 76, 0.035);
}

.users-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid #e4ebf2;
}

.users-table-title {
  color: #082f68;
  font-size: 14px;
  font-weight: 700;
}

.users-table-subtitle {
  margin-top: 4px;
  color: #7a8ba0;
  font-size: 10px;
}

.users-table-count {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4fb;
  color: #58708c;
  font-size: 10px;
}

.users-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.users-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: auto;
}

.users-table thead th {
  padding: 12px 16px;
  background: #f5f8fc;
  border-bottom: 1px solid #dfe7f0;
  color: #60758e;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.users-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f5;
  color: #273f59;
  font-size: 11px;
  vertical-align: middle;
}

.users-table tbody tr:last-child td {
  border-bottom: none;
}

.users-table tbody tr:hover {
  background: #fbfdff;
}

.users-col-no {
  width: 45px;
  text-align: center;
}

/* =========================================================
   USER
   ========================================================= */

.users-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.users-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #10886d, #0b60be);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.users-name {
  color: #102f51;
  font-size: 11px;
  font-weight: 600;
}

.users-id {
  margin-top: 2px;
  color: #98a6b5;
  font-size: 8px;
}

.users-username {
  color: #0b58b6;
  font-weight: 600;
}

/* =========================================================
   ROLE BADGE
   ========================================================= */

.users-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.users-role-badge.administrator {
  background: #eaf0ff;
  color: #2855a3;
}

.users-role-badge.kepegawaian {
  background: #e7f7f0;
  color: #08745a;
}

.users-role-badge.perencanaan {
  background: #efefff;
  color: #5750a4;
}

.users-role-badge.notulis {
  background: #fff3dd;
  color: #a35f00;
}

.users-role-badge.pimpinan {
  background: #f4eaff;
  color: #7340a0;
}

.users-role-badge.aparatur {
  background: #edf1f5;
  color: #626f7d;
}

/* =========================================================
   STATUS
   ========================================================= */

.users-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.users-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.users-status.active {
  background: #e8f8f1;
  color: #08765a;
}

.users-status.active .users-status-dot {
  background: #10a474;
}

.users-status.inactive {
  background: #fff0f0;
  color: #bd3838;
}

.users-status.inactive .users-status-dot {
  background: #dc4b4b;
}

/* =========================================================
   ACTION
   ========================================================= */

.users-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.users-btn-danger {
  background: #fff0f0;
  border: 1px solid #ffd6d6;
  color: #c23636;
}

.users-btn-danger:hover {
  background: #ffe5e5;
}

.users-btn-success {
  background: #e8f8f1;
  border: 1px solid #ccecdf;
  color: #08765a;
}

.users-btn-success:hover {
  background: #def4e9;
}

.users-self {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #7d8b9b;
  font-size: 9px;
}

.users-empty {
  padding: 50px 20px !important;
  color: #8291a2 !important;
  text-align: center;
  font-size: 11px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .users-summary-grid {
    grid-template-columns: 1fr;
  }

  .users-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .users-filter-grid {
    grid-template-columns: 1fr;
  }

  .users-filter-actions {
    width: 100%;
  }

  .users-filter-actions .btn {
    flex: 1;
  }
}

/* =========================================================
   USER FORM
   ========================================================= */

.users-form-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 46, 76, 0.035);
}

.users-form-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e5ebf2;
}

.users-form-title {
  color: #082f68;
  font-size: 15px;
  font-weight: 700;
}

.users-form-subtitle {
  margin-top: 4px;
  color: #7c8da1;
  font-size: 10px;
}

.users-form-body {
  padding: 24px;
}

.users-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.users-form-full {
  grid-column: 1 / -1;
}

.users-form-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  background: #f5f9ff;
  border: 1px solid #dde9f8;
  border-radius: 10px;
}

.users-form-note-icon {
  font-size: 18px;
}

.users-form-note strong {
  color: #173f70;
  font-size: 11px;
}

.users-form-note p {
  margin: 3px 0 0;
  color: #73869e;
  font-size: 10px;
  line-height: 1.5;
}

.users-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #edf1f5;
}

@media (max-width: 700px) {
  .users-form-grid {
    grid-template-columns: 1fr;
  }

  .users-form-full {
    grid-column: auto;
  }
}

.document-readonly-note {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f3f6f9;
  color: #8a99aa;
  font-size: 10px;
}
/* =========================================================
   MERGE PDF BUTTON
   ========================================================= */

.btn-merge-pdf {
  width: auto !important;
  min-width: max-content !important;

  padding: 8px 12px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  white-space: nowrap;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;

  border-radius: 8px;
}
/* =========================================================
   DOKUMENTASI LENGKAP - HELPER TEXT
   ========================================================= */

.drive-helper-text {
  margin-top: 7px;

  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;

  color: #7a8ba0;
}

.documentation-link-title {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}

.documentation-link-description {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}

/* =========================================================
   SIDEBAR BRAND
   ========================================================= */

.sidebar-brand {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 14px 22px;

  min-height: 65px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-logo {
  width: 54px;
  height: 54px;

  object-fit: contain;

  flex-shrink: 0;
}

.sidebar-brand-text {
  color: #ffffff;

  font-size: 18px;
  font-weight: 700;

  letter-spacing: 0.5px;
}

/* =========================================================
   SIDEBAR MENU
   ========================================================= */

.sidebar-menu {
  padding: 12px 14px 70px;
}

.sidebar-section-title {
  margin: 12px 12px 6px;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.2px;

  color: rgba(255, 255, 255, 0.5);

  text-transform: uppercase;
}

.nav-link {
  min-height: 42px;

  display: flex;
  align-items: center;

  gap: 10px;

  width: 100%;

  padding: 9px 14px;

  margin-bottom: 3px;

  border-radius: 10px;

  border: 0;

  background: transparent;

  color: rgba(255, 255, 255, 0.82);

  font-size: 13px;

  text-decoration: none;

  cursor: pointer;

  transition: 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-link.active {
  background: linear-gradient(90deg, #0d9b7c, #1477d4);

  color: #ffffff;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nav-icon {
  width: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  font-size: 15px;
}

.nav-text {
  flex: 1;
}

/* =========================================================
   SIDEBAR DROPDOWN
   ========================================================= */

.sidebar-dropdown-toggle {
  text-align: left;
}

.sidebar-chevron {
  margin-left: auto;

  font-size: 18px;

  transform: rotate(0deg);

  transition: transform 0.2s ease;
}

.sidebar-menu-group.open .sidebar-chevron {
  transform: rotate(90deg);
}

/* SUBMENU */

.sidebar-submenu {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.25s ease,
    opacity 0.2s ease;
}

.sidebar-menu-group.open .sidebar-submenu {
  max-height: 180px;

  opacity: 1;

  margin-top: 3px;
  margin-bottom: 6px;
}

.sidebar-submenu-link {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-left: 30px;
  margin-right: 4px;

  padding: 8px 10px;

  border-radius: 8px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 11px;

  text-decoration: none;

  transition: 0.2s ease;
}

.sidebar-submenu-link:hover {
  background: rgba(255, 255, 255, 0.07);

  color: #ffffff;
}

.sidebar-submenu-link.active {
  background: rgba(22, 150, 180, 0.25);

  color: #ffffff;

  font-weight: 600;
}

.submenu-icon {
  width: 16px;

  display: flex;
  justify-content: center;

  font-size: 11px;

  opacity: 0.85;
}

/* =========================================================
   MONITORING NOTULIS
   ========================================================= */

.monitoring-notulis-filter {
  margin-bottom: 18px;
}

.monitoring-notulis-filter-grid {
  display: grid;

  grid-template-columns:
    minmax(200px, 1fr)
    minmax(200px, 1fr)
    auto;

  align-items: end;

  gap: 14px;
}

.monitoring-notulis-filter-grid .form-group {
  margin-bottom: 0;
}

.monitoring-notulis-filter-actions {
  display: flex;
  align-items: center;

  gap: 8px;
}

/* SUMMARY */

.monitoring-notulis-summary {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 18px;
}

.monitoring-notulis-summary-card {
  display: flex;
  align-items: center;

  gap: 13px;

  min-height: 105px;

  padding: 18px 20px;

  background: #ffffff;

  border: 1px solid #dfe7f0;
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(20, 46, 76, 0.035);
}

.monitoring-notulis-summary-icon {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 12px;

  font-size: 17px;
}

.monitoring-notulis-summary-icon.blue {
  background: #eaf1ff;
}

.monitoring-notulis-summary-icon.purple {
  background: #f2edff;
}

.monitoring-notulis-summary-icon.green {
  background: #e7f8f1;
  color: #07815f;
}

.monitoring-notulis-summary-icon.red {
  background: #fff0f0;
  color: #cf4040;
}

.monitoring-notulis-summary-number {
  color: #082f68;

  font-size: 24px;
  font-weight: 800;

  line-height: 1;
}

.monitoring-notulis-summary-label {
  margin-top: 7px;

  color: #75889e;

  font-size: 10px;
}

/* TABLE */

.monitoring-notulis-table-wrapper {
  width: 100%;

  overflow-x: auto;
}

.monitoring-notulis-table {
  width: 100%;

  min-width: 1100px;

  border-collapse: collapse;
}

.monitoring-notulis-table thead th {
  padding: 12px 14px;

  background: #f5f8fc;

  border-bottom: 1px solid #dfe7f0;

  color: #60758e;

  font-size: 9px;
  font-weight: 700;

  text-align: left;
}

.monitoring-notulis-table tbody td {
  padding: 14px;

  border-bottom: 1px solid #edf1f5;

  color: #273f59;

  font-size: 11px;

  vertical-align: middle;
}

.monitoring-notulis-table tbody tr:last-child td {
  border-bottom: none;
}

.monitoring-notulis-table tbody tr:hover {
  background: #fbfdff;
}

/* PROGRESS */

.monitoring-notulis-progress {
  min-width: 120px;
}

.monitoring-notulis-progress strong {
  display: block;

  margin-bottom: 5px;

  color: #073b78;

  font-size: 11px;
}

.monitoring-notulis-progress .progress {
  height: 6px;
}

/* FOLLOW UP */

.monitoring-notulis-followup {
  margin-top: 18px;
}

.monitoring-notulis-followup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 13px 0;

  border-bottom: 1px solid #edf1f5;
}

.monitoring-notulis-followup-item:first-child {
  padding-top: 0;
}

.monitoring-notulis-followup-item:last-child {
  padding-bottom: 0;

  border-bottom: none;
}

.monitoring-notulis-followup-title {
  color: #173957;

  font-size: 11px;
  font-weight: 600;
}

.monitoring-notulis-followup-meta {
  margin-top: 4px;

  color: #8595a8;

  font-size: 9px;
}

.monitoring-notulis-empty {
  padding: 20px;

  color: #8090a2;

  font-size: 11px;

  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .monitoring-notulis-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .monitoring-notulis-filter-grid {
    grid-template-columns: 1fr;
  }

  .monitoring-notulis-summary {
    grid-template-columns: 1fr;
  }

  .monitoring-notulis-filter-actions {
    width: 100%;
  }
}

/* =========================================================
   NOTIFICATION
   ========================================================= */

.notification-wrapper {
  position: relative;
}

.notification-button {
  position: relative;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dfe7f0;
  border-radius: 50%;

  background: #ffffff;

  font-size: 15px;

  cursor: pointer;
}

.notification-button:hover {
  background: #f6f9fc;
}

/* BADGE */

.notification-badge {
  position: absolute;

  top: -3px;
  right: -3px;

  min-width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 5px;

  border: 2px solid #ffffff;
  border-radius: 999px;

  background: #e54848;

  color: #ffffff;

  font-size: 8px;
  font-weight: 700;
}

/* DROPDOWN */

.notification-dropdown {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  width: 360px;

  display: none;

  background: #ffffff;

  border: 1px solid #dfe7f0;
  border-radius: 14px;

  box-shadow: 0 16px 40px rgba(18, 48, 79, 0.14);

  overflow: hidden;

  z-index: 9999;
}

.notification-dropdown.show {
  display: block;
}

/* HEADER */

.notification-header {
  padding: 15px 17px;

  border-bottom: 1px solid #edf1f5;
}

.notification-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}

.notification-header strong {
  color: #173957;

  font-size: 13px;
}

.notification-header span {
  color: #8798aa;

  font-size: 9px;
}

/* ITEM */

.notification-list {
  max-height: 380px;

  overflow-y: auto;
}

.notification-item {
  display: flex;

  gap: 11px;

  padding: 14px 17px;

  border-bottom: 1px solid #edf1f5;

  text-decoration: none;

  transition: 0.2s ease;
}

.notification-item:hover {
  background: #f8fbff;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 9px;

  background: #fff3e5;

  font-size: 14px;
}

.notification-item-content {
  min-width: 0;
}

.notification-item-title {
  color: #b65d00;

  font-size: 9px;
  font-weight: 700;
}

.notification-item-name {
  margin-top: 3px;

  color: #153754;

  font-size: 11px;
  font-weight: 600;

  line-height: 1.4;
}

.notification-item-description {
  margin-top: 4px;

  color: #76899e;

  font-size: 9px;
  line-height: 1.45;
}

.notification-item-date {
  margin-top: 5px;

  color: #a1adba;

  font-size: 8px;
}

/* EMPTY */

.notification-empty {
  padding: 30px 18px;

  color: #788a9e;

  font-size: 10px;

  text-align: center;
}

/* FOOTER */

.notification-footer {
  padding: 11px 15px;

  border-top: 1px solid #edf1f5;

  background: #f8fafc;

  color: #75889d;

  font-size: 9px;

  text-align: center;
}

/* =========================================================
   NOTIFICATION - RENCANA KEGIATAN
   ========================================================= */

.notification-icon-calendar {
  background: #eaf1ff;
}

.notification-title-rencana {
  color: #155ab6;
}

.notification-item-rencana:hover {
  background: #f5f9ff;
}

.notification-item-action {
  margin-top: 6px;

  color: #0d5eb8;

  font-size: 9px;
  font-weight: 700;
}

/* =========================================================
   RENCANA KERJA - DOKUMEN FINAL
   ========================================================= */

.rencana-document-card {
  margin: 18px 0 22px;
  padding: 20px;

  background: #ffffff;

  border: 1px solid #e2e8f0;
  border-radius: 14px;

  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.rencana-document-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 16px;
  margin-bottom: 16px;

  border-bottom: 1px solid #eef2f7;
}

.rencana-document-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rencana-document-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #eff6ff;

  font-size: 20px;
}

.rencana-document-title {
  font-size: 15px;
  font-weight: 700;

  color: #0f172a;
}

.rencana-document-subtitle {
  margin-top: 3px;

  font-size: 12px;

  color: #64748b;
}

.rencana-document-body {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.rencana-document-status {
  display: flex;
  align-items: center;

  gap: 12px;
}

.rencana-document-status-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #dcfce7;

  color: #15803d;

  font-size: 18px;
  font-weight: 700;
}

.rencana-document-status-title {
  font-size: 13px;
  font-weight: 700;

  color: #166534;
}

.rencana-document-file {
  margin-top: 3px;

  font-size: 13px;
  font-weight: 600;

  color: #1e293b;
}

.rencana-document-meta {
  margin-top: 3px;

  font-size: 11px;

  color: #94a3b8;
}

.rencana-document-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.btn-rencana-download,
.btn-rencana-replace,
.btn-rencana-delete,
.btn-rencana-upload {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 13px;

  border-radius: 8px;

  font-size: 12px;
  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition: all 0.2s ease;
}

.btn-rencana-download {
  border: 1px solid #0f766e;

  background: #0f766e;

  color: #ffffff;
}

.btn-rencana-download:hover {
  background: #115e59;
}

.btn-rencana-replace {
  border: 1px solid #2563eb;

  background: #eff6ff;

  color: #1d4ed8;
}

.btn-rencana-replace:hover {
  background: #dbeafe;
}

.btn-rencana-delete {
  border: 1px solid #fecaca;

  background: #fff1f2;

  color: #be123c;
}

.btn-rencana-delete:hover {
  background: #ffe4e6;
}

.rencana-document-empty {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 14px 16px;

  border-radius: 10px;

  background: #f8fafc;

  border: 1px dashed #cbd5e1;
}

.rencana-empty-icon {
  font-size: 26px;
}

.rencana-empty-title {
  font-size: 13px;
  font-weight: 700;

  color: #334155;
}

.rencana-empty-text {
  margin-top: 3px;

  font-size: 12px;

  color: #64748b;
}

.rencana-upload-form {
  margin-top: 15px;

  padding: 14px;

  border-radius: 10px;

  background: #f8fafc;
}

.rencana-replace-form {
  display: none;
}

.rencana-replace-form.show {
  display: block;
}

.rencana-upload-info {
  display: flex;
  flex-direction: column;

  gap: 3px;

  margin-bottom: 10px;

  font-size: 12px;

  color: #64748b;
}

.rencana-upload-info strong {
  color: #334155;
}

.rencana-upload-row {
  display: flex;
  align-items: center;

  gap: 10px;
}

.rencana-file-input {
  flex: 1;

  min-height: 40px;

  padding: 7px 9px;

  border: 1px solid #cbd5e1;
  border-radius: 8px;

  background: #ffffff;

  font-size: 12px;

  color: #475569;
}

.btn-rencana-upload {
  border: 1px solid #0f766e;

  background: #0f766e;

  color: #ffffff;
}

.btn-rencana-upload:hover {
  background: #115e59;
}

.rencana-upload-note {
  margin-top: 7px;

  font-size: 11px;

  color: #94a3b8;
}

@media (max-width: 768px) {
  .rencana-document-body {
    flex-direction: column;
    align-items: stretch;
  }

  .rencana-document-actions {
    justify-content: flex-start;
  }

  .rencana-upload-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   SESSION EXPIRED MODAL
   ========================================================= */

.session-modal-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(3, 24, 55, 0.58);
  backdrop-filter: blur(5px);

  z-index: 99999;
}

.session-modal {
  width: 100%;
  max-width: 390px;

  background: #ffffff;

  padding: 32px 30px 28px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 20px 60px rgba(0, 24, 70, 0.25);

  animation: sessionModalShow 0.25s ease-out;
}

.session-modal-icon {
  width: 58px;
  height: 58px;

  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #edf5ff;

  font-size: 27px;
}

.session-modal h2 {
  margin: 0 0 12px;

  color: #063f7d;

  font-size: 21px;
  font-weight: 700;
}

.session-modal p {
  margin: 0 0 24px;

  color: #667085;

  font-size: 13px;
  line-height: 1.7;
}

.session-modal p strong {
  color: #344054;
}

.session-modal-button {
  width: 100%;

  border: none;
  border-radius: 9px;

  padding: 13px 20px;

  background: #1769d2;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;
}

.session-modal-button:hover {
  transform: translateY(-1px);

  box-shadow: 0 7px 18px rgba(23, 105, 210, 0.25);
}

@keyframes sessionModalShow {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   AGENDA PIMPINAN
   ========================================================= */

/* PAGE HEADER */

.agenda-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.agenda-page-heading {
  min-width: 0;
}

.agenda-page-heading .page-description {
  margin-top: 6px;
}

.agenda-add-button {
  flex-shrink: 0;
}

/* =========================================================
   TABLE CARD
   ========================================================= */

.agenda-table-card {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

/* TABLE */

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

/* HEADER */

.agenda-table thead th {
  padding: 15px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #dfe3e8;

  color: #475467;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.02em;

  text-align: left;
  vertical-align: middle;
}

/* BODY */

.agenda-table tbody td {
  padding: 16px;
  border-bottom: 1px solid #eaecf0;

  color: #344054;
  font-size: 13px;

  vertical-align: middle;
}

/* LAST ROW */

.agenda-table tbody tr:last-child td {
  border-bottom: none;
}

/* HOVER */

.agenda-table tbody tr {
  transition: background 0.15s ease;
}

.agenda-table tbody tr:hover {
  background: #f9fafb;
}

/* NAMA AGENDA */

.agenda-table tbody td:nth-child(2) strong {
  color: #101828;
  font-weight: 650;
  line-height: 1.5;
}

/* =========================================================
   DANGER ZONE / HAPUS AGENDA
   ========================================================= */

.agenda-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin-top: 24px;
  padding: 18px 20px;

  background: #ffffff;

  border: 1px solid #fecdca;
  border-radius: 12px;

  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.agenda-danger-content {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: 0;
}

.agenda-danger-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  background: #fef3f2;

  border-radius: 10px;

  font-size: 18px;
}

.agenda-danger-title {
  margin-bottom: 4px;

  color: #b42318;

  font-size: 14px;
  font-weight: 700;
}

.agenda-danger-description {
  color: #667085;

  font-size: 12px;
  line-height: 1.5;
}

.btn-agenda-delete {
  min-width: 125px;

  padding: 10px 16px;

  border: 1px solid #d92d20;
  border-radius: 8px;

  background: #d92d20;
  color: #ffffff;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.15s ease;
}

.btn-agenda-delete:hover {
  background: #b42318;
  border-color: #b42318;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  .agenda-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .agenda-add-button {
    width: 100%;
    text-align: center;
  }

  .agenda-danger-zone {
    flex-direction: column;
    align-items: stretch;
  }

  .agenda-danger-zone form {
    width: 100%;
  }

  .btn-agenda-delete {
    width: 100%;
  }
}

/* =========================================================
   DETAIL KEGIATAN - STATUS WEBSITE
   ========================================================= */

.detail-kode-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;

  margin-bottom: 8px;
}

.detail-kode-row .detail-kode {
  margin-bottom: 0;
}

.website-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 5px 9px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;

  line-height: 1;
}

/* TAMPIL DI WEBSITE */

.website-visible {
  background: #ecfdf3;
  border: 1px solid #abefc6;

  color: #067647;
}

/* TIDAK TAMPIL */

.website-hidden {
  background: #f2f4f7;
  border: 1px solid #e4e7ec;

  color: #667085;
}

.website-status-icon {
  font-size: 11px;
  line-height: 1;
}

@media (max-width: 600px) {
  .detail-kode-row {
    align-items: flex-start;
    gap: 7px;
  }
}

/* =========================================================
   TUTORIAL APLIKASI
   ========================================================= */

.tutorial-card {
  background: #ffffff;

  border: 1px solid #e4e7ec;
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.tutorial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 20px;

  border-bottom: 1px solid #eaecf0;
}

.tutorial-card-title {
  color: #101828;

  font-size: 15px;
  font-weight: 700;
}

.tutorial-card-description {
  margin-top: 5px;

  color: #667085;

  font-size: 12px;
}

.tutorial-viewer {
  width: 100%;

  height: 720px;

  background: #f2f4f7;
}

.tutorial-viewer iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

@media (max-width: 768px) {
  .tutorial-viewer {
    height: 600px;
  }
}

/* =========================================================
   PENA 1.0
   LOGIN PAGE
   ========================================================= */

.pena-login-page {
  margin: 0;
  min-height: 100vh;

  font-family: Inter, "Segoe UI", Arial, sans-serif;

  background:
    radial-gradient(circle at 15% 20%, rgba(40, 64, 56, 0.1), transparent 28%),
    radial-gradient(circle at 85% 85%, rgba(242, 183, 5, 0.1), transparent 30%),
    var(--background);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  color: var(--text);
}

/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.pena-login-decoration {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.pena-decoration-1 {
  width: 420px;
  height: 420px;

  top: -210px;
  right: -130px;

  background: linear-gradient(
    145deg,
    rgba(76, 92, 110, 0.13),
    rgba(40, 64, 56, 0.04)
  );
}

.pena-decoration-2 {
  width: 360px;
  height: 360px;

  bottom: -190px;
  left: -130px;

  background: linear-gradient(
    145deg,
    rgba(242, 183, 5, 0.13),
    rgba(232, 247, 241, 0.25)
  );
}

/* =========================================================
   WRAPPER
   ========================================================= */

.pena-login-wrapper {
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;

  position: relative;
  z-index: 2;

  box-sizing: border-box;
}

/* =========================================================
   LOGIN CARD
   ========================================================= */

.pena-login-card {
  width: 100%;
  max-width: 430px;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;

  padding: 38px 42px 30px;

  box-shadow:
    0 25px 60px rgba(23, 32, 51, 0.08),
    0 5px 18px rgba(23, 32, 51, 0.04);

  box-sizing: border-box;

  position: relative;
}

/* garis aksen atas */

.pena-login-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 78px;
  height: 4px;

  background: var(--gold);

  border-radius: 0 0 8px 8px;
}

/* =========================================================
   BRAND
   ========================================================= */

.pena-login-brand {
  text-align: center;
  margin-bottom: 30px;
}

.pena-logo-wrapper {
  width: 78px;
  height: 78px;

  margin: 0 auto 15px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.pena-login-logo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.pena-login-title {
  margin: 0;

  color: var(--primary);

  font-size: 27px;
  font-weight: 800;

  letter-spacing: 0.4px;
  line-height: 1.2;
}

.pena-login-title span {
  color: var(--gold);
}

.pena-login-appname {
  margin: 8px auto 0;

  max-width: 330px;

  color: var(--text-secondary);

  font-size: 13px;
  font-weight: 500;

  line-height: 1.55;
}

.pena-login-divider {
  display: flex;
  justify-content: center;

  margin: 15px 0 10px;
}

.pena-login-divider span {
  width: 38px;
  height: 2px;

  background: var(--border);

  border-radius: 10px;
}

.pena-login-agency {
  margin: 0;

  color: var(--text-light);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.5px;

  text-transform: uppercase;
}

/* =========================================================
   FORM
   ========================================================= */

.pena-login-form {
  width: 100%;
}

.pena-form-group {
  margin-bottom: 19px;
}

.pena-form-group label {
  display: block;

  margin: 0 0 7px 2px;

  color: var(--text);

  font-size: 12px;
  font-weight: 650;
}

.pena-input-wrapper {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
}

.pena-input-icon {
  position: absolute;

  left: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text-light);

  pointer-events: none;

  transition: color 0.2s ease;
}

.pena-input-wrapper input {
  width: 100%;
  height: 48px;

  padding: 0 46px 0 46px;

  border: 1px solid var(--border);
  border-radius: 10px;

  outline: none;

  background: #ffffff;

  color: var(--text);

  font-size: 13px;
  font-family: inherit;

  box-sizing: border-box;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.pena-input-wrapper input::placeholder {
  color: var(--text-light);
}

.pena-input-wrapper input:hover {
  border-color: #cbd5e1;
}

.pena-input-wrapper input:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(76, 92, 110, 0.1);

  background: #ffffff;
}

.pena-input-wrapper:focus-within .pena-input-icon {
  color: var(--primary);
}

/* =========================================================
   PASSWORD BUTTON
   ========================================================= */

.pena-toggle-password {
  position: absolute;

  right: 13px;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 7px;

  background: transparent;

  color: var(--text-light);

  cursor: pointer;

  padding: 0;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.pena-toggle-password:hover {
  background: var(--background);
  color: var(--primary);
}

.pena-toggle-password.active {
  color: var(--primary);
}

/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.pena-login-button {
  width: 100%;
  height: 49px;

  margin-top: 5px;

  border: none;
  border-radius: 10px;

  background: linear-gradient(135deg, var(--primary), var(--primary-dark));

  color: var(--white);

  font-family: inherit;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.2px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  cursor: pointer;

  box-shadow: 0 8px 18px rgba(76, 92, 110, 0.16);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.pena-login-button:hover {
  transform: translateY(-1px);

  box-shadow: 0 11px 22px rgba(76, 92, 110, 0.2);
}

.pena-login-button:active {
  transform: translateY(0);
}

.pena-login-button svg {
  transition: transform 0.2s ease;
}

.pena-login-button:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   ERROR ALERT
   ========================================================= */

.pena-login-alert {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 20px;

  padding: 11px 13px;

  background: #fff5f5;

  border: 1px solid #fecaca;
  border-radius: 9px;

  color: var(--danger);

  font-size: 12px;
  line-height: 1.45;
}

.pena-alert-icon {
  flex-shrink: 0;

  width: 21px;
  height: 21px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--danger);
  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
   FOOTER
   ========================================================= */

.pena-login-footer {
  margin-top: 27px;

  text-align: center;
}

.pena-footer-line {
  width: 100%;

  height: 1px;

  margin-bottom: 19px;

  background: var(--border);
}

.pena-login-footer p {
  margin: 0 0 4px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 600;
}

.pena-login-footer span {
  color: var(--text-light);

  font-size: 10.5px;
}

/* =========================================================
   SESSION EXPIRED MODAL
   ========================================================= */

.pena-login-page .session-modal-overlay {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(23, 32, 51, 0.48);

  backdrop-filter: blur(5px);
}

.pena-login-page .session-modal {
  width: 100%;
  max-width: 390px;

  padding: 32px;

  box-sizing: border-box;

  text-align: center;

  background: #ffffff;

  border-radius: 18px;

  box-shadow: 0 25px 60px rgba(23, 32, 51, 0.18);
}

.pena-login-page .session-modal-icon {
  margin-bottom: 13px;

  font-size: 34px;
}

.pena-login-page .session-modal h2 {
  margin: 0 0 12px;

  color: var(--text);

  font-size: 20px;
}

.pena-login-page .session-modal p {
  margin: 0 0 23px;

  color: var(--text-secondary);

  font-size: 13px;
  line-height: 1.65;
}

.pena-login-page .session-modal-button {
  width: 100%;

  padding: 12px 18px;

  border: 0;
  border-radius: 9px;

  background: var(--primary);
  color: #ffffff;

  font-family: inherit;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
  .pena-login-wrapper {
    padding: 24px 16px;
  }

  .pena-login-card {
    max-width: 400px;

    padding: 33px 25px 27px;

    border-radius: 17px;
  }

  .pena-logo-wrapper {
    width: 68px;
    height: 68px;
  }

  .pena-login-title {
    font-size: 24px;
  }

  .pena-login-appname {
    font-size: 12px;
  }

  .pena-input-wrapper input {
    height: 47px;
  }

  .pena-login-button {
    height: 48px;
  }
}

@media (max-height: 720px) and (min-width: 601px) {
  .pena-login-wrapper {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .pena-login-card {
    padding-top: 30px;
    padding-bottom: 25px;
  }

  .pena-login-brand {
    margin-bottom: 23px;
  }

  .pena-logo-wrapper {
    width: 65px;
    height: 65px;

    margin-bottom: 10px;
  }
}
