body.auth-page {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../images/teraseringBali.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
    box-sizing: border-box;
}
.auth-container {
    display: flex;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    position: relative; 
    z-index: 1;
}
.auth-logo-pane {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px 0 0 8px;
}
.auth-logo-pane img { max-width: 400px; height: auto; }
.auth-content-pane { 
    flex: 1; 
    padding: 40px; 
    box-sizing: border-box; 
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-content-pane h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}
.auth-content-pane .form-group {
    margin-bottom: 20px;
}
.auth-content-pane .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}
.auth-content-pane .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}
.auth-content-pane .login-btn,
.auth-content-pane .guest-btn {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}
.auth-content-pane .login-btn {
    border: none;
    background-color: #00a65a;
    color: white;
}
.auth-content-pane .login-btn:hover {
    background-color: #008d4c;
}
.auth-content-pane .guest-btn {
    display: block;
    margin-top: 10px;
    border: 1px solid #00a65a;
    background-color: transparent;
    color: #00a65a;
    text-decoration: none;
}
.auth-content-pane .guest-btn:hover {
    background-color: #e6f6ec;
}
.auth-content-pane .footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}
.error-message, .info-message {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}
.info-message {
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
}
.maintenance-panel {
    max-width: 500px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}
.maintenance-logo {
    max-width: 80px;
    margin-bottom: 25px;
}
.maintenance-icon {
    font-size: 3rem;
    color: #fdda0d;
    margin-bottom: 20px;
}
.maintenance-title {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
}
.maintenance-text {
    color: #f8f9fa;
    line-height: 1.6;
    margin-bottom: 25px;
}
.maintenance-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.admin-continue-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background-color: #00a65a;
    color: white;
    transition: background-color 0.3s ease;
}
.admin-continue-btn:hover {
    background-color: #008d4c;
}
.login-redirect-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background-color: #fdda0d;
    color: #343a40;
    transition: background-color 0.3s ease;
}
.login-redirect-btn:hover {
    background-color: #e8c600;
}
.logout-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    transition: all 0.3s ease;
}
.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        box-shadow: none;
    }
    .auth-logo-pane {
        border-radius: 8px 8px 0 0;
        padding: 20px;
    }
    .auth-logo-pane img {
        max-width: 150px;
    }
    .auth-content-pane {
        border-radius: 0 0 8px 8px;
    }
    .page-wrapper {
        padding: 15px;
    }
}
.main-header {
  background: linear-gradient(135deg, rgba(0, 141, 76, 0.75), rgba(0, 90, 50, 0.75)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.main-header .navbar-nav .nav-link {
  color: #ffffff;
}
.main-header .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}
.main-sidebar {
  background-color: #343a40 !important;
}
.main-sidebar .brand-link {
  background-color: #008d4c !important;
  color: #ffffff !important;
  padding: 0.8125rem 0.5rem;
}
.brand-link .brand-text {
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
}
.brand-link,
.brand-link .brand-image,
.brand-link .brand-text {
  transition: none !important;
}
.sidebar .user-panel .info a,
.sidebar .nav-sidebar .nav-link i,
.nav-header {
  color: #c2c7d0;
}
.sidebar .user-panel {
  border-bottom: 1px solid #4f5962;
}
.nav-sidebar .nav-link {
  display: flex;
  align-items: center;
}
.sidebar .nav-sidebar .nav-link p {
  font-size: 0.9rem;
  color: #c2c7d0;
}
.sidebar .nav-sidebar .nav-item > .nav-link.active {
  background-color: #008d4c;
  color: #ffffff;
}
.sidebar .nav-sidebar .nav-item > .nav-link.active > i,
.sidebar .nav-sidebar .nav-item > .nav-link.active > p,
.sidebar .nav-sidebar .nav-item > .nav-link.active .right {
  color: #ffffff;
}
.sidebar .nav-sidebar .nav-item > .nav-link:hover {
  background-color: #fdda0d;
  color: #343a40;
}
.sidebar .nav-sidebar .nav-item > .nav-link:hover > i,
.sidebar .nav-sidebar .nav-item > .nav-link:hover > p,
.sidebar .nav-sidebar .nav-item > .nav-link:hover .right {
  color: #343a40;
}
.db-choice-card {
  background-color: #f2fde8;
  border-left: 5px solid #008d4c;
  height: 100%;
}
.db-choice-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
}
.db-choice-card .card-title {
  color: #008d4c;
  font-weight: bold;
  min-height: 44px;
}
.db-choice-card p.card-text {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.db-choice-card p.card-text-desc {
  flex-grow: 1;
}
.db-choice-card .card-tag {
  font-size: 0.9rem;
  font-weight: bold;
  color: #6c757d;
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
}
.db-choice-card ul.card-text {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 1rem;
}
.db-choice-card .btn-pilih {
  background-color: #008d4c;
  color: #ffffff;
  font-weight: bold;
  border-radius: 30px;
  padding: 5px 20px;
  align-self: flex-start;
  margin-top: auto;
}
.db-choice-card .btn-pilih:hover {
  background-color: #007a43;
  color: #ffffff;
}
.db-choice-card {
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms cubic-bezier(.2,.8,.2,1);
  transform-origin: center top;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.db-choice-card:focus-within,
.db-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 6;
}
.db-choice-card.static-card:focus-within,
.db-choice-card.static-card:hover {
  transform: none !important;
  /* Restore default AdminLTE card shadow */
  box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2) !important;
  z-index: 1;
}
/* Disable button animation for static-card as well */
.db-choice-card.static-card:hover .btn-pilih,
.db-choice-card.static-card:focus-within .btn-pilih {
  transform: none !important;
  box-shadow: none !important;
}
.db-choice-card.static-btn:hover .btn-pilih,
.db-choice-card.static-btn:focus-within .btn-pilih {
  transform: none !important;
  box-shadow: none !important;
}
.db-choice-card .card-body {
  transition: transform 240ms ease;
}
.db-choice-card .btn-pilih {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.db-choice-card:hover .btn-pilih,
.db-choice-card:focus-within .btn-pilih {
  transform: translateY(-6px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
  .db-choice-card,
  .db-choice-card:hover,
  .db-choice-card:focus-within {
    transform: none !important;
    box-shadow: none !important;
    z-index: 1 !important;
  }
  .db-choice-card .btn-pilih {
    transform: none !important;
    box-shadow: none !important;
  }
}
.card-success:not(.card-outline) > .card-header {
  background-color: #008d4c;
}
.table td.text-muted {
  color: #999 !important;
}
.btn-success {
  background-color: #008d4c;
  border-color: #008d4c;
}
@media (max-width: 420px), (max-width: 480px) and (orientation: portrait) {
  html, body {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
  }
  .main-header .navbar-nav .nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.95rem;
  }
  .brand-link .brand-text {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-block;
    vertical-align: middle;
  }
  .main-sidebar {
    width: 64px !important;
  }
  .sidebar .nav-sidebar .nav-link p {
    display: none;
  }
  .sidebar .user-panel .info a {
    display: none;
  }
  .content, .container-fluid, .card, .card-body {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .card .card-header h3.card-title {
    font-size: 1rem;
  }
  .card, .db-choice-card {
    margin-bottom: 12px;
  }
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.ui-table {
    font-size: 12px;
    white-space: nowrap;
  }
  .form-control, input[type="text"], select.form-control {
    font-size: 15px;
    padding: 10px 12px;
  }
  .btn, .btn-sm {
    padding: 10px 12px;
    font-size: 14px;
  }
  .auth-logo-pane img { max-width: 120px; }
  .auth-logo-pane { padding: 18px; }
  .auth-content-pane { padding: 18px; }
  .db-choice-card .card-title { font-size: 1rem; }
  .content-header h1, .card-title {
    white-space: normal;
    word-break: break-word;
  }
  .swal2-popup { font-size: 1rem !important; }
  .nav-sidebar .nav-link i { font-size: 1.05rem; }
  .footer-text, .no-results-message { font-size: 13px; }
}
@media (min-aspect-ratio: 9/16) and (max-width: 480px) {
  .card, .db-choice-card, .maintenance-panel { padding: 12px; }
  .auth-content-pane .login-btn, .auth-content-pane .guest-btn { padding: 10px; }
}
.btn-success:hover {
  background-color: #007a43;
  border-color: #007a43;
}
.brand-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}
.ui-table thead th {
  background-color: #e6e6e6 !important;
  color: #000;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  position: relative;
}
.ui-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}
.ui-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.ui-table td {
  vertical-align: middle;
}
.ui-table .col-provinsi,
.ui-table .col-kota {
  font-weight: bold;
  text-align: left;
}
.ui-table .col-rerata {
  font-weight: bold;
}
.ui-table .text-right {
  text-align: right !important;
}
.ui-table .cell-striped {
  background-color: #f5f5f5;
  background-image: repeating-linear-gradient(45deg, #e0e0e0, #e0e0e0 4px, #f5f5f5 4px, #f5f5f5 8px);
}
.sort-icon {
  cursor: pointer;
  margin-left: 5px;
  color: #888;
}
.sort-icon.active {
  color: #000;
}
.sort-icon.asc::before {
  content: '\f0de';
  font-family: 'Font Awesome 5 Free';
}
.sort-icon.desc::before {
  content: '\f0dd';
  font-family: 'Font Awesome 5 Free';
}
.search-input {
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
.search-input:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.no-results-message {
  text-align: center;
  padding: 20px;
  font-style: italic;
  color: #666;
}
.profile-row {
  display: flex;
}
.profile-page-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.profile-card {
  text-align: center;
  padding: 30px;
  border-top: 4px solid #008d4c;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-user-img {
  width: 120px;
  height: 120px;
  border: 3px solid #dee2e6;
  align-self: center;
}
.profile-username {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 15px;
}
.text-muted.role-badge {
  display: inline-block;
  background-color: #fdda0d;
  color: #343a40 !important;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.password-card .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.password-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
}
.password-card .card-title {
  font-weight: 600;
  color: #008d4c;
}
.btn-save-password {
  background-color: #008d4c;
  border-color: #008d4c;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 8px;
}
.btn-save-password:hover {
  background-color: #007a43;
  border-color: #007a43;
}
.settings-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #008d4c;
}
.settings-card .card-header {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #008d4c;
}
.settings-card .action-description {
  color: #6c757d;
  margin-bottom: 10px;
}
.btn-action {
  font-weight: bold;
}
.btn-warning.btn-action {
  background-color: #fdda0d;
  border-color: #fdda0d;
  color: #343a40;
}
.btn-warning.btn-action:hover {
  background-color: #e8c600;
  border-color: #e8c600;
}
#session-warning-modal .modal-content {
  background-color: rgba(52, 58, 64, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
#session-warning-modal .modal-header h5 {
  color: #ffffff;
}
#session-warning-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#session-warning-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.card-primary.card-tabs .card-header {
  background-color: #f8f9fa;
}
.card-primary.card-tabs .nav-tabs .nav-link {
  color: #008d4c;
  border: 0;
}
.card-primary.card-tabs .nav-tabs .nav-link.active {
  background-color: #008d4c;
  color: #ffffff;
  border-bottom: 3px solid #fdda0d;
}
.btn-theme-forecast {
  background-color: #fdda0d;
  border-color: #fdda0d;
  color: #343a40;
  font-weight: bold;
}
.btn-theme-forecast:hover {
  background-color: #e8c600;
  border-color: #e8c600;
  color: #343a40;
}
.select2-container--bootstrap4.select2-container--open .select2-selection {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-container--bootstrap4.select2-container--open .select2-dropdown {
  border-color: #80bdff;
  border-top: 0;
}
.form-inline .select2-container--bootstrap4 .select2-selection {
    height: calc(2.25rem + 2px);
    display: flex;
    align-items: center;
}
.alert-light-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}
.alert-light-info p {
    font-size: 0.95rem;
}
#permissionsAccordion .card-header {
  padding: 0.75rem 1rem;
  background-color: #f7f7f7;
}
#permissionsAccordion .btn-link {
  font-weight: 600;
  color: #343a40;
  text-decoration: none;
  font-size: 1rem;
}
#permissionsAccordion .btn-link:hover {
  color: #008d4c;
}
.chevron-icon {
  transition: transform 0.18s ease;
  color: #6c757d;
}
.chevron-icon.rotated { transform: rotate(180deg); color: #343a40; }
.card-header .btn-link { padding: 0.5rem 0; font-weight: 600; color: #343a40; }
.card-header .btn-link .chevron-icon { font-size: 0.9rem; }
#permissionsAccordion .card-header .custom-control-label {
    font-size: 0.85rem;
    font-weight: normal;
}
.permission-implied {
  background-color: #e9ecef;
  color: #6c757d;
  font-style: italic;
}
.list-group-item {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.list-group-item i {
  width: 20px;
  text-align: center;
}
.list-group-item strong {
    font-weight: 500;
    font-size: 0.95rem;
}
.uac-chip {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  color: #333;
  border: 1px solid #e6eef6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  gap: 6px;
}
.uac-chip:hover {
  background-color: #e9f2fb;
}
.uac-chip-user { background-color: #007bff; color: #fff; border-color: rgba(0,0,0,0.06); }
.uac-chip-admin { background-color: #ffc107; color: #1f2d3d; border-color: rgba(0,0,0,0.06); }
.uac-chip-superadmin { background-color: #dc3545; color: #fff; border-color: rgba(0,0,0,0.06); }
.seedling-pattern-bg {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.seedling-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.04;
  background-image: url('../../images/kementanINNER.png');
  background-repeat: repeat;
  background-size: 150px 150px;
  animation: moveSeedlingPattern 40s linear infinite;
}
@keyframes moveSeedlingPattern {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 150px 150px;
  }
}
.swal2-loader {
    border-top-color: #008d4c !important;
    border-left-color: #008d4c !important;
  }