/* Estilos para la página de login */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 100px auto;
    background: rgba(15, 0, 30, 0.85);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(106, 0, 114, 0.5);
    border: 1px solid rgba(255, 0, 255, 0.1);
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
}

h2 {
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

label {
    font-size: 16px;
    margin-bottom: 10px;
    color: #e0e0ff;
    font-weight: 500;
    display: block;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button[type="submit"],
.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #ff00ff, #cc00cc);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
    margin-top: 10px;
}

button[type="submit"]:hover,
.btn-primary:hover {
    background: linear-gradient(90deg, #ff33ff, #ff00ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
}

button[type="submit"]:active,
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid rgba(255, 0, 255, 0.5);
    color: #ff00ff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
}

.error {
    color: #ff4dff;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    animation: pulseError 1.5s infinite;
    background: rgba(255, 0, 255, 0.1);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #ff00ff;
}

.success {
    color: #00ffcc;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    background: rgba(0, 255, 204, 0.1);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #00ffcc;
}

@keyframes pulseError {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.form-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #e0e0ff;
}

.form-links a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.form-links .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.link-recuperar {
    display: block;
    margin-bottom: 8px;
}

.recuperacion-info {
    color: #e0e0ff;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

/* Responsividad */
@media (max-width: 480px) {
    .login-container {
        margin: 60px auto;
        padding: 24px 20px;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    input[type="email"],
    input[type="password"] {
        padding: 10px 12px;
        margin: 8px 0;
    }

    button[type="submit"],
    .btn-primary,
    .btn-secondary {
        padding: 10px;
        font-size: 15px;
    }

    .form-links {
        margin-top: 15px;
        font-size: 13px;
    }
}