/* ============================================================
   CONTROL DE VIAJES
   LOGIN
   ============================================================ */


* {
    box-sizing: border-box;
}


html,
body {
    min-height: 100%;
}


body {
    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(46, 125, 105, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(36, 76, 116, 0.18),
            transparent 34%
        ),
        #08111f;

    color: #172033;
}


/* ============================================================
   PAGE
   ============================================================ */

.login-page {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 42px 24px;

    overflow: hidden;
}


.login-page::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -220px;
    top: -220px;

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 50%;
}


.login-page::after {
    content: "";

    position: absolute;

    width: 680px;
    height: 680px;

    right: -330px;
    bottom: -390px;

    border: 1px solid rgba(255, 255, 255, 0.04);

    border-radius: 50%;
}


/* ============================================================
   PANEL
   ============================================================ */

.login-panel {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;
}


/* ============================================================
   BRAND
   ============================================================ */

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 28px;
}


.login-brand-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #2c806d,
            #1c5f51
        );

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22);

    color: #ffffff;

    font-size: 24px;
}


.login-brand-text {
    color: #ffffff;
}


.login-company {
    display: block;

    margin-bottom: 2px;

    color: #71c9ae;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.login-brand-text h1 {
    margin: 0;

    color: #ffffff;

    font-size: 22px;
    font-weight: 750;

    letter-spacing: -0.35px;
}


.login-brand-text p {
    margin: 3px 0 0;

    color: #8998ad;

    font-size: 12px;
}


/* ============================================================
   CARD
   ============================================================ */

.login-card {
    width: 100%;

    padding: 34px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.28);
}


.login-card-header {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 28px;
}


.login-card-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 12px;

    background: #edf7f4;

    color: #24705f;

    font-size: 19px;
}


.login-card-header h2 {
    margin: 0;

    color: #172033;

    font-size: 20px;
    font-weight: 750;

    letter-spacing: -0.3px;
}


.login-card-header p {
    margin: 4px 0 0;

    color: #7c8798;

    font-size: 12px;
}


/* ============================================================
   ALERTS
   ============================================================ */

.login-alerts {
    margin-bottom: 20px;
}


.login-alerts .alert {
    margin-bottom: 10px;

    padding: 11px 42px 11px 13px;

    border-radius: 10px;

    font-size: 12px;
}


.login-alerts .alert:last-child {
    margin-bottom: 0;
}


/* ============================================================
   FORM
   ============================================================ */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}


.login-field label {
    display: block;

    margin-bottom: 7px;

    color: #445065;

    font-size: 12px;
    font-weight: 700;
}


.login-input {
    position: relative;

    display: flex;
    align-items: center;
}


.login-input > i {
    position: absolute;

    left: 15px;

    color: #8793a5;

    font-size: 16px;

    pointer-events: none;
}


.login-input input {
    width: 100%;
    height: 48px;

    padding:
        0
        46px
        0
        44px;

    border: 1px solid #dce2e9;

    border-radius: 11px;

    outline: none;

    background: #f8fafc;

    color: #172033;

    font-size: 13px;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}


.login-input input::placeholder {
    color: #a0a9b6;
}


.login-input input:hover {
    border-color: #c8d1dc;
}


.login-input input:focus {
    border-color: #3b8d78;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(59, 141, 120, 0.12);
}


.password-toggle {
    position: absolute;

    right: 9px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #7c8798;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background 0.18s ease;
}


.password-toggle:hover {
    background: #eef2f6;

    color: #273449;
}


.password-toggle:focus-visible {
    outline: 2px solid #3b8d78;
    outline-offset: 1px;
}


/* ============================================================
   SUBMIT
   ============================================================ */

.login-submit {
    width: 100%;
    height: 49px;

    margin-top: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #2d806d,
            #236857
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 10px 22px rgba(35, 104, 87, 0.20);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}


.login-submit:hover {
    transform: translateY(-1px);

    filter: brightness(1.04);

    box-shadow:
        0 13px 27px rgba(35, 104, 87, 0.25);
}


.login-submit:active {
    transform: translateY(0);
}


.login-submit i {
    font-size: 15px;
}


/* ============================================================
   SECURITY
   ============================================================ */

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 22px;
    padding-top: 19px;

    border-top: 1px solid #edf0f4;

    color: #8792a1;

    font-size: 11px;
}


.login-security i {
    color: #398572;

    font-size: 14px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 20px;

    color: #77879b;

    font-size: 11px;
}


.login-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4cae88;

    box-shadow:
        0 0 0 4px rgba(76, 174, 136, 0.10);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 575.98px) {

    .login-page {
        padding: 28px 17px;
    }


    .login-panel {
        max-width: 390px;
    }


    .login-brand {
        justify-content: flex-start;

        padding: 0 4px;
    }


    .login-card {
        padding: 27px 22px;

        border-radius: 18px;
    }


    .login-brand-icon {
        width: 48px;
        height: 48px;

        border-radius: 14px;

        font-size: 21px;
    }


    .login-brand-text h1 {
        font-size: 19px;
    }

}