@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #090d16;
  --bg-surface: #111827;
  --bg-card: rgba(31, 41, 55, 0.7);
  --bg-card-hover: rgba(55, 65, 81, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --primary: #3b82f6;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --accent-teal: #14b8a6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-rose: #f43f5e;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --shadow-glow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Outfit', sans-serif;
}

#app {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Layout */
.sidebar {
  width: 260px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 32px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 11px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.user-profile {
  margin-top: auto;
  padding: 14px;
  background: rgba(31, 41, 55, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-info .name {
  font-size: 14px;
  font-weight: 600;
}

.user-info .role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Full Page Main Content Layout */
.main-content {
  margin-left: 260px;
  flex: 1;
  width: calc(100% - 260px);
  padding: 32px 40px;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
}

.page-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Full Width Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  width: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-info .label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-info .value {
  font-size: 36px;
  font-weight: 800;
  margin-top: 6px;
  font-family: 'Outfit', sans-serif;
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.stat-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.stat-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

/* Full Width Card Sections & Responsive Table */
.card-section {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  width: 100%;
}

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

.card-header h3 {
  font-size: 20px;
  font-weight: 600;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.custom-table th {
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(17, 24, 39, 0.5);
  white-space: nowrap;
}

.custom-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Full Width Form Layout */
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Modal Dialog Styles (Fixed Overlay & Glassmorphism) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-content {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.2);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(31, 41, 55, 0.5);
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(31, 41, 55, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Status Badges */
.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.badge-success { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }

/* Inspection Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}

.photo-card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.photo-card .photo-body {
  padding: 18px;
}

.photo-card .facility-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.photo-card .photo-memo {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.b2-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--accent-emerald);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES (Full Responsiveness)
   ============================================================ */

/* 1. Large Laptops / Tablets (max-width: 1200px) */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Tablets & Small Devices (max-width: 900px) */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 24px 16px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .form-grid-3, .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* 3. Mobile Phones (max-width: 600px) */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .page-title h1 {
    font-size: 22px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .card-section {
    padding: 20px 16px;
  }
}

/* Light / Day Theme Override Styles */
body.light-theme {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(241, 245, 249, 1);
  --glass-border: rgba(0, 0, 0, 0.12);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%) !important;
}

body.light-theme .sidebar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-right: 1px solid #cbd5e1 !important;
}

body.light-theme .brand-title {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .top-bar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

body.light-theme .page-title h1 {
  color: #0f172a !important;
}

body.light-theme .card-section {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .card-header h3 {
  color: #0f172a !important;
}

body.light-theme .stat-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .stat-info .value {
  color: #0f172a !important;
}

body.light-theme .custom-table th {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

body.light-theme .custom-table td {
  color: #1e293b !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme input, body.light-theme select, body.light-theme textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .btn-secondary {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

/* Search Filter Box Default (Dark) Styles */
.search-filter-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--glass-border);
}
.search-date-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
}
.search-input {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.search-label {
  color: var(--text-muted);
}
.period-btn.active {
  background: #10b981 !important;
  color: #ffffff !important;
}

/* Search Filter Box Light Theme Overrides */
body.light-theme .search-filter-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body.light-theme .search-date-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .search-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .search-label {
  color: #334155 !important;
}
body.light-theme .search-input::placeholder {
  color: #94a3b8 !important;
}
body.light-theme .period-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}
body.light-theme .period-btn.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* Sidebar & User Profile Light Theme Overrides */
body.light-theme .user-profile {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .user-info .name {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.light-theme .user-info .role {
  color: #64748b !important;
}
body.light-theme .nav-item {
  color: #334155 !important;
}
body.light-theme .nav-item i {
  color: #64748b;
}
body.light-theme .nav-item:hover {
  background: #f1f5f9 !important;
  color: #10b981 !important;
}
body.light-theme .nav-item:hover i {
  color: #10b981 !important;
}
body.light-theme .nav-item.active {
  background: #10b981 !important;
  color: #ffffff !important;
}
body.light-theme .nav-item.active i {
  color: #ffffff !important;
}

/* Complete Light Theme (Day Mode) Visual Overrides */
body.light-theme div[style*="background: rgba(30, 41, 59"],
body.light-theme div[style*="background:rgba(30, 41, 59"],
body.light-theme div[style*="background: rgba(15, 23, 42"],
body.light-theme div[style*="background:rgba(15, 23, 42"],
body.light-theme form[style*="background: rgba(30, 41, 59"],
body.light-theme form[style*="background:rgba(30, 41, 59"],
body.light-theme .photo-card,
body.light-theme .expire-card,
body.light-theme .content-card,
body.light-theme .history-panel-box,
body.light-theme .building-card-box,
body.light-theme .form-card-box {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme div[style*="background: rgba(15, 23, 42, 0.6)"],
body.light-theme div[style*="background:rgba(15, 23, 42, 0.6)"],
body.light-theme div[style*="background: rgba(15, 23, 42, 0.7)"],
body.light-theme div[style*="background:rgba(15, 23, 42, 0.7)"],
body.light-theme div[style*="background: rgba(15, 23, 42, 0.8)"],
body.light-theme div[style*="background:rgba(15, 23, 42, 0.8)"],
body.light-theme div[style*="background: rgba(15, 23, 42, 0.9)"],
body.light-theme div[style*="background:rgba(15, 23, 42, 0.9)"],
body.light-theme .sub-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* Light Theme Text & Labels */
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme .facility-title {
  color: #0f172a !important;
}

body.light-theme div[style*="color: #fff"],
body.light-theme div[style*="color:#fff"],
body.light-theme span[style*="color: #fff"],
body.light-theme span[style*="color:#fff"],
body.light-theme div[style*="color: #f1f5f9"],
body.light-theme div[style*="color:#f1f5f9"],
body.light-theme span[style*="color: #f1f5f9"],
body.light-theme span[style*="color:#f1f5f9"],
body.light-theme label[style*="color: #f1f5f9"],
body.light-theme label[style*="color:#f1f5f9"] {
  color: #0f172a !important;
}

body.light-theme div[style*="color: var(--text-muted)"],
body.light-theme span[style*="color: var(--text-muted)"],
body.light-theme p[style*="color: var(--text-muted)"],
body.light-theme label[style*="color: var(--text-muted)"] {
  color: #475569 !important;
}

/* Photo comparison grid background in Light Theme */
body.light-theme div[style*="background: #0f172a"],
body.light-theme div[style*="background:#0f172a"] {
  background: #cbd5e1 !important;
}

/* Inactive Status Buttons in Light Theme */
body.light-theme button[style*="rgba(30,41,59,0.8)"],
body.light-theme button[style*="rgba(30, 41, 59, 0.8)"] {
  background: #e2e8f0 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

/* Form Inputs & Selects in Light Theme */
body.light-theme input[type="text"],
body.light-theme input[type="date"],
body.light-theme select,
body.light-theme textarea,
body.light-theme .form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: #94a3b8 !important;
}

/* Send PDF Modal Base (Dark) Styles */
.send-pdf-modal-box {
  background: #1e293b;
  border: 1px solid var(--glass-border);
}
.send-pdf-modal-header {
  background: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid var(--glass-border);
}
.modal-title-text {
  color: #ffffff;
}
.summary-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--glass-border);
}
.party-row-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--glass-border);
}
.party-name-text {
  color: #f1f5f9;
  font-weight: 600;
}
.send-pdf-modal-footer {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--glass-border);
}

/* Send PDF Modal Light Theme Overrides */
body.light-theme .send-pdf-modal-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}
body.light-theme .send-pdf-modal-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .modal-title-text {
  color: #0f172a !important;
}
body.light-theme .summary-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .party-row-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .party-name-text {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.light-theme .send-pdf-modal-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
