/* ==========================================================================
   JOSIEE BEAUTY — LOGIN v1
   ========================================================================== */

:root {
    --jbl-black: #171416;
    --jbl-black-deep: #100f10;
    --jbl-blush: #f2e1e6;
    --jbl-blush-soft: #f8eef1;
    --jbl-ivory: #fffdfc;
    --jbl-rose: #b77f8b;
    --jbl-mauve: #765660;
    --jbl-border: #e4d5d9;
    --jbl-text: #211d20;
    --jbl-muted: #81747a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--jbl-blush);
    color: var(--jbl-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

.jbl-login {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
    min-height: 100dvh;
}

.jbl-login__visual {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 2rem;
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(183, 127, 139, .22),
            transparent 30%
        ),
        radial-gradient(
            circle at 82% 72%,
            rgba(194, 161, 92, .12),
            transparent 28%
        ),
        var(--jbl-black);
    color: #fff;
}

.jbl-login__visual::after {
    content: "";
    position: absolute;
    width: 30rem;
    height: 30rem;
    right: -12rem;
    bottom: -14rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgba(255,255,255,.018),
        0 0 0 8rem rgba(255,255,255,.012);
}

.jbl-login__visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(100%, 720px);
}

.jbl-login__brandmark img {
    width: auto;
    max-width: 11rem;
    max-height: 4rem;
    object-fit: contain;
}

.jbl-login__statement {
    max-width: 34rem;
    padding-bottom: 3rem;
}

.jbl-login__statement > span,
.jbl-login__eyebrow {
    display: block;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.jbl-login__statement > span {
    color: #d6a3ae;
}

.jbl-login__statement h2 {
    margin: .85rem 0 0;
    font-family:
        Constantia,
        "Palatino Linotype",
        Georgia,
        serif;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 400;
    line-height: .93;
    letter-spacing: -.035em;
}

.jbl-login__statement p {
    max-width: 28rem;
    margin: 1rem 0 0;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
    line-height: 1.65;
}

.jbl-login__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,.75),
            transparent 36%
        ),
        var(--jbl-blush);
}

.jbl-login__card {
    flex: 0 0 auto;
    width: min(100%, 27rem);
}

.jbl-login__mobile-brand {
    display: none;
}

.jbl-login__eyebrow {
    margin: 0 0 .7rem;
    color: var(--jbl-mauve);
}

.jbl-login__card h1 {
    margin: 0;
    font-family:
        Constantia,
        "Palatino Linotype",
        Georgia,
        serif;
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1;
}

.jbl-login__intro {
    margin: .65rem 0 1.4rem;
    color: var(--jbl-muted);
    font-size: .82rem;
}

.jbl-login__alert {
    margin-bottom: .9rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(185,87,99,.22);
    border-radius: .8rem;
    background: rgba(185,87,99,.09);
    color: #8d3c47;
    font-size: .75rem;
    line-height: 1.45;
}

.jbl-login__form {
    display: grid;
    gap: .9rem;
}

.jbl-field {
    display: grid;
    gap: .4rem;
}

.jbl-field > span {
    color: #62575d;
    font-size: .7rem;
    font-weight: 700;
}

.jbl-field input {
    width: 100%;
    min-height: 3.15rem;
    padding: 0 .9rem;
    border: 1px solid var(--jbl-border);
    border-radius: .82rem;
    outline: 0;
    background: rgba(255,253,252,.93);
    color: var(--jbl-text);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.jbl-field input:focus {
    border-color: var(--jbl-rose);
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(183,127,139,.1);
}

.jbl-password {
    position: relative;
}

.jbl-password input {
    padding-right: 4.4rem;
}

.jbl-password__toggle {
    position: absolute;
    top: 50%;
    right: .45rem;
    transform: translateY(-50%);
    min-width: 3.35rem;
    min-height: 2.25rem;
    border: 0;
    border-radius: .6rem;
    background: transparent;
    color: var(--jbl-mauve);
    font-size: .68rem;
    font-weight: 750;
    cursor: pointer;
}

.jbl-password__toggle:hover {
    background: rgba(183,127,139,.09);
}

.jbl-login__submit {
    min-height: 3.15rem;
    margin-top: .15rem;
    border: 0;
    border-radius: .82rem;
    background: var(--jbl-black);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform 130ms ease,
        background-color 160ms ease;
}

.jbl-login__submit:hover {
    background: var(--jbl-black-deep);
}

.jbl-login__submit:active {
    transform: translateY(1px);
}

.jbl-login__help {
    margin: 1rem 0 0;
    color: #9b8f94;
    font-size: .68rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 860px) {
    .jbl-login {
        grid-template-columns: 1fr;
    }

    .jbl-login__visual {
        display: none;
    }

    .jbl-login__panel {
        min-height: 100dvh;
        padding:
            max(1.2rem, env(safe-area-inset-top))
            1.15rem
            max(1.5rem, env(safe-area-inset-bottom));
    }

    .jbl-login__card {
        padding: 1.25rem;
        border: 1px solid rgba(228,213,217,.9);
        border-radius: 1.3rem;
        background: rgba(255,253,252,.76);
        box-shadow:
            0 24px 60px rgba(64,41,51,.1);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .jbl-login__mobile-brand {
        display: block;
        margin-bottom: 2rem;
    }

    .jbl-login__mobile-brand img {
        width: auto;
        max-width: 9rem;
        max-height: 3.5rem;
        object-fit: contain;
    }

    .jbl-login__card h1 {
        font-size: 2.45rem;
    }
}


/* ==========================================================================
   LOGIN — DESKTOP VERTICAL POSITION
   ========================================================================== */

@media (min-width: 861px) {

    .jbl-login__card {
        margin-top: 3.25rem;
    }

}
/* Dzikora published tenant appearance */
.jbl-login__visual {
    background: var(--tenant-login-visual, #171416);
}
.jbl-login__form-side {
    background: var(--tenant-login-panel, #f4e3e8);
}
.jbl-login h1,
.jbl-login__form-side h1 {
    color: var(--tenant-heading, #171416);
}
.jbl-login button[type="submit"] {
    background: var(--tenant-button, #171416);
    color: var(--tenant-button-text, #fff);
}
