/* BUZZORA Seller Login Background Image */

html,
body {
min-height: 100%;
margin: 0;
background-color: #080407 !important;
}

body {
min-height: 100vh;
min-height: 100svh;
background-image:
linear-gradient(
180deg,
rgba(5, 3, 7, 0.24),
rgba(5, 3, 7, 0.62)
),
url("/assets/images/buzzora-splash-background-v2.png"); !important;

background-size: cover !important;
background-position: center center !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;

}

/* Keep the login layout transparent */
.page {
background: transparent !important;
}

/* Cinematic dark glass login card */
.card {
background: rgba(12, 12, 19, 0.88) !important;
color: #fff !important;
border: 1px solid rgba(247, 201, 72, 0.28) !important;
box-shadow: 0 20px 65px rgba(0, 0, 0, 0.45) !important;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}

/* Input fields */
input {
background: rgba(8, 9, 14, 0.92) !important;
color: #fff !important;
}

/* Responsive phone layout */
@media (max-width: 900px) {
body {
background-position: center center !important;
}

.page {
    grid-template-columns: minmax(0, 1fr);
}

}

@media (max-width: 560px) {
.brand {
padding: 25px 15px !important;
}

.form {
    padding: 18px 13px 30px !important;
}

.card {
    width: 100%;
    border-radius: 22px;
}

}
/* =========================================
   BUZZORA LOGIN - ACTUAL MOBILE FIX
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    gap: 0;
}

.brand,
.form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.brand .inner {
    width: 100%;
    max-width: 500px;
    min-width: 0;
}

.brand .logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.brand h1 {
    overflow-wrap: anywhere;
}

.brand .copy {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.card {
    display: block;
    width: 100%;
    max-width: 460px;
    min-width: 0;
    margin: 0 auto;
    padding: 28px;
    border-radius: 22px;
    overflow: hidden;
}

/* Login heading and icon */
.card .head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.card .head > div:last-child {
    flex: 1;
    min-width: 0;
}

.card .icon {
    display: flex;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card .icon svg {
    display: block;
    width: 30px !important;
    height: 30px !important;
    max-width: 100%;
    max-height: 100%;
}

/* Text */
.card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
}

.card .sub {
    margin: 0;
    line-height: 1.5;
}

/* Login form */
.card form {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
}

.card .field {
    width: 100%;
    min-width: 0;
    margin-bottom: 16px;
}

.card .field label {
    display: block;
    margin-bottom: 7px;
}

.card .field input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 12px;
}

.card .btn {
    display: block;
    width: 100%;
    min-height: 46px;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

/* OR separator */
.card .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 18px 0;
}

/* Google login */
.card a.google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

.card a.google svg {
    display: block;
    flex: 0 0 24px;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
}

.card .register,
.card .secure {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

/* Mobile and tablet */
@media (max-width: 900px) {
    .page {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .brand {
        display: block;
        padding: 28px 16px 18px;
    }

    .brand .inner {
        max-width: 500px;
        margin: 0 auto;
    }

    .brand .logo {
        width: 100%;
        max-width: 230px;
        max-height: 230px;
        object-fit: contain;
        object-position: left center;
    }

    .form {
        display: block;
        padding: 12px 14px 28px;
    }

    .card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 22px;
    }
}

/* Small mobile */
@media (max-width: 560px) {
    .brand {
        padding: 22px 14px 14px;
    }

    .brand .logo {
        max-width: 190px;
        max-height: 190px;
    }

    .brand h1 {
        font-size: 28px;
    }

    .brand .tag,
    .brand .copy {
        font-size: 14px;
        line-height: 1.5;
    }

    .form {
        padding: 10px 12px 24px;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 18px 14px;
        border-radius: 20px;
    }

    .card .head {
        gap: 12px;
    }

    .card .icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .card .icon svg {
        width: 26px !important;
        height: 26px !important;
    }

    .card h2 {
        font-size: 22px;
    }

    .card .field {
        margin-bottom: 14px;
    }

    .card .field input {
        min-height: 48px;
        font-size: 16px;
    }

    .card a.google {
        min-height: 48px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .brand {
        padding-left: 12px;
        padding-right: 12px;
    }

    .form {
        padding-left: 8px;
        padding-right: 8px;
    }

    .card {
        padding: 15px 11px;
        border-radius: 16px;
    }
}