/* IMPORT FONTS */
/* Manuka */
@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/thin.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/thin.otf') format('otf');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/light.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/light.otf') format('otf');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/regular.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/regular.otf') format('otf');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/medium.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/medium.otf') format('otf');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/bold.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/bold.otf') format('otf');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/ultra.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/ultra.otf') format('otf');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('/templates/custom/fonts/manuka/black.woff2') format('woff2'),
        url('/templates/custom/fonts/manuka/black.otf') format('otf');
    font-weight: 900;
    font-display: swap;
}

/* Figtree */
@font-face {
    font-family: 'Figtree';
    src: url('/templates/custom/fonts/figtree/regular.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('/templates/custom/fonts/figtree/italic.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --sun: #f0de00;
    --ink: #191919;
    --muted: #666;
    --card: #ffffff;
    --surface: #f6f7f8;
    --line: rgba(17, 20, 24, .12);

    --divider-strong: rgba(17, 20, 24, .35);
    --divider-soft: rgba(149, 140, 69, .35);

    --ff-manuka: "Manuka";
    --ff-figright: "Figtree";
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--ff-figright), sans-serif;
    color: var(--ink);
    background: var(--surface);
}

.page {
    min-height: 100svh;
    display: flex;
}

/* =========================
   LEFT PANEL
========================= */

.panel {
    flex: 1 1 55%;
    background: var(--sun);
    padding: clamp(18px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo-img {
    width: 204px;
    height: auto;
    display: block;
}

.logo-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .75);
}

/* primary divider (logo → support) */
.panel-divider {
    width: min(420px, 100%);
    height: 3px;
    border-radius: 999px;
    background: var(--divider-strong);
}

/* secondary divider (support → links) */
.panel-divider.subtle {
    margin: 18px 0 16px;
    background: var(--divider-soft);
}

/* support + links */
.panel-info {
    width: min(520px, 100%);
    color: rgba(0, 0, 0, .75);
}

.panel-heading {
    font-family: var(--ff-manuka), sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, .7);
}

.panel-phones {
    display: grid;
    gap: 6px;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.panel-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.panel-link {
    font-weight: 400;
    font-size: inherit;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 1px;
}

.panel-link:hover {
    border-bottom-color: rgba(17, 20, 24, .6);
}

/* =========================
   RIGHT PANEL
========================= */

.auth {
    flex: 0 0 min(540px, 100%);
    background: var(--card);
    border-left: 1px solid var(--line);
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 52px);
}

.card {
    width: 100%;
    max-width: 420px;
}

/* header */
.title {
    margin: 0 0 12px;
    font-family: var(--ff-manuka), sans-serif;
    font-size: clamp(44px, 6vw, 90px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--ink);
}

.subTitle {
    margin: 0 0 12px;
    font-family: var(--ff-manuka), sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--ink);
}

.underline {
    width: 120px;
    height: 6px;
    border-radius: 999px;
    background: var(--sun);
    margin-bottom: 20px;
}

.subtitle {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    max-width: 40ch;
}

/* =========================
   LOGIN FORM (SKIN ONLY)
========================= */

#ohFormLogin {
    width: 100%;
}

#ohFormLogin * {
    font-family: inherit !important;
}

#ohFormLogin .ohForm_body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

#ohFormLogin .ohForm_title {
    display: none;
}

#ohFormLogin .ohForm_field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#ohFormLogin label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: rgba(17, 20, 24, .75);
}

#ohFormLogin input[type="text"],
#ohFormLogin input[type="password"] {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #f2f3f4;
    font-size: 16px;
    font-weight: 400;
    width: 100%
}

#ohFormLogin input::placeholder {
    color: rgba(17, 20, 24, .55);
}

#ohFormLogin input:not([type="submit"]):focus {
    background: #ffffff;
    border-color: rgba(244, 194, 30, .75);
    box-shadow: 0 0 0 4px rgba(244, 194, 30, .22);
    outline: none;
}

/* password eye */
#ohFormLogin .ohPassword {
    position: relative;
}

#ohFormLogin .ohPassword input {
    padding-right: 52px;
}

#ohFormLogin .icon-eye {
    position: absolute;
    right: 12px;
    bottom: 12px;
    cursor: pointer;
}

#ohFormLogin .icon-eye img {
    width: 18px;
    opacity: .75;
}

#ohFormLogin .icon-eye:hover img {
    opacity: 1;
}

/* remember */
#ohFormLogin .ohRemember {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#ohFormLogin input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--sun);
}

/* submit */
#submit_btn {
    width: 100%;
    border: none !important;
    border-radius: 4px;
    padding: 14px 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--sun) !important;
    color: var(--ink);
    cursor: pointer;
}

#submit_btn:hover {
    box-shadow: 0 14px 30px rgba(17, 20, 24, .16);
}

#submit_btn:active {
    transform: translateY(1px);
}

/* cookie alert */
#cookieAlert {
    display: none;
    margin-top: 14px;
    padding: 14px;
    border-radius: 12px;
    background: #9c2e26;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
    .page {
        flex-direction: column;
    }

    .panel {
        min-height: 240px;
    }

    .auth {
        border-left: none;
        border-top: 1px solid var(--line);
    }
}