:root {
  --primary-color: #18b64d;
  --secondary-color: #6c757d;
  --background-color: #f4f7fa;
  --card-background: #ffffff;
  --border-radius: 12px;
}

body {
  background: var(--background-color);
  font-family: "Inter", sans-serif;
  padding: 20px 0;
}

.form-container {
  max-width: 800px;
  margin: 30px auto;
  background: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 18px;
  border-top: 5px solid var(--primary-color);
}

.form-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 5px;
  color: #343a40;
  font-size: 2rem;
}

.form-subtitle {
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.form-label {
  font-weight: 600;
  color: #495057;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: #e9ecef;
  padding: 10px 15px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.btn-primary {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.hidden {
  display: none !important;
}

#loadingSpinner {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.info-card {
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 25px;
}

.info-card-header {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  border-bottom: 1px dashed #e9ecef;
  padding-bottom: 10px;
}




/* --- Modern Modal Styles (Excelitas green & gray) --- */
:root{
  --excelitas-green: #007A33;
  --modal-bg: rgba(0,0,0,0.5);
  --card-bg: #f4f6f8; /* light gray card */
  --card-text: #222;
  --error-red: #c0392b;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--modal-bg);
  backdrop-filter: blur(3px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-card {
  background: var(--card-bg);
  border-radius: 12px;
  text-align: center;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  max-width: 420px;
  width: 100%;
  animation: modalFadeUp 0.28s ease;
  color: var(--card-text);
  font-family: inherit;
}

.modal-icon {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.modal-card h3 {
  color: var(--excelitas-green);
  font-weight: 700;
  margin: 0.25rem 0 0.5rem 0;
  font-size: 1.05rem;
}

.modal-card p {
  color: var(--card-text);
  margin: 0 0 1rem 0;
  line-height: 1.35;
  font-size: 0.95rem;
}

.modal-ok-btn {
  background: var(--excelitas-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.modal-ok-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.modal-ok-btn:active { transform: translateY(0); box-shadow: none; }

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