/* =========================================================
   THE SAVORY SERENADE
   OWNER LOGIN

   Location:
   css/login.css
   ========================================================= */

:root {
    --savory-black: #050505;
    --savory-charcoal: #20232a;
    --savory-gold: #d8b248;
    --savory-gold-soft: #e6c873;
    --savory-plum: #6f4158;
    --savory-plum-dark: #553143;
    --savory-ivory: #f5f1e8;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: #252932;
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    text-decoration: none;
}


/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.owner-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}


/* =========================================================
   BRAND PANEL
   ========================================================= */

.owner-login-brand {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    background:
        linear-gradient(rgba(5,5,5,.43), rgba(5,5,5,.67)),
        url("../assets/contact.png") center center / cover no-repeat;
}

.owner-login-brand-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(5,5,5,.12), rgba(5,5,5,.4)),
        linear-gradient(to top, rgba(5,5,5,.5), transparent 60%);
}

.owner-login-brand-content {
    width: 100%;
    min-height: 100%;
    position: relative;
    z-index: 2;
    padding: 54px 64px 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.owner-login-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.owner-login-logo:hover,
.owner-login-logo:focus-visible {
    color: #fff;
}

.owner-login-logo img {
    width: 54px;
    height: 54px;
    display: block;
    object-fit: contain;
}

.owner-login-logo span {
    display: flex;
    flex-direction: column;
}

.owner-login-logo small {
    color: var(--savory-gold-soft);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.owner-login-logo strong {
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.owner-login-brand-copy {
    max-width: 650px;
}

.owner-login-kicker {
    margin: 0 0 18px;
    color: var(--savory-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.owner-login-brand-copy h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 82px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -3px;
}

.owner-login-brand-copy > p:last-child {
    max-width: 570px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
}


/* =========================================================
   LOGIN PANEL
   ========================================================= */

.owner-login-panel {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 60px 7vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.owner-login-form-wrap {
    width: 100%;
    max-width: 520px;
}

.owner-login-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 70px;
    color: #777b82;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    transition: color 180ms ease;
}

.owner-login-back span {
    color: var(--savory-gold);
    font-size: 18px;
    line-height: 1;
    transition: transform 180ms ease;
}

.owner-login-back:hover,
.owner-login-back:focus-visible {
    color: var(--savory-plum);
    outline: none;
}

.owner-login-back:hover span,
.owner-login-back:focus-visible span {
    transform: translateX(-4px);
}


/* =========================================================
   HEADING
   ========================================================= */

.owner-login-heading {
    margin-bottom: 36px;
}

.owner-login-heading-kicker {
    margin: 0 0 14px;
    color: var(--savory-plum);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.owner-login-heading h2 {
    margin: 0;
    color: #172332;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1.7px;
}

.owner-login-heading > p:last-child {
    margin: 17px 0 0;
    color: #6f7379;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   ERROR
   ========================================================= */

.owner-login-error {
    margin-bottom: 25px;
    padding: 14px 17px;
    color: #7e3338;
    background: #fff7f7;
    border: 1px solid #e6c4c7;
    border-left: 3px solid #9a4a50;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   FORM
   ========================================================= */

.owner-login-field {
    margin-bottom: 23px;
}

.owner-login-field label {
    display: block;
    margin-bottom: 9px;
    color: #3d4148;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.owner-login-field input {
    width: 100%;
    min-height: 57px;
    padding: 14px 17px;
    color: #252a31;
    background: #fff;
    border: 1px solid #ded8d1;
    border-radius: 0;
    outline: none;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.owner-login-field input::placeholder {
    color: #aaa7a3;
}

.owner-login-field input:hover {
    border-color: #c8bcae;
}

.owner-login-field input:focus {
    border-color: var(--savory-gold);
    box-shadow: 0 0 0 3px rgba(216,178,72,.1);
}


/* =========================================================
   PASSWORD
   ========================================================= */

.owner-password-wrap {
    position: relative;
}

.owner-password-wrap input {
    padding-right: 76px;
}

.owner-password-toggle {
    min-width: 58px;
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 8px 9px;
    appearance: none;
    color: var(--savory-plum);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.owner-password-toggle:hover,
.owner-password-toggle:focus-visible {
    color: #b98521;
    outline: none;
}


/* =========================================================
   SIGN IN
   ========================================================= */

.owner-login-submit {
    width: 100%;
    min-height: 59px;
    margin-top: 10px;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    appearance: none;
    color: var(--savory-ivory);
    background: var(--savory-plum);
    border: 1px solid var(--savory-gold);
    border-radius: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.owner-login-submit span:last-child {
    color: var(--savory-gold-soft);
    font-size: 20px;
    font-weight: 300;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.owner-login-submit:hover,
.owner-login-submit:focus-visible {
    color: var(--savory-black);
    background: var(--savory-gold);
    border-color: var(--savory-gold);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(52,40,45,.15);
    outline: none;
}

.owner-login-submit:hover span:last-child,
.owner-login-submit:focus-visible span:last-child {
    color: var(--savory-black);
    transform: translateX(5px);
}


/* =========================================================
   OWNER NOTE
   ========================================================= */

.owner-login-note {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.owner-login-note-line {
    height: 1px;
    background: #ebe6df;
}

.owner-login-note p {
    margin: 0;
    color: #9b9893;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .owner-login-page {
        grid-template-columns: .9fr 1.1fr;
    }

    .owner-login-brand-content {
        padding: 45px 38px 50px;
    }

    .owner-login-panel {
        padding-left: 45px;
        padding-right: 45px;
    }

    .owner-login-back {
        margin-bottom: 55px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .owner-login-page {
        display: block;
        min-height: 100vh;
    }

    .owner-login-brand {
        min-height: 310px;
        height: 310px;
    }

    .owner-login-brand-content {
        min-height: 310px;
        padding: 28px 24px 33px;
    }

    .owner-login-logo img {
        width: 45px;
        height: 45px;
    }

    .owner-login-logo strong {
        font-size: 18px;
    }

    .owner-login-brand-copy h1 {
        font-size: 46px;
    }

    .owner-login-brand-copy > p:last-child {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.6;
    }

    .owner-login-panel {
        min-height: auto;
        padding: 55px 24px 65px;
    }

    .owner-login-back {
        margin-bottom: 45px;
    }

    .owner-login-heading h2 {
        font-size: 42px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .owner-login-brand {
        height: 285px;
        min-height: 285px;
    }

    .owner-login-brand-content {
        min-height: 285px;
        padding: 24px 20px 27px;
    }

    .owner-login-brand-copy h1 {
        font-size: 40px;
    }

    .owner-login-kicker {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .owner-login-panel {
        padding: 45px 20px 55px;
    }

    .owner-login-heading h2 {
        font-size: 38px;
    }

    .owner-login-note {
        grid-template-columns: 45px auto 45px;
        justify-content: center;
    }

}