/* style.css - PROYECTO AG (Versión Final Completa) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/* --- CONFIGURACIÓN BASE --- */
body {
    background-color: #000000;
    font-family: 'Orbitron', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center; 
}

/* --- LOGO --- */
.logo-ag {
    max-width: 250px;
    width: 100%;
    margin-bottom: 40px;
}

/* --- INPUTS ESTILO SCI-FI --- */
.form-control.sci-fi-input {
    background-color: #000000;
    border: 2px solid #CCA43B; /* Dorado medio */
    border-radius: 0 !important; /* Esquinas rectas */
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    padding: 15px;
    padding-right: 45px; /* Espacio para el icono del ojo */
    font-size: 1.1rem;
    height: auto;
}

.form-control.sci-fi-input:focus {
    background-color: #050505;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); 
    color: #fff;
}

.form-control.sci-fi-input::placeholder {
    color: #888;
}

/* --- BOTONES DORADOS --- */
.btn-gold-tech {
    background: linear-gradient(180deg, #EEDC82 0%, #B8860B 100%); 
    border: none;
    border-radius: 0; 
    color: #000 !important; 
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    padding: 15px 0;
    font-size: 1.2rem;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
}

.btn-gold-tech:hover {
    background: linear-gradient(180deg, #FFF8DC 0%, #DAA520 100%);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.6);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    filter: grayscale(1);
}

.btn-sm-tech {
    font-size: 0.9rem;
    padding: 10px 0;
    margin-top: 15px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* --- CHECKBOX --- */
.form-check-input {
    background-color: transparent;
    border: 1px solid #CCA43B;
    border-radius: 0 !important;
    width: 1.2em; height: 1.2em; margin-top: 0.1em; cursor: pointer;
}
.form-check-input:checked {
    background-color: #CCA43B; border-color: #CCA43B; box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-label { color: #e0e0e0; font-size: 0.9rem; margin-left: 5px; cursor: pointer; }
.terms-link { color: #CCA43B; text-decoration: underline; transition: color 0.3s; }
.terms-link:hover { color: #fff; }
.terms-legend { display: block; font-size: 0.75rem; color: #888; margin-top: 5px; text-align: left; margin-left: 2.2em; line-height: 1.3; }

/* --- PASSWORD & STATUS --- */
.password-wrapper { position: relative; width: 100%; }
.toggle-password {
    position: absolute; top: 50%; transform: translateY(-50%); right: 15px;
    cursor: pointer; color: #CCA43B; z-index: 10; font-size: 1.2rem;
}
.toggle-password:hover { color: #fff; }

#pass-status {
    font-size: 0.8rem; margin-top: 5px; margin-bottom: 15px; height: 20px; font-weight: bold; transition: all 0.3s;
}
.match-error { color: #ff4444; }
.match-success { color: #00ff00; }

/* --- MODAL COOKIES --- */
.modal-content { background-color: #000000; border: 2px solid #CCA43B; color: #ffffff; font-family: 'Orbitron', sans-serif; box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); border-radius: 0; }
.modal-header, .modal-footer { border-color: #bfa25f; }
.modal-title { color: #CCA43B; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.cookie-text p, .cookie-text ul { font-size: 0.9rem; color: #cccccc; text-align: left; }
.cookie-text strong { color: #fff; }
.btn-cookie { width: 100%; border: 1px solid #CCA43B; background: transparent; color: #CCA43B; padding: 10px; font-family: 'Orbitron', sans-serif; text-transform: uppercase; transition: all 0.3s; clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 20%); }
.btn-cookie:hover { background: #CCA43B; color: #000; }
.btn-cookie-primary { background: linear-gradient(180deg, #EEDC82 0%, #B8860B 100%); color: #000; border: none; font-weight: bold; }

/* --- ALERTAS DEL SISTEMA (NUEVO) --- */
.tech-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tech-alert-error {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.tech-alert-success {
    border-color: #00ff00;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- UTILIDADES DE TEXTO --- */
.text-capitalize-visual {
    text-transform: capitalize;
}
/* Feedback de requisitos de contraseña */
#pass-requirements {
    font-size: 0.75rem;
    color: #888;
    text-align: left;
    margin-bottom: 5px;
    margin-left: 5px;
}
.req-item { margin-right: 10px; display: inline-block; }
.req-met { color: #00ff00; text-decoration: line-through; opacity: 0.6; }
.req-unmet { color: #888; }
