/* OwnHost ClientX — modern login page */

:root {
    --oh-login-accent: #20bc7e;
    --oh-login-accent-hover: #1a9a66;
    --oh-login-accent-light: #48e0a4;
    --oh-login-accent-soft: rgba(32, 188, 126, 0.12);
    --oh-login-dark: #282B2D;
    --oh-login-dark-soft: #35383b;
    --oh-login-text: #6b7280;
    --oh-login-text-strong: #282B2D;
    --oh-login-border: #e5e7eb;
    --oh-login-bg: #f4f5f6;
    --oh-login-card-max: 480px;
    --oh-login-card-max-register: 820px;
    --oh-register-form-max: 640px;
    --oh-auth-font: 'Inter', 'Lato', sans-serif;
    --oh-auth-title-size: 22px;
    --oh-auth-text-size: 14px;
    --oh-auth-label-size: 13px;
    --oh-auth-input-size: 15px;
    --oh-auth-input-height: 46px;
    --oh-auth-card-padding: clamp(24px, 3vw, 32px);
}

body.oh-login-page {
    font-family: 'Inter', 'Lato', sans-serif;
}

html.oh-login-page,
body.login-bg.oh-auth-page {
    height: 100%;
}

body.login-bg.oh-auth-page {
    padding: 0 !important;
    margin: 0;
    min-height: 100vh;
    background: var(--oh-login-dark) !important;
    background-image: none !important;
}

body.login-bg.oh-auth-page #page-wrapper,
body.login-bg.oh-auth-page #page-wrapper.oh-login {
    min-height: 100vh;
    height: 100vh;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) #page-wrapper.oh-login,
body.login-bg.oh-auth-page.oh-password-reset-page #page-wrapper.oh-login {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Kayıt — sayfa gövdesi uzamasın, yalnızca form alanı kaydırılsın */
body.login-bg.oh-auth-page.oh-register-page {
    overflow: hidden;
    height: 100%;
}

body.login-bg.oh-auth-page.oh-register-page #page-wrapper.oh-login.oh-register {
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    overflow: hidden;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__layout {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
}

body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__topbar {
    display: none;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__brand {
    height: 100%;
    min-height: 0;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__brand-inner {
    min-height: 0;
    height: 100%;
    padding: 32px 0 24px;
    justify-content: flex-start;
    align-items: flex-start;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__main {
    min-height: 0;
    height: 100%;
    padding: 0;
}

body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__topbar {
    display: none;
}

body.login-bg.oh-auth-page #page-wrapper {
    padding-bottom: 0 !important;
}

body.login-bg .oh-login .container,
body.login-bg .oh-login .host-row {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    display: block;
}

.oh-login__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    min-height: 100vh;
    height: 100%;
    flex: 1 1 auto;
    width: 100%;
    align-items: stretch;
}

/* Login sayfası — taşma ve mobil */
body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__layout,
body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__layout {
    grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
}

body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__main,
body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__main {
    min-width: 0;
    box-sizing: border-box;
}

body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__card,
body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__card {
    min-width: 0;
}

.oh-login__brand {
    position: relative;
    overflow: hidden;
    padding: 48px 56px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(32, 188, 126, 0.14), transparent 42%),
        linear-gradient(145deg, var(--oh-login-dark) 0%, var(--oh-login-dark-soft) 100%);
}

.oh-login__brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
    pointer-events: none;
}

.oh-login__brand-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    min-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.oh-login__brand-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 18%;
    right: -40px;
    border-radius: 50%;
    background: rgba(32, 188, 126, 0.14);
    filter: blur(40px);
}

.oh-login__brand-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(32, 188, 126, 0.15);
    border: 1px solid rgba(32, 188, 126, 0.3);
    color: var(--oh-login-accent-light);
    font-size: 22px;
    margin-bottom: 24px;
}

.oh-login__brand-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.oh-login__brand-text {
    margin: 0;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

.oh-login__brand-image {
    margin-top: 40px;
    max-width: 420px;
    width: 100%;
    opacity: 0.95;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.oh-login__main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    padding: clamp(24px, 4vw, 56px);
    background: var(--oh-login-bg) !important;
}

.oh-login__card {
    width: 100%;
    max-width: var(--oh-login-card-max);
    margin: 0 auto;
    padding: var(--oh-auth-card-padding);
    border-radius: var(--oh-radius, 12px);
    background: #fff;
    border: 1px solid var(--oh-login-border);
    box-shadow: 0 1px 2px rgba(40, 43, 45, 0.05), 0 8px 24px rgba(40, 43, 45, 0.08);
    box-sizing: border-box;
}

/* Ortak auth — login / kayıt / şifre sıfırlama */
body.login-bg.oh-auth-page {
    font-family: var(--oh-auth-font);
}

body.login-bg.oh-auth-page .oh-login__main,
body.login-bg.oh-auth-page .oh-login__main--scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    padding: clamp(24px, 4vw, 56px);
    background: var(--oh-login-bg) !important;
    box-sizing: border-box;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.login-bg.oh-auth-page.oh-register-page .oh-login__card {
    max-width: var(--oh-register-form-max);
}

body.login-bg.oh-auth-page .oh-login__header {
    margin-bottom: 18px;
}

body.login-bg.oh-auth-page .oh-login__header .oh-login__logo-img {
    max-height: 48px;
    max-width: min(200px, 100%);
}

body.login-bg.oh-auth-page .oh-login__heading {
    margin-bottom: 20px;
}

body.login-bg.oh-auth-page .oh-login__heading h1 {
    font-size: var(--oh-auth-title-size);
    font-weight: 800;
}

body.login-bg.oh-auth-page .oh-login__heading p {
    font-size: var(--oh-auth-text-size);
}

body.login-bg.oh-auth-page .oh-field label {
    font-size: var(--oh-auth-label-size);
}

body.login-bg.oh-auth-page .oh-field__input,
body.login-bg.oh-auth-page .oh-field__select {
    height: var(--oh-auth-input-height);
    font-size: var(--oh-auth-input-size);
}

body.login-bg.oh-auth-page .oh-login__register,
body.login-bg.oh-auth-page .oh-login__remember {
    font-size: var(--oh-auth-label-size);
}

body.login-bg.oh-auth-page .oh-member-tabs__btn {
    font-size: var(--oh-auth-label-size);
}

body.login-bg.oh-auth-page .oh-login__type-hint {
    font-size: var(--oh-auth-label-size);
}

.oh-register .oh-login__card {
    max-width: var(--oh-register-form-max);
}

.oh-register__section {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--oh-login-border);
}

.oh-register__section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.oh-register__section-title {
    margin: 0 0 8px;
    font-size: var(--oh-auth-label-size);
    font-weight: 700;
    color: var(--oh-login-text-strong);
}

.oh-register__section-lead {
    margin: -2px 0 10px;
    color: var(--oh-login-text);
    font-size: var(--oh-auth-label-size);
}

.oh-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.8vw, 14px);
    width: 100%;
    min-width: 0;
}

.oh-register .oh-field {
    min-width: 0;
    width: 100%;
}

.oh-register .oh-marketing-optin {
    margin-bottom: 14px;
    padding: 12px 14px;
}

.oh-register .oh-marketing-optin h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.oh-register .oh-marketing-optin p {
    font-size: 12px;
    margin-bottom: 8px;
}

.oh-register .oh-login__register {
    margin-top: 12px;
}

.oh-login__topbar {
    display: none;
}

.oh-login__header {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
    min-width: 0;
    width: 100%;
}

.oh-login__header .oh-login__back {
    flex: 0 0 40px;
    align-self: center;
}

.oh-login__header .oh-login__logo {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oh-login__header .oh-login__logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.oh-login__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--oh-login-border);
    color: var(--oh-login-text-strong);
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.oh-login__back:hover {
    color: var(--oh-login-accent);
    border-color: rgba(32, 188, 126, 0.35);
    transform: translateX(-2px);
    text-decoration: none;
}

.oh-login__back--brand {
    align-self: flex-start;
    margin-bottom: 20px;
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.oh-login__back--brand:hover {
    color: #fff;
    border-color: rgba(32, 188, 126, 0.45);
    background: rgba(32, 188, 126, 0.18);
}

.oh-login__logo {
    text-align: center;
    margin: 0 0 20px;
    padding: 16px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--oh-login-dark) 0%, var(--oh-login-dark-soft) 100%);
    border: 1px solid rgba(32, 188, 126, 0.2);
    box-sizing: border-box;
}

.oh-login__logo img,
.oh-login__logo-img {
    max-height: 56px;
    width: auto;
    max-width: 220px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.oh-login__heading {
    text-align: center;
    margin-bottom: 20px;
}

.oh-login__type-hint {
    margin: 0 0 18px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--oh-login-text);
    background: var(--oh-login-bg);
    border: 1px solid var(--oh-login-border);
    border-radius: 8px;
}

.oh-login__tabs {
    margin-bottom: 12px;
}

.oh-login__heading h1 {
    margin: 0 0 6px;
    font-size: var(--oh-auth-title-size);
    font-weight: 800;
    color: var(--oh-login-text-strong);
    text-transform: none;
    letter-spacing: -0.02em;
}

.oh-login__heading p {
    margin: 0;
    font-size: var(--oh-auth-text-size);
    color: var(--oh-login-text);
}

.oh-login__form.login-form {
    padding: 0 !important;
    width: 100%;
}

.oh-login__form .form-group {
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
}

.oh-login__card .oh-field,
.oh-login__card .oh-field__wrap {
    width: 100%;
    max-width: 100%;
}

.oh-login__card .oh-field__input,
.oh-login__card .oh-field__select,
.oh-login__card .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.oh-login__form .alert {
    border-radius: 12px;
    margin-bottom: 18px;
}

.oh-field label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--oh-auth-label-size);
    font-weight: 600;
    color: var(--oh-login-text-strong);
}

.oh-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.oh-field__icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.oh-field__input {
    width: 100%;
    height: var(--oh-auth-input-height);
    padding: 0 44px 0 42px;
    border: 1px solid var(--oh-login-border);
    border-radius: 8px;
    background: var(--oh-login-bg);
    color: var(--oh-login-text-strong);
    font-size: var(--oh-auth-input-size);
    font-weight: 600;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.oh-field__input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.oh-field__input:focus {
    border-color: var(--oh-login-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--oh-login-accent-soft);
}

.oh-field__toggle {
    position: absolute;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.oh-field__toggle:hover {
    color: #475569;
    background: #f1f5f9;
}

.oh-login__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px !important;
    margin-bottom: 22px !important;
}

.oh-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    color: var(--oh-login-text);
    cursor: pointer;
    user-select: none;
}

.oh-login__remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.oh-login__checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    background: #fff;
    transition: all 0.2s ease;
}

.oh-login__remember input:checked + .oh-login__checkmark {
    background: var(--oh-login-accent);
    border-color: var(--oh-login-accent);
    color: #fff;
}

.oh-login__forgot {
    font-size: 13px;
    font-weight: 600;
    color: var(--oh-login-accent);
    white-space: nowrap;
}

.oh-login__forgot:hover {
    color: var(--oh-login-accent-hover);
    text-decoration: none;
}

.oh-login__submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--oh-login-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transition: transform 0.15s ease, background 0.2s ease;
}

.oh-login__submit:hover,
.oh-login__submit:focus {
    background: var(--oh-login-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.oh-login__register {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--oh-login-text);
}

.oh-login__register a {
    margin-left: 6px;
    font-weight: 700;
    color: var(--oh-login-accent);
}

.oh-login__register a:hover {
    color: var(--oh-login-accent-hover);
    text-decoration: none;
}

.oh-login__social {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eef2f7;
}

.oh-login__social--hidden {
    display: none;
}

body.login-bg .providerPreLinking {
    text-align: center;
    margin-bottom: 12px;
    color: var(--oh-login-text);
    font-size: 13px;
}

body.login-bg .oh-login__social .btn-social,
body.login-bg .oh-login__social button.btn.btn-social {
    width: 100%;
    border-radius: 12px !important;
    margin-bottom: 8px;
    padding: 11px 16px;
    font-weight: 700;
}

body.login-bg .wgslogin-captch {
    margin-bottom: 18px;
}

body.login-bg .wgslogin-captch .col-md-8.col-xs-10 {
    width: 100%;
    padding: 0;
}

@media (max-width: 1100px) {
    body.login-bg.oh-auth-page.oh-register-page .oh-login__layout {
        grid-template-columns: minmax(220px, 36%) minmax(0, 64%);
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand {
        padding: 32px 28px;
    }

    body.login-bg.oh-auth-page.oh-register-page #registration {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    body.login-bg.oh-auth-page.oh-register-page {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }

    body.login-bg.oh-auth-page.oh-register-page #page-wrapper.oh-login.oh-register {
        height: auto;
        max-height: none;
        min-height: 100vh;
        overflow: visible;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__layout {
        height: auto;
        overflow: visible;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand {
        padding: 20px 20px 24px;
        min-height: 0;
        height: auto;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand-inner {
        min-height: 0;
        height: auto;
        padding: 0;
        text-align: left;
        align-items: flex-start;
        max-width: none;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__back--brand {
        margin-bottom: 16px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand-title {
        font-size: 22px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand-text {
        font-size: 14px;
        max-width: none;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
        height: auto;
        overflow: visible;
        padding: 16px 16px 28px;
        width: 100%;
        box-sizing: border-box;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__main {
        height: auto;
        min-height: auto;
        padding: 0;
        width: 100%;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: var(--oh-auth-card-padding);
        box-sizing: border-box;
    }

    body.login-bg.oh-auth-page.oh-register-page #registration {
        max-width: 100%;
    }

    .oh-login__layout {
        grid-template-columns: 1fr;
        min-height: 100vh;
        height: auto;
    }

    .oh-login__brand {
        padding: 36px 24px 28px;
    }

    .oh-login__brand-inner {
        min-height: auto;
        text-align: center;
        align-items: center;
        margin: 0 auto;
    }

    .oh-login__brand-image {
        display: none;
    }

    .oh-login__main,
    body.oh-auth-page .oh-login__main--scroll {
        min-height: auto;
        align-items: center;
        padding: clamp(16px, 4vw, 28px);
        margin-top: 0;
    }

    .oh-login__card,
    .oh-register .oh-login__card {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        margin: 0 auto;
    }

    /* Tüm auth sayfaları — mobil ortalama */
    body.login-bg.oh-auth-page #page-wrapper.oh-login {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
    }

    body.login-bg.oh-auth-page .oh-login__layout {
        min-height: 0;
        height: auto;
    }

    body.login-bg.oh-auth-page .oh-login__main,
    body.login-bg.oh-auth-page .oh-login__main--scroll {
        align-items: center;
        justify-content: flex-start;
    }

    body.login-bg.oh-auth-page:not(.oh-register-page) .oh-login__main {
        justify-content: center;
    }

    body.login-bg.oh-auth-page .oh-login__heading h1 {
        font-size: var(--oh-auth-title-size);
    }

    body.login-bg.oh-auth-page .oh-login__header .oh-login__logo-img {
        max-height: 44px;
        max-width: min(180px, 100%);
    }

    body.login-bg.oh-auth-page .oh-login__header .oh-login__back {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    /* Login — mobil (genel kurallardan sonra) */
    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) #page-wrapper.oh-login {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__layout,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__layout {
        grid-template-columns: 1fr;
        min-height: 0;
        height: auto;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__brand,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__brand {
        padding: 20px 20px 24px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__brand-inner,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__brand-inner {
        min-height: 0;
        height: auto;
        text-align: left;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__brand-title,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__brand-title {
        font-size: 22px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__brand-text,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__brand-text {
        font-size: 14px;
        max-width: none;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__main,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__main {
        min-height: auto;
        height: auto;
        padding: clamp(16px, 4vw, 28px);
        align-items: center;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__card,
    body.login-bg.oh-auth-page.oh-password-reset-page .oh-login__card {
        width: 100%;
        max-width: 100%;
        padding: var(--oh-auth-card-padding);
        border-radius: 12px;
        margin: 0 auto;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__header {
        gap: 8px;
        margin-bottom: 16px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__header .oh-login__logo {
        padding: 10px 12px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__logo-img {
        max-height: 44px;
        max-width: min(180px, 100%);
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__tabs {
        gap: 4px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__form .form-group {
        margin-bottom: 14px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-field__input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Register — mobil (genel kurallardan sonra) */
    body.login-bg.oh-auth-page.oh-register-page {
        overflow-x: hidden;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand-inner {
        text-align: left;
        align-items: flex-start;
        margin: 0;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
        padding: 16px 16px 28px;
        overflow-x: hidden;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__card {
        max-width: 100%;
        margin: 0 auto;
    }

    body.login-bg.oh-auth-page.oh-register-page #registration {
        max-width: 100%;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__header {
        gap: 8px;
        margin-bottom: 14px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__header .oh-login__logo {
        padding: 10px 12px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__header .oh-login__logo-img {
        max-height: 44px;
        max-width: min(180px, 100%);
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-member-tabs.oh-login__tabs {
        gap: 4px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-field__input,
    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-field__select,
    body.login-bg.oh-auth-page.oh-register-page .oh-register .intl-tel-input input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .oh-login__card,
    .oh-register .oh-login__card {
        max-width: 100%;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-member-tabs.oh-login__tabs {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-member-tabs__btn {
        font-size: 12px;
        padding: 10px 8px;
        white-space: normal;
        text-align: center;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    body.oh-register-page .oh-register-grid,
    .oh-register-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    body.oh-register-page .oh-member-tabs.oh-login__tabs {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    body.oh-register-page .oh-register .oh-login__header .oh-login__logo {
        padding: 10px 12px;
    }

    body.oh-register-page .oh-register .oh-login__header .oh-login__logo-img {
        max-height: 40px;
        max-width: min(160px, 100%);
    }

    body.oh-register-page .oh-register .oh-login__header .oh-login__back {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .oh-member-tabs__btn {
        font-size: 12px;
        padding: 10px 8px;
        gap: 6px;
    }

    .oh-member-tabs__btn i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
        padding: 12px 12px 24px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-login__brand {
        padding: 16px 16px 20px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__card {
        padding: 16px 14px 20px;
        border-radius: 10px;
    }

    body.oh-register-page .oh-member-tabs {
        grid-template-columns: 1fr;
    }

    .oh-login__main,
    body.oh-auth-page .oh-login__main--scroll {
        padding: 16px 14px 32px;
    }

    .oh-login__card,
    .oh-register .oh-login__card {
        padding: 20px 16px 24px;
        border-radius: 16px;
    }

    .oh-login__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .oh-field__input,
    .oh-field__select {
        height: 46px;
        font-size: 16px;
    }

body.oh-register-page .oh-register .oh-field__input,
body.oh-register-page .oh-register .oh-field__select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

    /* Login — küçük ekran (genel kurallardan sonra) */
    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__main {
        padding: 12px 12px 24px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__card {
        padding: 16px 14px 20px;
        border-radius: 12px;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-member-tabs.oh-login__tabs {
        grid-template-columns: 1fr;
    }

    body.login-bg.oh-auth-page.oh-login-page:not(.oh-register-page) .oh-login__header .oh-login__back {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    /* Register — küçük ekran (genel kurallardan sonra) */
    body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
        padding: 12px 12px 24px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-register .oh-login__card {
        padding: 16px 14px 20px;
        border-radius: 12px;
    }

    body.login-bg.oh-auth-page.oh-register-page .oh-member-tabs.oh-login__tabs {
        grid-template-columns: 1fr;
    }
}

/* --- Register & password reset shared --- */

body.login-bg.oh-auth-page.oh-register-page .oh-login__main--scroll {
    overflow-y: auto;
}

body.login-bg.oh-auth-page #registration {
    width: 100%;
    max-width: 100%;
}

body.login-bg.oh-auth-page #registration .form-control,
body.login-bg.oh-auth-page #registration .field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.oh-register-grid--personal-cf:empty {
    display: none;
}

.oh-register-grid--personal-cf:not(:empty) {
    margin-top: 12px;
}

.oh-auth-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.oh-auth-brand-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.oh-auth-success {
    text-align: center;
    padding: 12px 0 8px;
}

.oh-auth-success__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: var(--oh-login-accent);
    font-size: 28px;
}

.oh-auth-success h2 {
    margin: 0 0 8px;
    font-size: var(--oh-auth-title-size);
    font-weight: 800;
}

.oh-auth-success p {
    margin: 0 0 18px;
    font-size: var(--oh-auth-text-size);
    color: var(--oh-login-text);
}

.oh-login__submit--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.oh-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.oh-auth-btn-secondary {
    border: 1px solid var(--oh-login-border);
    background: #fff;
    color: #475569;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

.oh-auth-btn-secondary:hover {
    background: #f8fafc;
}

.oh-auth-link-btn {
    border: 0;
    background: none;
    color: var(--oh-login-accent);
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.oh-member-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
    padding: 4px;
    border-radius: 10px;
    background: var(--oh-login-bg);
    border: 1px solid var(--oh-login-border);
}

.oh-member-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    padding: 10px 12px;
    background: transparent;
    color: var(--oh-login-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.oh-member-tabs__btn.is-active {
    background: #fff;
    color: var(--oh-login-text-strong);
    box-shadow: 0 1px 4px rgba(40, 43, 45, 0.08);
}

.oh-member-tabs__btn.is-active i {
    color: var(--oh-login-accent);
}

.oh-field--full,
.oh-field--full-auto {
    grid-column: 1 / -1;
}

.oh-field__wrap--file {
    padding-right: 8px;
}

.oh-field__input--file {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
}

.oh-field__hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--oh-login-text);
}

.oh-field__select {
    appearance: auto;
    cursor: pointer;
}

.oh-corporate-panel[hidden] {
    display: none !important;
}

.oh-marketing-optin {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.oh-marketing-optin h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
}

.oh-marketing-optin p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--oh-login-text);
}

.oh-tos-check {
    margin-bottom: 18px;
}

.oh-tos-check a {
    color: var(--oh-login-accent);
    font-weight: 700;
}

.oh-password-strength {
    height: 8px;
    margin-top: 4px;
    border-radius: 999px;
    overflow: hidden;
}

body.login-bg.oh-auth-page.oh-register-page #registration {
    width: 100%;
    max-width: var(--oh-register-form-max);
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
}

body.oh-register-page .oh-register__form,
body.oh-register-page .oh-register__section,
body.oh-register-page .oh-field,
body.oh-register-page .oh-cf-item {
    min-width: 0;
    max-width: 100%;
}

body.oh-register-page .oh-login__main--scroll {
    min-width: 0;
}

.oh-register .oh-field__wrap--phone {
    display: block;
    width: 100%;
    position: relative;
}

.oh-register .oh-field__wrap--phone .oh-field__icon {
    display: none !important;
}

body.oh-register-page .oh-register .intl-tel-input {
    display: block !important;
    width: 100% !important;
    position: relative;
}

body.oh-register-page .oh-register .intl-tel-input.allow-dropdown .flag-container,
body.oh-register-page .oh-register .intl-tel-input.separate-dial-code .flag-container {
    left: 0;
    right: auto;
}

body.oh-register-page .oh-register .intl-tel-input .selected-flag {
    width: 48px;
    height: 100%;
    background: transparent;
    border-radius: 8px 0 0 8px;
}

body.oh-register-page .oh-register #inputPhone,
body.oh-register-page .oh-register .intl-tel-input input,
body.oh-register-page .oh-register .intl-tel-input input[type="tel"],
body.oh-register-page .oh-register .intl-tel-input .form-control {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--oh-auth-input-height) !important;
    padding-left: 52px !important;
    padding-right: 12px !important;
    border: 1px solid var(--oh-login-border) !important;
    border-radius: 8px !important;
    background: var(--oh-login-bg) !important;
    font-size: var(--oh-auth-input-size) !important;
    font-weight: 600;
    box-sizing: border-box;
    margin: 0 !important;
}

.oh-register .intl-tel-input input:focus {
    border-color: var(--oh-login-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px var(--oh-login-accent-soft) !important;
    outline: none;
}

.oh-register .oh-cf-item .oh-field__wrap input,
.oh-register .oh-cf-item .oh-field__wrap select,
.oh-register .oh-cf-item .oh-field__wrap textarea,
.oh-register .oh-cf-item .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.oh-register-grid .oh-field--full,
.oh-register-grid .oh-field--full-auto,
.oh-register-grid .oh-cf-item.oh-field--full,
.oh-register-grid .oh-cf-item.oh-field--full-auto {
    grid-column: 1 / -1;
}

.oh-register .oh-field__wrap {
    width: 100%;
}

.oh-register .oh-field__wrap > input.oh-field__input,
.oh-register .oh-field__wrap > select.oh-field__input {
    width: 100%;
}

.oh-customfields-hidden .oh-cf-item {
    min-width: 0;
}

@media (min-width: 1200px) {
    :root {
        --oh-login-card-max: 500px;
        --oh-login-card-max-register: 860px;
    }
}

