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

:root {
  --primary-color: #1a5f4a;
  --secondary-color: #2d8a6b;
  --accent-color: #3db88a;
  --text-dark: #1a3a2e;
  --text-light: #4a6358;
  --bg-cream: #faf8f5;
  --bg-white: #ffffff;
  --border-color: #1a5f4a;
  --border-light: #d4e3df;
  --shadow: rgba(26, 95, 74, 0.1);
  --shadow-hover: rgba(26, 95, 74, 0.2);
}

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

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: linear-gradient(135deg, var(--bg-cream) 0%, #f0f4f2 100%);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  direction: rtl;
}

/* Header Styles */
.header-section {
  background: var(--bg-white);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 4px 20px var(--shadow);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-right {
  text-align: right;
  flex: 1;
}

.header-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.header-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo-dots {
  display: grid;
  grid-template-columns: repeat(5, 8px);
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(odd) {
  animation-delay: 0.2s;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.ministry-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.header-left {
  text-align: left;
}

.department-info {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 500;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Login Page */
.login-container {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  background: var(--bg-white);
  border-radius: 20px;
  border: 3px solid var(--primary-color);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 40px var(--shadow);
  animation: slideUp 0.5s ease-out;
}

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

.login-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
  background: var(--bg-cream);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(26, 95, 74, 0.1);
}

.form-input:disabled,
.readonly-field {
  background: #f5f8f7 !important;
  cursor: not-allowed;
  color: var(--text-light);
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow-hover);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary {
  padding: 0.9rem 2rem;
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow);
}

.btn-success {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #2d8a6b 0%, #3db88a 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
}

.btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow-hover);
}

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

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.button-group .btn-primary,
.button-group .btn-secondary,
.button-group .btn-success {
  width: auto;
  min-width: 220px;
  padding-right: 2rem;
  padding-left: 2rem;
}

.edit-request-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.edit-request-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.edit-request-panel {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  border: 2px dashed var(--secondary-color);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(61, 184, 138, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.edit-request-toggle-row {
  margin: 1rem 0 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.edit-request-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.terms-container {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.terms-document {
  height: 70vh;
  min-height: 520px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-cream);
}

.terms-document iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.terms-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-cream);
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

/* Form Container */
.form-container {
  background: var(--bg-white);
  border-radius: 20px;
  border: 3px solid var(--primary-color);
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 10px 40px var(--shadow);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-color);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-description {
  color: var(--text-light);
  font-size: 1rem;
}

/* Section Title */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 2rem 0 1.5rem 0;
  padding: 1rem;
  background: linear-gradient(to left, transparent, rgba(26, 95, 74, 0.1), transparent);
  border-right: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-number {
  background: var(--primary-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-years-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

/* Checkbox & Radio */
.checkbox-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.radio-label:hover {
  border-color: var(--primary-color);
  background: rgba(26, 95, 74, 0.05);
}

.radio-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.data-table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.data-table td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border-light);
}

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

.data-table input,
.data-table select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Cairo', sans-serif;
}

/* File Upload */
.file-upload-container {
  margin-top: 1rem;
}

.file-upload-label {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--bg-cream);
  border: 2px dashed var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
}

.file-upload-label:hover {
  background: rgba(26, 95, 74, 0.1);
  border-style: solid;
}

.file-input {
  display: none;
}

.file-name {
  margin-top: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
  animation: alertSlideIn 0.25s ease-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.alert-error {
  background: #fee;
  color: #c33;
  border: 2px solid #fcc;
}

.alert-success {
  background: #efe;
  color: #3c3;
  border: 2px solid #cfc;
}

.alert-info {
  background: #eef;
  color: #33c;
  border: 2px solid #ccf;
}

.alert-list {
  margin: 0.75rem 0 0;
  padding-right: 1.25rem;
}

.alert-list li {
  margin-bottom: 0.35rem;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Page */
.success-container {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Print Preview */
.print-preview {
  background: white;
  padding: 3rem;
  max-width: 210mm;
  margin: 2rem auto;
  box-shadow: 0 0 30px var(--shadow);
  border-radius: 10px;
}

.official-print-sheet {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.official-section {
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.official-section-compact {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.official-section-title {
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: normal;
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
}

.official-field {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.18rem;
  min-width: 0;
  line-height: 1.45;
}

.official-field-wide {
  grid-column: 1 / -1;
}

.official-label {
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.official-value {
  color: var(--text-light);
  word-break: break-word;
  flex: 1;
}

.official-table {
  width: 100%;
  border-collapse: collapse;
}

.official-table th,
.official-table td {
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.4rem;
  text-align: center;
  font-size: 0.82rem;
}

.official-table th {
  background: rgba(26, 95, 74, 0.08);
  color: var(--primary-color);
  font-weight: 800;
}

.official-inline-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.official-inline-box {
  min-width: 0;
}

.official-line {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.official-pledge-text {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.official-sign-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.official-approval-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: stretch;
  border: 1px solid var(--border-light);
}

.official-seal-box {
  border-left: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.45rem;
  font-weight: 800;
  color: var(--text-dark);
  min-height: 92px;
}

.official-approval-table {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
}

.official-approval-head {
  padding: 0.35rem 0.6rem;
  border-bottom: 1px solid var(--border-light);
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}

.official-approval-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.official-approval-row > div {
  padding: 0.35rem 0.5rem;
  text-align: center;
  border-left: 1px solid var(--border-light);
}

.official-approval-row > div:last-child {
  border-left: none;
}

.official-approval-labels {
  font-weight: 800;
  color: var(--text-dark);
}

.official-approval-values {
  min-height: 34px;
  border-top: 1px solid var(--border-light);
}

.review-panel {
  display: grid;
  gap: 1.25rem;
}

.review-message {
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  background: rgba(26, 95, 74, 0.06);
}

.review-message strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.review-message p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.8;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-summary-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  min-width: 0;
}

.review-summary-label {
  display: block;
  color: var(--text-light);
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.review-summary-value {
  display: block;
  color: var(--text-dark);
  word-break: break-word;
}

.review-steps {
  display: grid;
  gap: 0.65rem;
}

.review-steps div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dark);
}

.review-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  font-weight: 800;
  flex: 0 0 auto;
}

/* Select Styling */
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a5f4a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
}

/* Textarea */
textarea.form-input {
  min-height: 100px;
  resize: vertical;
  font-family: 'Cairo', sans-serif;
}

/* Loading */
.spinner {
  border: 3px solid var(--border-light);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* Print Styles */
@page {
  size: A4 portrait;
  margin: 6mm;
}

@media print {
  html,
  body {
    width: 210mm;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body {
    background: white;
    font-size: 10px;
    line-height: 1.2;
  }
  .header-section,
  .button-group,
  .no-print {
    display: none !important;
  }
  .print-preview {
    box-shadow: none;
    padding: 0;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: visible !important;
    break-inside: auto;
    page-break-inside: auto;
  }
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    min-height: auto !important;
  }
  .form-header {
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom-width: 2px;
    break-after: auto;
    page-break-after: auto;
  }
  .form-title {
    font-size: 1.3rem;
    margin-bottom: 0.15rem;
  }
  .form-description {
    font-size: 0.85rem;
  }
  #previewContent {
    margin: 0.25rem 0 0 !important;
    padding: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.38 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    break-before: auto;
    page-break-before: auto;
    break-inside: auto;
    page-break-inside: auto;
    break-after: auto;
    page-break-after: auto;
  }
  #previewContent h3,
  #previewContent h4 {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  #previewContent h3 {
    margin: 0.45rem 0 0.25rem 0 !important;
    padding-bottom: 0.1rem !important;
    font-size: 0.82rem !important;
  }
  #previewContent p,
  #previewContent li {
    margin-bottom: 0.08rem !important;
  }
  #previewContent table {
    margin: 0.2rem 0 !important;
  }
  #previewContent th,
  #previewContent td {
    padding: 0.12rem 0.18rem !important;
    font-size: 0.68rem !important;
  }
  #previewContent ol {
    margin: 0.2rem 0 !important;
    padding-right: 1rem !important;
  }
  .official-print-sheet {
    gap: 0.45rem;
    break-inside: auto;
    page-break-inside: auto;
  }
  .official-section {
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    overflow: visible !important;
  }
  .official-section-title {
    margin-bottom: 0.28rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .official-grid {
    gap: 0.28rem 0.65rem;
  }
  .official-field {
    padding-bottom: 0.12rem;
  }
  .official-label,
  .official-value,
  .official-line,
  .official-pledge-text,
  .official-approval-head,
  .official-approval-row > div,
  .official-seal-box {
    font-size: 0.69rem;
  }
  .official-table th,
  .official-table td {
    font-size: 0.66rem;
    padding: 0.12rem 0.16rem;
  }
  .official-inline-sections,
  .official-sign-row {
    gap: 0.5rem;
  }
  .official-sign-row {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .official-approval-grid {
    grid-template-columns: 145px 1fr;
  }
  .official-seal-box {
    min-height: 74px;
    padding: 0.25rem;
  }
  .official-approval-head,
  .official-approval-row > div {
    padding: 0.22rem 0.3rem;
  }
  .official-approval-values {
    min-height: 26px;
  }
  .official-table {
    table-layout: fixed;
  }
  .official-table th,
  .official-table td,
  .official-section-title,
  .official-line,
  .official-field {
    overflow-wrap: anywhere;
  }
  .official-section {
    break-inside: auto;
    page-break-inside: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-right,
  .header-left {
    text-align: center;
  }

  .header-title {
    font-size: 1.2rem;
  }

  .header-subtitle,
  .department-info {
    font-size: 0.9rem;
  }

  .container {
    padding: 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .login-card {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-years-grid {
    grid-template-columns: 1fr;
  }

  .print-preview {
    padding: 1.5rem;
  }

  .review-summary-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-success {
    width: 100%;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.5rem;
  }

  .checkbox-group,
  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .terms-document {
    height: 60vh;
    min-height: 420px;
  }
}
