/* Login visual refresh: Material UI-inspired fields and a calm hotel palette. */
.hotel-login-shell {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: auto;
    padding: 32px 18px;
    color: #183040;
    background-image:
        linear-gradient(rgba(28, 43, 54, .18), rgba(28, 43, 54, .18)),
        url('../images/login-background.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hotel-login-shell::before,
.hotel-login-shell::after {
    display: none;
    position: fixed;
    content: '';
    pointer-events: none;
    border-radius: 50%;
    filter: blur(44px);
    opacity: .48;
}

.hotel-login-shell::before {
    width: 38vw;
    height: 18vw;
    left: -8vw;
    bottom: -2vw;
    background: rgba(255, 255, 255, .78);
}

.hotel-login-shell::after {
    width: 32vw;
    height: 16vw;
    right: -4vw;
    top: -2vw;
    background: rgba(255, 255, 255, .68);
}

.hotel-login-card {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 42px 44px 38px;
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: 32px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(31, 71, 111, .22), 0 4px 18px rgba(31, 71, 111, .08);
}

.hotel-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin-bottom: 40px;
}

.hotel-login-brand img {
    display: block;
    max-width: 330px;
    max-height: 111px;
    object-fit: contain;
}

.hotel-login-brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #243b4d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    letter-spacing: .02em;
}

.hotel-login-brand-fallback i {
    color: #4d91d6;
    font-size: 24px;
}

.hotel-login-title {
    margin: 0;
    color: #172b3b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hotel-login-subtitle {
    max-width: 410px;
    margin: 12px auto 30px;
    color: #62717d;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

.hotel-login-alert {
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid #b9dfc5;
    border-radius: 12px;
    color: #24633c;
    background: #f0fbf3;
    font-size: 14px;
    line-height: 1.45;
}

.hotel-login-form {
    margin: 0;
}

.hotel-login-field {
    position: relative;
    margin-bottom: 22px;
}

.hotel-login-field label {
    display: block;
    margin: 0 0 8px 2px;
    color: #173447;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.hotel-login-required {
    color: #d43e3e;
}

.hotel-login-input-wrap {
    position: relative;
}

.hotel-login-input {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #d5e4ed;
    border-radius: 9px;
    outline: none;
    color: #1d3545;
    background: #eef7fc;
    box-shadow: inset 0 1px 2px rgba(36, 74, 103, .03);
    font-size: 16px;
    line-height: 56px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.hotel-login-input::placeholder {
    color: #82919b;
    opacity: 1;
}

.hotel-login-input:hover {
    border-color: #afc9d9;
    background: #f3faff;
}

.hotel-login-input:focus {
    border-color: #4c91d3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 145, 211, .18);
}

.hotel-login-password-input {
    padding-right: 54px;
}

.hotel-login-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #547181;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.hotel-login-toggle:hover,
.hotel-login-toggle:focus {
    color: #1f6da7;
    background: rgba(76, 145, 211, .12);
    outline: none;
}

.hotel-login-submit {
    display: block;
    width: 100%;
    min-height: 56px;
    margin-top: 30px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #284456;
    box-shadow: 0 8px 16px rgba(40, 68, 86, .18);
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hotel-login-submit:hover,
.hotel-login-submit:focus {
    background: #1d3648;
    box-shadow: 0 10px 20px rgba(40, 68, 86, .25);
    outline: none;
    transform: translateY(-1px);
}

.hotel-login-submit:active {
    box-shadow: 0 4px 10px rgba(40, 68, 86, .2);
    transform: translateY(0);
}

.hotel-login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 24px 0 0;
    color: #72808a;
    font-size: 13px;
    text-align: center;
}

.hotel-login-footer-logo {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;
    border-radius: 50%;
}

.hotel-login-footer-logo img {
    display: block;
    width: 64px;
    max-width: none;
    height: 64px;
    position: relative;
    top: -16px;
    left: -16px;
    object-fit: contain;
}

.hotel-login-footer strong {
    color: #26363e;
    font-weight: 600;
}

@media (max-width: 600px) {
    .hotel-login-shell {
        align-items: flex-start;
        padding: 20px 12px;
    }

    .hotel-login-card {
        margin: auto 0;
        padding: 30px 22px 26px;
        border-radius: 24px;
    }

    .hotel-login-brand {
        margin-bottom: 22px;
    }

    .hotel-login-title {
        font-size: 26px;
    }

    .hotel-login-subtitle {
        margin-bottom: 25px;
        font-size: 15px;
    }
}
