/* ===== MODERN BLOOD REQUEST FORM UI ===== */
.form-container {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(220,38,38,0.08), 0 1.5px 6px rgba(0,0,0,0.03);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid #f3f4f6;
}

.form-header {
  background: none;
  padding: 0 0 1.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 2rem;
  text-align: center;
}

.form-header-title {
  font-size: 2rem;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 0.5rem;
}

.form-header-subtitle {
  font-size: 1.1rem;
  color: #525252;
  font-weight: 400;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: #991b1b;
  margin-bottom: 0.2rem;
}

.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  background: #fafafa;
  color: #222;
  transition: border 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #dc2626;
  outline: none;
}

.form-error {
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.97rem;
  margin-top: 0.2rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.btn.btn-primary {
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(220,38,38,0.08);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn.btn-primary:hover {
  background: #b91c1c;
  color: #fff;
}
/* ===== ENHANCED ANIMATIONS & EFFECTS ===== */
:root {
  --primary-red: #dc2626;
  --primary-red-dark: #b91c1c;
  --primary-red-light: #ef4444;
  --secondary-red: #f87171;
  --accent-green: #10b981;
  /* ===== MINIMAL HERO SECTION ===== */
  .hero-section.minimal-hero {
    background: #b91c1c;
    border-radius: 0 0 var(--border-radius-2xl) var(--border-radius-2xl);
    margin-bottom: 2rem;
  }

  .cta-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 26px;
    background: #ffffff;
    color: #b91c1c;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
  }
  .cta-btn:hover {
    background: #fef2f2;
    color: #991b1b;
  }

.hero-shape:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.hero-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.hero-particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 70%;
  right: 25%;
  animation-delay: 3s;
}

.hero-particle:nth-child(3) {
  width: 3px;
  height: 3px;
  bottom: 30%;
  left: 70%;
  animation-delay: 6s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  animation: slideInUp 0.8s ease-out;
}

.hero-badge-icon {
  color: #fca5a5;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-text 3s ease infinite, slideInUp 1s ease-out;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@keyframes gradient-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: #fecaca;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  animation: slideInUp 1.2s ease-out;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  animation: slideInUp 1.4s ease-out;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fed7d7;
  font-weight: 500;
}

.hero-feature-icon {
  color: #fca5a5;
  font-size: 1.25rem;
}

/* ===== FORM CONTAINER ===== */
.form-container {
  background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(229, 231, 235, 0.8);
  overflow: hidden;
  position: relative;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red-light) 50%, var(--accent-green) 100%);
  border-radius: var(--border-radius-2xl) var(--border-radius-2xl) 0 0;
}

/* ===== FORM HEADER ===== */
.form-header {
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 50%, #f0fdf4 100%);
  padding: 2.5rem;
  border-bottom: 2px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.form-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.form-header-main {
  flex: 1;
}

.form-header-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  animation: bounce-in 0.8s ease-out;
}

.form-header-icon i {
  font-size: 1.75rem;
  color: white;
}

.form-header-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-header-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-600);
  font-weight: 400;
}

.form-header-status {
  text-align: right;
  min-width: 120px;
}

.step-counter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 0.25rem;
}

.step-label {
  font-size: 0.875rem;
  color: var(--neutral-500);
  font-weight: 500;
}

/* ===== PROGRESS INDICATOR ===== */
.progress-section {
  padding: 2rem;
  background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
  border-bottom: 1px solid #e5e7eb;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.step-node {
  position: relative;
  z-index: 3;
  transition: all var(--transition-normal);
}

.step-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-md);
}

.step-circle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.step-circle.active {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: white;
  animation: pulse-glow 2s infinite;
}

.step-circle.active::before {
  opacity: 1;
}

.step-circle.completed {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: white;
}

.step-circle.completed::before {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
  opacity: 1;
}

.step-circle.completed::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 900;
  animation: bounce-in 0.6s ease-out;
}

.step-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--neutral-600);
  transition: color var(--transition-normal);
}

.step-circle.active + .step-label {
  color: var(--primary-red);
}

.step-circle.completed + .step-label {
  color: var(--accent-green);
}

.step-connector {
  height: 4px;
  background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 2px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 60px;
}

.step-connector.completed {
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  animation: progress-fill 0.8s ease-out;
}

.step-connector.completed::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.5s ease-in-out;
}

/* ===== FORM SECTIONS ===== */
.form-step {
  display: none;
  animation: slideInRight 0.5s ease-out;
}

.form-step.active {
  display: block;
}

.form-section {
  padding: 2.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section-header {
  margin-bottom: 2rem;
  position: relative;
}

.form-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-section-icon {
  color: var(--primary-red);
  font-size: 1.25rem;
}

.form-section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
  border-radius: 2px;
}

/* ===== FORM FIELDS ===== */
.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.form-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-field {
  position: relative;
  animation: fadeInScale 0.6s ease-out;
}

.form-field:nth-child(1) { animation-delay: 0.1s; }
.form-field:nth-child(2) { animation-delay: 0.2s; }
.form-field:nth-child(3) { animation-delay: 0.3s; }
.form-field:nth-child(4) { animation-delay: 0.4s; }
.form-field:nth-child(5) { animation-delay: 0.5s; }

.form-field-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  transition: color var(--transition-normal);
}

.form-field:hover .form-label {
  color: var(--primary-red);
}

.field-icon {
  color: var(--primary-red);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-field:focus-within .field-icon {
  color: var(--primary-red-dark);
  transform: scale(1.1);
}

.required-indicator {
  color: var(--primary-red);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-lg);
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1), var(--shadow-md);
  transform: translateY(-1px);
  background: #ffffff;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--secondary-red);
  box-shadow: var(--shadow-md);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
  font-style: italic;
  transition: color var(--transition-normal);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  color: var(--neutral-300);
}

/* Select dropdown styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23dc2626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* ===== RADIO BUTTONS ===== */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.radio-option {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.radio-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.radio-option:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

.radio-option:hover::before {
  opacity: 1;
}

.radio-option.selected {
  border-color: var(--primary-red);
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
  transform: translateY(-1px);
}

.radio-option.selected::before {
  opacity: 1;
}

.radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-check {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.radio-option:hover .radio-check {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.radio-option.selected .radio-check {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
  animation: bounce-in 0.4s ease-out;
}

.radio-option.selected .radio-check::after {
  content: '✓';
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  animation: fadeInScale 0.3s ease-out;
}

.radio-content {
  flex: 1;
}

.radio-title {
  font-weight: 700;
  color: var(--neutral-900);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  transition: color var(--transition-normal);
}

.radio-option:hover .radio-title,
.radio-option.selected .radio-title {
  color: var(--primary-red);
}

.radio-description {
  color: var(--neutral-600);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color var(--transition-normal);
}

.radio-option:hover .radio-description,
.radio-option.selected .radio-description {
  color: var(--neutral-700);
}

/* ===== CONDITIONAL FIELDS ===== */
.conditional-fields {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  animation: slideInUp 0.4s ease-out;
}

.conditional-fields.hidden {
  display: none;
}

.field-group-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.field-group-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 2px;
}

/* ===== NAVIGATION BUTTONS ===== */
.form-navigation {
  padding: 2.5rem;
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  border-top: 2px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  min-width: 140px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-nav:hover::before {
  left: 100%;
}

.btn-nav:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1), var(--shadow-md);
}

.btn-next {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-next:hover {
  background: linear-gradient(135deg, var(--primary-red-dark) 0%, #991b1b 100%);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
  transform: translateY(-2px);
}

.btn-back {
  background: linear-gradient(135deg, var(--neutral-500) 0%, var(--neutral-600) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

.btn-back:hover {
  background: linear-gradient(135deg, var(--neutral-600) 0%, var(--neutral-700) 100%);
  box-shadow: 0 8px 30px rgba(107, 114, 128, 0.5);
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-green-dark) 0%, #047857 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  background: linear-gradient(135deg, var(--neutral-400) 0%, var(--neutral-500) 100%);
  cursor: not-allowed;
  box-shadow: var(--shadow-sm);
  transform: none;
}

/* ===== CONSENT SECTION ===== */
.consent-section {
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
  border: 2px solid #fecaca;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  margin: 2rem 0;
}

.consent-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.consent-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-red);
  border-radius: 4px;
  border: 2px solid #d1d5db;
  transition: all var(--transition-normal);
}

.consent-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.consent-text {
  flex: 1;
}

.consent-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.consent-description {
  color: var(--neutral-700);
  line-height: 1.6;
  font-size: 0.875rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
  space-y: 2rem;
}

.info-card {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.8);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.info-card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.info-card-icon i {
  font-size: 1.25rem;
  color: white;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.info-card-content {
  color: var(--neutral-600);
  line-height: 1.6;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.process-number {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.process-text {
  color: var(--neutral-700);
  font-size: 0.875rem;
  line-height: 1.5;
}

.emergency-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--border-radius-2xl);
  padding: 1.5rem;
}

.emergency-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.emergency-icon i {
  font-size: 1.25rem;
  color: white;
}

.emergency-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.emergency-description {
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.emergency-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.emergency-button:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.tips-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  border-radius: var(--border-radius-2xl);
  padding: 1.5rem;
}

.tips-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.tips-icon i {
  font-size: 1.25rem;
  color: white;
}

.tips-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.tips-item-icon {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.tips-item-text {
  color: #e5e7eb;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== ERROR MESSAGES ===== */
.error-message {
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
  border: 2px solid #fecaca;
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideInUp 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.error-icon {
  color: var(--primary-red);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.error-text {
  color: #991b1b;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 3rem 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .form-container {
    border-radius: var(--border-radius-xl);
  }

  .form-header {
    padding: 2rem;
  }

  .form-header-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .form-header-status {
    text-align: center;
  }

  .progress-wrapper {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .step-connector {
    min-width: 30px;
  }

  .form-section {
    padding: 2rem;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
  }

  .btn-nav {
    width: 100%;
    min-width: auto;
  }

  .info-card {
    padding: 1.25rem;
  }

  .emergency-card {
    padding: 1.25rem;
  }

  .tips-card {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 2rem 1rem;
  }

  .form-header {
    padding: 1.5rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .form-navigation {
    padding: 1.5rem;
  }

  .progress-section {
    padding: 1.5rem;
  }

  .step-circle {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .radio-option {
    padding: 1.25rem;
  }

  .consent-section {
    padding: 1.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
.btn-nav:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
.radio-option:focus-visible,
.consent-checkbox:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-red: #c00000;
    --primary-red-dark: #800000;
    --neutral-900: #000000;
    --neutral-100: #ffffff;
  }
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.animate-fade-in {
  animation: fadeInScale 0.5s ease-out;
}

.animate-slide-up {
  animation: slideInUp 0.5s ease-out;
}

.animate-bounce-in {
  animation: bounce-in 0.6s ease-out;
}

/* ===== HERO LAYOUT OVERRIDES ===== */
.hero-inner{ max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.hero-grid{ display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.hero-left{ text-align: left; padding: 3rem 0; }
.hero-right{ padding: 0; justify-self: end; }
.hero-left .hero-title{ font-size: 72px !important; line-height: 0.95 !important; font-weight: 800; background:none !important; -webkit-text-fill-color: unset !important; color: #fff !important; text-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.hero-left .hero-subhead{ font-size: 22px; color: rgba(255,255,255,0.95); margin-bottom: 6px; }
.hero-left .hero-subtext{ font-size: 16px; max-width: 480px; color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.cta-btn{ display:inline-block; padding: 12px 26px; border-radius: 26px; background: #ffffff; color: #b91c1c; font-weight:700; text-decoration:none; box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.feature-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.feature-item{ display:flex; align-items:center; gap:12px; font-weight:700; color: rgba(255,255,255,0.95); }
.feature-icon{ width:44px; height:44px; background: rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; border-radius:10px; font-size:20px; }

@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; text-align: center; }
  .hero-left{ padding: 2rem 0; }
  .hero-right{ justify-self: center; }
  .hero-left .hero-title{ font-size: 48px !important; }
  .cta-btn{ margin:0 auto; }
}

@media (max-width: 640px){
  .hero-left .hero-title{ font-size: 36px !important; }
  .hero-left .hero-subtext{ max-width: 100%; }
}