/* =====================================================
   LOGIN - LEGACY TEST
   Estilos propios de la vista Views/Login/Index.cshtml
   ===================================================== */

/* ====== Panel superior (texto de presentación) ====== */
.login-hero {
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(2, 59, 113, 0.94) 0%, rgba(2, 59, 113, 0.78) 100%);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    overflow: hidden;
}

    /* Filo naranja superior */
    .login-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, rgba(255, 145, 0, 1) 0%, rgba(255, 145, 0, 0) 100%);
    }

.login-hero-title {
    font-family: 'Barlow', sans-serif;
    line-height: 0.92;
    margin-bottom: 0;
}

.login-hero-line {
    display: block;
}

.login-hero-thin {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.88);
}

.login-hero-strong {
    font-size: clamp(2.4rem, 4.4vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.login-hero-text {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.94);
}

    .login-hero-text strong {
        font-weight: 700;
        color: #fff;
    }

@media (min-width: 992px) {
    .login-hero-body {
        padding-left: 2.25rem;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 575.98px) {
    .login-hero {
        padding: 1.5rem 1.25rem;
    }
}

/* ====== Tarjeta del formulario ====== */
.login-card {
    --bs-card-border-radius: 1rem;
    --bs-card-inner-border-radius: calc(1rem - 1px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

/* ====== Tarjeta CTA (lateral derecho del login) ====== */
.login-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #012A52 0%, #023B71 55%, #0A5290 100%);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
    color: #fff;
    overflow: hidden;
}

    /* Círculo decorativo inferior derecho */
    .login-cta::after {
        content: "";
        position: absolute;
        right: -3.5rem;
        bottom: -4.5rem;
        width: 14rem;
        height: 14rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .login-cta > * {
        position: relative;
        z-index: 1;
    }

.login-cta-tag {
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 145, 0, 0.55);
    background-color: rgba(255, 145, 0, 0.12);
    color: rgba(255, 145, 0, 1);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-cta-title {
    font-size: clamp(1.35rem, 1.8vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.login-cta-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
}

.login-cta-btn {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    box-shadow: 0 0.5rem 1.25rem rgba(255, 145, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .login-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.75rem 1.5rem rgba(255, 145, 0, 0.45);
    }
