/* login.css - Rediseño del Login Premium Vortex */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-main);
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* Efectos de fondo adicionales específicos del login para hacerlo más "premium" */
.login-body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255,157,0,0.05) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}

.login-body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: drift2 15s infinite alternate ease-in-out;
}

@keyframes drift {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(30px) translateX(20px); }
}

@keyframes drift2 {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-30px) translateX(-20px); }
}

.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

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

/* BRANDING */
.brand-logo {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo .logo-icon {
    font-size: 3.5rem;
    color: var(--orange);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 157, 0, 0.4));
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    from { filter: drop-shadow(0 0 10px rgba(255, 157, 0, 0.3)); transform: scale(1); }
    to { filter: drop-shadow(0 0 25px rgba(255, 157, 0, 0.6)); transform: scale(1.05); }
}

.brand-logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.brand-logo h2 span {
    color: var(--orange);
    font-weight: 300;
    margin-left: 5px;
}

/* CAJA DE LOGIN */
.login-box {
    width: 100%;
    padding: 45px 40px !important;
    text-align: center;
    background: rgba(18, 22, 29, 0.70) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    position: relative;
    overflow: visible !important;
}

.login-box::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 157, 0, 0.4) 0%, rgba(255, 157, 0, 0) 40%, rgba(255, 157, 0, 0.1) 100%);
    z-index: -1;
    opacity: 0.8;
}

.login-header h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* BOTON DE LOGIN */
.login-btn-link {
    text-decoration: none;
    display: block;
    width: 100%;
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 16px 20px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 157, 0, 0.2);
    cursor: pointer;
    border: none;
}

.login-btn i {
    font-size: 1.4rem;
}

.login-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 157, 0, 0.4) !important;
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 157, 0, 0.2) !important;
}

/* FOOTER DEL LOGIN */
.login-footer {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.login-footer a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.login-footer a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 157, 0, 0.4);
}

/* RESPONSIVE / MOBILE */
@media (max-width: 480px) {
    .login-box {
        padding: 40px 25px !important;
    }
    .brand-logo h2 {
        font-size: 1.8rem;
    }
    .login-header h3 {
        font-size: 1.3rem;
    }
}