:root {
  --primary-green: #1F7A4B;
  --primary-green-hover: #155a37;
  --primary-danger: #F59E0B;
  --primary-danger-hover: #95620a;
  --light-green: #f0f8f4;
  --border-color: #e9ecef;
  --text-muted: #6c757d;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

 .header-container {
     background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
     color: white;
     padding: 1.5rem 0;
     margin-bottom: 2rem;
     box-shadow: 0 2px 10px rgba(31, 122, 75, 0.1);
 }

 .back-btn {
     background: rgba(255, 255, 255, 0.2);
     border: 1px solid rgba(255, 255, 255, 0.3);
     color: white;
     padding: 0.5rem 0.75rem;
     border-radius: 8px;
     text-decoration: none;
     transition: all 0.3s ease;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
 }

 .back-btn:hover {
     background: rgba(255, 255, 255, 0.3);
     color: white;
     transform: translateX(-2px);
 }

.main-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 20px auto;
  max-width: 1200px;
}

.page-header {
  border-bottom: 3px solid var();
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.page-title {
  color: var(--dark-color);
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-section {
  margin-bottom: 40px;
}

.section-title {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

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

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  background: white;
}

.form-control:hover,
.form-select:hover {
  border-color: var(--primary-color);
  background: white;
}

.submit-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0b5ed7 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px auto 0;
}

.btn-primary {
  background: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 122, 75, 0.2);
}

.btn-primary:hover {
  background: var(--primary-green-hover);
  border-color: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.3);
}

.btn-danger {
  background: var(--primary-danger);
  border-color: var(--primary-danger);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 122, 75, 0.2);
}

.btn-danger:hover {
  background: var(--primary-danger-hover);
  border-color: var(--primary-danger-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 122, 75, 0.3);
}

.required-asterisk {
  color: var(--danger-color);
}

.input-icon {
  color: var(--primary-green);
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
  border: none;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .main-container {
    margin: 10px;
    padding: 20px;
    border-radius: 15px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .back-button {
    padding: 8px 12px;
  }
}

/* Animation for form appearance */
.form-section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}