/* Reset & Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #0e2443;
  --header-gradient: linear-gradient(135deg, #b45309 0%, #d97706 22%, #1e3a8a 68%, #0b1528 100%);
  --nav-bg: #ffffff;
  --nav-border: #e2e8f0;
  --nav-text: #374151;
  --nav-active: #c2410c;

  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #64748b;

  --accent-green: #059669;
  --accent-green-dark: #047857;
  --accent-blue: #3b82f6;
  --accent-purple: #7c3aed;
  
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-modal: 0 20px 50px rgba(0,0,0,0.25);

  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.4;
  font-size: 0.82rem;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   OFFICIAL GOVERNMENT HEADER
   ========================================================================== */
.gov-top-header {
  background: linear-gradient(135deg, #b45309 0%, #d97706 22%, #1e3a8a 68%, #0b1528 100%);
  color: #ffffff;
  padding: 8px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gov-brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.gov-emblem-img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.gov-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gov-title-org {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fef08a;
  text-transform: uppercase;
}

.gov-title-dept {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.gov-title-sub {
  font-size: 0.76rem;
  font-weight: 400;
  color: #cbd5e1;
}

.gov-portal-title-container {
  z-index: 2;
}

.gov-portal-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.ashoka-chakra-bg {
  position: absolute;
  right: -15px;
  top: -15px;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none;
  animation: slowRotate 120s linear infinite;
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.main-nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--nav-border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.nav-menu-list {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-item-link {
  display: block;
  padding: 8px 14px;
  color: var(--nav-text);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.nav-item-link:hover {
  color: var(--nav-active);
  background-color: rgba(217, 119, 6, 0.05);
}

.nav-item-link.active {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
  background-color: rgba(217, 119, 6, 0.08);
}

.nav-user-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-user-dropdown:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   PAGE CONTAINER & DASHBOARD
   ========================================================================== */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px 32px 24px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dashboard-title-group h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.dashboard-title-group p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.dashboard-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-picker-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* ==========================================================================
   STAT KPI CARDS GRID
   ========================================================================== */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 1200px) {
  .stats-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stat-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-val-group {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sparkline-svg {
  width: 100%;
  height: 26px;
  margin-bottom: 4px;
  overflow: visible;
}

.stat-trend-footer {
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Card Themes */
.theme-blue .stat-icon-wrapper { background-color: #eff6ff; color: #3b82f6; }
.theme-blue .stat-trend-footer { color: #2563eb; }

.theme-orange .stat-icon-wrapper { background-color: #fff7ed; color: #f97316; }
.theme-orange .stat-trend-footer { color: #ea580c; }

.theme-green .stat-icon-wrapper { background-color: #f0fdf4; color: #16a34a; }
.theme-green .stat-trend-footer { color: #16a34a; }

.theme-red .stat-icon-wrapper { background-color: #fef2f2; color: #ef4444; }
.theme-red .stat-trend-footer { color: #dc2626; }

.theme-purple .stat-icon-wrapper { background-color: #faf5ff; color: #a855f7; }
.theme-purple .stat-trend-footer { color: #9333ea; }

.theme-cyan .stat-icon-wrapper { background-color: #ecfeff; color: #0891b2; }
.theme-cyan .stat-trend-footer { color: #0891b2; }

.theme-teal .stat-icon-wrapper { background-color: #f0fdfa; color: #0d9488; }
.theme-teal .stat-trend-footer { color: #64748b; }


/* ==========================================================================
   SEARCH FILTERS CARD
   ========================================================================== */
.filter-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.filter-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.filter-fields-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

@media (max-width: 1200px) {
  .filter-fields-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
}

.form-control-select,
.form-control-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--text-main);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control-select:focus,
.form-control-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px #e0e7ff;
}

.form-control-select.input-error,
.form-control-input.input-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

.filter-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-outline {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.btn-outline:hover {
  background-color: #f1f5f9;
}

.btn-primary {
  background-color: #4f46e5;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #4338ca;
}

/* ==========================================================================
   DATA TABLE CARD
   ========================================================================== */
.table-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.table-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.table-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.view-toggle-buttons {
  display: flex;
  background-color: #f1f5f9;
  padding: 2px;
  border-radius: var(--radius-sm);
  gap: 2px;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.toggle-btn.active {
  background-color: #ffffff;
  color: #4f46e5;
  box-shadow: var(--shadow-sm);
}

.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.78rem;
}

.custom-table th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 9px 12px;
  border-bottom: 1.5px solid #e2e8f0;
  white-space: nowrap;
}

.custom-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #1e293b;
}

.custom-table tr:hover td {
  background-color: #f8fafc;
}

.newly-added-row td {
  animation: highlightRow 2.5s ease;
}

@keyframes highlightRow {
  0% { background-color: #d1fae5; }
  100% { background-color: transparent; }
}

.req-id-badge {
  color: #2563eb;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #eff6ff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease;
}

.req-id-badge:hover {
  background: #dbeafe;
}

.req-id-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.status-badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-badge-discussion {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-badge-submitted {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #ffedd5;
  color: #c2410c;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-badge-rejected {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #f3e8ff;
  color: #7e22ce;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-subtext {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
}

.attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}

.action-menu-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Pagination Footer */
.table-pagination-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 3px;
}

.page-num {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}

.page-num.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}


/* ==========================================================================
   MODALS & TOAST NOTIFICATION CONTAINER
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  background-color: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  border-left: 4px solid #10b981;
}

@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #ffffff;
  border-radius: 10px;
  width: 100%;
  max-width: 1060px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

.modal-header-bar {
  background-color: #0b1e36;
  color: #ffffff;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal-close-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: rgba(255,255,255,0.25);
}

.modal-body-scrollable {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

/* Modal Title Header */
.form-title-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.title-icon-group {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.doc-green-icon {
  width: 40px;
  height: 40px;
  background-color: #059669;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.title-text-group h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.title-text-group p {
  font-size: 0.78rem;
  color: #64748b;
}

.monument-vector-bg {
  position: absolute;
  right: 0;
  top: -8px;
  height: 60px;
  opacity: 0.45;
  pointer-events: none;
}

/* Stepper Component */
.stepper-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  position: relative;
  cursor: pointer;
}

.step-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #059669;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid #cbd5e1;
  color: #64748b;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item.active .step-circle {
  border-color: #059669;
  color: #059669;
  background-color: #f0fdf4;
}

.step-info-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
}

.step-info-group p {
  font-size: 0.68rem;
  color: #64748b;
}

/* Form Section Header */
.form-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-label-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.4px;
}

.green-accent-bar {
  width: 3px;
  height: 14px;
  background-color: #059669;
  border-radius: 2px;
}

.mandatory-note {
  font-size: 0.72rem;
  color: #ef4444;
  font-weight: 600;
}

.form-validation-alert {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 3-COLUMN COMPACT FORM GRID LAYOUT */
.form-grid-layout-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
}

.grid-col-span-1 { grid-column: span 1; }
.grid-col-span-2 { grid-column: span 2; }
.grid-col-span-3 { grid-column: span 3; }

.form-input-with-icon {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.pastel-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.input-wrapper-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}

.field-label span.req {
  color: #ef4444;
}

.dual-input-row {
  display: flex;
  gap: 8px;
}

/* Icon Box Colors */
.icon-box-green { background-color: #dcfce7; color: #16a34a; }
.icon-box-orange { background-color: #ffedd5; color: #ea580c; }
.icon-box-purple { background-color: #f3e8ff; color: #9333ea; }
.icon-box-blue { background-color: #dbeafe; color: #2563eb; }
.icon-box-teal { background-color: #ccfbf1; color: #0d9488; }
.icon-box-pink { background-color: #fce7f3; color: #db2777; }
.icon-box-gold { background-color: #fef9c3; color: #d97706; }
.icon-box-lightgreen { background-color: #ecfdf5; color: #059669; }
.icon-box-gray { background-color: #f1f5f9; color: #64748b; }

/* Textarea counter */
.textarea-wrapper {
  position: relative;
}

.remarks-textarea {
  width: 100%;
  height: 46px;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  resize: none;
  outline: none;
}

.remarks-textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.char-counter {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Upload Container */
.upload-dashed-card {
  margin-top: 12px;
  background-color: #f0fdf4;
  border: 1.5px dashed #86efac;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upload-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-pin-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background-color: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
}

.upload-text-group p {
  font-size: 0.7rem;
  color: #15803d;
}

/* Review Summary Card */
.review-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  margin-top: 12px;
}

.review-item h5 {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.review-item p {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}

/* Success Confirmation Card */
.success-confirmation-card {
  text-align: center;
  padding: 30px 20px;
}

.success-check-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

/* Modal Footer Actions */
.modal-footer-bar {
  border-top: 1px solid #e2e8f0;
  padding: 10px 20px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-draft {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.btn-draft:hover {
  background-color: #f8fafc;
}

.btn-submit-green {
  background-color: #047857;
  color: #ffffff;
}

.btn-submit-green:hover {
  background-color: #065f46;
}

/* Upload Document Popup */
.upload-modal-window {
  max-width: 580px;
}

.dropzone-area {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 14px;
}

.dropzone-area:hover {
  border-color: #059669;
  background-color: #f0fdf4;
}

.dropzone-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
}

.file-list-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.file-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.file-item-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 600;
}
