* { box-sizing: border-box; margin: 0; padding: 0; }
    
body {
  margin: 0;
  padding-top: 24px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background:
    linear-gradient(
      180deg,
      rgba(95, 168, 110, 0.95),
      rgba(79, 157, 105, 0.95)
    ),
  url("{% static 'images/b_G.png' %}");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Required field asterisk styling */
.required {
  color: #dc2626;
  font-weight: 600;
  margin-left: 2px;
}

.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* Header - Enhanced */
.header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06),
              0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.header-left { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

.logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08),
              0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo img {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.title h1 { 
  font-size: 20px; 
  font-weight: 700; 
  color: #111827;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.title p { 
  font-size: 13px; 
  color: #6b7280; 
  font-weight: 500;
}

.header-right { text-align: right; }

/* Menu Cards - Enhanced */
.menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: inherit;
}

.card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05),
              0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f7a4d 0%, #10b981 100%);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
              0 4px 10px rgba(0, 0, 0, 0.06);
  border-color: rgba(31, 122, 77, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card.active {
  background: linear-gradient(135deg, #1f7a4d 0%, #155e3b 100%);
  color: #fff;
  box-shadow: 0 5px 18px rgba(31, 122, 77, 0.3),
              0 3px 9px rgba(31, 122, 77, 0.2);
  border-color: transparent;
}

.card.active::before {
  display: none;
}

.card .icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card span { 
  display: block; 
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* Section - Enhanced */
.section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06),
              0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #1f7a4d 0%, transparent 100%);
}

.section-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  border-left: 4px solid #1f7a4d;
  padding-left: 14px;
  letter-spacing: -0.02em;
}

.reset {
  background: #fff;
  border: 2px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}

.reset:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field > * {
  width: 100%;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #374151;
  letter-spacing: 0.2px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  font-weight: 500;
}

input:focus, select:focus, textarea:focus {
  border-color: #1f7a4d;
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.1),
              0 4px 12px rgba(31, 122, 77, 0.08);
}

input::placeholder, textarea::placeholder {
  color: #9ca3af;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 40px;
  max-height: 40px;
  font-family: 'Inter', sans-serif;
}

/* Buttons */
.button {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #f3f4f6;
}

button {
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.next {
  background: linear-gradient(135deg, #1f7a4d 0%, #155e3b 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(31, 122, 77, 0.25),
              0 2px 6px rgba(31, 122, 77, 0.15);
}

.next:hover {
  background: linear-gradient(135deg, #155e3b 0%, #0f4829 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(31, 122, 77, 0.35),
              0 3px 9px rgba(31, 122, 77, 0.25);
}

.next:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .menu { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header {
    padding: 20px;
  }
  
  .title h1 {
    font-size: 20px;
  }
  
  .section {
    padding: 24px 20px;
  }
  
  .card {
    padding: 24px 20px;
  }
}