﻿/* =========================================================
   BABUSPACE - HOST REGISTRATION PAGE
   Elegant Responsive Registration Layout
========================================================= */


/* =========================================================
   ROOT / PAGE WRAPPER
========================================================= */

.bs-host-register-page {
    position: relative;
    min-height: calc(100vh - 82px);
    margin-top: 82px;
    padding: 65px 0 85px;
    background-image: url("/images/host-register-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.bs-host-register-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
    align-items: center;
    gap: 70px;
}


/* =========================================================
   LEFT INTRODUCTION
========================================================= */

.bs-host-register-intro {
    min-width: 0;
    padding: 10px 0;
}

.bs-host-register-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #159eaa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1.2;
}

.bs-host-register-intro h1 {
    margin: 0;
    color: #080808;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 4.3vw, 64px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

    .bs-host-register-intro h1 span {
        color: #21a8b3;
    }

.bs-host-register-description {
    max-width: 420px;
    margin: 26px 0 35px;
    color: #637078;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   BENEFITS
========================================================= */

.bs-host-register-benefits {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin-bottom: 36px;
}

.bs-host-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bs-host-benefit-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(33, 168, 179, 0.30);
    border-radius: 50%;
    background: rgba(235, 249, 247, 0.82);
    color: #159eaa;
    font-size: 17px;
}

.bs-host-benefit strong {
    display: block;
    margin-bottom: 4px;
    color: #17262e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.bs-host-benefit span {
    display: block;
    color: #7a858a;
    font-size: 12px;
    line-height: 1.3;
}


/* =========================================================
   PROPERTY IMAGE CARD
========================================================= */

.bs-intro-image-wrap {
    position: relative;
    width: 365px;
    max-width: 88%;
    margin-top: 40px;
    margin-left: 18px;
}

.bs-intro-image-card {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    border: 6px solid #ffffff;
    border-radius: 22px;
    background: #e7efeb;
    box-shadow: 0 18px 40px rgba(35, 77, 57, 0.14);
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .bs-intro-image-card:hover {
        transform: rotate(0deg) translateY(-3px);
        box-shadow: 0 22px 48px rgba(35, 77, 57, 0.18);
    }

    .bs-intro-image-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        border-radius: 16px;
    }


/* =========================================================
   IMAGE CARD TEXT OVERLAY
========================================================= */

.bs-image-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 55px 24px 21px;
    background: linear-gradient( to top, rgba(8, 48, 43, 0.78) 0%, rgba(8, 48, 43, 0.35) 52%, transparent 100% );
    border-radius: 0 0 16px 16px;
}

    .bs-image-card-content h3 {
        margin: 0 0 5px;
        color: #ffffff;
        font-family: "Playfair Display", Georgia, "Times New Roman", serif;
        font-size: 23px;
        font-style: italic;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .bs-image-card-content p {
        margin: 0;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.3;
    }


/* =========================================================
   REGISTRATION CARD
========================================================= */

.bs-host-register-card {
    width: 100%;
    max-width: 610px;
    padding: 38px 38px 31px;
    border: 1px solid rgba(226, 233, 232, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 60px rgba(16, 32, 45, 0.08), 0 3px 10px rgba(16, 32, 45, 0.025);
    box-sizing: border-box;
}


/* =========================================================
   CARD HEADING
========================================================= */

.bs-host-register-card-heading {
    margin-bottom: 29px;
}

.bs-host-register-card-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #159eaa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
}

.bs-host-register-card-heading h2 {
    margin: 0 0 8px;
    color: #102f35;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.bs-host-register-card-heading p {
    margin: 0;
    color: #7a858a;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.bs-host-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}


/* =========================================================
   FORM GRID
========================================================= */

.bs-host-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 19px;
    width: 100%;
}

.bs-host-form-group {
    min-width: 0;
    width: 100%;
}

    .bs-host-form-group.bs-full-width {
        grid-column: 1 / -1;
    }


    /* =========================================================
   LABELS
========================================================= */

    .bs-host-form-group label {
        display: block;
        margin: 0 0 8px;
        color: #24363c;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.3;
    }

        .bs-host-form-group label span {
            color: #9aa4a8;
            font-weight: 500;
        }


    /* =========================================================
   INPUTS AND TEXTAREA
========================================================= */

    .bs-host-form-group input,
    .bs-host-form-group textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border: 1px solid #dfe7e5;
        border-radius: 10px;
        background: #ffffff;
        color: #24343c;
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 12px;
        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-form-group input {
        height: 48px;
        padding: 0 14px;
    }

    .bs-host-form-group textarea {
        min-height: 112px;
        padding: 13px 14px;
        resize: vertical;
        line-height: 1.55;
    }

        .bs-host-form-group input::placeholder,
        .bs-host-form-group textarea::placeholder {
            color: #a2b0b4;
            opacity: 1;
        }

        .bs-host-form-group input:hover,
        .bs-host-form-group textarea:hover {
            border-color: #c6d9d5;
        }

        .bs-host-form-group input:focus,
        .bs-host-form-group textarea:focus {
            border-color: #21a8b3;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(33, 168, 179, 0.09);
        }


/* =========================================================
   PHOTO UPLOAD
========================================================= */

.bs-host-photo-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1px;
}

.bs-host-photo-preview {
    position: relative;
    width: 72px;
    height: 72px;
    min-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #cbdad7;
    border-radius: 50%;
    background: #f3f8f6;
    color: #21a8b3;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

    .bs-host-photo-preview:hover {
        border-color: #21a8b3;
        background: #edf8f6;
    }

    .bs-host-photo-preview i {
        font-size: 23px;
    }

    .bs-host-photo-preview img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bs-host-photo-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bs-host-photo-title {
    margin: 0 !important;
    color: #26363d !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

    .bs-host-photo-title:hover {
        color: #159eaa !important;
    }

.bs-host-photo-help {
    color: #9aa4a8;
    font-size: 11px;
    line-height: 1.3;
}


/* =========================================================
   PASSWORD FIELDS
========================================================= */

.bs-host-password-wrapper {
    position: relative;
    width: 100%;
}

    .bs-host-password-wrapper input {
        padding-right: 45px !important;
    }

.bs-host-password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #879398;
    font-size: 15px;
    cursor: pointer;
    transform: translateY(-50%);
}

    .bs-host-password-toggle:hover {
        color: #159eaa;
    }

.bs-password-hint {
    display: block;
    margin-top: 6px;
    color: #9aa7aa;
    font-size: 10px;
    line-height: 1.3;
}

.bs-password-message {
    display: block;
    min-height: 14px;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.3;
}

.bs-success {
    color: #15966e;
}

.bs-error {
    color: #d35d5d;
}

.bs-input-success {
    border-color: #70c7a5 !important;
}

.bs-input-error {
    border-color: #e18a8a !important;
}


/* =========================================================
   TEXTAREA FOOTER
========================================================= */

.bs-textarea-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 7px;
}

    .bs-textarea-footer small,
    .bs-textarea-footer span {
        color: #9aa7aa;
        font-size: 10px;
        line-height: 1.3;
    }

    .bs-textarea-footer span {
        white-space: nowrap;
    }


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.bs-host-register-submit {
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1px;
    border: 0;
    border-radius: 10px;
    background: #21a8b3;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .bs-host-register-submit:hover {
        background: #168d98;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(33, 168, 179, 0.22);
    }

    .bs-host-register-submit:active {
        transform: translateY(0);
    }

    .bs-host-register-submit i {
        font-size: 14px;
        transition: transform 0.2s ease;
    }

    .bs-host-register-submit:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   LOGIN TEXT
========================================================= */

.bs-host-register-login-text {
    margin: -4px 0 0;
    color: #8a9599;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

    .bs-host-register-login-text a {
        color: #087d87;
        font-weight: 800;
        text-decoration: none;
    }

        .bs-host-register-login-text a:hover {
            color: #21a8b3;
            text-decoration: underline;
        }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .bs-host-register-container {
        grid-template-columns: minmax(0, 0.85fr) minmax(470px, 1.15fr);
        gap: 38px;
    }

    .bs-host-register-card {
        padding: 32px 30px 28px;
    }

    .bs-host-register-intro h1 {
        font-size: 48px;
    }

    .bs-intro-image-wrap {
        width: 330px;
        margin-left: 10px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .bs-host-register-page {
        min-height: auto;
        margin-top: 70px;
        padding: 45px 0 60px;
    }

    .bs-host-register-container {
        width: calc(100% - 30px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .bs-host-register-intro {
        padding: 0;
    }

        .bs-host-register-intro h1 {
            font-size: 44px;
            letter-spacing: -1.5px;
        }

    .bs-host-register-description {
        max-width: 100%;
        margin: 21px 0 28px;
        font-size: 14px;
    }

    .bs-host-register-benefits {
        gap: 17px;
        margin-bottom: 30px;
    }

    .bs-intro-image-wrap {
        width: 100%;
        max-width: 390px;
        margin: 35px auto 0;
    }

    .bs-host-register-card {
        width: 100%;
        max-width: none;
        padding: 30px 23px 27px;
        border-radius: 19px;
    }

    .bs-host-register-card-heading h2 {
        font-size: 28px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .bs-host-form-grid {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .bs-host-form-group.bs-full-width {
        grid-column: auto;
    }

    .bs-host-register-intro h1 {
        font-size: 39px;
    }

    .bs-host-register-card {
        padding: 27px 19px 24px;
    }

    .bs-host-form-group input {
        height: 50px;
    }

    .bs-host-form-group textarea {
        min-height: 125px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .bs-host-register-intro h1 {
        font-size: 35px;
    }

    .bs-host-register-card-heading h2 {
        font-size: 25px;
    }

    .bs-host-register-card {
        padding: 24px 16px 22px;
    }
}
