    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      padding: 2rem 1rem;
    }
    
    .wizard-container {
      max-width: 900px;
      margin: 0 auto;
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      overflow: hidden;
    }
    
    .wizard-header {
      background: linear-gradient(135deg, #1F2548 0%, #3B5BA1 100%);
      color: white;
      padding: 2rem;
      text-align: center;
    }
    
    .wizard-header h1 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    
    .wizard-header p {
      opacity: 0.9;
      font-size: 1.1rem;
    }
    
    /* Progress Steps */
    .progress-steps {
      display: flex;
      justify-content: space-between;
      padding: 2rem 2rem 1rem;
      background: #f8f9fa;
      border-bottom: 2px solid #e9ecef;
    }
    
    .step {
      flex: 1;
      text-align: center;
      position: relative;
    }
    
    .step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 20px;
      left: 60%;
      width: 80%;
      height: 2px;
      background: #dee2e6;
      z-index: 0;
    }
    
    .step.active:not(:last-child)::after {
      background: #667eea;
    }
    
    .step-number {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #dee2e6;
      color: #6c757d;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-bottom: 0.5rem;
      position: relative;
      z-index: 1;
      transition: all 0.3s ease;
    }
    
    .step.active .step-number {
      background: #667eea;
      color: white;
      transform: scale(1.1);
    }
    
    .step.completed .step-number {
      background: #28a745;
      color: white;
    }
    
    .step.completed .step-number::before {
      content: '✓';
    }
    
    .step-label {
      font-size: 0.85rem;
      color: #6c757d;
      font-weight: 500;
    }
    
    .step.active .step-label {
      color: #667eea;
      font-weight: 600;
    }
    
    /* Form Content */
    .wizard-content {
      padding: 3rem 2rem;
      min-height: 500px;
    }
    
    .step-content {
      display: none;
    }
    
    .step-content.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .step-title {
      font-size: 1.75rem;
      color: #1F2548;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }
    
    .step-subtitle {
      color: #6c757d;
      margin-bottom: 2rem;
      font-size: 1rem;
    }
    
    .form-group {
      margin-bottom: 1.5rem;
    }
    
    .form-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }
    
    label {
      display: block;
      margin-bottom: 0.5rem;
      color: #333;
      font-weight: 500;
      font-size: 0.95rem;
    }
    
    .required {
      color: #dc3545;
      margin-left: 0.25rem;
    }
    
    input, select, textarea {
      width: 100%;
      padding: 0.75rem;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      font-size: 1rem;
      transition: all 0.3s ease;
      font-family: inherit;
    }
    
    input:focus, select:focus, textarea:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    textarea {
      resize: vertical;
      min-height: 100px;
    }
    
    .input-hint {
      font-size: 0.85rem;
      color: #6c757d;
      margin-top: 0.25rem;
    }
    
    /* BUG FIX 9 Dic 2025: Custom select para mostrar banderas correctamente */
    
    /* Twemoji: Asegura que los emojis de bandera se vean bien */
    img.emoji {
      height: 1.2em;
      width: 1.2em;
      margin: 0 0.2em 0 0;
      vertical-align: -0.15em;
      display: inline-block;
    }
    
    .custom-select-wrapper-pais {
      position: relative;
      width: 100%;
    }
    
    .custom-select-trigger-pais {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem;
      background: white;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      color: #333;
      transition: all 0.3s ease;
      min-height: 48px;
    }
    
    .custom-select-trigger-pais:hover {
      border-color: #667eea;
    }
    
    .custom-select-wrapper-pais.open .custom-select-trigger-pais {
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .custom-select-trigger-pais .arrow {
      font-size: 0.7rem;
      margin-left: 0.5rem;
      color: #666;
      transition: transform 0.3s;
    }
    
    .custom-select-wrapper-pais.open .arrow {
      transform: rotate(180deg);
    }
    
    .custom-options-pais {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      margin-top: 4px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 2000;
      max-height: 300px;
      overflow-y: auto;
    }
    
    .custom-select-wrapper-pais.open .custom-options-pais {
      display: block;
    }
    
    .custom-option-pais {
      padding: 0.75rem 1rem;
      cursor: pointer;
      color: #333;
      transition: background 0.2s;
      font-size: 1rem;
    }
    
    .custom-option-pais:hover {
      background: #f0f4ff;
    }
    
    .custom-option-pais.selected {
      background: #e8efff;
      font-weight: 600;
    }
    
    .optgroup-label-pais {
      padding: 0.5rem 1rem;
      font-weight: 600;
      color: #667eea;
      background: #f8f9fa;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    /* Map */
    #map {
      height: 350px;
      border-radius: 12px;
      margin-top: 1rem;
      border: 2px solid #e9ecef;
    }
    
    .map-hint {
      background: #e3f2fd;
      padding: 1rem;
      border-radius: 8px;
      margin-top: 1rem;
      border-left: 4px solid #2196f3;
    }
    
    /* Review Section */
    .review-section {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 12px;
      margin-bottom: 1.5rem;
    }
    
    .review-section h3 {
      color: #1F2548;
      margin-bottom: 1rem;
      font-size: 1.25rem;
    }
    
    .review-item {
      display: flex;
      padding: 0.75rem 0;
      border-bottom: 1px solid #dee2e6;
    }
    
    .review-item:last-child {
      border-bottom: none;
    }
    
    .review-label {
      font-weight: 600;
      color: #495057;
      min-width: 180px;
    }
    
    .review-value {
      color: #212529;
      flex: 1;
    }
    
    /* Checkboxes */
    .checkbox-group {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 12px;
      margin-bottom: 1.5rem;
    }
    
    .checkbox-item {
      display: flex;
      align-items: start;
      gap: 1rem;
      padding: 1rem;
      background: white;
      border-radius: 8px;
      margin-bottom: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 2px solid #e9ecef;
    }
    
    .checkbox-item:hover {
      border-color: #667eea;
      transform: translateX(5px);
    }
    
    .checkbox-item input[type="checkbox"] {
      width: 20px;
      height: 20px;
      cursor: pointer;
      margin-top: 2px;
    }
    
    .checkbox-content {
      flex: 1;
    }
    
    .checkbox-content strong {
      display: block;
      color: #1F2548;
      margin-bottom: 0.25rem;
    }
    
    .checkbox-content small {
      color: #6c757d;
      line-height: 1.5;
    }
    
    /* Buttons */
    .wizard-actions {
      display: flex;
      justify-content: space-between;
      padding: 2rem;
      background: #f8f9fa;
      border-top: 2px solid #e9ecef;
      gap: 1rem;
    }
    
    .btn {
      padding: 0.875rem 2rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      flex: 1;
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }
    
    .btn-primary:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
    
    .btn-secondary {
      background: white;
      color: #667eea;
      border: 2px solid #667eea;
    }
    
    .btn-secondary:hover {
      background: #667eea;
      color: white;
    }
    
    /* Success Message */
    .success-message {
      text-align: center;
      padding: 3rem 2rem;
    }
    
    .success-icon {
      font-size: 5rem;
      margin-bottom: 1.5rem;
    }
    
    .success-message h2 {
      color: #28a745;
      margin-bottom: 1rem;
      font-size: 2rem;
    }
    
    .success-message p {
      color: #6c757d;
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 2rem;
    }
    
    .alert {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
    }
    
    .alert-error {
      background: #f8d7da;
      color: #721c24;
      border-left: 4px solid #dc3545;
    }
    
    .alert-info {
      background: #d1ecf1;
      color: #0c5460;
      border-left: 4px solid #17a2b8;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      body { padding: 1rem; }
      .wizard-header h1 { font-size: 1.5rem; }
      .wizard-content { padding: 2rem 1rem; }
      .progress-steps { padding: 1.5rem 1rem 0.5rem; }
      .step-label { font-size: 0.75rem; }
      .form-row { grid-template-columns: 1fr; }
      .wizard-actions { flex-direction: column-reverse; }
      .btn { width: 100%; justify-content: center; }
    }
    
    .loading {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255,255,255,0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 0.8s linear infinite;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    /* Checkbox inline para políticas */
    .checkbox-inline {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 0.8rem;
      background: white;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 0.9rem;
      border: 1px solid #e9ecef;
    }
    
    .checkbox-inline:hover {
      background: #f8f9fa;
      border-color: #667eea;
    }
    
    .checkbox-inline input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: #667eea;
    }
    
    .checkbox-inline input[type="checkbox"]:checked + span,
    .checkbox-inline:has(input:checked) {
      font-weight: 500;
    }
    
    .policy-section h3 {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .review-section .badge {
      display: inline-block;
      padding: 0.3rem 0.6rem;
      background: #e9ecef;
      border-radius: 20px;
      font-size: 0.8rem;
      color: #495057;
    }
    
    /* Sistema de Notificación de Errores */
    .error-notification {
      position: fixed;
      top: 20px;
      right: 20px;
      max-width: 400px;
      background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
      color: white;
      padding: 1rem 1.5rem;
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
      z-index: 10000;
      animation: slideIn 0.4s ease;
      cursor: pointer;
      display: none;
    }
    
    .error-notification.show {
      display: block;
    }
    
    .error-notification:hover {
      transform: scale(1.02);
      box-shadow: 0 10px 30px rgba(220, 53, 69, 0.5);
    }
    
    .error-notification .error-icon {
      font-size: 1.5rem;
      margin-right: 0.75rem;
    }
    
    .error-notification .error-content {
      display: flex;
      align-items: center;
    }
    
    .error-notification .error-text {
      flex: 1;
    }
    
    .error-notification .error-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }
    
    .error-notification .error-message {
      font-size: 0.9rem;
      opacity: 0.95;
    }
    
    .error-notification .error-hint {
      font-size: 0.8rem;
      opacity: 0.8;
      margin-top: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .error-notification .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      background: none;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      opacity: 0.7;
    }
    
    .error-notification .close-btn:hover {
      opacity: 1;
    }
    
    @keyframes slideIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }
    
    @keyframes slideOut {
      from { transform: translateX(0); opacity: 1; }
      to { transform: translateX(100%); opacity: 0; }
    }
    
    .error-notification.hiding {
      animation: slideOut 0.3s ease forwards;
    }
    
    /* Campo con error resaltado */
    .field-error {
      animation: shake 0.5s ease, pulseError 2s ease infinite;
      border-color: #dc3545 !important;
      box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
    }
    
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20%, 60% { transform: translateX(-5px); }
      40%, 80% { transform: translateX(5px); }
    }
    
    @keyframes pulseError {
      0%, 100% { box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25); }
      50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0.15); }
    }
