:root {
  --primary-dark: #0B2240;
  --teal-accent: #34AC98;
  --teal-light: #E6F7F4;
  --slate-600: #64748B;
  --slate-500: #475569;
  --slate-400: #94A3B8;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
}

/* Modal Wrapper */
.nda-modal-card {
  background: var(--white);
  border-radius: 1rem;
  width: 100%;
  max-width: 580px;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  position: relative;
}

.btn-close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  text-decoration: none;
  color: var(--slate-400);
  font-size: 1.25rem;
  font-weight: bold;
  transition: color 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--primary-dark);
}

/* Badge & Title */
.badge-iso {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--teal-accent);
  background: var(--teal-light);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
  display: inline-block;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Scrollable Document Terms */
.nda-terms-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.725rem;
  color: var(--slate-500);
  max-height: 180px;
  overflow-y: auto;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.nda-terms-box p {
  margin-bottom: 0.5rem;
}

.nda-terms-box p:last-child {
  margin-bottom: 0;
}

/* Checkbox Card */
.nda-checkbox-card {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  padding: 0.85rem;
  border-radius: 0.65rem;
  margin-bottom: 1.5rem;
}

.nda-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.775rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.nda-checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--teal-accent);
  width: 1rem;
  height: 1rem;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-cancel {
  font-size: 0.775rem;
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-cancel:hover {
  color: var(--primary-dark);
}

.btn-submit-nda {
  background-color: var(--teal-accent);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit-nda:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-submit-nda:disabled {
  background-color: var(--slate-400) !important;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 480px) {
  .nda-modal-card {
    padding: 1.25rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
    align-items: stretch;
  }

  .btn-cancel {
    text-align: center;
  }
}
