/* CSS Document - Tachograph Driver Review Tool */

:root {
  /* Colors */
  --primary-color: #0f172a;       /* Slate-900 */
  --primary-hover: #1e293b;       /* Slate-800 */
  --secondary-color: #2563eb;     /* Blue-600 */
  --secondary-hover: #1d4ed8;     /* Blue-700 */
  
  --bg-color: #f1f5f9;            /* Slate-100 */
  --sidebar-bg: #1e293b;          /* Slate-800 */
  --card-bg: #ffffff;
  
  --text-main: #0f172a;           /* Slate-900 */
  --text-muted: #64748b;          /* Slate-500 */
  --text-light: #f8fafc;          /* Slate-50 */
  --border-color: #e2e8f0;        /* Slate-200 */
  --input-focus: #93c5fd;         /* Blue-300 */
  
  /* Alert Severities */
  --severity-high: #ef4444;       /* Red-500 */
  --severity-high-light: #fee2e2; /* Red-100 */
  --severity-high-hover: #991b1b;
  
  --severity-medium: #f59e0b;     /* Amber-500 */
  --severity-medium-light: #fef3c7;/* Amber-100 */
  --severity-medium-hover: #92400e;
  
  --severity-low: #10b981;        /* Emerald-500 */
  --severity-low-light: #d1fae5;   /* Emerald-100 */
  --severity-low-hover: #065f46;

  /* Font Families */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
}

/* Page Containers */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 320px;
  background-color: var(--sidebar-bg);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--secondary-color);
}

.brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.sidebar-section {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section:last-of-type {
  border-bottom: none;
}

.sidebar-content {
  flex-grow: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.flex-grow {
  flex-grow: 1;
  overflow-y: auto;
}

.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}


/* Privacy & GDPR Notice Card */
.privacy-notice-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.privacy-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--severity-low);
  margin-bottom: 0.5rem;
  display: block;
}

.privacy-notice-text {
  margin-top: 0.5rem;
  line-height: 1.4;
  color: #94a3b8;
}

/* Legal Disclaimer Card */
.disclaimer-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.disclaimer-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  display: block;
}

.disclaimer-text {
  margin-top: 0.5rem;
  line-height: 1.4;
  color: #94a3b8;
}

/* Drag & Drop Upload Zone */
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--secondary-color);
  background-color: rgba(37, 99, 235, 0.08);
}

.upload-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-muted);
  margin: 0 auto 0.75rem;
  display: block;
}

.upload-zone:hover .upload-icon {
  color: var(--secondary-color);
}

.upload-text {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.upload-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}



.form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid #475569;
  background-color: #334155;
  color: var(--text-light);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

select.form-control {
  cursor: pointer;
}

/* History Controls & List */
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.history-header .section-title {
  margin-bottom: 0;
}

.history-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-control-sm {
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.50rem;
}

.history-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.history-empty .subtext {
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
}

/* History Items */
.history-item {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.history-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary-color);
}

.history-item.active {
  background-color: rgba(37, 99, 235, 0.15);
  border-color: var(--secondary-color);
  box-shadow: inset 3px 0 0 var(--secondary-color);
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.history-driver-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.history-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.history-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.history-file {
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
  color: var(--text-muted);
}

.btn-delete-history {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s;
}

.history-item:hover .btn-delete-history {
  opacity: 1;
}

.btn-delete-history:hover {
  color: var(--severity-high);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.sidebar-github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  transition: color 0.15s ease;
  width: 100%;
}

.sidebar-github-link:hover {
  color: #ffffff;
}

.sidebar-github-link .github-icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: 100vh;
}

.main-header {
  background-color: var(--card-bg);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.main-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

/* Welcome Screen */
.welcome-screen {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow-y: auto;
}

.welcome-card {
  max-width: 650px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.welcome-icon-circle {
  width: 5rem;
  height: 5rem;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.welcome-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--secondary-color);
}

.welcome-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.welcome-card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.welcome-steps .step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  background-color: var(--secondary-color);
  color: var(--text-light);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.welcome-steps .step strong {
  font-size: 0.95rem;
  display: block;
}

.welcome-steps .step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.welcome-disclaimer-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}



/* Dashboard View & Grid */
.dashboard-grid {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hidden {
  display: none !important;
}

/* Summary Stats Row */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s;
}

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

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.025em;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0.25rem 0;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Border & Text Colors for Severities */
.border-high { border-left: 5px solid var(--severity-high); }
.border-medium { border-left: 5px solid var(--severity-medium); }
.border-low { border-left: 5px solid var(--severity-low); }

.text-high { color: var(--severity-high); }
.text-medium { color: var(--severity-medium); }
.text-low { color: var(--severity-low); }

.bg-high-light { background-color: var(--severity-high-light); }
.bg-medium-light { background-color: var(--severity-medium-light); }
.bg-low-light { background-color: var(--severity-low-light); }

.stat-icon-bg {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* Compliance Ring Card specific */
.compliance-card {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
}

.compliance-card .stat-label {
  color: #94a3b8;
}

.compliance-card .stat-desc {
  color: #64748b;
}

.compliance-ring-container {
  width: 4rem;
  height: 4rem;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #334155;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke: var(--secondary-color);
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease, stroke 0.3s ease;
}

/* Driver Info Panel styling */
.driver-info-card {
  padding: 1.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.subtitle {
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.025em;
}

.info-val {
  font-size: 1rem;
  color: var(--text-main);
}

.full-width {
  grid-column: 1 / -1;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1;
}

.badge-primary {
  background-color: #eff6ff;
  color: var(--secondary-color);
}

.badge-neutral {
  background-color: #f1f5f9;
  color: var(--text-muted);
}

.badge-danger {
  background-color: var(--severity-high-light);
  color: var(--severity-high-hover);
}

.badge-warning {
  background-color: var(--severity-medium-light);
  color: var(--severity-medium-hover);
}

.badge-success {
  background-color: var(--severity-low-light);
  color: var(--severity-low-hover);
}

/* Alerts Table Panel */
.alerts-card {
  padding: 1.5rem 0 0; /* no horizontal padding on body, only header */
  overflow: hidden;
}

.alerts-card .card-header {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

.table-container {
  overflow-x: auto;
  max-height: 380px;
  overflow-y: auto;
}

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

.alerts-table th {
  background-color: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.alerts-table td {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
}

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

.alerts-table tr:last-child td {
  border-bottom: none;
}

/* Manager Review Form */
.review-form-card {
  margin-bottom: 1rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-form .control-label {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.required {
  color: var(--severity-high);
}

.review-form .form-control {
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-main);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
}

.review-form textarea.form-control {
  resize: vertical;
}

.review-form .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-primary:not(:disabled):hover {
  background-color: var(--secondary-hover);
}

.btn-success {
  background-color: var(--severity-low);
  color: var(--text-light);
}

.btn-success:not(:disabled):hover {
  background-color: var(--severity-low-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-muted);
}

.btn-outline:not(:disabled):hover {
  background-color: #f1f5f9;
  color: var(--text-main);
  border-color: #cbd5e1;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.toast {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.25s ease-out forwards;
}

.toast-success {
  border-left: 4px solid var(--severity-low);
}

.toast-error {
  border-left: 4px solid var(--severity-high);
}

.toast-info {
  border-left: 4px solid var(--secondary-color);
}

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


/* Vehicle Scope Checkbox Grid */
.vehicle-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 130px;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
}

.vehicle-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.vehicle-checkbox-label:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.vehicle-checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--secondary-color);
  cursor: pointer;
}

.vehicle-checkbox-label.unchecked {
  opacity: 0.45;
  background-color: #f1f5f9;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ----------------------------------------------------
   PRINT AND PRINT PREVIEW MANAGEMENT
---------------------------------------------------- */

/* Hidden on screen by default */
.visible-print-only {
  display: none;
}

@media print {
  /* Hide all digital screen structures */
  .no-print {
    display: none !important;
  }
  
  /* Show print report */
  .visible-print-only {
    display: block !important;
  }
  
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 11pt !important;
  }
  
  /* Printable page setup */
  @page {
    size: A4;
    margin: 1.5cm;
  }
  
  .print-document {
    font-family: var(--font-sans);
    line-height: 1.4;
  }
  
  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .print-title-area h1 {
    font-size: 18pt;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
  }
  
  .print-subtitle {
    font-size: 10pt;
    font-weight: 600;
    text-transform: uppercase;
    color: #4b5563;
    margin: 0;
  }
  
  .print-metadata {
    text-align: right;
    font-size: 9pt;
  }
  
  .print-metadata p {
    margin: 0;
  }
  
  .print-section-title {
    font-size: 11pt;
    font-weight: 700;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #000000;
    text-transform: uppercase;
  }
  
  /* Tables on Printout */
  .print-table-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
  }
  
  .print-table-info th, .print-table-info td {
    border: 1px solid #9ca3af;
    padding: 0.5rem;
    font-size: 9.5pt;
    text-align: left;
  }
  
  .print-table-info th {
    background-color: #f9fafb;
    font-weight: 600;
    width: 20%;
  }
  
  .print-table-info td {
    width: 30%;
  }
  
  .print-table-alerts {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
  }
  
  .print-table-alerts th, .print-table-alerts td {
    border: 1px solid #d1d5db;
    padding: 0.4rem 0.5rem;
    font-size: 9pt;
    text-align: left;
    vertical-align: top;
  }
  
  .print-table-alerts th {
    background-color: #f3f4f6;
    font-weight: 600;
  }
  
  /* Print Boxes for Manager Notes */
  .print-notes-box {
    border: 1px solid #9ca3af;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    page-break-inside: avoid;
  }
  
  .print-notes-box strong {
    display: block;
    font-size: 9.5pt;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.2rem;
    margin-bottom: 0.4rem;
  }
  
  .print-text-block {
    font-size: 9.5pt;
    white-space: pre-wrap;
    color: #111827;
    min-height: 1.5rem;
  }
  
  /* Declaration & Acknowledgement */
  .print-acknowledgement {
    border: 1px solid #000000;
    padding: 1rem;
    margin-top: 1.5rem;
    background-color: #f9fafb;
    page-break-inside: avoid;
  }
  
  .declaration-text {
    font-size: 10pt;
    font-weight: 600;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 2rem;
  }
  
  .signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3cm;
  }
  
  .sig-block {
    display: flex;
    flex-direction: column;
  }
  
  .sig-line {
    border-bottom: 1.5px solid #000000;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .sig-label {
    font-weight: 600;
    font-size: 9.5pt;
    margin-bottom: 0.25rem;
  }
  
  .sig-date-line {
    font-size: 9pt;
  }
  
  .print-footer {
    margin-top: 2rem;
    border-top: 1px solid #d1d5db;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 7.5pt;
    color: #4b5563;
  }
  
  .print-footer p {
    margin: 0;
  }
  
  .font-mono {
    font-family: var(--font-mono) !important;
  }
}
