/* ===== ESTILOS PARA LOGIN Y REGISTRO ===== */
  body {
           background: linear-gradient(135deg, #111111 0%, #e10600 100%);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111111 0%, #e10600 100%);
    padding: 2rem;
}

.auth-card{
background:white;
border-radius:18px;
border-top:5px solid #e10600;
box-shadow:0 30px 80px rgba(0,0,0,0.35);
width:100%;
max-width:500px;
overflow:hidden;
}
@keyframes loginFade{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}


.auth-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.auth-header {
    background: linear-gradient(135deg,#111111,#e10600);
    color:white;
    padding: 2.5rem;
    text-align: center;
}

.auth-logo {
font-size:2.6rem;
color:#fcfcfc;
margin-bottom: 1rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.auth-body {
    padding: 2.5rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form input{
    width:100%;
    padding:0.9rem 0.8rem;
    border:2px solid #e5e5e5;
    border-radius:10px;
    font-size:1rem;
    background:#fafafa;
    transition:all .3s ease;
}

.auth-form input:focus{
    outline:none;
    border-color:#e10600;
    background:white;
    box-shadow:0 0 0 3px rgba(225,6,0,0.15);
}

.auth-form input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-message {
    color: #27ae60;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-btn{
    width:100%;
    padding:1rem;
    background:#e10600;
    color:white;
    border:none;
    border-radius:10px;
    font-size:1rem;
    font-weight:700;
    cursor:pointer;
    transition:all .3s ease;
    margin-top:1rem;
}

.auth-btn:hover{
    background:#b80000;
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(0,0,0,0.35);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    color: #7f8c8d;
}

.auth-link {
    color:#e10600;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color:#b80000;
    text-decoration: underline;
}

.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 70%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 1.1rem;
}

.toggle-password:hover{
color:#e10600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
    }
    
    .auth-header {
        padding: 2rem;
    }
    
    .auth-body {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}