﻿/* =========================================
   LAYOUT
   ========================================= */

.login-page {
    min-height: 100vh;
    overflow: hidden;
    background: #f4f7fb;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    min-height: 100vh;
}

/* =========================================
   HERO SECTION
   ========================================= */

.login-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px;
    color: white;
    background: linear-gradient( 90deg, rgba(7, 22, 74, 0.82) 0%, rgba(11, 37, 112, 0.55) 45%, rgba(14, 52, 168, 0.15) 100% ), url('/assets/login/login_backgound.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    /* overlay suave */

    .login-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at left, rgba(0,255,255,.12), transparent 35%), linear-gradient( 180deg, rgba(255,255,255,.04), rgba(255,255,255,0) );
        pointer-events: none;
    }

/* =========================================
   HERO CONTENT
   ========================================= */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.login-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
    opacity: .95;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.login-hero h1 {
    margin: 0 0 22px;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
}

.login-hero p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 520px;
    opacity: .95;
}

/* =========================================
   LOGIN PANEL
   ========================================= */

.login-panel {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

    .login-card .card {
        background: white;
        border-radius: 18px;
        padding: 36px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }

/* =========================================
   TITLE
   ========================================= */

.login-title {
    margin-bottom: 28px;
}

    .login-title h2 {
        margin: 0 0 10px;
        font-size: 36px;
        color: #111827;
    }

    .login-title p {
        color: #6b7280;
        font-size: 15px;
    }

/* =========================================
   FORM
   ========================================= */

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 0 14px;
    box-sizing: border-box;
    transition: .2s;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

/* =========================================
   FOOTER LOGO
   NUEVA CLASE
   ========================================= */

.login-footer-logo {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

    .login-footer-logo img {
        width: 150px;
        height: auto;
        opacity: .9;
    }

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 1200px) {

    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-hero {
        display: none;
    }

    .login-panel {
        padding: 24px;
    }
}
