:root {
    --ovena-ink: #2b2117;
    --ovena-muted: #7b746c;
    --ovena-yellow: #f4c95f;
    --ovena-orange: #f29a20;
    --ovena-cream: #fff9e9;
    --ovena-teal: #32aaa7;
}

html,
body.ovena-login-body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
}

body.ovena-login-body {
    background: #fff;
    color: var(--ovena-ink);
    font-family: "Titilium", "Segoe UI", Arial, sans-serif;
}

.login-page {
    display: grid;
    grid-template-columns: 52% 48%;
    width: 100vw;
    height: 100vh;
    min-height: 560px;
}

.login-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 4.3vw, 58px) clamp(28px, 4.6vw, 68px);
    overflow: hidden;
    color: #3d2a13;
    background:
        radial-gradient(circle at 78% 32%, rgba(255,255,255,.78) 0 4%, transparent 28%),
        radial-gradient(circle at 35% 42%, rgba(255,244,181,.8), transparent 35%),
        linear-gradient(145deg, #fff7d7 0%, #f8d36e 44%, #f1ae2d 100%);
}

.login-showcase::before,
.login-showcase::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.login-showcase::before {
    right: -16vw;
    bottom: -28vw;
    width: 52vw;
    height: 52vw;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.12);
}

.login-showcase::after {
    right: 5vw;
    top: 17vh;
    width: 15vw;
    height: 15vw;
    background: rgba(255,255,255,.12);
    filter: blur(2px);
}

.login-showcase__brand {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-logo {
    position: relative;
    width: 43px;
    height: 43px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 12px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 8px 24px rgba(113,73,0,.13);
}

.showcase-logo img {
    position: absolute;
    width: 153px;
    max-width: none;
    left: -55px;
    top: -42px;
}

.showcase-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.showcase-brand-copy b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: .02em;
}

.showcase-brand-copy small {
    margin-top: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .18em;
}

.login-showcase__visual {
    z-index: 1;
    position: absolute;
    top: 16%;
    left: 50%;
    width: min(62%, 440px);
    transform: translateX(-50%);
}

.visual-glow {
    position: absolute;
    inset: 11% 3%;
    border-radius: 50%;
    background: rgba(255,248,196,.85);
    filter: blur(35px);
}

.visual-logo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.5;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 30px;
    background: rgba(255,255,255,.3);
    box-shadow: 0 28px 65px rgba(106,69,0,.2);
}

.visual-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spark {
    position: absolute;
    z-index: 2;
    color: #fff7c7;
    font-size: 36px;
    text-shadow: 0 5px 15px rgba(160,93,0,.2);
}

.spark-one {
    top: 11%;
    right: -10%;
}

.spark-two {
    left: -18%;
    bottom: 23%;
    font-size: 24px;
}

.login-showcase__copy {
    z-index: 2;
    position: relative;
    max-width: 470px;
}

.login-showcase__copy h1 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.2vw, 54px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.035em;
}

.login-showcase__copy p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 18px);
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vw, 78px);
    background: #fff;
}

.login-form-wrap {
    width: min(100%, 475px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: clamp(32px, 6vh, 68px);
    color: #756c62;
    font-size: 13px;
}

.back-link:hover {
    color: var(--ovena-orange);
    text-decoration: none;
}

.login-heading {
    margin-bottom: 24px;
}

.login-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--ovena-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
}

.login-heading h2 {
    margin: 0 0 8px;
    color: #211b16;
    font-size: clamp(30px, 2.5vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.login-heading p {
    max-width: 460px;
    margin: 0;
    color: var(--ovena-muted);
    font-size: 14px;
    line-height: 1.45;
}

.login-form-wrap .form-group {
    margin-bottom: 15px;
}

.login-form-wrap label {
    display: block;
    margin-bottom: 7px;
    color: #342b24;
    font-size: 12px;
    font-weight: 700;
}

.ovena-control {
    height: 48px;
    border: 1px solid #d8d6d1;
    border-radius: 12px;
    color: #2f2720;
    font-size: 13px;
    background-color: #fff;
}

select.ovena-control {
    padding: 0 14px;
    font-weight: 600;
}

.ovena-control:focus {
    border-color: var(--ovena-orange);
    box-shadow: 0 0 0 3px rgba(242,154,32,.13);
}

.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa39b;
    font-size: 13px;
}

.input-icon .ovena-control {
    padding-left: 42px;
}

.password-field .ovena-control {
    padding-right: 48px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    color: #a49e97;
    background: transparent;
    cursor: pointer;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
    font-size: 12px;
}

.remember-control {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.remember-control input {
    width: 15px;
    height: 15px;
    accent-color: var(--ovena-orange);
}

.login-options a {
    color: var(--ovena-orange);
    font-weight: 700;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(100deg, #dc8014, #f7ad2c);
    box-shadow: 0 14px 26px rgba(242,154,32,.25);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 30px rgba(242,154,32,.33);
}

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    color: #aba39a;
    font-size: 11px;
}

.login-security i {
    color: var(--ovena-teal);
}

.login-form-wrap .alert {
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.trial-login-panel{margin:-3px 0 13px;padding:10px;border:1px solid #f0d58e;border-radius:13px;background:#fffaf0}.trial-login-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.trial-login-title span{color:#805d1d;font-size:11px;font-weight:800}.trial-login-title small{color:#9a8d79;font-size:9px}.trial-login-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.trial-login-use{min-width:0;padding:7px 8px;border:1px solid #eadfc9;border-radius:9px;color:#4a3b2b;background:#fff;text-align:left;cursor:pointer}.trial-login-use:hover,.trial-login-use.active{border-color:var(--ovena-orange);box-shadow:0 0 0 2px rgba(242,154,32,.1)}.trial-login-use b,.trial-login-use span,.trial-login-use small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.trial-login-use b{color:var(--ovena-orange);font-size:9px;text-transform:uppercase}.trial-login-use span{margin-top:2px;font-size:10px;font-weight:700}.trial-login-use small{color:#8c8176;font-size:9px}.has-trials .back-link{margin-bottom:22px}.has-trials .login-heading{margin-bottom:14px}.has-trials .login-form-wrap .form-group{margin-bottom:10px}.has-trials .ovena-control{height:44px}.has-trials .login-options{margin-bottom:12px}.has-trials .login-submit{height:46px}.has-trials .login-security{margin-top:10px}

@media (max-width: 960px) {
    .login-page {
        grid-template-columns: 44% 56%;
    }

    .login-showcase__visual {
        width: 76%;
    }
}

@media (max-width: 720px) {
    .login-page {
        display: block;
        min-height: 100vh;
    }

    .login-showcase {
        display: none;
    }

    .login-panel {
        width: 100%;
        height: 100vh;
        padding: 24px;
        background:
            radial-gradient(circle at 90% 0%, rgba(248,211,110,.23), transparent 32%),
            #fff;
    }

    .back-link {
        margin-bottom: 7vh;
    }
}

@media(max-width:420px){.trial-login-grid{grid-template-columns:1fr}.trial-login-use{display:grid;grid-template-columns:58px 1fr 1fr;gap:5px;align-items:center}.trial-login-use span,.trial-login-use small{margin:0}}

@media (max-height: 710px) and (min-width: 721px) {
    .back-link {
        margin-bottom: 22px;
    }

    .login-heading {
        margin-bottom: 15px;
    }

    .login-form-wrap .form-group {
        margin-bottom: 10px;
    }

    .ovena-control {
        height: 44px;
    }

    .login-submit {
        height: 46px;
    }

    .login-security {
        margin-top: 12px;
    }
}
