/**
 * SKPISO Global Premium Design System
 * Inspired by modern SaaS platforms (Inter, Indigo, Emerald palette)
 */

:root {
  --sk-primary: #0047cc;
  --sk-primary-hover: #00389b;
  --sk-success: #10b981;
  --sk-warning: #f59e0b;
  --sk-danger: #ef4444;
  --sk-info: #3b82f6;
  --sk-background: #f8fafc;
  --sk-card-bg: #ffffff;
  --sk-text-main: #1e293b;
  --sk-text-muted: #64748b;
  --sk-border: #e2e8f0;
  --sk-radius: 12px;
  --sk-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --sk-shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Base Body Override */
body {
  background-color: var(--sk-background) !important;
  color: var(--sk-text-main) !important;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif !important;
}

#main {
  background-color: var(--sk-background) !important;
}

/* Premium Card Design */
.card {
  border: 1px solid var(--sk-border) !important;
  border-radius: var(--sk-radius) !important;
  box-shadow: var(--sk-shadow) !important;
  background: var(--sk-card-bg);
  margin-bottom: 1.5rem !important;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.bg-premium-gradient {
  background:
    linear-gradient(62deg, #0072a3 0%, rgba(255, 255, 255, 0) 100%), #012970 !important;
  color: #ffffff !important;
}

.card:hover {
  box-shadow: var(--sk-shadow-lg) !important;
}

.card-header {
  background: #f1f5f9 !important; /* Slightly darker for better structure */
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
}

.card-header i {
  color: var(--sk-primary);
  font-size: 1.2rem;
  margin-right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Optional Icon Box Style */
.card-icon-box {
  background: var(--sk-primary) !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 4px rgba(0, 71, 204, 0.2) !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  margin-right: 1rem !important;
  border: none !important;
}

.card-header .card-title,
.card-header h3 {
  color: var(--sk-text-main) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

/* Modern Page Title & Breadcrumb (Outside Card) */
.pagetitle {
  margin-bottom: 2rem !important;
  padding: 0 0.5rem;
}

.pagetitle h1 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--sk-text-main) !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.pagetitle h1 i {
  color: var(--sk-primary);
  margin-right: 0.75rem;
  font-size: 1.15rem;
}

.pagetitle .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.75rem !important;
}

.pagetitle .breadcrumb-item a {
  color: var(--sk-text-muted) !important;
  text-decoration: none;
}

.pagetitle .breadcrumb-item.active {
  color: var(--sk-primary) !important;
  font-weight: 600;
}

.pagetitle .breadcrumb-item + .breadcrumb-item::before {
  content: "\F285" !important;
  font-family: "bootstrap-icons" !important;
  font-size: 0.6rem;
  color: #94a3b8;
  vertical-align: middle;
}

/* Internal Card Breadcrumb */
.card .breadcrumb {
  background: #f8fafc !important;
  padding: 0.75rem 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.75rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
}

.card .breadcrumb-item + .breadcrumb-item::before {
  content: "\F285" !important;
  font-family: "bootstrap-icons" !important;
  font-size: 0.5rem;
  color: #94a3b8;
  padding-right: 0.5rem;
  vertical-align: middle;
}

.card .breadcrumb-item a {
  color: var(--sk-text-muted) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.card .breadcrumb-item a:hover {
  color: var(--sk-primary) !important;
}

.card .breadcrumb-item.active {
  color: var(--sk-text-main) !important;
  font-weight: 600 !important;
}

.card-body {
  padding: 1.5rem !important;
}

/* Search Bar (SaaS Style) */
.search-wrapper {
  background: #f8fafc !important; /* Slightly distinct from card bg */
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 2rem !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.search-wrapper .input-group {
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.search-wrapper .form-control {
  background: transparent !important;
  border: none !important;
  padding: 0.625rem 1rem !important;
  font-size: 0.85rem !important;
  color: var(--sk-text-main) !important;
}

.search-wrapper .form-control:focus {
  box-shadow: none !important;
}

.search-wrapper .btn-primary {
  background: var(--sk-primary) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 0.625rem 1.5rem !important;
  transition: all 0.2s;
}

.search-wrapper .btn-primary:hover {
  background: var(--sk-primary-hover) !important;
  transform: translateY(-1px);
}

/* Premium Table Listing */
.table.modernized {
  margin: 0 !important;
  border-spacing: 0 !important;
}

.table.modernized thead {
  background-color: #f1f5f9 !important;
  border-top: 1px solid #cbd5e1 !important;
  border-bottom: 2px solid #334155 !important; /* Heavy header border */
}

.table.modernized thead th {
  padding: 1rem 1rem !important;
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none !important;
}

.table.modernized tbody tr {
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.table.modernized tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.table.modernized td {
  padding: 0.75rem 1rem !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #e2e8f0 !important; /* Clear row separation */
  color: #334155 !important;
  font-size: 0.85rem !important;
}

.table.modernized tbody tr:last-child td {
  border-bottom: none !important;
}

/* Action Buttons */
.btn-group .btn {
  border-radius: 6px !important;
  margin: 0 2px !important;
}

.btn-primary {
  background: var(--sk-primary) !important;
  border: none !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover {
  background: var(--sk-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  color: var(--sk-primary) !important;
  border-color: var(--sk-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--sk-primary) !important;
  color: white !important;
}

/* SaaS Status Badges (Pills) */
.status-pill {
  padding: 0.375rem 0.75rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.status-pill-primary {
  background: #eef2ff;
  color: #0047cc;
}
.status-pill-success {
  background: #ecfdf5;
  color: #065f46;
}
.status-pill-warning {
  background: #fffbeb;
  color: #92400e;
}
.status-pill-danger {
  background: #fef2f2;
  color: #991b1b;
}
.status-pill-secondary {
  background: #f8fafc;
  color: #475569;
}

/* Dashboard Typography Utilities */
.fw-600 {
  font-weight: 600;
}
.text-muted {
  color: var(--sk-text-muted) !important;
}
.smaller {
  font-size: 0.7rem;
}
.participant-name {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #0f172a !important; /* Extremely dark for maximum contrast */
  margin-bottom: 0.1rem !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar for better UX */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Info Grid (Summary Section) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  background: var(--sk-card-bg);
  border: 1px solid var(--sk-border);
  padding: 1.25rem;
  border-radius: var(--sk-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--sk-shadow);
}

.apl-container .signature-box {
  border: 2px dashed var(--sk-primary);
  border-radius: 15px;
  background: #f8fafc;
  padding: 12px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.apl-container .signature-box:hover {
  border-color: var(--sk-primary-hover);
  background: #eef2ff;
}

.apl-container #signature_2 {
  width: 100%;
  height: 180px;
  background: #fcfcfc;
  border-radius: 8px;
  cursor: crosshair;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  color: var(--sk-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-content label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sk-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.info-content span {
  font-weight: 700;
  color: var(--sk-text-main);
  font-size: 0.9rem;
}

/* Autosave */
.autosave-status {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  font-weight: 600;
}
/* Recommendation Cards (Radio Group) */
.recommendation-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.radio-card {
  cursor: pointer;
  flex: 1;
  position: relative;
  user-select: none;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-card-content {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.radio-card-content i {
  font-size: 1.25rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.radio-card-content span {
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
}

/* Specific colors per state */
.radio-card:hover .radio-card-content {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* K (Kompeten) Active Style */
.radio-card input[value="1"]:checked + .radio-card-content {
  border-color: var(--sk-success);
  background: #f0fdf4;
}
.radio-card input[value="1"]:checked + .radio-card-content i {
  color: var(--sk-success);
}
.radio-card input[value="1"]:checked + .radio-card-content span {
  color: #064e3b;
}

/* BK (Belum Kompeten) Active Style */
.radio-card input[value="2"]:checked + .radio-card-content {
  border-color: var(--sk-danger);
  background: #fef2f2;
}
.radio-card input[value="2"]:checked + .radio-card-content i {
  color: var(--sk-danger);
}
.radio-card input[value="2"]:checked + .radio-card-content span {
  color: #7f1d1d;
}

/* Hover shadow */
.radio-card:hover .radio-card-content {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Premium Card Header with Gradient */
.card-header-premium {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

/* Icon Box for Card Headers */
.card-header-icon {
  background: linear-gradient(135deg, #0047cc 0%, #0072a3 100%) !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 6px rgba(0, 71, 204, 0.15) !important;
  margin-right: 1rem !important;
  font-size: 1.25rem !important;
  color: #ffffff !important;
}

/* Card Header Title */
.card-header-title {
  font-weight: 800 !important;
  font-size: 1rem !important;
  color: #1e293b !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0 !important;
}

/* Premium Year Filter Dropdown */
.year-filter-select {
  width: 110px !important;
  height: 38px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  border: 2px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  color: #1e293b !important;
  padding: 0.5rem 2.25rem 0.5rem 0.875rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.year-filter-select:hover {
  border-color: #0047cc !important;
  box-shadow: 0 4px 8px rgba(0, 71, 204, 0.15) !important;
}

.year-filter-select:focus {
  border-color: #0047cc !important;
  box-shadow: 0 4px 8px rgba(0, 71, 204, 0.2) !important;
  outline: none !important;
}

/* LSP Command Center Action Tiles */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.action-tile {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.action-tile:hover {
  transform: translateY(-5px);
  border-color: #0047cc;
  box-shadow: 0 12px 20px -5px rgba(0, 71, 204, 0.15);
}

.action-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.action-tile:hover .action-tile-icon {
  transform: scale(1.1);
}

.action-tile-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.action-tile-desc {
  font-size: 0.75rem;
  color: #64748b;
}

.action-tile-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Icon Variants */
.icon-blue {
  background: rgba(0, 71, 204, 0.1);
  color: #0047cc;
}
.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.icon-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Target Pulse Section */
.performance-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100%;
}

.asesi-mandiri-container .unit-card {
  margin-bottom: 2rem !important;
  border: 1px solid var(--sk-border) !important;
  box-shadow: var(--sk-shadow) !important;
}

.asesi-mandiri-container .bg-unit-header {
  background-color: #f8fafc !important;
  border-bottom: 1px solid var(--sk-border) !important;
  padding: 1rem 1.25rem !important;
}

.asesi-mandiri-container .unit-number {
  font-size: 0.65rem;
  background: #1e293b;
  color: white;
  padding: 3px 10px;
  border-radius: 6px;
  margin-right: 15px;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}

.asesi-mandiri-container .unit-card h6 {
  font-size: 1rem !important;
  line-height: 1.4;
}

.asesi-mandiri-container .btn-kompetensi {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-width: 2px;
  font-weight: 700;
  padding: 0.5rem 1rem;
}

.asesi-mandiri-container .btn-kompetensi.active.btn-outline-success {
  background-color: var(--sk-success) !important;
  border-color: var(--sk-success) !important;
  color: white !important;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.asesi-mandiri-container .btn-kompetensi.active.btn-outline-danger {
  background-color: var(--sk-danger) !important;
  border-color: var(--sk-danger) !important;
  color: white !important;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

.asesi-mandiri-container .summary-item {
  padding: 1.25rem;
  border-left: 4px solid var(--sk-primary);
  background: var(--sk-background);
  border-radius: 8px;
  height: 100%;
  border-top: 1px solid var(--sk-border);
  border-right: 1px solid var(--sk-border);
  border-bottom: 1px solid var(--sk-border);
}

.asesi-mandiri-container .summary-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sk-text-muted);
  margin-bottom: 4px;
  display: block;
  font-weight: 700;
}

.asesi-mandiri-container .summary-value {
  font-weight: 800;
  color: var(--sk-text-main);
  font-size: 1rem;
}

#progress-container {
  position: sticky;
  top: 60px; /* Adjust according to header height */
  z-index: 1020;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--sk-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.asesi-mandiri-container .progress {
  height: 12px;
  border-radius: 20px;
  background-color: #e2e8f0;
}

.pulse-label {
  margin-top: 1.5rem;
  text-align: center;
}

.pulse-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
  .asesi-mandiri-container table.table,
  .asesi-mandiri-container table.table thead,
  .asesi-mandiri-container table.table tbody,
  .asesi-mandiri-container table.table tr,
  .asesi-mandiri-container table.table td {
    display: block !important;
    width: 100% !important;
  }

  .asesi-mandiri-container table.table thead {
    display: none !important;
  }

  .asesi-mandiri-container table.table tbody tr {
    border-bottom: 8px solid #f1f5f9 !important;
    padding: 15px !important;
    background: #fff !important;
    margin-bottom: 0 !important;
  }

  .asesi-mandiri-container table.table tbody td {
    padding: 5px 0 !important;
    border: none !important;
    text-align: left !important;
    background: transparent !important;
  }

  .asesi-mandiri-container table.table tbody td[data-label="No"] {
    font-size: 0.7rem !important;
    color: var(--sk-primary) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
  }

  .asesi-mandiri-container table.table tbody td[data-label="No"]::before {
    content: "Pertanyaan #";
  }

  .asesi-mandiri-container table.table tbody td[data-label="Pertanyaan"] {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: var(--sk-text-main) !important;
    margin-bottom: 12px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    height: auto !important;
  }

  .asesi-mandiri-container table.table tbody td[data-label="Penilaian"] {
    background: #f8fafc !important;
    padding: 12px !important;
    border-radius: 12px !important;
    margin-top: 5px !important;
  }

  .asesi-mandiri-container
    table.table
    tbody
    td[data-label="Penilaian"]::before {
    content: "Penilaian Anda:";
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--sk-text-muted) !important;
    margin-bottom: 10px !important;
    pointer-events: none;
  }

  .asesi-mandiri-container .btn-group {
    display: flex !important;
    width: 100% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  .asesi-mandiri-container .btn-kompetensi {
    flex: 1 !important;
    padding: 10px 5px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
  }

  .asesi-mandiri-container .btn-kompetensi span {
    display: inline !important;
  }
}

.pulse-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

/* Utility Classes */
.transition-all {
  transition: all 0.3s ease !important;
}

.hover-shadow-sm:hover {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  border-color: #0047cc !important;
}

.fw-700 {
  font-weight: 700 !important;
}
.fw-800 {
  font-weight: 800 !important;
}

/* New Percircle White Variant for Dark Backgrounds */
.percircle.white .bar,
.percircle.white .fill,
.percircle.white.gt50 .fill {
  border-color: #ffffff !important;
}

.percircle.white:after {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.percircle.white > span {
  color: #ffffff !important;
}

.percircle.white:hover:after {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.percircle.white:hover > span {
  color: #ffffff !important;
}

/* Manager/sidebar click reliability */
#header {
  z-index: 1200 !important;
}

.sidebar,
#sidebar {
  position: fixed !important;
  z-index: 1100 !important;
  pointer-events: auto !important;
}

@media (max-width: 1199px) {
  body:not(.toggle-sidebar) #sidebar.sidebar {
    left: -300px !important;
  }

  body.toggle-sidebar #sidebar.sidebar {
    left: 0 !important;
  }
}

@media (min-width: 1200px) {
  body.toggle-sidebar #sidebar.sidebar {
    left: -300px !important;
  }
}

.modal-backdrop {
  z-index: 1240 !important;
}

.modal {
  z-index: 1250 !important;
}

@media (min-width: 1200px) {
  #main,
  #footer {
    margin-left: 300px !important;
    width: calc(100% - 300px) !important;
  }

  body.toggle-sidebar #main,
  body.toggle-sidebar #footer {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

.sidebar-nav,
.sidebar-nav .nav-item,
.sidebar-nav .nav-link,
.sidebar-nav .nav-content,
.sidebar-nav .nav-content a {
  position: relative;
  z-index: 1101;
  pointer-events: auto !important;
}


/* Refactored Asesi page styles */

/* pedoman-page.css */
.pedoman-page { width: 100%; max-width: 1400px; margin: 0 auto; }
.pedoman-card { overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.pedoman-intro { display: flex; gap: 1.25rem; align-items: center; padding: 2rem 2.25rem; color: #fff; background: linear-gradient(120deg, #003baf, #0878b9); }
.pedoman-intro-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 16px; background: rgba(255,255,255,.16); font-size: 1.5rem; }
.pedoman-eyebrow, .pedoman-section-label { margin: 0 0 .35rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.pedoman-intro h2 { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 800; }
.pedoman-intro p:last-child { margin: .45rem 0 0; color: rgba(255,255,255,.8); font-size: .85rem; }
.pedoman-content { padding: 1.75rem 2.25rem .5rem; }
.pedoman-search label { display: block; margin-bottom: .5rem; color: #334155; font-size: .8rem; font-weight: 700; }
.pedoman-search .input-group { overflow: hidden; border: 1px solid #dbe3ef; border-radius: 10px; background: #f8fafc; }
.pedoman-search .input-group-text { border: 0; background: transparent; color: #64748b; }
.pedoman-search .form-control { border: 0; background: transparent; box-shadow: none; font-size: .85rem; }
.pedoman-search .btn { margin: 4px; border-radius: 7px; padding: .5rem 1.2rem; }
.pedoman-list-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 2rem 0 .75rem; }
.pedoman-section-label { color: #2563eb; }
.pedoman-list-header h3 { margin: 0; color: #0f172a; font-size: 1.05rem; font-weight: 800; }
.pedoman-count { color: #64748b; font-size: .75rem; }
.pedoman-list { border-top: 1px solid #e5eaf1; }
.pedoman-item { display: flex; align-items: center; gap: .85rem; padding: 1rem .25rem; border-bottom: 1px solid #e5eaf1; color: #1e293b; text-decoration: none; transition: background .2s, padding .2s; }
.pedoman-item:hover { padding-right: .5rem; padding-left: .5rem; background: #f8fbff; color: #0047cc; }
.pedoman-file-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 10px; background: #fee2e2; color: #dc2626; font-size: 1rem; }
.pedoman-item-title { flex: 1; font-size: .88rem; font-weight: 600; line-height: 1.45; }
.pedoman-item-action { color: #94a3b8; font-size: .75rem; }
.pedoman-empty { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 3rem 1rem; color: #64748b; text-align: center; }
.pedoman-empty i { margin-bottom: .4rem; color: #94a3b8; font-size: 2rem; }
.pedoman-empty strong { color: #334155; }
.pedoman-empty span { font-size: .8rem; }
.pedoman-pagination { padding: 1.25rem 2.25rem; border-top: 1px solid #e5eaf1; }
.pedoman-pagination ul { justify-content: center; margin: 0; }
@media (max-width: 575px) {
  .pedoman-intro, .pedoman-content { padding: 1.35rem; }
  .pedoman-intro { align-items: flex-start; }
  .pedoman-intro h2 { font-size: 1.1rem; }
  .pedoman-intro p:last-child { line-height: 1.5; }
  .pedoman-pagination { padding: 1rem 1.35rem; overflow-x: auto; }
  .pedoman-list-header { align-items: flex-start; flex-direction: column; gap: .35rem; }
}

/* data-sertifikasi-page.css */
.apl-page { width: 100%; max-width: 1400px; margin: 0 auto; }
.apl-page .pagetitle h1 { font-size: 1.3rem !important; }
.apl-page .card { overflow: hidden; border: 1px solid #e2e8f0 !important; border-radius: 18px !important; box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important; }
.apl-page .card-header { display: flex !important; align-items: center; gap: .7rem; min-height: 64px; margin: 0 !important; padding: 1rem 1.4rem !important; border: 0 !important; background: linear-gradient(120deg, #003baf, #0878b9) !important; color: #fff !important; }
.apl-page .card-header .card-title { margin: 0 !important; color: #fff !important; font-size: 1rem !important; font-weight: 800 !important; }
.apl-page .card-header .card-title i { color: rgba(255,255,255,.85); }
.apl-page .card-body { padding: 1.4rem !important; }
.apl-page .card-footer { padding: 1rem 1.4rem !important; border-top: 1px solid #e5eaf1 !important; background: #fff !important; }
.apl-page .table-responsive { border: 1px solid #e5eaf1; border-radius: 12px; }
.apl-page .table { width: 100%; margin: 0; white-space: normal; }
.apl-page .table thead th { padding: .8rem .75rem; border: 0; background: #f1f5f9; color: #334155; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.apl-page .table tbody td { padding: .85rem .75rem; border-color: #e5eaf1; color: #334155; font-size: .82rem; vertical-align: middle; }
.apl-page .table tbody tr:hover { background: #f8fbff; }
.apl-page .table tbody tr:last-child td { border-bottom: 0; }
.apl-page .table .btn { border-radius: 8px; white-space: nowrap; }
.apl-page .form-group { margin-bottom: .25rem; }
.apl-page label { margin-bottom: .45rem; color: #334155; font-size: .78rem; font-weight: 700; }
.apl-page .form-control, .apl-page .form-select { min-height: 42px; border-color: #dbe3ef; border-radius: 9px; color: #1e293b; font-size: .85rem; }
.apl-page .form-control:focus, .apl-page .form-select:focus { border-color: #2563eb; box-shadow: 0 0 0 .2rem rgba(37,99,235,.12); }
.apl-page #daftar_unit { min-height: 0; }
.apl-page #daftar_unit:not(:empty) { margin-top: 0; padding-top: 0 !important; }
.apl-page #daftar_unit table { border: 1px solid #e5eaf1; border-radius: 10px; overflow: hidden; }
.apl-page .btn-primary { border: 0; border-radius: 9px; padding: .6rem 1rem; font-weight: 700; }
.apl-page .alert { border-radius: 12px; box-shadow: 0 4px 12px rgba(15,23,42,.05); }
.apl-page #myModal .modal-content { overflow: hidden; border: 0; border-radius: 16px; }
.apl-page #myModal .modal-header { border: 0; background: #f8fafc; }
@media (max-width: 767px) {
  .apl-page .card-body { padding: 1rem !important; }
  .apl-page .card-header { min-height: 58px; padding: .9rem 1rem !important; }
  .apl-page .card-header .card-title { font-size: .9rem !important; line-height: 1.35; }
  .apl-page .table { min-width: 760px; }
  .apl-page .sertifikasi-list-wrap { overflow-x: visible !important; border: 0; }
  .apl-page .sertifikasi-list-card .card-body,
  .apl-page .sertifikasi-list-wrap,
  .apl-page .sertifikasi-list-table,
  .apl-page .sertifikasi-list-table tbody { background: #fff !important; }
  .apl-page .sertifikasi-list-table { min-width: 0; border: 0; }
  .apl-page .sertifikasi-list-table thead { display: none; }
  .apl-page .sertifikasi-list-table tbody,
  .apl-page .sertifikasi-list-table tr,
  .apl-page .sertifikasi-list-table td { display: block; width: 100%; }
  .apl-page .sertifikasi-list-table tr { margin-bottom: .75rem; padding: .45rem .75rem; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff !important; }
  .apl-page .sertifikasi-list-table tr:last-child { margin-bottom: 0; }
  .apl-page .sertifikasi-list-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0 !important; border: 0 !important; background-color: #fff !important; box-shadow: inset 0 0 0 9999px #fff !important; text-align: right !important; }
  .apl-page .sertifikasi-list-table td::before { content: attr(data-label); flex: 0 0 42%; color: #64748b; font-size: .7rem; font-weight: 700; text-align: left; }
  .apl-page .sertifikasi-list-table td:first-child { justify-content: center; padding: .35rem 0 .6rem !important; }
  .apl-page .sertifikasi-list-table td:first-child::before { display: none; }
  .apl-page .table-responsive { overflow-x: auto; }
  .apl-page .card-footer { padding: .9rem 1rem !important; }
}

/* data-dokumen-page.css */
.apl-doc-page {
    max-width: 1600px;
    margin-inline: auto;
}

.apl-doc-page .pagetitle h1 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #102a43;
}

.apl-doc-page .pagetitle h1 i {
    color: #0b5ed7;
    margin-right: .45rem;
}

.apl-doc-page .card {
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 61, 110, .06);
    overflow: hidden;
}

.apl-doc-page .card-header {
    background: linear-gradient(135deg, #0645bd, #087fbd) !important;
    color: #fff;
    border-bottom: 0;
    padding: 1.1rem 1.25rem;
}

.apl-doc-page .card-header .card-title {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
}

.apl-doc-page .card-body {
    padding: 1.25rem;
}
.apl-doc-page .card > .card-body {
    background: #fff;
}

.apl-doc-page .card-body > .table-responsive {
    margin-bottom: 1.5rem;
    padding: 0 0 1.25rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e1eaf3;
    border-radius: 0;
    box-shadow: none;
}

.apl-doc-page .card-body > .table-responsive:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.apl-doc-page .card-body > .table-responsive h5 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 0;
    padding-left: .75rem;
    border-left: 4px solid #0b5ed7;
}

.apl-doc-page .table td:last-child .btn-primary,
.apl-doc-page .table td:last-child .btn-success {
    box-shadow: 0 3px 8px rgba(13, 110, 253, .18);
}

.apl-doc-page .card-body h5 {
    margin: 1.5rem 0 .7rem;
    color: #173b63;
    font-size: 1.05rem;
}

.apl-doc-page .card-body h5:first-child {
    margin-top: 0;
}

.apl-doc-page .table {
    margin-bottom: 1.25rem;
    border-color: #d8e2ec;
    font-size: .92rem;
}

.apl-doc-page .table thead th {
    background: #102a43 !important;
    color: #fff;
    border-color: #284966;
    padding: .7rem .55rem;
    white-space: nowrap;
}

.apl-doc-page .table tbody td {
    padding: .65rem .55rem;
    vertical-align: middle;
}

.apl-doc-page .table tbody tr {
    transition: background-color .15s ease;
}

.apl-doc-page .table tbody tr:hover {
    background: #f3f8ff;
}

.apl-doc-page .table td:last-child {
    min-width: 150px;
}

.apl-doc-page .btn {
    border-radius: 7px;
    font-weight: 600;
}

.apl-doc-page .badge {
    margin-right: .35rem;
}

.apl-doc-page .alert {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.apl-doc-page .modal-content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .22);
}

.apl-doc-page .modal-header {
    background: #f4f8fc;
    border-bottom: 1px solid #dbe4f0;
}

@media (max-width: 767.98px) {
    .apl-doc-page .pagetitle h1 {
        font-size: 1.25rem;
    }

    .apl-doc-page .card-body {
        padding: .9rem;
    }

    .apl-doc-page .table-responsive {
        margin-inline: -.25rem;
        padding-inline: .25rem;
        overflow-x: visible;
    }

    .apl-doc-page .table {
        width: 100%;
        table-layout: fixed;
        font-size: .82rem;
    }

    .apl-doc-page .table th,
    .apl-doc-page .table td {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .apl-doc-page .table th:first-child,
    .apl-doc-page .table td:first-child {
        width: 38px !important;
    }

    .apl-doc-page .table th:last-child,
    .apl-doc-page .table td:last-child {
        width: 112px !important;
        min-width: 112px;
        padding-inline: .3rem;
    }

    .apl-doc-page .table td:last-child .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 2px 0;
        padding: .35rem .45rem;
        font-size: .72rem;
    }

    .apl-doc-page .table td:last-child .badge {
        display: inline-flex;
        margin: 2px 2px 2px 0;
    }
}

#modalFile .modal-content,
#modalModifikasi .modal-content,
#modalModifikasiPreview .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

#modalFile .modal-header,
#modalModifikasi .modal-header,
#modalModifikasiPreview .modal-header {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, #0645bd, #087fbd);
    color: #fff;
    border-bottom: 0;
}

#modalFile .modal-title,
#modalModifikasi .modal-title,
#modalModifikasiPreview .modal-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

#modalFile .modal-header .btn-close,
#modalModifikasi .modal-header .btn-close,
#modalModifikasiPreview .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: .9;
}

#modalFile .modal-body,
#modalModifikasi .modal-body,
#modalModifikasiPreview .modal-body {
    padding: 1.25rem;
    background: #fff;
}

#modalFile .modal-footer,
#modalModifikasi .modal-footer,
#modalModifikasiPreview .modal-footer {
    padding: .9rem 1.25rem;
    background: #f8fbff;
    border-top: 1px solid #e1eaf3;
}

#modalFile .form-control,
#modalModifikasi .form-control,
#modalModifikasiPreview .form-control {
    border-radius: 8px;
    border-color: #cbd8e6;
}

#modalFile .form-control:focus,
#modalModifikasi .form-control:focus,
#modalModifikasiPreview .form-control:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

body:has(.apl-doc-page) .modal-backdrop.show {
    background: #000 !important;
    opacity: .82 !important;
}

@media (max-width: 575.98px) {
    #modalFile .modal-dialog,
    #modalModifikasi .modal-dialog,
    #modalModifikasiPreview .modal-dialog {
        margin: .75rem;
    }

    #modalFile .modal-body,
    #modalModifikasi .modal-body,
    #modalModifikasiPreview .modal-body {
        padding: 1rem;
    }

    #modalFile .modal-footer,
    #modalModifikasi .modal-footer,
    #modalModifikasiPreview .modal-footer {
        gap: .5rem;
    }
}
/* Keep the same readable width and center Asesi pages when sidebar is closed. */
@media (min-width: 1200px) {
  body.toggle-sidebar #main.apl-page,
  body.toggle-sidebar #main.apl-doc-page,
  body.toggle-sidebar #main > .pedoman-page {
    width: calc(100% - 300px) !important;
    max-width: 1400px !important;
    margin-inline: auto !important;
  }
}

/* Mobile navigation: reuse the existing sidebar as a drawer. */
.toggle-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #012970;
  cursor: pointer;
}

.mobile-drawer-overlay,
.mobile-bottom-nav {
  display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #sidebar.sidebar {
    left: 0 !important;
    transform: none !important;
  }

  #main,
  #footer {
    margin-left: 300px !important;
  }
}

@media (max-width: 991px) {
  body.mobile-drawer-open {
    overflow: hidden !important;
  }

  #sidebar.sidebar {
    top: 60px !important;
    bottom: 0 !important;
    left: 0 !important;
    width: min(86vw, 340px) !important;
    max-width: 340px !important;
    transform: translateX(-105%) !important;
    transition: transform .25s ease !important;
    z-index: 1300 !important;
    overflow-y: auto !important;
    box-shadow: 10px 0 30px rgba(15, 23, 42, .16) !important;
  }

  body.toggle-sidebar #sidebar.sidebar {
    left: 0 !important;
    transform: translateX(0) !important;
  }

  .mobile-drawer-overlay {
    position: fixed;
    inset: 60px 0 0;
    display: block;
    background: rgba(15, 23, 42, .62);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1290;
  }

  .mobile-drawer-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }

  #main,
  #footer {
    margin-left: 0 !important;
  }

  #main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .header {
    padding-left: 10px;
  }

  .header #btn-reload {
    display: none;
  }

  .header .header-nav {
    padding-right: 4px;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 64px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
    z-index: 1205;
  }

  .mobile-bottom-nav__item {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    padding: 3px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
  }

  .mobile-bottom-nav__item i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item:focus-visible {
    color: #0047cc;
    background: #eff6ff;
  }
}
/* Mobile hierarchical menu pages. */
.mobile-menu-page {
  width: 100%;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.mobile-menu-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.mobile-menu-card__header {
  padding: 1.25rem 1.35rem 1.1rem;
  background: linear-gradient(120deg, #003baf, #0878b9);
  color: #fff;
}

.mobile-menu-card__header h2 {
  margin: .85rem 0 .35rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.mobile-menu-card__header p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
}

.mobile-menu-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .92);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu-back:hover,
.mobile-menu-back:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.mobile-menu-list {
  display: grid;
  gap: .7rem;
  padding: 1rem;
}

.mobile-menu-item {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: .8rem;
  padding: .8rem .85rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.mobile-menu-item:hover,
.mobile-menu-item:focus-visible {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #0f172a;
  transform: translateY(-1px);
}

.mobile-menu-item__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #0047cc;
  font-size: 1.15rem;
}

.mobile-menu-item__copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: .22rem;
}

.mobile-menu-item__copy strong {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 800;
}

.mobile-menu-item__copy small {
  color: #64748b;
  font-size: .75rem;
  line-height: 1.4;
}

.mobile-menu-item__chevron {
  flex: 0 0 auto;
  color: #94a3b8;
}

@media (max-width: 575px) {
  .mobile-menu-page {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .mobile-menu-card {
    border-radius: 14px;
  }

  .mobile-menu-card__header {
    padding: 1rem;
  }

  .mobile-menu-card__header h2 {
    font-size: 1.1rem;
  }

  .mobile-menu-list {
    gap: .55rem;
    padding: .75rem;
  }

  .mobile-menu-item {
    min-height: 68px;
    gap: .65rem;
    padding: .7rem;
  }

  .mobile-menu-item__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
/* Mobile context back link and hierarchy for legacy destination pages. */
.mobile-context-navigation {
  display: none;
}

@media (max-width: 991px) {
  .mobile-context-navigation {
    display: grid;
    gap: .25rem;
    margin-top: 60px;
    padding: .45rem 1rem .6rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
  }

  .mobile-context-navigation__back {
    display: inline-flex;
    width: fit-content;
    min-height: 40px;
    align-items: center;
    gap: .4rem;
    color: #0047cc;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-context-navigation__breadcrumbs {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .35rem;
    overflow-x: auto;
    color: #64748b;
    font-size: .7rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .mobile-context-navigation__breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .mobile-context-navigation__breadcrumbs a {
    color: #0047cc;
    text-decoration: none;
  }

  .mobile-context-navigation__breadcrumbs i {
    color: #94a3b8;
    font-size: .65rem;
  }

  .mobile-context-navigation__breadcrumbs span {
    color: #0f172a;
    font-weight: 700;
  }

  .mobile-context-navigation + #main {
    margin-top: 0 !important;
  }

  body:not(:has(.mobile-menu-page)) .pagetitle nav {
    display: none !important;
  }
}
/* Context navigation is moved into .pagetitle by main.js on mobile. */
@media (max-width: 991px) {
  .pagetitle .mobile-context-navigation {
    margin-top: .35rem;
    padding: .45rem 0 .6rem;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
  }

  .pagetitle .mobile-context-navigation__breadcrumbs {
    display: flex !important;
  }

  body:not(:has(.mobile-menu-page)) .pagetitle > nav:not(.mobile-context-navigation__breadcrumbs) {
    display: none !important;
  }
}
@media (max-width: 991px) {
  #footer.footer {
    display: none !important;
  }
}
/* Desktop: fill the available content area while the sidebar is visible. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.apl-page,
  body:not(.toggle-sidebar) #main.apl-doc-page {
    width: calc(100% - 300px) !important;
    max-width: none !important;
    margin-left: 300px !important;
    margin-right: 0 !important;
  }
}
/* Desktop sidebar-open: keep Asesi pages readable and center them after the sidebar. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.apl-page,
  body:not(.toggle-sidebar) #main.apl-doc-page {
    width: min(1400px, calc(100% - 300px)) !important;
    max-width: 1400px !important;
    margin-left: max(300px, calc((100% + 300px - 1400px) / 2)) !important;
    margin-right: 0 !important;
  }
}
/* Asesi backbone: match Pedoman's full-area main + centered content section. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.apl-page,
  body.toggle-sidebar #main.apl-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 300px !important;
    margin-right: 0 !important;
  }

  body.toggle-sidebar #main.apl-page {
    margin-left: 0 !important;
  }

  #main.apl-page > .pagetitle,
  #main.apl-page > .content {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
  }
}
/* Correct the full-area main width while preserving the sidebar column. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.apl-page {
    width: calc(100% - 300px) !important;
    margin-left: 300px !important;
  }

  body.toggle-sidebar #main.apl-page {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
/* AK.01 uses the same Pedoman/Data Sertifikasi backbone. */
.ak01-page .content-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}

.ak01-page .card-header .card-title {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.ak01-page .table thead th {
  white-space: normal;
}

@media (max-width: 767px) {
  .ak01-page .content-wrapper {
    padding: 0;
  }

  .ak01-page .card-body,
  .ak01-page .card-footer {
    padding: 1rem !important;
  }

  .ak01-page .table-responsive {
    border: 1px solid #e5eaf1;
    border-radius: 12px;
  }

  .ak01-page .card-header .card-title {
    font-size: .9rem !important;
    line-height: 1.35;
  }
}
/* Keep the desktop footer at the bottom when page content is short. */
@media (min-width: 992px) {
  html,
  body {
    min-height: 100%;
  }

  #main {
    min-height: calc(100vh - 60px);
  }

  #footer {
    flex-shrink: 0;
  }
}
/* AK.01 list becomes readable cards on small screens. */
@media (max-width: 767px) {
  .ak01-page .ak01-list-table {
    min-width: 0 !important;
    border: 0;
  }

  .ak01-page .ak01-list-table thead {
    display: none;
  }

  .ak01-page .ak01-list-table tbody,
  .ak01-page .ak01-list-table tr,
  .ak01-page .ak01-list-table td {
    display: block;
    width: 100%;
  }

  .ak01-page .ak01-list-table tr {
    margin-bottom: .75rem;
    padding: .45rem .8rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  }

  .ak01-page .ak01-list-table tr:last-child {
    margin-bottom: 0;
  }

  .ak01-page .ak01-list-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #334155;
    text-align: right !important;
  }

  .ak01-page .ak01-list-table td::before {
    flex: 0 0 42%;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .ak01-page .ak01-list-table td[data-label]::before {
    content: attr(data-label);
  }

  .ak01-page .ak01-list-table td:first-child {
    justify-content: flex-end;
    padding: .15rem 0 .65rem !important;
  }

  .ak01-page .ak01-list-table td:first-child::before {
    display: none;
  }

  .ak01-page .ak01-list-table td:nth-child(4),
  .ak01-page .ak01-list-table td:nth-child(7) {
    line-height: 1.4;
  }
}
/* AK.01 detail: use stacked information cards on mobile; keep the desktop form unchanged. */
@media (max-width: 767px) {
  .ak01-page .ak01-detail-table {
    display: none;
  }

  .ak01-page .ak01-mobile-summary {
    display: grid;
    gap: .75rem;
  }

  .ak01-page .ak01-mobile-summary__intro {
    padding: .8rem;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.45;
  }

  .ak01-page .ak01-mobile-detail-grid {
    display: grid;
    gap: .55rem;
  }

  .ak01-page .ak01-mobile-detail-grid > div {
    display: grid;
    gap: .2rem;
    padding: .7rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
  }

  .ak01-page .ak01-mobile-detail-grid span {
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .ak01-page .ak01-mobile-detail-grid strong {
    color: #0f172a;
    font-size: .82rem;
    line-height: 1.4;
  }

  .ak01-page .ak01-mobile-statement {
    padding: .8rem;
    border-left: 3px solid #0d6efd;
    border-radius: 0 10px 10px 0;
    background: #f8fafc;
    color: #334155;
    font-size: .75rem;
    line-height: 1.5;
  }

  .ak01-page .ak01-mobile-statement strong {
    display: block;
    margin-bottom: .3rem;
    color: #0f172a;
  }

  .ak01-page .ak01-mobile-statement p {
    margin: 0;
  }

  .ak01-page .ak01-signature-table {
    min-width: 0 !important;
  }

  .ak01-page .ak01-signature-table tr,
  .ak01-page .ak01-signature-table td {
    display: block;
    width: 100%;
  }

  .ak01-page .ak01-signature-table tr {
    margin-bottom: .7rem;
    padding: .65rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
  }

  .ak01-page .ak01-signature-table td {
    border: 0 !important;
    padding: .25rem 0 !important;
    text-align: left !important;
  }

  .ak01-page .ak01-signature-table td:nth-child(2) {
    display: none;
  }

  .ak01-page .ak01-signature-table img {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
  }

  .ak01-page #setuju .form-check {
    padding: .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
  }

  .ak01-page #setuju button {
    width: 100%;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .ak01-page .ak01-mobile-summary {
    display: none;
  }
}

/* Give the mobile summary a formal document-sheet structure. */
@media (max-width: 767px) {
  .ak01-page .ak01-mobile-summary {
    counter-reset: ak01-section;
    padding: .85rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
  }

  .ak01-page .ak01-mobile-summary__intro {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #f8fafc;
    text-transform: uppercase;
    letter-spacing: .01em;
  }

  .ak01-page .ak01-mobile-section {
    counter-increment: ak01-section;
    display: grid;
    gap: .55rem;
    padding-top: .35rem;
  }

  .ak01-page .ak01-mobile-section h4 {
    margin: 0;
    padding-bottom: .35rem;
    border-bottom: 2px solid #0f2f4f;
    color: #0f2f4f;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .ak01-page .ak01-mobile-section h4::before {
    content: counter(ak01-section) ". ";
    color: #0d6efd;
  }

  .ak01-page .ak01-mobile-detail-grid > div {
    border-radius: 4px;
    border-color: #cbd5e1;
    box-shadow: none;
  }

  .ak01-page .ak01-mobile-statement {
    border: 1px solid #cbd5e1;
    border-left: 3px solid #0d6efd;
    border-radius: 4px;
  }
}

/* APL.01 follows the same document backbone while keeping the existing form flow. */
.apl01-page .apl-container {
  width: 100%;
}

.apl01-page .card-header h5 {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
}

.apl01-page .section-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 1.4rem 0 .8rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid #dbeafe;
  color: #0f2f4f;
  font-size: .9rem;
  font-weight: 800;
}

.apl01-page .section-title:first-child {
  margin-top: 0;
}

.apl01-page .section-title i {
  color: #0d6efd;
}

.apl01-page .field-label-pill {
  display: block;
  color: #334155;
  font-size: .78rem;
  font-weight: 700;
}

.apl01-page .input-group-text {
  min-width: 38px;
  justify-content: center;
  border-color: #dbe3ef;
  background: #f1f5f9;
  color: #334155;
}

@media (max-width: 767px) {
  .apl01-page .card-body {
    padding: .9rem !important;
  }

  .apl01-page .card-header {
    align-items: flex-start !important;
    padding: .85rem .9rem !important;
  }

  .apl01-page .card-header h5 {
    font-size: .88rem;
    line-height: 1.35;
  }

  .apl01-page .card-header .badge {
    flex: 0 0 auto;
    padding: .35rem .5rem !important;
    font-size: .62rem;
  }

  .apl01-page .section-title {
    margin-top: 1.15rem;
    font-size: .78rem;
  }

  .apl01-page .row.g-3,
  .apl01-page .row.g-4 {
    --bs-gutter-y: .55rem;
  }

  .apl01-page .form-group {
    margin-bottom: .25rem !important;
  }

  .apl01-page .form-control,
  .apl01-page .form-select,
  .apl01-page .input-group-text {
    min-height: 44px;
    font-size: .82rem;
  }

  .apl01-page textarea.form-control {
    min-height: 76px;
  }

  .apl01-page .signature-box {
    padding: .45rem;
    border-radius: 10px;
  }

  .apl01-page #signature_2 {
    height: 150px;
  }

  .apl01-page .preview-frame {
    width: 112px !important;
    height: 148px !important;
  }

  .apl01-page .card-footer {
    padding: .85rem .9rem !important;
  }

  .apl01-page #btn-submit-pribadi {
    width: 100%;
    min-height: 46px;
    padding-inline: 1rem !important;
  }
}

/* APL.01 mobile: neutralize the nested Bootstrap row offset so the sheet stays centered. */
@media (max-width: 767px) {
  .apl01-page .content-wrapper > .content > .container-fluid > .row > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .apl01-page .content-wrapper > .content > .container-fluid > .row > .row > .col-lg-10 {
    padding-right: .75rem;
    padding-left: .75rem;
  }
}

/* APL.01 card header icon follows the white Pedoman header treatment. */
.apl01-page .card-header > h5 > i {
  color: rgba(255, 255, 255, .9) !important;
}

.apl01-page .card-header .badge.bg-soft-primary {
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
}

/* APL.01 save actions share one clear primary treatment. */
.apl01-page .apl01-save-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #003baf, #0878b9);
  box-shadow: 0 6px 14px rgba(0, 71, 204, .18);
  font-weight: 800;
}

.apl01-page .apl01-save-action:hover,
.apl01-page .apl01-save-action:focus-visible {
  background: linear-gradient(120deg, #00308f, #066696);
  box-shadow: 0 8px 18px rgba(0, 71, 204, .25);
}

.apl01-page .apl01-save-action i {
  margin: 0 !important;
  color: currentColor !important;
}

@media (max-width: 767px) {
  .apl01-page .apl01-save-action {
    width: 100%;
    min-height: 46px;
    padding-inline: 1rem !important;
  }
}

/* APL.02 daftar follows the same readable table/card pattern as APL.01. */
.apl02-page .card-header .card-title {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.apl02-page .apl02-list-table td:first-child .btn {
  min-width: 38px;
}

@media (max-width: 767px) {
  .apl02-page .card-body {
    padding: .9rem !important;
  }

  .apl02-page .apl02-list-table {
    min-width: 0 !important;
    border: 0;
  }

  .apl02-page .apl02-list-table thead {
    display: none;
  }

  .apl02-page .apl02-list-table tbody,
  .apl02-page .apl02-list-table tr,
  .apl02-page .apl02-list-table td {
    display: block;
    width: 100%;
  }

  .apl02-page .apl02-list-table tr {
    margin-bottom: .75rem;
    padding: .45rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  }

  .apl02-page .apl02-list-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #334155;
    text-align: right !important;
    line-height: 1.4;
  }

  .apl02-page .apl02-list-table td::before {
    flex: 0 0 42%;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .apl02-page .apl02-list-table td:nth-child(1) {
    justify-content: flex-end;
    padding: .25rem 0 .65rem !important;
  }

  .apl02-page .apl02-list-table td:nth-child(1)::before { display: none; }
  .apl02-page .apl02-list-table td:nth-child(2)::before { content: 'No.'; }
  .apl02-page .apl02-list-table td:nth-child(3)::before { content: 'Skema Sertifikasi'; }
  .apl02-page .apl02-list-table td:nth-child(4)::before { content: 'Tujuan Asesi'; }
  .apl02-page .apl02-list-table td:nth-child(5)::before { content: 'Status'; }
  .apl02-page .apl02-list-table td:nth-child(6)::before { content: 'Tanggal Input'; }

  .apl02-page .apl02-list-table td:nth-child(3) {
    display: block;
    text-align: left !important;
  }

  .apl02-page .apl02-list-table td:nth-child(3)::before {
    display: block;
    margin-bottom: .25rem;
  }

  .apl02-page .apl02-list-table td .text-danger {
    display: inline;
  }
}

/* Refactored Asesi pages: keep the title and breadcrumb aligned with the centered card. */
@media (min-width: 1200px) {
  #main.pedoman-layout > .pagetitle {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
  }
}
@media (min-width: 1200px) {
  .apl01-page .asesi-mandiri-container > .pagetitle {
    width: 83.333333%;
    margin-inline: auto;
  }
}
@media (max-width: 767px) {
  .apl02-page .card-body,
  .apl02-page .table-responsive,
  .apl02-page .apl02-list-table,
  .apl02-page .apl02-list-table tbody,
  .apl02-page .apl02-list-table tr,
  .apl02-page .apl02-list-table td {
    background-color: #fff !important;
  }

  .apl02-page .apl02-list-table td {
    box-shadow: inset 0 0 0 9999px #fff !important;
  }
}
/* Shared Asesi list actions: compact on desktop, explicit on mobile. */
.asesi-list-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.asesi-list-action .action-label {
  display: none;
}

@media (max-width: 767px) {
  .apl-page .asesi-list-action .action-label {
    display: inline;
  }

  .apl-page .asesi-list-action {
    min-width: 118px;
    min-height: 38px;
  }
}
/* Mobile uses the explicit contextual back link instead of duplicate breadcrumbs. */
@media (max-width: 991px) {
  #main .pagetitle > nav {
    display: none !important;
  }
}
/* Konsultasi Pra Uji uses the shared Asesi card/table backbone. */
.prior-page .content-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}

.prior-page .table-responsive {
  border: 1px solid #e5eaf1;
  border-radius: 12px;
}

.prior-detail-page .card-body {
  padding: 1.4rem !important;
}

@media (max-width: 767px) {
  .prior-page .card-body {
    padding: .9rem !important;
  }

  .prior-page .prior-list-table {
    min-width: 0 !important;
    border: 0;
  }

  .prior-page .prior-list-table thead {
    display: none;
  }

  .prior-page .prior-list-table tbody,
  .prior-page .prior-list-table tr,
  .prior-page .prior-list-table td {
    display: block;
    width: 100%;
  }

  .prior-page .prior-list-table tr {
    margin-bottom: .75rem;
    padding: .45rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  }

  .prior-page .prior-list-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 9999px #fff !important;
    color: #334155;
    text-align: right !important;
    line-height: 1.4;
  }

  .prior-page .prior-list-table td::before {
    flex: 0 0 42%;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .prior-page .prior-list-table td:first-child {
    justify-content: flex-end;
    padding: .25rem 0 .65rem !important;
  }

  .prior-page .prior-list-table td:first-child::before {
    display: none;
  }

  .prior-page .prior-detail-page .table-responsive,
  .prior-detail-page .table-responsive {
    overflow-x: auto;
  }

  .prior-detail-page .card-body > table {
    min-width: 680px;
  }
}
@media (max-width: 767px) {
  .prior-detail-page .prior-document-body,
  .prior-detail-page .prior-checklist-body {
    overflow: visible !important;
  }

  .prior-detail-page .prior-document-table {
    display: block;
    min-width: 0 !important;
    border: 0;
    border-collapse: collapse !important;
    border-spacing: 0;
  }

  .prior-detail-page .prior-document-table tbody,
  .prior-detail-page .prior-document-table tr {
    display: block;
    width: 100%;
  }

  .prior-detail-page .prior-document-table tr:first-child {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: stretch;
  }

  .prior-detail-page .prior-document-table tr:first-child th {
    min-width: 0 !important;
    padding: .55rem .4rem !important;
    font-size: .72rem;
  }

  .prior-detail-page .prior-document-table tr:first-child th:nth-child(2) {
    font-size: .95rem;
    line-height: 1.25;
  }

  .prior-detail-page .prior-document-table tr:not(:first-child) {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .prior-detail-page .prior-document-table tr:not(:first-child) th {
    padding: .45rem .55rem !important;
    font-size: .72rem;
  }

  .prior-detail-page .prior-document-table tr:not(:first-child) th:first-child {
    grid-column: 1;
  }

  .prior-detail-page .prior-document-table tr:not(:first-child) th:last-child {
    grid-column: 2;
  }

  .prior-detail-page .prior-units-table {
    display: block;
    min-width: 0 !important;
    overflow: hidden;
  }

  .prior-detail-page .prior-units-table th,
  .prior-detail-page .prior-units-table td {
    padding: .55rem .45rem !important;
    font-size: .76rem;
  }

  .prior-detail-page .prior-units-table td:first-child {
    width: 34% !important;
    word-break: break-word;
  }

  .prior-detail-page .prior-checklist-table {
    min-width: 0 !important;
    border: 0;
  }

  .prior-detail-page .prior-checklist-table thead,
  .prior-detail-page .prior-checklist-table tbody,
  .prior-detail-page .prior-checklist-table tr,
  .prior-detail-page .prior-checklist-table td {
    display: block;
    width: 100%;
  }

  .prior-detail-page .prior-checklist-table thead tr {
    padding: .65rem .75rem;
    border-radius: 10px;
    background: #0f2f4f;
    color: #fff;
  }

  .prior-detail-page .prior-checklist-table tbody tr {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: .6rem;
    margin-top: .65rem;
    padding: .75rem;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
  }

  .prior-detail-page .prior-checklist-table tbody td {
    padding: .15rem 0 !important;
    border: 0 !important;
  }

  .prior-detail-page .prior-checklist-table tbody td:first-child {
    grid-row: span 2;
    font-weight: 800;
    color: #0d6efd;
  }

  .prior-detail-page .prior-checklist-table tbody td:nth-child(2) {
    line-height: 1.5;
  }

  .prior-detail-page .prior-checklist-table tbody td:nth-child(3) {
    padding-top: .45rem !important;
  }

  .prior-detail-page .prior-checklist-table select {
    width: 100%;
    min-height: 42px;
  }
}
@media (max-width: 767px) {
  .prior-detail-page .prior-document-table tr:not(:first-child) {
    display: none;
  }

  .prior-detail-page .prior-document-table tr:first-child {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 124px;
  }

  .prior-detail-page .prior-document-table tr:first-child th:nth-child(n + 3) {
    display: none;
  }

  .prior-detail-page .prior-document-table tr:first-child th:first-child {
    border-left: 0 !important;
    position: relative;
    display: block;
    overflow: visible;
    padding: 0 !important;
  }

  .prior-detail-page .prior-document-table tr:first-child th:first-child img.prior-document-logo {
    position: absolute;
    top: 50%;
    left: calc(50% + 28px);
    display: block;
    width: 48px !important;
    max-width: 48px;
    height: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    object-fit: contain;
  }

  .prior-detail-page .prior-document-table tr:first-child th:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    padding: .75rem !important;
    font-size: .95rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .prior-detail-page .prior-document-table tr:first-child th:nth-child(2) h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
  }
}
/* IA.02 keeps the shared Asesi backbone, with document content contained on mobile. */
.ia02-page .content-wrapper,
.ia02-detail-page .content-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}

.ia02-detail-page .ia02-meta-table th {
  width: 22%;
}

.ia02-detail-page .ia02-units-body {
  overflow-x: auto;
}

.ia02-detail-page .ia02-units-table {
  min-width: 680px;
}

@media (max-width: 767px) {
  .ia02-page .card-header,
  .ia02-detail-page .card-header {
    padding: 1rem !important;
  }

  .ia02-page .card-title,
  .ia02-detail-page .card-title {
    font-size: .95rem;
    line-height: 1.35;
  }

  .ia02-detail-page .card-body {
    padding: .75rem !important;
  }

  .ia02-detail-page .ia02-meta-table,
  .ia02-detail-page .ia02-meta-table tbody,
  .ia02-detail-page .ia02-meta-table tr,
  .ia02-detail-page .ia02-meta-table th,
  .ia02-detail-page .ia02-meta-table td {
    display: block;
    width: 100% !important;
  }

  .ia02-detail-page .ia02-meta-table {
    border: 0;
    margin-bottom: 0;
  }

  .ia02-detail-page .ia02-meta-table tr {
    display: grid;
    grid-template-columns: 42% 58%;
    border-bottom: 1px solid #e2e8f0;
  }

  .ia02-detail-page .ia02-meta-table th,
  .ia02-detail-page .ia02-meta-table td {
    padding: .55rem .5rem !important;
    border: 0;
    overflow-wrap: anywhere;
  }

  .ia02-detail-page .ia02-meta-table th {
    color: #64748b;
    font-size: .72rem;
  }

  .ia02-detail-page .ia02-instruction-body {
    font-size: .86rem;
    line-height: 1.55;
  }

  .ia02-detail-page .ia02-units-body {
    margin-inline: -.75rem;
    padding-inline: .75rem !important;
    border-top: 1px solid #e2e8f0;
  }

  .ia02-detail-page .ia02-units-table {
    min-width: 620px;
    font-size: .78rem;
  }
}
/* IA.02 mobile navigation and readable document cards. */
.ia02-mobile-back {
  display: none;
}
@media (max-width: 767px) {
  .ia02-mobile-back {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1rem;
    padding: .85rem .15rem;
    border-bottom: 1px solid #dbe3ef;
    color: #0645c0;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
  }
  .ia02-page .prior-list-table td::before { content: attr(data-label); }
  .ia02-page .prior-list-table td:first-child { justify-content: flex-end; }
  .ia02-detail-page .ia02-meta-table,
  .ia02-detail-page .ia02-meta-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .ia02-detail-page .ia02-meta-table { table-layout: fixed; min-width: 0 !important; max-width: 100%; border: 0; }
  .ia02-detail-page .ia02-meta-table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
    width: 100% !important;
  }
  .ia02-detail-page .ia02-meta-table th,
  .ia02-detail-page .ia02-meta-table td {
    min-width: 0 !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .ia02-detail-page .ia02-units-body {
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: .75rem !important;
  }
  .ia02-detail-page .ia02-units-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    font-size: .78rem;
  }
  .ia02-detail-page .ia02-units-table thead,
  .ia02-detail-page .ia02-units-table tbody,
  .ia02-detail-page .ia02-units-table tr,
  .ia02-detail-page .ia02-units-table th,
  .ia02-detail-page .ia02-units-table td {
    display: block;
    width: 100% !important;
  }
  .ia02-detail-page .ia02-units-table thead.bg-dark,
  .ia02-detail-page .ia02-units-table thead.bg-dark tr,
  .ia02-detail-page .ia02-units-table thead.bg-dark th {
    background: linear-gradient(135deg, #0645c0, #087fbd) !important;
    color: #fff !important;
  }
  .ia02-detail-page .ia02-units-table thead tr:first-child {
    display: block;
    padding: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #0645c0, #087fbd);
    color: #fff;
  }
  .ia02-detail-page .ia02-units-table thead tr:first-child th:first-child { display: none; }
  .ia02-detail-page .ia02-units-table thead tr:first-child th:nth-child(2) {
    display: block;
    padding: .75rem !important;
    border: 0 !important;
    color: #fff;
    font-size: .78rem;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
    background: linear-gradient(135deg, #0645c0, #087fbd) !important;
  }
  .ia02-detail-page .ia02-units-table thead tr:first-child th:nth-child(2) {
    background: linear-gradient(135deg, #0645c0, #087fbd) !important;
    color: #fff !important;
    border-bottom: 0 !important;
  }
  .ia02-detail-page .ia02-units-table thead tr:nth-child(2) { display: none; }
  .ia02-detail-page .ia02-units-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .35rem;
    margin-top: .7rem;
    padding: .7rem;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
  }
  .ia02-detail-page .ia02-units-table tbody td {
    padding: .4rem 0 !important;
    border: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .ia02-detail-page .ia02-units-table tbody td:first-child { font-weight: 700; }
  .ia02-detail-page .ia02-units-table tbody td:first-child::before {
    content: "Instruksi Kerja";
    display: block;
    margin-bottom: .2rem;
    color: #64748b;
    font-size: .68rem;
    text-transform: uppercase;
  }
  .ia02-detail-page .ia02-units-table tbody td:nth-child(2) { display: none; }
  .ia02-detail-page .ia02-units-table tbody td:last-child::before {
    content: "Output";
    display: block;
    margin-bottom: .2rem;
    color: #64748b;
    font-size: .68rem;
    text-transform: uppercase;
  }
}
.ia02-detail-page .ia02-unit-thead,
.ia02-detail-page .ia02-unit-thead tr,
.ia02-detail-page .ia02-unit-thead th {
  background: #212529;
  color: #fff;
}

@media (max-width: 767px) {
  .ia02-detail-page .ia02-unit-thead,
  .ia02-detail-page .ia02-unit-thead tr,
  .ia02-detail-page .ia02-unit-thead th {
    background: linear-gradient(135deg, #0645c0, #087fbd) !important;
    color: #fff !important;
  }
}
/* Tugas Peserta follows the shared Asesi backbone. */
.tugas-mobile-back { display: none; }
.tugas-page .card-header,
.tugas-detail-page .card-header { color: #fff; }

@media (max-width: 767px) {
  .tugas-mobile-back {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1rem;
    padding: .8rem .15rem;
    border-bottom: 1px solid #dbe3ef;
    color: #0645c0;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
  }

  .tugas-page .card-header,
  .tugas-detail-page .card-header { padding: 1rem !important; }
  .tugas-page .card-title,
  .tugas-detail-page .card-title { font-size: .95rem; line-height: 1.35; }
  .tugas-detail-page .card-body { padding: .75rem !important; }
  .tugas-detail-page .card-body > table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
  }
  .tugas-detail-page .card-body > table th,
  .tugas-detail-page .card-body > table td {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .tugas-detail-page .tugas-detail-card form > .d-flex,
  .tugas-detail-page .tugas-detail-card > .d-flex { display: block !important; }
  .tugas-detail-page .tugas-detail-card form .col-12.col-sm-6.col-md-4,
  .tugas-detail-page .tugas-detail-card > .col-12.col-sm-6.col-md-4 {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 767px) {
  .tugas-detail-page .tugas-meta-table { table-layout: fixed !important; }
  .tugas-detail-page .tugas-meta-table th {
    width: 36% !important;
    min-width: 36% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .tugas-detail-page .tugas-meta-table td { width: 64% !important; }
}
@media (max-width: 767px) {
  .tugas-page .tugas-list-table td::before { content: attr(data-label); }
}
/* Tugas follows the same full-area main and centered inner content as Asesi pages. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.tugas-page,
  body:not(.toggle-sidebar) #main.tugas-detail-page {
    width: calc(100% - 300px) !important;
    max-width: none !important;
    margin-left: 300px !important;
    margin-right: 0 !important;
  }

  body.toggle-sidebar #main.tugas-page,
  body.toggle-sidebar #main.tugas-detail-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #main.tugas-page > .pagetitle,
  #main.tugas-page > .content-wrapper,
  #main.tugas-detail-page > .pagetitle,
  #main.tugas-detail-page > .content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
  }
}
/* IA.02 metadata header: stable two-column layout on every viewport. */
.ia02-detail-page .ia02-meta-table {
  width: 100% !important;
  table-layout: fixed;
}
.ia02-detail-page .ia02-meta-table th { width: 22% !important; }
.ia02-detail-page .ia02-meta-table td { width: 78% !important; }

@media (max-width: 767px) {
  .ia02-detail-page .ia02-meta-table,
  .ia02-detail-page .ia02-meta-table tbody,
  .ia02-detail-page .ia02-meta-table tr,
  .ia02-detail-page .ia02-meta-table th,
  .ia02-detail-page .ia02-meta-table td {
    min-width: 0 !important;
  }
  .ia02-detail-page .ia02-meta-table tr {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
  }
  .ia02-detail-page .ia02-meta-table th { width: auto !important; }
  .ia02-detail-page .ia02-meta-table td { width: auto !important; overflow-wrap: anywhere; }
}
/* Tugas mobile list: prevent legacy table/flex rules from clipping labels. */
@media (max-width: 767px) {
  .tugas-page .table-responsive {
    overflow: visible !important;
    border: 0 !important;
  }
  .tugas-page .tugas-list-table,
  .tugas-page .tugas-list-table tbody,
  .tugas-page .tugas-list-table tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .tugas-page .tugas-list-table tr {
    box-sizing: border-box;
  }
  .tugas-page .tugas-list-table td {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    align-items: start;
    gap: .6rem;
    padding: .55rem 0 !important;
    text-align: right !important;
    overflow: visible !important;
  }
  .tugas-page .tugas-list-table td::before {
    display: block !important;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-align: left;
  }
  .tugas-page .tugas-list-table td:first-child {
    display: flex !important;
    justify-content: flex-end;
    padding: .25rem 0 .65rem !important;
  }
  .tugas-page .tugas-list-table td:first-child::before { display: none !important; }
  .tugas-page .tugas-list-table td > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
/* Feedback follows the shared Pedoman/Asesi backbone. */
.feedback-page .card,
.feedback-detail-page .main-card { border-radius: 16px; overflow: hidden; }
.feedback-page .card-header,
.feedback-detail-page .premium-header { background: linear-gradient(135deg, #0645c0, #087fbd) !important; color: #fff !important; border: 0 !important; }
.feedback-page .card-title,
.feedback-detail-page .premium-header .card-title { color: #fff !important; font-weight: 800; }
.feedback-page .feedback-intro { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; color: #64748b; font-size: .85rem; }
.feedback-page .feedback-intro i { color: #0645c0; }
.feedback-page .feedback-list-table code { color: #0645c0; background: #eef5ff; padding: .2rem .4rem; border-radius: .35rem; }
@media (min-width: 768px) {
  .feedback-page .feedback-list-table th:nth-child(6),
  .feedback-page .feedback-list-table td:nth-child(6) {
    min-width: 140px;
    white-space: nowrap;
  }
}
.feedback-detail-page .info-grid { gap: 0; }
.feedback-detail-page .info-item { padding: .9rem 1rem; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.feedback-page,
  body:not(.toggle-sidebar) #main.feedback-detail-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.feedback-page,
  body.toggle-sidebar #main.feedback-detail-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  #main.feedback-page > .pagetitle,
  #main.feedback-page > .content-wrapper,
  #main.feedback-detail-page > .pagetitle,
  #main.feedback-detail-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .feedback-page .card-body { padding: .9rem !important; }
  .feedback-page .feedback-list-table,
  .feedback-page .feedback-list-table tbody,
  .feedback-page .feedback-list-table tr { display: block !important; width: 100% !important; min-width: 0 !important; }
  .feedback-page .feedback-list-table thead { display: none !important; }
  .feedback-page .feedback-list-table tr { box-sizing: border-box; margin-bottom: .75rem; padding: .45rem .75rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff; }
  .feedback-page .feedback-list-table td { display: grid !important; grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: .6rem; width: 100% !important; min-width: 0 !important; box-sizing: border-box; align-items: start; padding: .55rem 0 !important; border: 0 !important; background: #fff !important; text-align: right !important; overflow: visible !important; }
  .feedback-page .feedback-list-table td::before { content: attr(data-label); display: block !important; min-width: 0; color: #64748b; font-size: .68rem; font-weight: 800; text-align: left; text-transform: uppercase; overflow-wrap: normal; word-break: normal; }
  .feedback-page .feedback-list-table td:first-child { display: flex !important; justify-content: flex-end; padding: .25rem 0 .65rem !important; }
  .feedback-page .feedback-list-table td:first-child::before { display: none !important; }
  .feedback-page .feedback-list-table td:nth-child(6) .status-pill { justify-content: center; width: 100%; }
  .feedback-page .feedback-list-table td > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .feedback-detail-page .main-card { margin-bottom: 1rem; }
  .feedback-detail-page .premium-header { padding: 1rem !important; }
  .feedback-detail-page .premium-header .card-title { font-size: .95rem; line-height: 1.35; }
  .feedback-detail-page .info-grid { grid-template-columns: 1fr !important; padding: .5rem !important; }
  .feedback-detail-page .info-item { padding: .7rem .75rem; border-bottom: 1px solid #e5eaf1; }
  .feedback-detail-page .info-item:last-child { border-bottom: 0; }
  .feedback-detail-page .main-card,
  .feedback-detail-page .survey-card,
  .feedback-detail-page form .card { overflow: hidden; }
  .feedback-detail-page .table-responsive { overflow-x: auto; }
  .feedback-detail-page .comment-box { min-height: 80px; }
}

@media (max-width: 767px) {
  .back-to-top { display: none !important; }
}



/* AK.04 follows the shared list/card backbone. */
.ak04-page .card { overflow: hidden; }
.ak04-page .card-header { display: flex !important; align-items: center; gap: .65rem; }
.ak04-page .card-header .btn-light { color: #0645c0; font-weight: 700; border: 0; }
.ak04-page .ak04-intro { display: flex; gap: .5rem; align-items: center; color: #64748b; font-size: .85rem; }
.ak04-page .ak04-intro i { color: #0645c0; }
.ak04-page .ak04-list-table th { white-space: nowrap; }
.ak04-page .ak04-actions { display: flex; gap: .35rem; }
.ak04-page .ak04-actions .btn { min-width: 42px; }
.ak04-page .ak04-modal { overflow: hidden; border: 0; border-radius: 16px; }
.ak04-page .ak04-modal .modal-header { background: linear-gradient(120deg, #003baf, #0878b9); color: #fff; border: 0; }
.ak04-page .ak04-modal .btn-close { filter: brightness(0) invert(1); }
.ak04-page .ak04-form-note { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: 10px; background: #f1f5f9; color: #475569; }
.ak04-page .ak04-modal label, .ak04-page .ak04-detail-page label { color: #334155; font-weight: 700; font-size: .82rem; }
.ak04-page .ak04-question { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid #e2e8f0; border-radius: 12px; }
.ak04-page .ak04-question legend { float: none; width: auto; margin: 0 0 .55rem; color: #334155; font-size: .84rem; font-weight: 700; }
.ak04-page .ak04-question label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 1.25rem 0 0; font-weight: 600; }
.ak04-page .ak04-question input { accent-color: #0645c0; }
@media (max-width: 767px) {
  .ak04-page .card-header { align-items: flex-start; flex-wrap: wrap; padding: 1rem !important; }
  .ak04-page .card-header .card-title { flex: 1 1 100%; }
  .ak04-page .card-header .btn-light { width: 100%; margin: .25rem 0 0 !important; }
  .ak04-page .card-body { padding: .85rem !important; }
  .ak04-page .ak04-intro { align-items: flex-start; line-height: 1.45; }
  .ak04-page .ak04-list-table { border: 0; }
  .ak04-page .ak04-list-table thead { display: none; }
  .ak04-page .ak04-list-table tbody, .ak04-page .ak04-list-table tr, .ak04-page .ak04-list-table td { display: block; width: 100%; }
  .ak04-page .ak04-list-table tr { margin: 0 0 .75rem; padding: .7rem .85rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff; }
  .ak04-page .ak04-list-table td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: .6rem; align-items: start; padding: .55rem 0 !important; border: 0 !important; text-align: right; }
  .ak04-page .ak04-list-table td::before { content: attr(data-label); color: #64748b; font-size: .68rem; font-weight: 800; text-align: left; text-transform: uppercase; }
  .ak04-page .ak04-list-table td:first-child { display: flex; justify-content: flex-end; padding: .1rem 0 .65rem !important; }
  .ak04-page .ak04-list-table td:first-child::before { display: none; }
  .ak04-page .ak04-actions { justify-content: flex-end; }
  .ak04-page .ak04-actions .btn span { display: inline; }
  .ak04-page .ak04-modal .modal-dialog { margin: .75rem; }
  .ak04-page .ak04-modal .modal-body { padding: 1rem; }
  .ak04-page .card-footer { gap: .6rem; flex-wrap: wrap; }
  .ak04-page .card-footer .btn { flex: 1 1 auto; }
}
/* AK.04 uses the same centered content rail as Feedback and Pedoman. */
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.ak04-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.ak04-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  #main.ak04-page > .pagetitle,
  #main.ak04-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}
/* AK.04 action and modal polish. The modal lives outside #main, so it must not depend on .ak04-page ancestry. */
.ak04-create-button { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .55rem 1rem !important; border-radius: 10px !important; background: #fff !important; color: #0645c0 !important; box-shadow: 0 4px 10px rgba(15,23,42,.12); }
.ak04-create-button i { font-size: 1rem; }
.ak04-modal { overflow: hidden; border: 0 !important; border-radius: 18px !important; box-shadow: 0 22px 60px rgba(15,23,42,.24); }
.ak04-modal .modal-header { padding: 1.1rem 1.35rem; background: linear-gradient(120deg, #003baf, #0878b9); color: #fff; border: 0; }
.ak04-modal .modal-title { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 800; }
.ak04-modal .btn-close { filter: brightness(0) invert(1); opacity: .9; }
.ak04-modal .modal-body { padding: 1.35rem; }
.ak04-modal .modal-footer { padding: 1rem 1.35rem; background: #f8fafc; border-top: 1px solid #e5eaf1; }
.ak04-modal .modal-footer .btn { min-height: 40px; border-radius: 9px; font-weight: 700; }
.ak04-modal .ak04-form-note { border: 1px solid #dbeafe; background: #eff6ff; color: #31527a; }
.ak04-modal label { display: block; margin-bottom: .45rem; color: #334155; font-size: .8rem; font-weight: 800; }
.ak04-modal .form-select, .ak04-modal .form-control { min-height: 44px; border-color: #dbe3ef; border-radius: 9px; }
.ak04-modal .ak04-question { margin: 0 0 .8rem; padding: .85rem 1rem; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.ak04-modal .ak04-question legend { width: auto; margin: 0 0 .65rem; color: #334155; font-size: .82rem; font-weight: 800; }
.ak04-modal .ak04-question label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 .55rem 0 0; padding: .55rem .8rem; border: 1px solid #dbe3ef; border-radius: 8px; background: #f8fafc; font-weight: 700; cursor: pointer; }
.ak04-modal .ak04-question label:has(input:checked) { border-color: #2563eb; background: #eff6ff; color: #0645c0; }
.ak04-modal .ak04-question input { accent-color: #0645c0; }
@media (max-width: 767px) {
  .ak04-page .card-header .ak04-create-button { width: auto !important; margin: .35rem 0 0 !important; }
  .ak04-modal .modal-dialog { margin: .65rem; }
  .ak04-modal .modal-header, .ak04-modal .modal-body, .ak04-modal .modal-footer { padding-left: 1rem; padding-right: 1rem; }
  .ak04-modal .modal-title { font-size: .95rem; }
  .ak04-modal .ak04-question label { min-width: 76px; justify-content: center; }
  .ak04-modal .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .ak04-modal .modal-footer .btn { width: 100%; }
}
/* AK.04 question layout polish. Keep each prompt readable before the answer choices. */
.ak04-modal, .ak04-modal .modal-content { background: #fff; }
.ak04-modal .modal-dialog { max-width: 800px; }
.ak04-modal .modal-body { background: #fff; }
.ak04-modal .ak04-question { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.ak04-modal .ak04-question legend { flex: 1 1 100%; display: block; margin: 0; line-height: 1.45; }
.ak04-modal .ak04-question label { flex: 0 0 auto; min-width: 86px; justify-content: center; margin: 0; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.ak04-modal .ak04-question label:hover { border-color: #93c5fd; background: #eff6ff; }
.ak04-modal .ak04-question input { margin: 0; }
@media (min-width: 768px) {
  .ak04-modal .ak04-question { padding: 1rem 1.1rem; }
  .ak04-modal .ak04-question label { min-height: 42px; }
}/* AK.04 mobile list uses the shared Asesi card-list template. */
@media (max-width: 767px) {
  .ak04-page .table-responsive { overflow: visible !important; border: 0 !important; }
  .ak04-page .ak04-list-table { min-width: 0 !important; border: 0 !important; }
  .ak04-page .ak04-list-table thead { display: none !important; }
  .ak04-page .ak04-list-table tbody,
  .ak04-page .ak04-list-table tr,
  .ak04-page .ak04-list-table td { display: block !important; width: 100% !important; box-sizing: border-box; }
  .ak04-page .ak04-list-table tr { margin-bottom: .75rem; padding: .45rem .75rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff !important; }
  .ak04-page .ak04-list-table td { display: grid !important; grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: .6rem; align-items: start; min-width: 0 !important; padding: .55rem 0 !important; border: 0 !important; background: #fff !important; box-shadow: inset 0 0 0 9999px #fff !important; text-align: right !important; overflow-wrap: anywhere; }
  .ak04-page .ak04-list-table td::before { content: attr(data-label); display: block !important; min-width: 0; color: #64748b; font-size: .68rem; font-weight: 800; text-align: left; text-transform: uppercase; }
  .ak04-page .ak04-list-table td:first-child { display: flex !important; justify-content: flex-end; padding: .25rem 0 .65rem !important; }
  .ak04-page .ak04-list-table td:first-child::before { display: none !important; }
}
/* DPT list follows the shared Asesi list/card template. */
.dpt-page .dpt-list-table th { white-space: nowrap; }
.dpt-page .dpt-list-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.dpt-page .dpt-intro { color: #64748b; }
.dpt-page .dpt-intro i { color: #0d6efd; margin-right: .35rem; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.dpt-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.dpt-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.dpt-page > .pagetitle, #main.dpt-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .dpt-page .table-responsive { overflow: visible !important; border: 0 !important; }
  .dpt-page .dpt-list-table { min-width: 0 !important; border: 0 !important; }
  .dpt-page .dpt-list-table thead { display: none !important; }
  .dpt-page .dpt-list-table tbody, .dpt-page .dpt-list-table tr, .dpt-page .dpt-list-table td { display: block !important; width: 100% !important; box-sizing: border-box; }
  .dpt-page .dpt-list-table tr { margin-bottom: .75rem; padding: .45rem .75rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff !important; }
  .dpt-page .dpt-list-table td { display: grid !important; grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: .6rem; align-items: start; min-width: 0 !important; padding: .55rem 0 !important; border: 0 !important; background: #fff !important; box-shadow: inset 0 0 0 9999px #fff !important; text-align: right !important; overflow-wrap: anywhere; }
  .dpt-page .dpt-list-table td::before { content: attr(data-label); display: block !important; min-width: 0; color: #64748b; font-size: .68rem; font-weight: 800; text-align: left; text-transform: uppercase; }
  .dpt-page .dpt-list-table td:first-child { display: flex !important; justify-content: flex-end; padding: .25rem 0 .65rem !important; }
  .dpt-page .dpt-list-table td:first-child::before { display: none !important; }
  .dpt-page .dpt-list-table td > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .dpt-page .dpt-list-actions { justify-content: flex-end; }
  .dpt-page .dpt-list-table code { white-space: normal; }
}
/* DPT detail uses the shared document/card backbone. */
.dpt-detail-page .dpt-mobile-back { display: none; }
.dpt-detail-page .dpt-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1.25rem; }
.dpt-detail-page .dpt-detail-summary > div { min-height: 78px; padding: .85rem 1rem; border: 1px solid #dbe3ef; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px rgba(15,23,42,.08); }
.dpt-detail-page .dpt-detail-summary span { display: block; margin-bottom: .35rem; color: #64748b; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.dpt-detail-page .dpt-detail-summary strong { display: block; color: #0f2f5c; font-size: .88rem; overflow-wrap: anywhere; }
.dpt-detail-page .dpt-detail-summary code { color: #0645c0; background: #eef5ff; padding: .2rem .4rem; border-radius: .35rem; }
.dpt-detail-page .dpt-answer-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .8rem; color: #0f2f5c; font-weight: 800; }
.dpt-detail-page .dpt-answer-heading small { color: #64748b; font-size: .76rem; font-weight: 500; }
.dpt-detail-page .dpt-unit-block { margin: 0 0 1rem; padding: 1rem; border: 1px solid #dbe3ef; border-radius: 14px; background: #f8fafc; }
.dpt-detail-page .dpt-unit-block h4 { margin: 0 0 .8rem; color: #0f2f5c; font-size: .95rem; }
.dpt-detail-page .dpt-unit-block h4 span { font-weight: 600; }
.dpt-detail-page .dpt-question-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 38%); gap: 1rem; align-items: start; padding: .85rem 0; border-top: 1px solid #dbe3ef; }
.dpt-detail-page .dpt-question-card label { display: flex; gap: .55rem; margin: .45rem 0 0; color: #243b5a; font-weight: 600; line-height: 1.5; }
.dpt-detail-page .dpt-question-card label b { color: #0645c0; }
.dpt-detail-page .dpt-question-card textarea { min-height: 76px; resize: vertical; }
.dpt-detail-page .dpt-consent { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0; color: #334155; font-size: .84rem; font-weight: 600; }
.dpt-detail-page .dpt-save-button { min-height: 42px; font-weight: 700; }
@media (max-width: 767px) {
  .dpt-detail-page .dpt-mobile-back { display: flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .8rem 0; border-bottom: 1px solid #dbe3ef; color: #0645c0; font-size: .78rem; font-weight: 800; text-decoration: none; }
  .dpt-detail-page .dpt-detail-card .card-body { padding: .8rem !important; }
  .dpt-detail-page .dpt-detail-summary { grid-template-columns: 1fr; gap: .5rem; }
  .dpt-detail-page .dpt-detail-summary > div { min-height: 0; padding: .7rem .8rem; }
  .dpt-detail-page .dpt-answer-heading { display: block; line-height: 1.4; }
  .dpt-detail-page .dpt-answer-heading small { display: block; margin-top: .25rem; }
  .dpt-detail-page .dpt-unit-block { padding: .75rem; }
  .dpt-detail-page .dpt-question-card { display: block; padding: .8rem 0; }
  .dpt-detail-page .dpt-question-card label { margin: 0 0 .6rem; }
  .dpt-detail-page .dpt-question-card textarea { min-height: 88px; }
}
@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.dpt-detail-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.dpt-detail-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.dpt-detail-page > .pagetitle, #main.dpt-detail-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}
/* Detail DPT uses the shared mobile context back link. */
@media (max-width: 767px) { .dpt-detail-page .dpt-mobile-back { display: none !important; } }

/* Hasil asesmen uses the shared Asesi card backbone. */
.hasil-asesmen-table-wrap { overflow-x: auto; }
.hasil-asesmen-table { min-width: 900px; margin-bottom: 0; }
.hasil-asesmen-table thead th { background: #102d47; color: #fff; border-color: #102d47; white-space: nowrap; }
.hasil-asesmen-table td, .hasil-asesmen-table th { vertical-align: middle; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.hasil-asesmen-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.hasil-asesmen-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  #main.hasil-asesmen-page > .pagetitle,
  #main.hasil-asesmen-page > .content-wrapper { width: 100%; max-width: 1400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
  .hasil-asesmen-card .card-body { padding: 14px; }
  .hasil-asesmen-table-wrap { overflow: visible; }
  .hasil-asesmen-table { min-width: 0; border: 0; }
  .hasil-asesmen-table thead { display: none; }
  .hasil-asesmen-table,
  .hasil-asesmen-table tbody,
  .hasil-asesmen-table tr,
  .hasil-asesmen-table td { display: block; width: 100%; }
  .hasil-asesmen-table tr { padding: 16px; margin-bottom: 14px; border: 1px solid #d8e2ee; border-radius: 14px; background: #fff; box-shadow: 0 3px 10px rgba(16, 45, 71, .06); }
  .hasil-asesmen-table td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .hasil-asesmen-table td::before { content: attr(data-label); flex: 0 0 38%; color: #637b94; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; }
  .hasil-asesmen-table td[data-label="Aksi"] { justify-content: flex-end; padding-top: 0; }
  .hasil-asesmen-table td[data-label="Aksi"]::before { display: none; }
  .hasil-asesmen-table td[colspan] { display: block; text-align: center; }
  .hasil-asesmen-table td[colspan]::before { display: none; }
}

/* Final hasil asesmen overrides: prevent the shared legacy table min-width from leaking into cards. */
@media (max-width: 767px) {
  .apl-page .hasil-asesmen-table,
  .apl-page .hasil-asesmen-table tbody,
  .apl-page .hasil-asesmen-table tr,
  .apl-page .hasil-asesmen-table td {
    min-width: 0 !important;
  }
  .apl-page .hasil-asesmen-table td {
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.35;
  }
}
/* Mobile header: reuse the desktop wordmark styling and make the logo the drawer trigger. */
.mobile-header-wordmark { display: none; }

@media (max-width: 991px) {
  #header .toggle-sidebar-btn { display: none !important; }
  #header .mobile-header-wordmark {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: auto;
    text-decoration: none;
  }
  #header .mobile-header-wordmark span {
    color: #012970;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
  }
  #header .logo { cursor: pointer; }
}
/* Dashboard progress cards */
.dashboard-welcome {
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(110deg, #0072a3, #012970);
  box-shadow: 0 10px 24px rgba(1, 41, 112, .12);
}
.dashboard-welcome h2 { margin: 0; font-size: 1.45rem; font-weight: 800; }
.dashboard-welcome h2 span { color: #ffc147; }
.dashboard-welcome p { margin: .35rem 0 0; }
.dashboard-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dashboard-section-heading h2 { margin: .15rem 0 0; color: #012970; font-size: 1.25rem; font-weight: 800; }
.dashboard-section-heading strong { color: #56708f; font-size: .9rem; }
.dashboard-average-progress { color: #0d6efd; }
.dashboard-eyebrow { color: #0d6efd; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.dashboard-progress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 1rem; }
.dashboard-progress-card {
  padding: 1.25rem;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(1, 41, 112, .07);
}
.dashboard-progress-card__top { display: flex; align-items: center; justify-content: space-between; }
.dashboard-progress-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 10px;
  color: #0d6efd;
  background: #eaf2ff;
  font-size: 1.25rem;
}
.dashboard-progress-status { color: #0d6efd; font-weight: 800; }
/* Dashboard Quick Actions */
.dashboard-qa-card { border-radius: 14px; background: #fff; transition: all 0.2s ease; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(1, 41, 112, 0.03) !important; text-decoration: none !important; }
.dashboard-qa-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(1, 41, 112, 0.08) !important; border-color: #cbd5e1; }
.dashboard-qa-icon { width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.6rem; }
.dashboard-qa-title { font-size: 0.9rem; font-weight: 700; color: #012970; margin: 0; line-height: 1.3; }

.dashboard-progress-card h3 { margin: 1rem 0 .2rem; color: #012970; font-size: 1rem; font-weight: 800; }
.dashboard-progress-code { min-height: 1.25rem; margin: 0 0 1rem; color: #6c829d; font-size: .8rem; }
.dashboard-progress-track { height: .55rem; overflow: hidden; border-radius: 99px; background: #e8eef5; }
.dashboard-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0046b8, #0d8acb); }
.dashboard-progress-meta { display: flex; flex-direction: column; gap: .25rem; margin: 1rem 0; color: #6c829d; font-size: .78rem; }
.dashboard-progress-meta strong { color: #183b67; font-size: .9rem; }
.dashboard-progress-action { width: 100%; }
.dashboard-empty-state { padding: 2rem 1rem; border: 1px dashed #b9cde4; border-radius: 14px; color: #56708f; text-align: center; background: #fff; }
.dashboard-empty-state i { color: #0d6efd; font-size: 2rem; }
.dashboard-empty-state h3 { margin: .5rem 0 .25rem; color: #012970; font-size: 1rem; }
.dashboard-empty-state p { margin-bottom: 1rem; }

.dashboard-cert-alert { background: linear-gradient(135deg, #10b981, #059669); border: none; border-radius: 14px; color: #ffffff; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25); padding: 1.5rem 2rem; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-cert-alert::before { content: '\F133'; font-family: 'bootstrap-icons'; position: absolute; right: -20px; bottom: -30px; font-size: 10rem; opacity: 0.1; transform: rotate(-15deg); line-height: 1; }
.dashboard-cert-alert h3 { color: #ffffff; font-weight: 800; font-size: 1.35rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.dashboard-cert-alert p { color: rgba(255, 255, 255, 0.95); font-size: 1.05rem; margin: 0; position: relative; z-index: 1; }
.dashboard-cert-alert .btn-cert { background: #ffffff; color: #059669; font-weight: 700; border-radius: 10px; padding: 0.6rem 1.5rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: all 0.2s ease; position: relative; z-index: 1; white-space: nowrap; }
.dashboard-cert-alert .btn-cert:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); color: #047857; }

@media (max-width: 767px) {
  .dashboard-qa-icon { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 10px; }
  .dashboard-qa-title { font-size: 0.82rem; }
  .dashboard-cert-alert { flex-direction: column !important; align-items: flex-start !important; padding: 1.25rem; }
  .dashboard-cert-alert h3 { font-size: 1.2rem; }
  .dashboard-cert-alert p { font-size: 0.95rem; }
  .dashboard-cert-alert .btn-cert { width: 100%; text-align: center; margin-top: 0.5rem; }
  .dashboard-welcome { padding: 1.1rem 1rem; }
  .dashboard-welcome h2 { font-size: 1.2rem; }
  .dashboard-progress-grid { grid-template-columns: 1fr; }
  .dashboard-section-heading { align-items: start; }
}

/* Pengambilan Sertifikat Module Backbone System */
.pengambilansertifikat-page .content-wrapper { width: 100%; }
.pengambilansertifikat-page .card-header { background: linear-gradient(120deg, #003baf, #0878b9) !important; color: #ffffff !important; padding: 1rem 1.4rem !important; border: 0 !important; }
.pengambilansertifikat-page .card-title { color: #ffffff !important; font-weight: 800 !important; font-size: 1rem !important; margin: 0 !important; }
.pengambilansertifikat-page .card-title i { color: rgba(255, 255, 255, 0.9) !important; }
.pengambilansertifikat-page .ps-section-title { font-size: 1.05rem; font-weight: 800; color: #012970; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.pengambilansertifikat-page .ps-signature-container { border: 2px dashed #cbd5e1; border-radius: 12px; background-color: #f8fafc; position: relative; overflow: hidden; touch-action: none; }
.pengambilansertifikat-page #signature_canvas { width: 100%; height: 180px; display: block; cursor: crosshair; }
.pengambilansertifikat-page .ps-item-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; margin-bottom: 0.85rem; position: relative; transition: all 0.2s ease; }
.pengambilansertifikat-page .ps-item-box:hover { border-color: #cbd5e1; }
.pengambilansertifikat-page .ps-list-actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.pengambilansertifikat-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.pengambilansertifikat-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.pengambilansertifikat-page > .pagetitle, #main.pengambilansertifikat-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .pengambilansertifikat-page .card-body { padding: 1rem !important; }
  .pengambilansertifikat-page .table-responsive { overflow: visible !important; border: 0 !important; margin: 0 !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table { min-width: 0 !important; border: 0 !important; margin: 0 !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table thead { display: none !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table tbody,
  .pengambilansertifikat-page .pengambilansertifikat-list-table tr,
  .pengambilansertifikat-page .pengambilansertifikat-list-table td { display: block !important; width: 100% !important; box-sizing: border-box; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table tr { margin-bottom: .85rem; padding: .75rem 1rem; border: 1px solid #dbe3ef !important; border-radius: 14px; background: #fff !important; box-shadow: 0 4px 14px rgba(1, 41, 112, 0.05) !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table td { display: flex !important; justify-content: space-between; gap: .75rem; align-items: center; min-width: 0 !important; padding: .5rem 0 !important; border: 0 !important; border-bottom: 1px dashed #e2e8f0 !important; background: transparent !important; box-shadow: none !important; text-align: right !important; overflow-wrap: anywhere; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table td:last-child { border-bottom: 0 !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table td::before { content: attr(data-label); display: block !important; color: #64748b; font-size: .72rem; font-weight: 800; text-align: left; text-transform: uppercase; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table td[data-label="Aksi"] { justify-content: flex-end; padding-top: .65rem !important; }
  .pengambilansertifikat-page .pengambilansertifikat-list-table td[data-label="Aksi"]::before { display: none !important; }
  .pengambilansertifikat-page #signature_canvas { height: 160px; }
}

/* Sertifikat Terbit Module Backbone System */
.sertifikatterbit-page .content-wrapper { width: 100%; }
.sertifikatterbit-page .card-header { background: linear-gradient(120deg, #003baf, #0878b9) !important; color: #ffffff !important; padding: 1rem 1.4rem !important; border: 0 !important; }
.sertifikatterbit-page .card-title { color: #ffffff !important; font-weight: 800 !important; font-size: 1rem !important; margin: 0 !important; }
.sertifikatterbit-page .card-title i { color: rgba(255, 255, 255, 0.9) !important; }

.sertifikatterbit-page .sertifikatterbit-list-actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.sertifikatterbit-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.sertifikatterbit-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.sertifikatterbit-page > .pagetitle, #main.sertifikatterbit-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .sertifikatterbit-page .card-body { padding: 1rem !important; }
  .sertifikatterbit-page .table-responsive { overflow: visible !important; border: 0 !important; margin: 0 !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table { min-width: 0 !important; border: 0 !important; margin: 0 !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table thead { display: none !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table tbody,
  .sertifikatterbit-page .sertifikatterbit-list-table tr,
  .sertifikatterbit-page .sertifikatterbit-list-table td { display: block !important; width: 100% !important; box-sizing: border-box; }
  .sertifikatterbit-page .sertifikatterbit-list-table tr { margin-bottom: .85rem; padding: .75rem 1rem; border: 1px solid #dbe3ef !important; border-radius: 14px; background: #fff !important; box-shadow: 0 4px 14px rgba(1, 41, 112, 0.05) !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table td { display: flex !important; justify-content: space-between; gap: .75rem; align-items: center; min-width: 0 !important; padding: .5rem 0 !important; border: 0 !important; border-bottom: 1px dashed #e2e8f0 !important; background: transparent !important; box-shadow: none !important; text-align: right !important; overflow-wrap: anywhere; }
  .sertifikatterbit-page .sertifikatterbit-list-table td:last-child { border-bottom: 0 !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table td::before { content: attr(data-label); display: block !important; color: #64748b; font-size: .72rem; font-weight: 800; text-align: left; text-transform: uppercase; }
  .sertifikatterbit-page .sertifikatterbit-list-table td[data-label="Aksi"],
  .sertifikatterbit-page .sertifikatterbit-list-table td[data-label="Opsi"] { justify-content: flex-end; padding-top: .65rem !important; }
  .sertifikatterbit-page .sertifikatterbit-list-table td[data-label="Aksi"]::before,
  .sertifikatterbit-page .sertifikatterbit-list-table td[data-label="Opsi"]::before { display: none !important; }
}

/* Komplain Module Backbone System */
.komplain-page .content-wrapper { width: 100%; }
.komplain-page .card-header { background: linear-gradient(120deg, #003baf, #0878b9) !important; color: #ffffff !important; padding: 1rem 1.4rem !important; border: 0 !important; }
.komplain-page .card-title { color: #ffffff !important; font-weight: 800 !important; font-size: 1rem !important; margin: 0 !important; }
.komplain-page .card-title i { color: rgba(255, 255, 255, 0.9) !important; }
.komplain-page .ps-item-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; position: relative; transition: all 0.2s ease; }
.komplain-page .ps-item-box:hover { border-color: #cbd5e1; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.komplain-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.komplain-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.komplain-page > .pagetitle, #main.komplain-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .komplain-page .card-body { padding: 1rem !important; }
}

/* Akun Module Backbone System */
.akun-page .content-wrapper { width: 100%; }
.akun-page .card-header { background: linear-gradient(120deg, #003baf, #0878b9) !important; color: #ffffff !important; padding: 1rem 1.4rem !important; border: 0 !important; }
.akun-page .card-title { color: #ffffff !important; font-weight: 800 !important; font-size: 1rem !important; margin: 0 !important; }
.akun-page .card-title i { color: rgba(255, 255, 255, 0.9) !important; }

@media (min-width: 1200px) {
  body:not(.toggle-sidebar) #main.akun-page { width: calc(100% - 300px) !important; max-width: none !important; margin-left: 300px !important; margin-right: 0 !important; }
  body.toggle-sidebar #main.akun-page { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
  #main.akun-page > .pagetitle, #main.akun-page > .content-wrapper { width: 100%; max-width: 1400px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .akun-page .card-body { padding: 1rem !important; }
}

/* Header Profile Dropdown Modern Design System */
.header .nav-profile .dropdown-menu.profile {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 36px rgba(1, 41, 112, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  padding: 0.65rem !important;
  min-width: 250px !important;
  margin-top: 0.75rem !important;
  animation: headerDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headerDropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.header .nav-profile .dropdown-menu.profile .dropdown-header {
  background: linear-gradient(135deg, #f0f4ff, #f8fafc) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 0.4rem !important;
  text-align: center !important;
  border: 1px solid #e2e8f0 !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-header h6 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #012970 !important;
  margin-bottom: 0.25rem !important;
  word-break: break-word;
}

.header .nav-profile .dropdown-menu.profile .dropdown-header span {
  font-size: 0.75rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  display: block;
}

.header .nav-profile .dropdown-menu.profile .dropdown-header .profile-role-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.header .nav-profile .dropdown-menu.profile .dropdown-divider {
  margin: 0.35rem 0 !important;
  border-color: #f1f5f9 !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-item {
  padding: 0.6rem 0.85rem !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-item i {
  font-size: 1.1rem !important;
  color: #0284c7 !important;
  transition: transform 0.2s ease !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-item:hover,
.header .nav-profile .dropdown-menu.profile .dropdown-item:focus {
  background-color: #f1f5f9 !important;
  color: #003baf !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-item:hover i {
  transform: translateX(2px);
  color: #003baf !important;
}

/* Authentication Module Backbone System */
.auth-page { min-height: 100vh; display: flex; background-color: #f8fafc; margin: 0; padding: 0; overflow-x: hidden; }
.auth-cover { display: none; background: url('../img/auth-bg.webp') center center/cover; position: relative; color: white; padding: 3rem; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.auth-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; opacity: 0.5; }
.auth-cover-content { position: relative; z-index: 2; max-width: 520px; }
.auth-cover h1 { font-family: 'Open Sans', sans-serif; font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: 1px; color: #ffffff; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.auth-cover p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.6; font-weight: 300; }
.auth-form-wrapper { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem 1.5rem; position: relative; }
.auth-form-container { width: 100%; max-width: 440px; background: #fff; padding: 3rem 2.5rem; border-radius: 24px; box-shadow: 0 15px 35px rgba(1, 41, 112, 0.08); z-index: 10; position: relative; }
.auth-form-header { text-align: center; margin-bottom: 2rem; }
.auth-form-header img { width: 72px; margin-bottom: 1.2rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); }
.auth-form-header h2 { font-weight: 800; color: #012970; font-size: 1.7rem; margin-bottom: 0.5rem; }
.auth-form-header p { color: #64748b; font-size: 0.95rem; margin-bottom: 0; }
.auth-page .form-group { margin-bottom: 1.25rem; }
.auth-page label { font-size: 0.9rem; font-weight: 600; color: #334155; margin-bottom: 0.4rem; }
.auth-page .form-control { padding: 0.75rem 1.2rem; border-radius: 12px; border: 1.5px solid #e2e8f0; background-color: #f8fafc; font-size: 0.95rem; transition: all 0.3s; color: #1e293b; }
.auth-page .form-control:focus { border-color: #0d6efd; background-color: #fff; box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1); }
.auth-page .input-group-text { border-radius: 12px; border: 1.5px solid #e2e8f0; background-color: #f8fafc; color: #64748b; border-left: 0; }
.auth-page .form-control:focus + .input-group-text { border-color: #0d6efd; background-color: #fff; }
.auth-page .input-group > .form-control { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.auth-page .input-group > .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.auth-page .btn-primary { padding: 0.85rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 1rem; background: linear-gradient(135deg, #0d6efd, #0b5ed7); border: none; box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25); transition: all 0.3s ease; width: 100%; margin-top: 0.5rem; }
.auth-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35); }
.auth-footer-links { margin-top: 1.8rem; text-align: center; font-size: 0.9rem; color: #64748b; }
.auth-footer-links a { color: #0d6efd; text-decoration: none; font-weight: 700; transition: color 0.2s; }
.auth-footer-links a:hover { color: #0046b8; text-decoration: underline; }

@media (min-width: 992px) {
    .auth-cover { display: flex; flex: 1.25; }
    .auth-form-wrapper { flex: 1; padding: 4rem; }
}
@media (max-width: 767px) {
    .auth-page { background: #fff; }
    .auth-form-wrapper { padding: 1rem; justify-content: flex-start; padding-top: 3rem; }
    .auth-form-container { box-shadow: none; padding: 1.5rem; border-radius: 0; }
}

.header .nav-profile .dropdown-menu.profile .dropdown-item.text-danger i {
  color: #dc3545 !important;
}

.header .nav-profile .dropdown-menu.profile .dropdown-item.text-danger:hover {
  background-color: #fff5f5 !important;
  color: #dc3545 !important;
}