* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary-dark: #0a1a2f;
      --primary: #1e3a5f;
      --accent: #4f7cac;
      --secondary: #d52b1e;
      --success: #2e7d32;
      --warning: #ed6a5e;
      --info: #36a2eb;
      --neutral-light: #f4f7fb;
      --neutral-border: #d9e2ec;
      --text-dark: #1e2b3a;
      --text-medium: #4a5a6e;
      --white: #ffffff;
      --shadow: 0 8px 20px rgba(0, 20, 40, 0.06);
      --gender-f: #e83f6f;
      --gender-m: #2c7da0;
      --surface-2: #0f1623;
      --accent: #ff5a36;
      --muted: #7e8ba3;
      --cyan: #43d4ff;
      --line: rgba(255, 255, 255, 0.08);
    }

    body {
      font-family: "Inter", system-ui, sans-serif;
      background: var(--neutral-light);
      color: var(--text-dark);
      line-height: 1.4;
      overflow-x: hidden;
    }
    
/* ==========================================
   VOLUNTEER MODAL STYLES
   ========================================== */

/* Modal Container */
.volunteer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

/* Modal Overlay */
.volunteer-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 17, 0.85);
  backdrop-filter: blur(12px);
}

/* Modal Container */
.volunteer-modal-container {
  position: relative;
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
   background: radial-gradient(circle at top left, rgba(255, 90, 54, 0.08), transparent 50%),
              linear-gradient(180deg, #0f1623 0%, #070b11 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.volunteer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 22, 35, 0.8);
}

.volunteer-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.volunteer-modal-close {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.volunteer-modal-close:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Step Indicators */
.volunteer-steps {
  display: flex;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(7, 11, 17, 0.5);
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.step-indicator {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: var(--surface-2);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s ease;
  cursor: default;
  border: 1px solid transparent;
}

.step-indicator.active {
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 90, 54, 0.3);
}

.step-indicator.completed {
  background: rgba(67, 212, 255, 0.15);
  color: var(--cyan);
  border-color: rgba(67, 212, 255, 0.3);
}

/* Modal Body */
.volunteer-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  max-height: calc(85vh - 180px);
  color: white;
  text-align: justify;
}


/* Scrollbar */
.volunteer-modal-body::-webkit-scrollbar {
  width: 6px;
}

.volunteer-modal-body::-webkit-scrollbar-track {
  background: var(--surface-2);
  border-radius: 10px;
}

.volunteer-modal-body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}


/* Step Content */
.step-content h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.9rem;
}

.step-content ul {
  color: var(--text);
  line-height: 1.8;
}

/* Inputs */
.wizard-input {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.wizard-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.2);
}

.wizard-input::placeholder {
  color: var(--muted);
}

/* Selects */
select.wizard-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237e8ba3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

select.wizard-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Radio Buttons */
.step-content input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.step-content label {
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
}

/* Role Options */
.role-option {
  transition: all 0.2s ease;
}

.role-option:hover {
  background: rgba(255, 90, 54, 0.1) !important;
  border-color: var(--accent) !important;
  transform: translateX(4px);
}

/* Modal Footer */
.volunteer-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
  background: rgba(15, 22, 35, 0.9);
}

/* Buttons */
.volunteer-btn {
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  border: none;
}

.volunteer-btn.primary {
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  color: white;
  flex: 1;
  box-shadow: 0 4px 15px rgba(255, 90, 54, 0.25);
}

.volunteer-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 90, 54, 0.4);
}

.volunteer-btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.volunteer-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}

.volunteer-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--muted);
  transform: translateY(-1px);
}

/* GPS and Photo Status */
#gpsStatus,
#frontIdStatus,
#backIdStatus,
#uniformStatus,
#dniStatus {
  font-size: 0.75rem;
  transition: all 0.2s ease;
}


/* Step content spacing */
.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Description text */
#roleDescription {
  line-height: 1.5;
  transition: all 0.2s ease;
}

/* Button group for file captures */
.volunteer-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Remove number input spinners */
.wizard-input[type="number"] {
  -moz-appearance: textfield;
}

.wizard-input[type="number"]::-webkit-inner-spin-button,
.wizard-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.register-wrapper {
      max-width: 700px;
      margin: 0 auto;
    }
    
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ff5a36;
      text-decoration: none;
      margin-bottom: 24px;
      font-weight: 500;
      background: rgba(255,255,255,0.9);
      padding: 8px 16px;
      border-radius: 40px;
      backdrop-filter: blur(4px);
    }
    
    .register-header {
      text-align: center;
      margin-bottom: 32px;
    }
    
    .register-header h1 {
      font-size: clamp(1.5rem, 5vw, 2rem);
      margin-bottom: 12px;
      background: linear-gradient(135deg, #ff5a36, #ffb089);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    
    .register-header p {
      color: #4a5a6e;
      font-size: 0.9rem;
    }

    /* ==========================================
       EXACT VOLUNTEER MODAL STYLES (original dark theme)
       ========================================== */

    /* Modal Container */
    #volunteerModal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10000;
      display: none;
      align-items: center;
      justify-content: center;
    }

    /* Soft grey overlay between white page and dark modal */
    .volunteer-modal-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(100, 110, 120, 0.45);
      backdrop-filter: blur(4px);
    }

    /* Modal Container - EXACT original */
    .volunteer-modal-container {
      position: relative;
      width: 90%;
      max-width: 650px;
      max-height: 85vh;
      background: radial-gradient(circle at top left, rgba(255, 90, 54, 0.08), transparent 50%),
                  linear-gradient(180deg, #0f1623 0%, #070b11 100%);
      border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
      border-radius: 32px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
      from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Modal Header */
    .volunteer-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 28px 16px 28px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(15, 22, 35, 0.8);
    }

    .volunteer-modal-header h2 {
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, #ffffff, #43d4ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.02em;
    }

    .volunteer-modal-close {
      background: #121b2a;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #7e8ba3;
      font-size: 1.2rem;
      transition: all 0.2s ease;
    }

    .volunteer-modal-close:hover {
      background: #ff5a36;
      color: white;
      border-color: #ff5a36;
      transform: scale(1.05);
    }

    /* Step Indicators - pill style exactly as original */
    .volunteer-steps {
      display: flex;
      justify-content: space-between;
      padding: 20px 28px;
      background: rgba(7, 11, 17, 0.5);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      gap: 4px;
      flex-wrap: wrap;
    }

    .step-indicator {
      flex: 1;
      text-align: center;
      padding: 8px 0;
      background: #121b2a;
      border-radius: 40px;
      font-size: 0.75rem;
      font-weight: 600;
      color: #7e8ba3;
      transition: all 0.25s ease;
      cursor: default;
      border: 1px solid transparent;
    }

    .step-indicator.active {
      background: linear-gradient(135deg, #ff5a36, #ff7a4e);
      color: white;
      box-shadow: 0 4px 15px rgba(255, 90, 54, 0.3);
    }

    .step-indicator.completed {
      background: rgba(67, 212, 255, 0.15);
      color: #43d4ff;
      border-color: rgba(67, 212, 255, 0.3);
      cursor: pointer;
    }

    .step-indicator.completed:hover {
      transform: translateY(-2px);
      background: rgba(67, 212, 255, 0.25);
    }

    /* Modal Body */
    #volunteerModalBody {
      flex: 1;
      overflow-y: auto;
      padding: 28px;
      max-height: calc(85vh - 180px);
      color: white;
    }

    /* Scrollbar */
    #volunteerModalBody::-webkit-scrollbar {
      width: 6px;
    }

    #volunteerModalBody::-webkit-scrollbar-track {
      background: #121b2a;
      border-radius: 10px;
    }

    #volunteerModalBody::-webkit-scrollbar-thumb {
      background: #ff5a36;
      border-radius: 10px;
    }

    /* Step Content */
    .step-content h3 {
      color: #ff5a36;
      margin-bottom: 20px;
      font-size: 1.2rem;
      font-weight: 600;
    }

    .step-content p {
      color: #c8d2e3;
      line-height: 1.6;
      font-size: 0.9rem;
    }

    .step-content ul {
      color: #c8d2e3;
      line-height: 1.8;
    }

    /* Inputs */
    .wizard-input {
      background: #121b2a;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 14px 16px;
      color: #ffffff;
      font-size: 0.95rem;
      font-family: 'Inter', sans-serif;
      transition: all 0.2s ease;
      width: 100%;
    }

    .wizard-input:focus {
      outline: none;
      border-color: #ff5a36;
      box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.2);
    }

    .wizard-input::placeholder {
      color: #7e8ba3;
    }

    /* Radio Buttons */
    .step-content input[type="radio"] {
      width: 18px;
      height: 18px;
      accent-color: #ff5a36;
      cursor: pointer;
    }

    .step-content label {
      color: #c8d2e3;
      cursor: pointer;
      font-size: 0.95rem;
    }

    /* Role Options */
    .role-option {
      transition: all 0.2s ease;
      padding: 12px 16px;
      margin-bottom: 10px;
      background: #121b2a;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      cursor: pointer;
    }

    .role-option:hover {
      background: rgba(255, 90, 54, 0.1) !important;
      border-color: #ff5a36 !important;
      transform: translateX(4px);
    }

    /* Modal Footer */
    .volunteer-modal-footer {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(15, 22, 35, 0.9);
    }

    /* Buttons */
    .volunteer-btn {
      padding: 12px 28px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.25s ease;
      font-family: 'Inter', sans-serif;
      border: none;
    }

    .volunteer-btn.primary {
      background: linear-gradient(135deg, #ff5a36, #ff7a4e);
      color: white;
      flex: 1;
      box-shadow: 0 4px 15px rgba(255, 90, 54, 0.25);
    }

    .volunteer-btn.primary:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 90, 54, 0.4);
    }

    .volunteer-btn.primary:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .volunteer-btn.secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #c8d2e3;
    }

    .volunteer-btn.secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: #7e8ba3;
      transform: translateY(-1px);
    }

    /* DNI and Pasaporte digit boxes */
    .dni-digit, .pasaporte-digit {
      width: 40px;
      height: 50px;
      text-align: center;
      font-size: 18px;
      background: #3a3a3a;
      border: 1px solid #666;
      color: white;
      border-radius: 8px;
      transition: all 0.2s ease;
    }

    .dni-digit:focus, .pasaporte-digit:focus {
      outline: none;
      border-color: #ff5a36;
      box-shadow: 0 0 0 2px rgba(255, 90, 54, 0.3);
      background: #4a4a4a;
    }

    .dni-digit:not(:placeholder-shown), .pasaporte-digit:not(:placeholder-shown) {
      background: white;
      color: #1a1a1a;
      border-color: #ff5a36;
    }

    /* Status messages */
    #gpsStatus, #frontIdStatus, #backIdStatus, #uniformStatus, #dniStatus {
      font-size: 0.75rem;
      transition: all 0.2s ease;
      padding: 10px;
      background: #121b2a;
      border-radius: 12px;
      margin-top: 12px;
    }

    /* Description text */
    #roleDescription {
      line-height: 1.5;
      transition: all 0.2s ease;
      margin-top: 16px;
      padding: 16px;
      background: #121b2a;
      border-radius: 16px;
      font-size: 0.85rem;
      color: #7e8ba3;
    }

    /* Minor section */
    #minorSection {
      background: rgba(255, 90, 54, 0.1);
      border: 1px solid #ff5a36;
      border-radius: 16px;
      padding: 20px;
      margin-top: 16px;
    }

    @media (max-width: 768px) {
      .volunteer-modal-container {
        width: 95%;
        max-height: 90vh;
      }
      
      .volunteer-modal-header {
        padding: 18px 20px 12px 20px;
      }
      
      .volunteer-modal-header h2 {
        font-size: 1.2rem;
      }
      
      .volunteer-steps {
        padding: 12px 16px;
        gap: 6px;
      }
      
      .step-indicator {
        font-size: 0.65rem;
        padding: 6px 0;
      }
      
      #volunteerModalBody {
        padding: 20px;
      }
      
      .volunteer-modal-footer {
        padding: 16px 20px;
      }
      
      .volunteer-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
      }
      
      .dni-digit, .pasaporte-digit {
        width: 28px;
        height: 40px;
        font-size: 14px;
      }
    }
  

@media (max-width: 768px) {
  .flip-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flip-card {
    height: 130px;
  }
  .volunteer-modal-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .volunteer-modal-header {
    padding: 18px 20px 12px 20px;
  }
  
  .volunteer-modal-header h2 {
    font-size: 1.2rem;
  }
  
  .volunteer-steps {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .step-indicator {
    font-size: 0.65rem;
    padding: 6px 0;
  }
  
  .volunteer-modal-body {
    padding: 20px;
  }
  
  .volunteer-modal-footer {
    padding: 16px 20px;
  }
  
  .volunteer-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}


/* DNI and Pasaporte digit boxes - shared styles */
.dni-digit,
.pasaporte-digit {
  width: 35px;
  height: 40px;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  background: #3a3a3a;
  border: 1px solid #666;
  color: white;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.dni-digit:focus,
.pasaporte-digit:focus {
  outline: none;
  border-color: var(--accent, #ff5a36);
  box-shadow: 0 0 0 2px rgba(255, 90, 54, 0.3);
  background: #4a4a4a;
}

.dni-digit:not(:placeholder-shown),
.pasaporte-digit:not(:placeholder-shown) {
  background: white;
  color: #1a1a1a;
  border-color: var(--accent, #ff5a36);
}

.dni-digit::placeholder,
.pasaporte-digit::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  text-align: center;
}
.step-indicator.completed {
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-indicator.completed:hover {
  transform: translateY(-2px);
  background: rgba(67, 212, 255, 0.25);
}
/* Mobile responsive */
@media (max-width: 768px) {
  .dni-digit,
  .pasaporte-digit {
    width: 28px;
    height: 35px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .dni-digit,
  .pasaporte-digit {
    width: 24px;
    height: 32px;
    font-size: 0.8rem;
  }
}

/* ==========================================
   VOLUNTEER MODAL STYLES
   ========================================== */

/* Modal Container */
.volunteer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

/* Modal Overlay */
.volunteer-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 17, 0.85);
  backdrop-filter: blur(12px);
}

/* Modal Container */
.volunteer-modal-container {
  position: relative;
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
   background: radial-gradient(circle at top left, rgba(255, 90, 54, 0.08), transparent 50%),
              linear-gradient(180deg, #0f1623 0%, #070b11 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.volunteer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 22, 35, 0.8);
}

.volunteer-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.volunteer-modal-close {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.volunteer-modal-close:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Step Indicators */
.volunteer-steps {
  display: flex;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(7, 11, 17, 0.5);
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.step-indicator {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: var(--surface-2);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s ease;
  cursor: default;
  border: 1px solid transparent;
}

.step-indicator.active {
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 90, 54, 0.3);
}

.step-indicator.completed {
  background: rgba(67, 212, 255, 0.15);
  color: var(--cyan);
  border-color: rgba(67, 212, 255, 0.3);
}

/* Modal Body */
.volunteer-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  max-height: calc(85vh - 180px);
  color: white;
  text-align: justify;
}


/* Scrollbar */
.volunteer-modal-body::-webkit-scrollbar {
  width: 6px;
}

.volunteer-modal-body::-webkit-scrollbar-track {
  background: var(--surface-2);
  border-radius: 10px;
}

.volunteer-modal-body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}


/* Step Content */
.step-content h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.9rem;
}

.step-content ul {
  color: var(--text);
  line-height: 1.8;
}

/* Inputs */
.wizard-input {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.wizard-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.2);
}

.wizard-input::placeholder {
  color: var(--muted);
}

/* Selects */
select.wizard-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237e8ba3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

select.wizard-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Radio Buttons */
.step-content input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.step-content label {
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
}

/* Role Options */
.role-option {
  transition: all 0.2s ease;
}

.role-option:hover {
  background: rgba(255, 90, 54, 0.1) !important;
  border-color: var(--accent) !important;
  transform: translateX(4px);
}

/* Modal Footer */
.volunteer-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
  background: rgba(15, 22, 35, 0.9);
}

/* Buttons */
.volunteer-btn {
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  border: none;
}

.volunteer-btn.primary {
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  color: white;
  flex: 1;
  box-shadow: 0 4px 15px rgba(255, 90, 54, 0.25);
}

.volunteer-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 90, 54, 0.4);
}

.volunteer-btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.volunteer-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}

.volunteer-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--muted);
  transform: translateY(-1px);
}

/* GPS and Photo Status */
#gpsStatus,
#frontIdStatus,
#backIdStatus,
#uniformStatus,
#dniStatus {
  font-size: 0.75rem;
  transition: all 0.2s ease;
}


/* Step content spacing */
.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Description text */
#roleDescription {
  line-height: 1.5;
  transition: all 0.2s ease;
}

/* Button group for file captures */
.volunteer-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Remove number input spinners */
.wizard-input[type="number"] {
  appearance:textfield;
  -moz-appearance: textfield;
  
}

.wizard-input[type="number"]::-webkit-inner-spin-button,
.wizard-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .flip-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flip-card {
    height: 130px;
  }
  .volunteer-modal-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .volunteer-modal-header {
    padding: 18px 20px 12px 20px;
  }
  
  .volunteer-modal-header h2 {
    font-size: 1.2rem;
  }
  
  .volunteer-steps {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .step-indicator {
    font-size: 0.65rem;
    padding: 6px 0;
  }
  
  .volunteer-modal-body {
    padding: 20px;
  }
  
  .volunteer-modal-footer {
    padding: 16px 20px;
  }
  
  .volunteer-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}


/* DNI and Pasaporte digit boxes - shared styles */
.dni-digit,
.pasaporte-digit {
  width: 35px;
  height: 40px;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  background: #3a3a3a;
  border: 1px solid #666;
  color: white;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.dni-digit:focus,
.pasaporte-digit:focus {
  outline: none;
  border-color: var(--accent, #ff5a36);
  box-shadow: 0 0 0 2px rgba(255, 90, 54, 0.3);
  background: #4a4a4a;
}

.dni-digit:not(:placeholder-shown),
.pasaporte-digit:not(:placeholder-shown) {
  background: white;
  color: #1a1a1a;
  border-color: var(--accent, #ff5a36);
}

.dni-digit::placeholder,
.pasaporte-digit::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  text-align: center;
}
.step-indicator.completed {
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-indicator.completed:hover {
  transform: translateY(-2px);
  background: rgba(67, 212, 255, 0.25);
}
/* Mobile responsive */
@media (max-width: 768px) {
  .dni-digit,
  .pasaporte-digit {
    width: 28px;
    height: 35px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .dni-digit,
  .pasaporte-digit {
    width: 24px;
    height: 32px;
    font-size: 0.8rem;
  }
}