﻿/* ===========================
   LOGIN
   (compatible con _LayoutTyc)
=========================== */

/* ✅ TIPOGRAFÍA: fuerza Montserrat SOLO en login */
.login-container,
.login-container * {
    font-family: 'Montserrat','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

/* Para login queremos una pantalla "completa" y limpia. */
.login-container {
    width: 100%;
}

    /* Asegura alto cómodo del bloque principal */
    .login-container .row {
        min-height: calc(100vh - 56px - 42px); /* header + footer aprox */
    }

/* HERO */
.login-hero {
    position: relative;
    padding: 48px 24px;
    overflow: hidden;
}

/* Fondo */
.login-bg {
    background-image: url('/img/img_way.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* brillo suave */
.login-hero::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.14), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.welcome-text {
    letter-spacing: 10px; /* ✅ más parecido a tu diseño */
    font-weight: 300; /* ✅ más delgado como en la imagen 1 */
    font-size: 34px;
    margin: 0 0 18px 0;
    text-transform: uppercase;
}

.login-main-logo {
    max-width: 340px;
    width: 100%;
    height: auto;
}

/* FORM SIDE */
.login-form-side {
    background: #fff;
    padding: 48px 18px;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
}

.form-instruction {
    font-size: 15px;
    color: #000; /* ✅ en tu imagen se ve más negro */
    line-height: 1.45;
    font-weight: 700; /* ✅ más fuerte como en tu screenshot */
    text-align: center;
    margin-bottom: 26px;
}

/* Inputs */
.custom-input {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: none;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500; /* ✅ se siente "Montserrat" */
}

    .custom-input:focus {
        border-color: rgba(11, 27, 74, .45);
        box-shadow: 0 0 0 0.18rem rgba(11, 27, 74, .12);
    }

/* Botones */
.login-form-side .btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .4px; /* ✅ más parecido */
}

    /* separa los dos botones */
    .login-form-side .btn + .btn {
        margin-top: 10px;
    }

/* Mensaje inferior */
.contact-info {
    font-size: 13px;
    line-height: 1.4;
}

.contact-link {
    color: #0B1B4A;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .contact-link:hover {
        opacity: .85;
    }

/* ===========================
   RESPONSIVE
=========================== */

/* En móvil */
@media (max-width: 991.98px) {

    .login-container .row {
        min-height: auto;
    }

    .login-hero {
        padding: 26px 18px;
    }

    .welcome-text {
        font-size: 22px;
        letter-spacing: 6px;
        margin-bottom: 14px;
    }

    .login-main-logo {
        max-width: 240px;
    }

    .login-form-side {
        padding: 28px 16px 40px;
    }

    .form-instruction {
        font-size: 14px;
    }
}

/* Desktop */
@media (min-width: 992px) {

    .login-hero {
        min-height: calc(100vh - 56px - 42px);
    }

    .login-form-side {
        min-height: calc(100vh - 56px - 42px);
    }
}


.login-form-side .btn.btn-danger {
    background-color: #E6002B;
    border-color: #E6002B;
}

    .login-form-side .btn.btn-danger:hover,
    .login-form-side .btn.btn-danger:focus {
        background-color: #C90026; /* rojo más oscuro */
        border-color: #C90026;
    }

    .login-form-side .btn.btn-danger:active {
        background-color: #A80020;
        border-color: #A80020;
    }

