/* =========================================================
   KAIRA HOTEL
   LOGIN PAGE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f3ef;

    color: #222;

    min-height: 100vh;
}


/* =========================================================
   MAIN
========================================================= */

.login-page {

    width: 100%;

    min-height: 100vh;

    display: flex;

}


/* =========================================================
   LEFT PANEL
========================================================= */

.login-left {

    width: 50%;

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 70px;

    color: #fff;

    background:
        linear-gradient(
            rgba(20, 20, 20, 0.84),
            rgba(20, 20, 20, 0.84)
        ),
        linear-gradient(
            135deg,
            #292929,
            #111
        );

}


/* Decorative circle */

.login-left::before {

    content: "";

    position: absolute;

    width: 430px;

    height: 430px;

    border-radius: 50%;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    right: -170px;

    bottom: -160px;

}

.login-left::after {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    border: 1px solid
        rgba(213, 179, 106, 0.12);

    left: -130px;

    top: 55%;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    position: absolute;

    top: 42px;

    left: 70px;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 3px;

}

.brand-symbol {

    color: #d5b36a;

    font-size: 25px;

}


/* =========================================================
   WELCOME
========================================================= */

.welcome-content {

    max-width: 550px;

    position: relative;

    z-index: 2;

}

.welcome-label {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    color: #d5b36a;

    margin-bottom: 22px;

}

.welcome-content h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 58px;

    line-height: 1.12;

    font-weight: 400;

    margin-bottom: 25px;

}

.welcome-content h1 span {

    color: #d5b36a;

}

.welcome-content p {

    max-width: 450px;

    color: #cfcfcf;

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   FOOTER
========================================================= */

.left-footer {

    position: absolute;

    bottom: 35px;

    left: 70px;

    color: #999;

    font-size: 12px;

    z-index: 2;

}


/* =========================================================
   RIGHT PANEL
========================================================= */

.login-right {

    width: 50%;

    min-height: 100vh;

    background: #fff;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 50px;

}


/* =========================================================
   CARD
========================================================= */

.login-card {

    width: 100%;

    max-width: 440px;

}


/* =========================================================
   MOBILE BRAND
========================================================= */

.mobile-brand {

    display: none;

    text-align: center;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 35px;

}


/* =========================================================
   HEADING
========================================================= */

.login-heading {

    margin-bottom: 30px;

}

.login-heading h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 43px;

    font-weight: 400;

    color: #202020;

    margin-bottom: 8px;

}

.login-heading p {

    font-size: 14px;

    color: #777;

}


/* =========================================================
   ALERT
========================================================= */

.alert {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    border-radius: 8px;

    margin-bottom: 20px;

    font-size: 13px;

}

.alert span {

    width: 22px;

    height: 22px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    font-weight: 700;

}

.alert-error {

    background: #fff1f1;

    color: #b42318;

    border: 1px solid #f3c8c8;

}

.alert-error span {

    background: #b42318;

    color: #fff;

}

.alert-success {

    background: #eefaf1;

    color: #16703a;

    border: 1px solid #bee4ca;

}

.alert-success span {

    background: #16703a;

    color: #fff;

}


/* =========================================================
   FORM
========================================================= */

.form-group {

    margin-bottom: 21px;

}

.form-group label {

    display: block;

    margin-bottom: 9px;

    font-size: 13px;

    font-weight: 600;

    color: #333;

}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper {

    height: 54px;

    width: 100%;

    border: 1px solid #dedede;

    border-radius: 8px;

    display: flex;

    align-items: center;

    padding: 0 14px;

    background: #fff;

    transition: 0.25s ease;

}

.input-wrapper:focus-within {

    border-color: #b9924b;

    box-shadow:
        0 0 0 3px
        rgba(185, 146, 75, 0.10);

}

.input-icon {

    width: 30px;

    color: #999;

    font-size: 15px;

    flex-shrink: 0;

}

.input-wrapper input {

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #222;

    font-size: 14px;

}

.input-wrapper input::placeholder {

    color: #aaa;

}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {

    border: none;

    outline: none;

    background: transparent;

    cursor: pointer;

    padding: 5px;

    font-size: 16px;

    opacity: 0.65;

}

.password-toggle:hover {

    opacity: 1;

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {

    width: 100%;

    height: 55px;

    border: none;

    border-radius: 8px;

    background: #202020;

    color: #fff;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.4px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;

}

.login-btn:hover {

    background: #b9924b;

    transform: translateY(-2px);

}

.login-arrow {

    font-size: 20px;

    transition: transform 0.25s ease;

}

.login-btn:hover .login-arrow {

    transform: translateX(5px);

}


/* =========================================================
   DIVIDER
========================================================= */

.divider {

    display: flex;

    align-items: center;

    gap: 14px;

    margin: 28px 0;

    color: #aaa;

    font-size: 10px;

}

.divider::before,
.divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #e5e5e5;

}

.forgot-password-row {
    display: flex;
    justify-content: flex-end;
    margin: 5px 0 12px;
}

.forgot-password-row a {
    color: #9a7438;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password-row a:hover {
    color: #6f4d20;
    text-decoration: underline;
}


/* =========================================================
   REGISTER
========================================================= */

.register-text {

    text-align: center;

    font-size: 13px;

    color: #777;

}

.register-text a {

    color: #a77c35;

    font-weight: 600;

    text-decoration: none;

    margin-left: 4px;

}

.register-text a:hover {

    text-decoration: underline;

}


/* =========================================================
   HOME
========================================================= */

.home-link {

    text-align: center;

    margin-top: 25px;

}

.home-link a {

    text-decoration: none;

    color: #777;

    font-size: 12px;

    transition: color 0.2s ease;

}

.home-link a:hover {

    color: #a77c35;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .login-left {

        padding: 50px;

    }

    .brand {

        left: 50px;

    }

    .left-footer {

        left: 50px;

    }

    .welcome-content h1 {

        font-size: 48px;

    }

    .login-right {

        padding: 35px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .login-page {

        display: block;

    }

    .login-left {

        display: none;

    }

    .login-right {

        width: 100%;

        min-height: 100vh;

        padding: 25px;

    }

    .login-card {

        max-width: 450px;

    }

    .mobile-brand {

        display: block;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .login-right {

        padding: 20px;

    }

    .login-heading h2 {

        font-size: 36px;

    }

    .login-heading {

        margin-bottom: 25px;

    }

    .input-wrapper {

        height: 51px;

    }

    .login-btn {

        height: 52px;

    }

}

