﻿/* =========================================================
   BABUSPACE HOST LOGIN PAGE
   Design: Scenic Background + Elegant Login Card
========================================================= */


/* =========================================================
   PAGE WRAPPER
========================================================= */

.bs-host-login-page {
    position: relative;
    min-height: calc(100vh - 82px);
    /*margin-top: 20px;*/
    padding: 65px 0 75px;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(245, 250, 249, 0.28) 0%, rgba(245, 250, 249, 0.08) 42%, rgba(255, 255, 255, 0.15) 100% ), url("/images/host-login-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #123b43;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.bs-host-login-container {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 50px));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr);
    align-items: center;
    column-gap: 75px;
}


/* =========================================================
   LEFT INTRODUCTION
========================================================= */

.bs-host-login-intro {
    max-width: 480px;
    padding: 20px 0;
}

.bs-host-login-eyebrow {
    display: inline-block;
    margin-bottom: 21px;
    color: #087f8c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.8px;
    line-height: 1.2;
}

.bs-host-login-intro h1 {
    margin: 0;
    color: #103b43;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2.7px;
}

    .bs-host-login-intro h1 span {
        color: #148f9a;
    }

.bs-host-login-description {
    max-width: 320px;
    margin: 25px 0 38px;
    color: #42636b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   FEATURES
========================================================= */

.bs-host-login-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bs-host-login-feature {
    display: flex;
    align-items: center;
    gap: 17px;
}

.bs-host-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(21, 157, 169, 0.28);
    border-radius: 50%;
    background: rgba(229, 247, 244, 0.82);
    color: #078b98;
    font-size: 20px;
    box-shadow: 0 5px 16px rgba(19, 122, 128, 0.05);
}

.bs-host-feature-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .bs-host-feature-content strong {
        color: #173d45;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
    }

    .bs-host-feature-content span {
        color: #58747b;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }


/* =========================================================
   LOGIN CARD
========================================================= */

.bs-host-login-card {
    width: 100%;
    max-width: 470px;
    justify-self: end;
    padding: 43px 44px 35px;
    border: 1px solid rgba(221, 232, 230, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 65px rgba(26, 61, 66, 0.12), 0 4px 15px rgba(26, 61, 66, 0.035);
    box-sizing: border-box;
}


/* =========================================================
   LOGIN CARD HEADER
========================================================= */

.bs-host-login-card-header {
    margin-bottom: 31px;
}

.bs-host-login-card-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: #11929e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    line-height: 1.2;
}

.bs-host-login-card-header h2 {
    margin: 0 0 9px;
    color: #103b43;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
}

.bs-host-login-card-header p {
    margin: 0;
    color: #819298;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   LOGIN FORM
========================================================= */

.bs-host-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.bs-host-login-form-group {
    width: 100%;
}

    .bs-host-login-form-group > label {
        display: block;
        margin: 0 0 8px;
        color: #263e45;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.3;
    }


/* =========================================================
   INPUT WRAPPER
========================================================= */

.bs-host-login-input-wrapper {
    position: relative;
    width: 100%;
}

    .bs-host-login-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        color: #6d9ba1;
        font-size: 16px;
        pointer-events: none;
        transform: translateY(-50%);
    }

    .bs-host-login-input-wrapper input {
        display: block;
        width: 100%;
        height: 52px;
        padding: 0 15px 0 44px;
        border: 1px solid #dce7e5;
        border-radius: 10px;
        background: #ffffff;
        color: #244149;
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 13px;
        font-weight: 400;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

        .bs-host-login-input-wrapper input::placeholder {
            color: #a2b1b5;
            opacity: 1;
        }

        .bs-host-login-input-wrapper input:hover {
            border-color: #bfd6d3;
        }

        .bs-host-login-input-wrapper input:focus {
            border-color: #20a4af;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(32, 164, 175, 0.09);
        }


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.bs-host-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #789197;
    font-size: 16px;
    cursor: pointer;
    transform: translateY(-50%);
}

    .bs-host-login-password-toggle:hover {
        color: #118f9b;
    }


/* =========================================================
   REMEMBER ME / FORGOT PASSWORD
========================================================= */

.bs-host-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: -2px;
}

.bs-remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #61777d;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
}

    .bs-remember-me input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.bs-custom-checkbox {
    position: relative;
    width: 15px;
    height: 15px;
    display: inline-block;
    border: 1px solid #cbdad8;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bs-remember-me input:checked + .bs-custom-checkbox {
    border-color: #20a4af;
    background: #20a4af;
}

    .bs-remember-me input:checked + .bs-custom-checkbox::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 5px;
        width: 3px;
        height: 7px;
        border: solid #ffffff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.bs-forgot-password {
    color: #078793;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

    .bs-forgot-password:hover {
        color: #0c6570;
        text-decoration: underline;
    }


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.bs-host-login-submit {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1px;
    border: 0;
    border-radius: 10px;
    background: #20a4af;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(32, 164, 175, 0.13);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .bs-host-login-submit:hover {
        background: #138e99;
        transform: translateY(-1px);
        box-shadow: 0 10px 23px rgba(32, 164, 175, 0.22);
    }

    .bs-host-login-submit:active {
        transform: translateY(0);
    }

    .bs-host-login-submit i {
        font-size: 14px;
        transition: transform 0.2s ease;
    }

    .bs-host-login-submit:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   DIVIDER
========================================================= */

.bs-host-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 2px 0 0;
}

    .bs-host-login-divider span {
        flex: 1;
        height: 1px;
        background: #e6edeb;
    }

    .bs-host-login-divider em {
        color: #9ba9ac;
        font-size: 11px;
        font-style: normal;
        white-space: nowrap;
    }


/* =========================================================
   SOCIAL BUTTONS
========================================================= */

.bs-host-social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: -1px;
}

.bs-social-button {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e9e7;
    border-radius: 50%;
    background: #ffffff;
    color: #244149;
    font-size: 17px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

    .bs-social-button:hover {
        border-color: #9dd6d2;
        background: #f1faf8;
        transform: translateY(-2px);
    }

    .bs-social-button:first-child i {
        color: #4285f4;
    }

    .bs-social-button:nth-child(2) i {
        color: #1877f2;
    }

    .bs-social-button:nth-child(3) i {
        color: #111111;
    }


/* =========================================================
   REGISTER LINK
========================================================= */

.bs-host-login-register {
    margin: 3px 0 0;
    color: #829397;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

    .bs-host-login-register a {
        color: #078793;
        font-weight: 800;
        text-decoration: none;
    }

        .bs-host-login-register a:hover {
            color: #0c6570;
            text-decoration: underline;
        }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .bs-host-login-container {
        width: min(1000px, calc(100% - 40px));
        grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
        column-gap: 40px;
    }

    .bs-host-login-card {
        padding: 37px 34px 31px;
    }

    .bs-host-login-intro h1 {
        font-size: 54px;
    }
}


/* =========================================================
   MOBILE / TABLET STACK
========================================================= */

@media (max-width: 800px) {

    .bs-host-login-page {
        min-height: auto;
        margin-top: 70px;
        padding: 48px 0 60px;
        background-position: center center;
    }

    .bs-host-login-container {
        width: calc(100% - 30px);
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 42px;
    }

    .bs-host-login-intro {
        max-width: 100%;
        padding: 0;
    }

        .bs-host-login-intro h1 {
            font-size: 48px;
            letter-spacing: -1.8px;
        }

    .bs-host-login-description {
        max-width: 380px;
        margin: 20px 0 30px;
        font-size: 15px;
    }

    .bs-host-login-features {
        gap: 18px;
    }

    .bs-host-login-feature {
        gap: 14px;
    }

    .bs-host-feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    .bs-host-login-card {
        width: 100%;
        max-width: 520px;
        align-self: center;
        padding: 34px 28px 30px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .bs-host-login-page {
        padding: 38px 0 50px;
    }

    .bs-host-login-container {
        width: calc(100% - 24px);
        gap: 35px;
    }

    .bs-host-login-intro h1 {
        font-size: 41px;
        letter-spacing: -1.4px;
    }

    .bs-host-login-eyebrow {
        margin-bottom: 16px;
    }

    .bs-host-login-description {
        font-size: 14px;
    }

    .bs-host-login-card {
        padding: 29px 21px 26px;
        border-radius: 19px;
    }

    .bs-host-login-card-header h2 {
        font-size: 31px;
    }

    .bs-host-login-card-header {
        margin-bottom: 26px;
    }

    .bs-host-login-form {
        gap: 18px;
    }

    .bs-host-login-input-wrapper input {
        height: 50px;
    }

    .bs-host-login-submit {
        height: 50px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .bs-host-login-intro h1 {
        font-size: 36px;
    }

    .bs-host-login-card {
        padding: 25px 17px 23px;
    }

    .bs-host-login-card-header h2 {
        font-size: 28px;
    }

    .bs-host-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
