:root {
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-green: #0aff0a;
    --neon-red: #ff003c;
    --neon-yellow: #ffea00;
    --bg-dark: #050510;
    --glass-bg: rgba(10, 15, 30, 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { 
    max-width: 100vw; overflow-x: hidden !important; 
    background-color: var(--bg-dark); color: #e0e0e0; 
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
}

/* =========================================
   FONDO ANIMADO
   ========================================= */
.holo-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08), transparent 25%);
    animation: holoPulse 8s ease-in-out infinite alternate;
}
@keyframes holoPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* =========================================
   SISTEMA DE MENSAJERÍA HOLOGRÁFICA (ALERTAS)
   ========================================= */
.futuristic-alert {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    background: var(--glass-bg); border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan); color: var(--neon-cyan);
    padding: 15px 25px; border-radius: 8px; backdrop-filter: blur(10px);
    transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500; letter-spacing: 0.5px;
}
.futuristic-alert.show { transform: translateX(0); }
.futuristic-alert.error { border-color: var(--neon-red); color: var(--neon-red); box-shadow: 0 0 15px var(--neon-red); }
.futuristic-alert.success { border-color: var(--neon-green); color: var(--neon-green); box-shadow: 0 0 15px var(--neon-green); }
.futuristic-alert.warning { border-color: var(--neon-yellow); color: var(--neon-yellow); box-shadow: 0 0 15px var(--neon-yellow); }

/* =========================================
   MODAL DE CONFIRMACIÓN HOLOGRÁFICO
   ========================================= */
.holo-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.holo-modal-overlay.active { opacity: 1; pointer-events: all; }

.holo-modal-box {
    background: rgba(5, 5, 16, 0.95); border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.05);
    border-radius: 16px; padding: 30px; width: 90%; max-width: 400px;
    text-align: center; transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.holo-modal-overlay.active .holo-modal-box { transform: scale(1); }

.holo-modal-title {
    color: var(--neon-cyan); font-size: 1.2rem; margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px var(--neon-cyan);
}
.holo-modal-message { color: #ccc; margin-bottom: 25px; font-size: 1rem; line-height: 1.5; }
.holo-modal-actions { display: flex; gap: 15px; justify-content: center; }

.holo-btn {
    padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold;
    text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
    border: 1px solid; font-size: 0.9rem; min-width: 100px;
}
.holo-btn-cancel { background: transparent; border-color: #666; color: #aaa; }
.holo-btn-cancel:hover { border-color: #fff; color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.2); }
.holo-btn-confirm { background: transparent; border-color: var(--neon-red); color: var(--neon-red); }
.holo-btn-confirm:hover { background: var(--neon-red); color: #fff; box-shadow: 0 0 20px var(--neon-red); }

/* =========================================
   FORMULARIOS, PASOS (WIZARD) Y OJO DE CONTRASEÑA
   ========================================= */
/* Clave para que el registro no muestre todo junto */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.step-indicator { display: flex; justify-content: center; gap: 10px; margin-bottom: 25px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: #333; transition: all 0.3s; }
.step-dot.active { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }

/* Clave para que el ojo de la contraseña se vea bien */
.password-wrapper { position: relative; width: 100%; }
.toggle-password { 
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); 
    cursor: pointer; color: #666; transition: all 0.3s ease; display: flex; align-items: center;
    z-index: 10; background: transparent; border: none; padding: 5px;
}
.toggle-password:hover { color: var(--neon-cyan); filter: drop-shadow(0 0 5px var(--neon-cyan)); }
.toggle-password svg { width: 22px; height: 22px; pointer-events: none; }

.neon-input {
    background: rgba(0,0,0,0.4); border: 1px solid #333; color: #fff;
    padding: 14px; border-radius: 8px; width: 100%; margin-bottom: 15px;
    transition: all 0.3s ease; font-size: 1rem;
}
.neon-input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 12px rgba(0, 243, 255, 0.3); outline: none; }

.neon-btn {
    background: transparent; border: 1px solid var(--neon-cyan); color: var(--neon-cyan);
    padding: 14px 24px; border-radius: 8px; cursor: pointer; font-weight: bold;
    text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease; width: 100%;
}
.neon-btn:hover:not(:disabled) { background: var(--neon-cyan); color: #000; box-shadow: 0 0 25px var(--neon-cyan); }
.neon-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Selector de Archivos y Previsualización */
.file-upload-wrapper { margin-bottom: 15px; text-align: center; }
.neon-file-btn {
    display: inline-block; padding: 12px 20px; border: 1px dashed var(--neon-purple);
    color: var(--neon-purple); border-radius: 8px; cursor: pointer; transition: all 0.3s;
    font-size: 0.9rem; width: 100%;
}
.neon-file-btn:hover { background: rgba(188, 19, 254, 0.1); border-style: solid; }
.file-name-display { display: block; margin-top: 8px; font-size: 0.8rem; color: #888; }

.photo-preview-container { text-align: center; margin-bottom: 20px; }
.photo-preview-box {
    width: 120px; height: 120px; object-fit: cover; border-radius: 16px;
    border: 2px solid #333; box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease; background: #111;
}
.photo-preview-box.active { border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0, 243, 255, 0.4); }

.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; color: #ccc; font-size: 0.9rem; }
.checkbox-item input { accent-color: var(--neon-cyan); width: 18px; height: 18px; }

/* =========================================
   MENÚ DE NAVEGACIÓN INFERIOR (MOBILE-FIRST)
   ========================================= */
.nav-bottom {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(5, 5, 16, 0.95); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    display: flex; justify-content: space-around; align-items: center;
    padding: 10px 0; z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 243, 255, 0.1);
}

.nav-item {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #666; font-size: 0.7rem;
    transition: all 0.3s ease; padding: 5px 10px;
}

.nav-item svg {
    width: 24px; height: 24px; margin-bottom: 3px;
    stroke: currentColor; fill: none; stroke-width: 2;
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--neon-cyan);
}

.nav-item.active svg {
    filter: drop-shadow(0 0 8px var(--neon-cyan));
    transform: translateY(-3px);
}

/* Espacio para que el contenido no quede tapado por el menú */
body { padding-bottom: 70px; }

@media (min-width: 768px) {
    .nav-bottom {
        top: 0; bottom: auto; width: 80px; height: 100vh;
        flex-direction: column; justify-content: center; gap: 30px;
        border-top: none; border-right: 1px solid rgba(0, 243, 255, 0.3);
        padding: 20px 0;
    }
    body { padding-bottom: 0; padding-left: 80px; }
    .nav-item { font-size: 0.6rem; }
    .nav-item svg { width: 28px; height: 28px; }
}

