/* =========================================================
   SIVA TRAVEL CRM - LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;
    overflow: hidden;
    background: #18364b;
}

.login-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 68%, rgba(125, 177, 190, .22), transparent 32%),
        radial-gradient(circle at 84% 24%, rgba(255, 255, 255, .12), transparent 27%),
        linear-gradient(135deg, #173146 0%, #28566f 45%, #7399aa 100%);
}

.login-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 25, 38, .08), rgba(8, 25, 38, .32)),
        repeating-linear-gradient(112deg, transparent 0, transparent 90px, rgba(255,255,255,.018) 91px, transparent 92px);
}

.login-scene::after {
    content: "";
    position: absolute;
    width: 52vw;
    height: 52vw;
    min-width: 620px;
    min-height: 620px;
    right: -21vw;
    bottom: -28vw;
    border-radius: 50%;
    background: rgba(255,255,255,.055);
    box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.015);
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.login-orb-one {
    width: 300px;
    height: 300px;
    left: -130px;
    top: 30%;
    background: rgba(131, 190, 193, .12);
}

.login-orb-two {
    width: 420px;
    height: 420px;
    right: 9%;
    top: -250px;
    background: rgba(255,255,255,.08);
}

.login-brand-corner,
.login-side-message,
.login-panel {
    position: relative;
    z-index: 2;
}

.login-brand-corner {
    position: absolute;
    top: 42px;
    left: 54px;
    display: flex;
    align-items: center;
    gap: 22px;
    color: #fff;
}

.login-corner-logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 47px);
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.login-corner-line {
    width: 1px;
    height: 72px;
    background: rgba(255,255,255,.45);
}

.login-corner-copy {
    font-size: 9px;
    line-height: 2;
    letter-spacing: 4px;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
}

.login-side-message {
    position: absolute;
    top: 52px;
    right: 54px;
    text-align: center;
    color: rgba(255,255,255,.9);
    letter-spacing: 5px;
}

.login-side-message > span {
    display: block;
    font-size: 14px;
}

.login-side-message > i {
    display: block;
    width: 34px;
    height: 1px;
    margin: 18px auto;
    background: rgba(255,255,255,.55);
}

.login-side-message small {
    font-size: 9px;
    line-height: 2.1;
    letter-spacing: 4px;
}

.login-panel {
    width: 100%;
    padding: 110px 24px 40px;
}

.login-card {
    width: min(100%, 570px);
    margin: 0 auto;
    padding: 44px 54px 36px;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 30px 90px rgba(6, 20, 31, .28);
    backdrop-filter: blur(12px);
}

.login-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    color: #1f3c52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.5vw, 58px);
    line-height: 1;
    letter-spacing: -3px;
}

.login-logo-line {
    display: block;
}

.login-crm-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.login-crm-row span {
    width: 66px;
    height: 1px;
    background: #9daeba;
}

.login-crm-row strong {
    color: #29465a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 10px;
    padding-left: 10px;
}

.login-system-name {
    margin-top: 10px;
    color: #637889;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.login-form {
    max-width: 450px;
    margin: 0 auto;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #31485a;
    font-size: 15px;
    font-weight: 600;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #607687;
    font-size: 19px;
    pointer-events: none;
}

.login-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 20px 0 56px;
    border: 1px solid #c8d3db;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #263d4e;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.login-input-wrap input::placeholder {
    color: #8b9aa5;
}

.login-input-wrap input:focus {
    border-color: #4f8f91;
    box-shadow: 0 0 0 4px rgba(79,143,145,.12);
}

.login-error {
    min-height: 20px;
    margin: -5px 0 16px;
    color: #b34f45;
    font-size: 12px;
    line-height: 1.45;
}

.login-error:empty {
    display: none;
}

.login-error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-error li {
    margin: 0;
}

.login-submit {
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #17364b, #20485f);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(23,54,75,.18);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.login-submit:hover {
    background: linear-gradient(90deg, #153247, #1b4056);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(23,54,75,.24);
}

.login-submit i {
    font-size: 20px;
}

.login-card-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    color: #667b8b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    white-space: nowrap;
}

.login-card-footer span {
    height: 1px;
    flex: 1;
    background: #d4dde2;
}

@media (max-width: 800px) {
    .login-brand-corner {
        top: 24px;
        left: 24px;
    }

    .login-side-message {
        display: none;
    }

    .login-corner-line,
    .login-corner-copy {
        display: none;
    }

    .login-card {
        padding: 48px 34px 38px;
    }
}

@media (max-width: 560px) {
    .login-panel {
        padding: 92px 14px 20px;
    }

    .login-brand-corner {
        left: 20px;
    }

    .login-corner-logo {
        font-size: 31px;
    }

    .login-card {
        padding: 40px 24px 30px;
        border-radius: 14px;
    }

    .login-logo {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .login-crm-row span {
        width: 42px;
    }

    .login-system-name {
        font-size: 8px;
        letter-spacing: 2.4px;
        line-height: 1.6;
    }

    .login-card-footer {
        gap: 10px;
        font-size: 7px;
        letter-spacing: 2px;
    }
}