:root {
      /* Tu paleta de colores original */
      --primary: #BE1823;
      --secondary: #E52032;
      --dark: #1E1F1C;
      
      /* Colores para el efecto Glass */
      --band-bg: rgba(30, 31, 28, 0.7); /* La banda horizontal oscura */
      --glass-border: rgba(255, 255, 255, 0.1);
      
      /* Recuadro del formulario CAMBIADO A NEGRO TRANSPARENTE */
      --card-bg: rgba(15, 15, 15, 0.9); 
      
      /* Colores de texto para fondo negro */
      --text-main: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.6);
      --input-bg: rgba(255, 255, 255, 0.05);
      --input-border: rgba(255, 255, 255, 0.1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'Roboto Condensed', sans-serif;
      /* Fondo oscuro sutil para que el cristal destaque */
      background: linear-gradient(135deg, var(--dark) 0%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      overflow-x: hidden;
      color: var(--text-main);
    }

    /* LA BANDA HORIZONTAL OSCURA (Liquid Glass) */
    .main-wrapper {
      display: flex;
      width: 100%;
      max-width: 1200px;
      background: var(--band-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      align-items: center; 
    }

    /* 1. Panel Izquierdo (Logo y textos) */
    .left-panel {
      flex: 0 0 350px;
      padding: 40px;
      color: #ffffff;
      background: transparent;
      border-right: 1px solid var(--glass-border);
    }
    
    .logo-container { margin-bottom: 30px; }
    .logo { width: 130px; height: auto; display: block; }
    
    .left-content h1 { font-family: 'Squada One', sans-serif; font-style: italic; font-weight: normal; font-size: 34px; margin-bottom: 10px; letter-spacing: 1px; line-height: 1.1; }
    .left-content .subtitle { font-size: 15px; margin-bottom: 24px; color: rgba(255,255,255,0.7); }

    .security-badge { background: rgba(255,255,255,0.05); border-radius: 15px; padding: 15px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); }
    .security-badge h3 { font-family: 'Squada One', sans-serif; font-style: italic; font-weight: normal; font-size: 20px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; letter-spacing: 1px; color: var(--secondary); }
    .security-badge p { font-size: 13px; color: rgba(255,255,255,0.7); }

    .info-list { list-style: none; padding: 0; }
    .info-list li { font-size: 13px; margin-bottom: 10px; padding-left: 15px; position: relative; color: rgba(255,255,255,0.8); }
    .info-list li::before { content: '•'; position: absolute; left: 0; color: var(--secondary); font-size: 18px; line-height: 1; top: -3px; }

    /* 2. CONTENEDOR DERECHO */
    .right-panel {
      flex: 1;
      display: flex;
      flex-direction: row;
      align-items: center;
      padding: 0 40px 0 30px;
      gap: 30px;
    }

    /* EL PROGRESO EN VERTICAL */
    .progress-container {
      flex: 0 0 80px;
      background: transparent;
      border: none;
      padding: 0;
    }

    .progress-bar { display: flex; flex-direction: column; align-items: center; }

    .progress-step { display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,0.4); transition: all 0.3s; }
    .progress-step span { font-size: 11px; text-transform: uppercase; font-weight: 600; text-align: center; }
    
    .progress-dot {
      width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2);
      display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; background: transparent; transition: all 0.3s;
    }

    .progress-step.active { color: var(--secondary); }
    .progress-step.active .progress-dot { border-color: var(--secondary); background: var(--secondary); color: #fff; box-shadow: 0 0 20px var(--secondary); transform: scale(1.2); }
    .progress-step.completed { color: #fff; }
    .progress-step.completed .progress-dot { border-color: var(--primary); background: transparent; color: var(--primary); }

    .progress-line { width: 2px; height: 35px; background: rgba(255, 255, 255, 0.1); margin: 5px 0; }
    .progress-step.completed + .progress-line { background: var(--primary); }

    /* 3. EL FORMULARIO (Tarjeta) */
    .form-container {
      flex: 1;
      background: var(--card-bg); /* NEGRO Translúcido */
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      
      /* EFECTO NEÓN */
      border: 1px solid var(--secondary);
      box-shadow: 
        0 0 10px var(--secondary),       
        0 0 25px var(--primary),        
        0 0 50px rgba(190, 24, 35, 0.8), 
        0 30px 60px rgba(0,0,0,0.9);     
      
      border-radius: 20px;
      padding: 40px;
      margin: -60px 0; 
      max-height: 90vh;
      overflow-y: auto;
    }

    /* Scrollbar minimalista */
    .form-container::-webkit-scrollbar { width: 6px; }
    .form-container::-webkit-scrollbar-track { background: transparent; }
    .form-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

    .form-header { text-align: left; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }
    .form-header h2 { color: #fff; font-family: 'Squada One', sans-serif; font-style: italic; font-weight: normal; font-size: 38px; margin-bottom: 5px; letter-spacing: 1px; }
    .form-header p { color: var(--text-muted); font-size: 14px; }

    /* Estilos internos adaptados a fondo negro */
    .section { padding: 0; background: transparent; border: none; box-shadow: none; margin-bottom: 20px; }
    .section h3 { display: none; }
    .section .hint { font-size: 14px; color: #eeeeee; margin-bottom: 30px; padding: 12px 16px; background: rgba(229, 32, 50, 0.1); border-left: 4px solid var(--secondary); border-radius: 4px; }

    .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
    .col-6 { grid-column: span 6; }
    .col-12 { grid-column: span 12; }

    .field-group { background: transparent; border: none; padding: 0; margin: 0; }
    .field-group-title { display: none; }

    label { font-size: 14px; color: #ffffff; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; margin-left: 15px; }
    label svg { width: 14px; height: 14px; color: var(--secondary); }
    label .required { color: var(--secondary); }

    /* INPUTS TIPO PÍLDORA ADAPTADOS A FONDO NEGRO */
    input[type="text"], input[type="file"] {
      width: 100%;
      padding: 12px 20px;
      background: var(--input-bg);
      border: 1px solid var(--input-border);
      border-radius: 50px; 
      font-size: 14px;
      color: #fff;
      font-family: 'Roboto Condensed', sans-serif;
      transition: all 0.3s ease;
    }
    input[type="text"]:hover, input[type="file"]:hover { background: rgba(255, 255, 255, 0.08); }
    input[type="text"]:focus, input[type="file"]:focus {
      outline: none; border-color: var(--secondary); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 3px rgba(229, 32, 50, 0.15);
    }

    input[type="file"] { padding: 8px 15px; cursor: pointer; color: var(--text-muted); }
    input[type="file"]::file-selector-button {
      padding: 6px 16px; margin-right: 12px; border: none; border-radius: 50px;
      background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; cursor: pointer;
      transition: all 0.3s; font-family: 'Roboto Condensed', sans-serif;
    }
    input[type="file"]::file-selector-button:hover { background: var(--secondary); }

    .nss-mode { display: flex; gap: 20px; margin-bottom: 20px; padding: 12px 24px; border-radius: 50px; border: 1px solid var(--input-border); background: var(--input-bg); }
    .nss-mode label { margin: 0; color: #fff; font-size: 14px; cursor: pointer; text-transform: none; }
    input[type="radio"] { accent-color: var(--secondary); width: 16px; height: 16px; }

    .muted { font-size: 13px; color: rgba(255, 255, 255, 0.8); font-style: italic; margin-top: 6px; margin-left: 15px; }
    .help-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; margin-left: 15px; padding: 8px 16px; font-size: 13px; color: #fff; background: rgba(229, 32, 50, 0.2); border: 1px solid var(--secondary); border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
    .help-link:hover { background: var(--secondary); color: #fff; box-shadow: 0 0 10px rgba(229, 32, 50, 0.5); transform: translateY(-2px); }

    /* BOTONES */
    .nav-buttons { display: flex; justify-content: flex-end; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--glass-border); }
    button {
      padding: 15px 30px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      color: #fff; border: none; border-radius: 50px; font-size: 15px; font-weight: 600;
      font-family: 'Roboto Condensed', sans-serif; cursor: pointer; transition: all 0.3s;
      box-shadow: 0 5px 15px rgba(190, 24, 35, 0.3);
    }
    button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(190, 24, 35, 0.4); }
    button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

    /* BOTÓN SECUNDARIO ADAPTADO A FONDO NEGRO */
    .btn-secondary { background: rgba(255, 255, 255, 0.05) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: none !important; opacity: 0.8; }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(255, 255, 255, 0.2) !important; opacity: 1; }

    #err { color: #fff; background: rgba(190, 24, 35, 0.2); padding: 12px 24px; border-radius: 50px; margin-top: 20px; display: none; font-size: 14px; text-align: center; border: 1px solid var(--primary); }
    input.invalid { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(190, 24, 35, 0.2) !important; }

    .step { display: none; animation: fadeIn 0.4s ease-in-out; }
    .step.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .main-wrapper { flex-direction: column; padding: 20px; height: auto; border-radius: 20px; }
      .left-panel { flex: none; border-right: none; border-bottom: 1px solid var(--glass-border); padding: 20px; width: 100%; }
      .logo { margin: 0 auto; }
      .right-panel { flex-direction: column; padding: 20px 0; gap: 20px; }
      .progress-container { width: 100%; position: static; }
      .progress-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
      .progress-step { flex-direction: row; gap: 10px; }
      .progress-line { width: 30px; height: 2px; margin: 0; }
      .form-container { margin: 0; padding: 30px 20px; width: 100%; max-height: none; }
      .col-6 { grid-column: span 12; }
      .nav-buttons { flex-direction: column; }
      button { width: 100%; }
    }

    /* MOBILE (< 600px) */
    @media (max-width: 600px) {
      body { padding: 15px 10px; }
      .left-content h1 { font-size: 28px; }
      .left-content .subtitle { font-size: 14px; margin-bottom: 15px; }
      .form-header h2 { font-size: 28px; }
      .security-badge h3 { font-size: 18px; }
      .form-container { padding: 20px 15px; }
      .progress-dot { width: 28px; height: 28px; font-size: 12px; }
      label { margin-left: 5px; }
      input[type="text"], input[type="file"] { padding: 10px 15px; }
      .nss-mode { flex-direction: column; gap: 10px; padding: 12px 15px; }
    }