:root {
    --hi-pink: #E24781;
    --hi-coral: #ED5064;
    --hi-orange: #EF7849;
    --hi-gradient: linear-gradient(135deg, #E24781 0%, #ED5064 50%, #EF7849 100%);
    --auth-v2-bg: #f7f9fb;
    --auth-v2-surface: #ffffff;
    --auth-v2-border: #d9e0e7;
    --auth-v2-muted: #6b7280;
    --auth-v2-text: #20242a;
    --auth-v2-soft: #f1f5f9;
    --auth-v2-danger: #d92343;
    --auth-v2-success: #107c41;
}

html,
body.client-auth-page {
    min-height: 100%;
    background: var(--auth-v2-bg);
}

body.client-auth-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: env(safe-area-inset-bottom);
    color: var(--auth-v2-text);
    font-family: Inter, "Open Sans", Arial, sans-serif;
    letter-spacing: 0;
}

.client-auth-page * {
    box-sizing: border-box;
}

.client-auth-page .client-auth {
    /* LMS marka renkleri: login.php inline --lms-primary/--lms-secondary verirse
       buton, başlık, focus halkası ve hero gradyanı dahil tüm --hi-* türevleri
       otomatik o LMS'in rengine döner; verilmezse orijinal pembe-mercan-turuncu
       varsayılanı korunur. (Geçersiz/boş renkler login.php'de elenir.) */
    --hi-pink: var(--lms-primary, #E24781);
    --hi-coral: var(--lms-primary, #ED5064);
    --hi-orange: var(--lms-secondary, #EF7849);
    --hi-gradient: linear-gradient(135deg, var(--lms-primary, #E24781), var(--lms-secondary, #EF7849));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 28px;
}

.client-auth__panel {
    width: min(100%, 420px);
}

.client-auth__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.client-auth__logo {
    display: block;
    max-width: min(280px, 78vw);
    max-height: 112px;
    object-fit: contain;
}

.client-auth__box {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--auth-v2-border);
    border-radius: 8px !important;
    background: var(--auth-v2-surface);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

/* ============================================================
   SPLIT-SCREEN (login) — yalnızca .client-auth__shell kapsamında.
   Genel .client-auth__panel / .client-auth__box stilleri register,
   tutorials ve 2FA görünümleri için olduğu gibi korunur.
   ============================================================ */
.client-auth__shell {
    width: 100%;
    max-width: 1220px;
    min-height: clamp(470px, 62vh, 560px);
    display: flex;
    background: var(--auth-v2-surface);
    border: 1px solid var(--auth-v2-border);
    border-radius: 18px !important;
    box-shadow: 0 26px 60px rgba(15, 23, 42, .12);
    overflow: hidden;
}

/* SOL: marka paneli */
.client-auth__hero {
    flex: 0 0 44%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 52px 48px;
    background: var(--hi-gradient);
    color: #fff;
    overflow: hidden;
}
.client-auth__hero::before,
.client-auth__hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.client-auth__hero::before {
    width: 240px;
    height: 240px;
    top: -72px;
    right: -60px;
    background: rgba(255, 255, 255, .12);
}
.client-auth__hero::after {
    width: 150px;
    height: 150px;
    bottom: 40px;
    left: -64px;
    background: rgba(255, 255, 255, .08);
}
.client-auth__hero-top,
.client-auth__hero-body,
.client-auth__hero-foot {
    position: relative;
    z-index: 1;
}
.client-auth__hero-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(224px, 64%, 360px);
    height: clamp(92px, 10vw, 126px);
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .88));
    box-shadow: 0 14px 30px rgba(15, 23, 42, .16), inset 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255, 255, 255, .9);
    overflow: hidden;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
}
.client-auth__hero-logo.is-square-logo {
    width: clamp(142px, 32%, 168px);
    height: clamp(142px, 32%, 168px);
    padding: 12px;
    border-radius: 28px !important;
    -webkit-clip-path: inset(0 round 28px);
    clip-path: inset(0 round 28px);
}
.client-auth__hero-logo.is-wide-logo {
    width: clamp(224px, 64%, 360px);
    height: clamp(92px, 10vw, 126px);
    padding: 14px 18px;
    border-radius: 24px !important;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
}
.client-auth__hero-logo .client-auth__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.client-auth__hero-title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.22;
}
.client-auth__hero-text {
    margin: 0;
    max-width: 330px;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, .93);
}
.client-auth__hero-foot {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}

/* SAĞ: form paneli (yalnızca shell içinde) */
.client-auth__shell > .client-auth__panel {
    flex: 1;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 36px 54px 26px;
}
.client-auth__shell .client-auth__box {
    max-width: 390px;
    margin: 0 auto;
    flex: 1;
    padding: 0;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sağ üst dil seçici */
.client-auth__topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 30px;
    margin-bottom: 2px;
}
.client-auth__lang-ic {
    color: var(--auth-v2-muted);
    font-size: 14px;
}
.client-auth-page .client-auth__lang-select {
    width: auto;
    min-width: 62px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--auth-v2-border);
    border-radius: 999px !important;
    background: #fff;
    color: var(--auth-v2-text);
    font-size: 12.5px;
    font-weight: 700;
}

/* form ile yardımcı bağlantılar arası ince ayraç */
.client-auth__divider {
    height: 1px;
    background: var(--auth-v2-border);
    margin: 20px 0 16px;
}
.client-auth__chip-row {
    display: flex;
    justify-content: center;
}

.client-auth__title {
    margin: 0 0 22px;
    color: var(--hi-coral);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.client-auth__shell .client-auth__title {
    margin-bottom: 24px;
    font-size: 24px;
}

.client-auth__subtitle {
    margin: -8px auto 20px;
    max-width: 330px;
    color: var(--auth-v2-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

.client-auth__shell .client-auth__subtitle {
    max-width: 360px;
    margin-bottom: 22px;
    font-size: 14.5px;
}

.client-auth__form {
    margin: 0;
}

.client-auth__form.is-hidden {
    display: none;
}

.client-auth__field {
    margin-bottom: 14px;
}

.client-auth__shell .client-auth__field {
    margin-bottom: 16px;
}

.client-auth-page .client-auth__input,
.client-auth-page .client-auth__select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--auth-v2-border);
    border-radius: 6px !important;
    background: #f8fafc;
    color: var(--auth-v2-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.client-auth-page .client-auth__input {
    padding: 0 14px;
}

.client-auth-page .client-auth__shell .client-auth__input,
.client-auth-page .client-auth__shell .client-auth__select {
    height: 50px;
    font-size: 14.5px;
}

.client-auth-page .client-auth__shell .client-auth__input {
    padding: 0 16px;
}

.client-auth-page .client-auth__select {
    padding: 0 12px;
}

.client-auth-page .client-auth__input::placeholder {
    color: #9aa3af;
    font-weight: 500;
}

.client-auth-page .client-auth__input:focus,
.client-auth-page .client-auth__select:focus {
    border-color: var(--hi-coral);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(237, 80, 100, .14);
    outline: none;
}

.client-auth__password {
    position: relative;
}

.client-auth-page .client-auth__password .client-auth__input {
    padding-right: 46px;
}

.client-auth-page .client-auth__shell .client-auth__password .client-auth__input {
    padding-right: 50px;
}

.client-auth__password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px !important;
    background: transparent;
    color: var(--auth-v2-muted);
    transform: translateY(-50%);
}

.client-auth__shell .client-auth__password-toggle {
    right: 7px;
    width: 36px;
    height: 36px;
}

.client-auth__password-toggle:hover,
.client-auth__password-toggle:focus {
    color: var(--hi-coral);
    background: rgba(237, 80, 100, .08);
    outline: none;
}

.client-auth__primary {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 6px !important;
    background: var(--hi-gradient);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(237, 80, 100, .24);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.client-auth__shell .client-auth__primary {
    min-height: 50px;
    font-size: 14.5px;
}

.client-auth__primary:hover,
.client-auth__primary:focus {
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(237, 80, 100, .3);
    transform: translateY(-1px);
    outline: none;
}

.client-auth__primary:disabled,
.client-auth__primary[disabled] {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
    box-shadow: none;
}

.client-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.client-auth__shell .client-auth__row {
    margin-top: 18px;
}

.client-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.client-auth__remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--hi-coral);
}

.client-auth__link {
    color: #4b5563 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.client-auth__link:hover,
.client-auth__link:focus {
    color: var(--hi-coral) !important;
    text-decoration: none;
    outline: none;
}

.client-auth__actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.client-auth__secondary-link {
    justify-self: center;
    color: #6b7280 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.client-auth__secondary-link:hover,
.client-auth__secondary-link:focus {
    color: var(--hi-coral) !important;
    text-decoration: none;
    outline: none;
}

.client-auth-back-link {
    min-height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid rgba(237, 80, 100, .32);
    border-radius: 6px !important;
    background: #fff8fa;
    color: var(--hi-coral) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(237, 80, 100, .08);
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.client-auth-back-link:hover,
.client-auth-back-link:focus {
    border-color: transparent;
    background: var(--hi-gradient);
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(237, 80, 100, .22);
    transform: translateY(-1px);
    outline: none;
}

.client-auth__extras {
    display: grid;
    gap: 14px;
    justify-items: center;
    margin-top: 22px;
}

.client-auth__store-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.client-auth__banner-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.client-auth__banner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 40px;
}

.client-auth__banner-link:focus {
    border-radius: 6px !important;
    box-shadow: 0 0 0 3px rgba(237, 80, 100, .14);
    outline: none;
}

.client-auth__banner-img {
    display: block;
    max-width: min(190px, 100%);
    max-height: 44px;
    object-fit: contain;
}

.client-auth__store-img {
    display: block;
    height: 36px;
    max-width: 144px;
    object-fit: contain;
}

.client-auth__chip {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #cde5ff;
    border-radius: 6px !important;
    background: #eef7ff;
    color: #1263ad !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.client-auth__chip:hover,
.client-auth__chip:focus {
    border-color: #8cc8ff;
    color: #0b5599 !important;
    text-decoration: none;
    outline: none;
}

.client-auth__language {
    width: 100%;
}

.client-auth__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.client-auth__footer-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4180bd;
    font-weight: 700;
}

.client-auth__footer-button:hover,
.client-auth__footer-button:focus {
    color: var(--hi-coral);
    text-decoration: none;
    outline: none;
}

.client-auth__footer-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.client-auth__alerts {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.client-auth__alert {
    position: relative;
    margin: 0;
    padding: 12px 38px 12px 14px;
    border: 1px solid transparent;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.client-auth__alert p {
    margin: 0;
}

.client-auth__alert p + p {
    margin-top: 6px;
}

.client-auth__alert-danger {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.client-auth__alert-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: var(--auth-v2-success);
}

.client-auth__alert-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.client-auth__alert-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.client-auth__alert .close {
    position: absolute;
    top: 8px;
    right: 10px;
    color: currentColor;
    opacity: .55;
}

.client-auth__otp-copy {
    margin: -8px 0 18px;
    color: var(--auth-v2-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.client-auth__otp-target {
    display: block;
    margin-bottom: 2px;
    color: #4b5563;
    font-weight: 800;
}

.client-auth__otp-error {
    display: block;
    margin-top: 8px;
    color: var(--auth-v2-danger);
    font-weight: 700;
}

.client-auth__otp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto 14px;
}

.client-auth-page .client-auth__otp-input {
    width: 100%;
    height: 58px;
    padding: 0;
    border: 1px solid var(--auth-v2-border);
    border-radius: 6px !important;
    background: #f1f5f9;
    color: var(--auth-v2-text);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: none;
}

.client-auth-page .client-auth__otp-input:focus {
    border-color: var(--hi-coral);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(237, 80, 100, .14);
    outline: none;
}

.client-auth__timer {
    display: inline-flex;
    justify-content: center;
    min-width: 76px;
    margin: 4px auto 18px;
    padding: 6px 10px;
    border-radius: 6px !important;
    background: rgba(237, 80, 100, .09);
    color: var(--hi-coral);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.client-auth__timer.fade-effect {
    opacity: .72;
}

.client-auth__validation {
    display: grid;
    gap: 6px;
    margin: 16px 0 0;
    color: var(--auth-v2-muted);
    font-size: 13px;
    font-weight: 600;
}

.client-auth__validation-title {
    color: #374151;
    font-weight: 800;
}

.client-auth__validation span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.35;
}

.client-auth__validation span i {
    margin-top: 2px;
}

.client-auth__validation .valid {
    color: var(--auth-v2-success);
}

.client-auth__validation .invalid {
    color: var(--auth-v2-danger);
}

.client-auth-register__panel {
    width: min(100%, 520px);
}

.client-auth-register__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.client-auth-register__confirmation {
    max-height: 124px;
    margin: 0 0 14px;
    padding: 12px 14px;
    overflow: auto;
    border: 1px solid var(--auth-v2-border);
    border-left: 4px solid var(--hi-coral);
    border-radius: 6px !important;
    background: #fff8fa;
    box-shadow: inset 0 0 0 1px rgba(237, 80, 100, .04);
    color: #3f4a5a;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.55;
    text-align: left;
    overflow-wrap: anywhere;
}

.client-auth-register__confirmation a {
    color: #2563a8;
    font-weight: 700;
    text-decoration: none;
}

.client-auth-register__confirmation a:hover,
.client-auth-register__confirmation a:focus {
    color: var(--hi-coral);
    text-decoration: underline;
}

.client-auth-register__login-link {
    width: 100%;
    min-height: 42px;
    margin-top: 14px;
}

.client-auth-register .client-auth__primary {
    margin-top: 0;
}

.client-auth-register__success {
    display: grid;
    justify-items: center;
    text-align: center;
}

.client-auth-register__success-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 999px !important;
    background: rgba(16, 124, 65, .1);
    color: var(--auth-v2-success);
    font-size: 26px;
}

.client-auth-tutorials-page .client-auth {
    align-items: flex-start;
    padding-top: 26px;
    padding-bottom: 42px;
}

.client-auth-tutorials-page .client-auth__panel,
.client-auth-tutorials__panel {
    width: min(100%, 920px);
}

.client-auth-tutorials__box {
    padding: 24px;
    overflow: hidden;
}

.client-auth-tutorials__header {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.client-auth-tutorials__title {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 24px;
}

.client-auth-tutorials__login-link {
    min-height: 38px;
}

.client-auth-tutorials__featured {
    max-width: 720px;
    margin-right: auto;
    margin-bottom: 14px;
    margin-left: auto;
}

.client-auth-tutorials__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.client-auth-tutorials__video-button {
    appearance: none;
    position: relative;
    min-width: 0;
    width: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--auth-v2-border);
    border-radius: 8px !important;
    background: #111827;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.client-auth-tutorials__video-button:focus {
    box-shadow: 0 0 0 3px rgba(237, 80, 100, .16), 0 12px 28px rgba(15, 23, 42, .12);
    outline: none;
}

.client-auth-tutorials__cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: .94;
    transition: transform .18s ease, opacity .18s ease;
}

.client-auth-tutorials__video-button:hover .client-auth-tutorials__cover,
.client-auth-tutorials__video-button:focus .client-auth-tutorials__cover {
    opacity: 1;
    transform: scale(1.02);
}

.client-auth-tutorials__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .92);
    color: var(--hi-coral);
    font-size: 20px;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.client-auth-tutorials__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 28px 14px 12px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, .82) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.client-auth-video-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px !important;
    background: #0f172a;
}

.client-auth-video-modal .modal-body {
    padding: 0;
}

.client-auth-video-modal video {
    width: 100%;
    background: #0f172a;
}

.client-auth-video-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, .76);
    color: #ffffff;
}

.client-auth-video-modal__close:hover,
.client-auth-video-modal__close:focus {
    background: rgba(237, 80, 100, .92);
    color: #ffffff;
    outline: none;
}

.client-auth-page .grecaptcha-badge {
    transform: scale(.86);
    transform-origin: bottom right;
}

.client-auth__password-toggle.is-visible {
    color: var(--hi-coral);
}

/* Mobil: split-screen tek sütuna iner (hero üstte, form altta) */
@media (max-width: 768px) {
    .client-auth__shell {
        flex-direction: column;
        width: min(100%, 460px);
        min-height: 0;
    }
    .client-auth__hero {
        flex: none;
        gap: 14px;
        padding: 26px 28px;
    }
    .client-auth__hero-logo {
        width: min(250px, 76vw);
        height: 88px;
        padding: 10px 14px;
    }
    .client-auth__hero-logo.is-square-logo {
        width: 128px;
        height: 128px;
        padding: 10px;
        border-radius: 24px;
    }
    .client-auth__hero-logo.is-wide-logo {
        width: min(250px, 76vw);
        height: 88px;
        padding: 10px 14px;
    }
    .client-auth__hero::before {
        width: 150px;
        height: 150px;
        top: -50px;
        right: -40px;
    }
    .client-auth__hero-title {
        margin-bottom: 0;
        font-size: 22px;
    }
    .client-auth__hero-text {
        display: none;
        max-width: none;
    }
    .client-auth__shell > .client-auth__panel {
        padding: 22px 26px 16px;
    }
    /* Mobilde dil seçici formun altına iner (üstte yer kaplayıp formu aşağı itmesin) */
    .client-auth__shell > .client-auth__panel .client-auth__box { order: 1; }
    .client-auth__shell > .client-auth__panel .client-auth__topbar {
        order: 2;
        margin: 14px 0 0;
        justify-content: center;
    }
    .client-auth__shell > .client-auth__panel .client-auth__footer { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
    .client-auth-page *,
    .client-auth-page *::before,
    .client-auth-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .client-auth__primary:hover,
    .client-auth__primary:focus,
    .client-auth-back-link:hover,
    .client-auth-back-link:focus,
    .client-auth-tutorials__video-button:hover .client-auth-tutorials__cover,
    .client-auth-tutorials__video-button:focus .client-auth-tutorials__cover {
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .client-auth-page .client-auth {
        align-items: flex-start;
        min-height: auto;
        padding: 18px 12px calc(112px + env(safe-area-inset-bottom));
    }

    .client-auth__panel {
        width: min(100%, 390px);
    }

    .client-auth__brand {
        margin-bottom: 14px;
    }

    .client-auth__logo {
        max-width: min(260px, 74vw);
        max-height: 86px;
    }

    .client-auth__box {
        padding: 18px 14px;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    }

    .client-auth__title {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .client-auth__subtitle {
        margin: -4px auto 16px;
        font-size: 13px;
    }

    .client-auth-page .client-auth__input,
    .client-auth-page .client-auth__select,
    .client-auth__primary {
        min-height: 44px;
        height: 44px;
    }

    .client-auth__row {
        align-items: flex-start;
        gap: 10px;
        margin-top: 13px;
    }

    .client-auth__remember,
    .client-auth__link,
    .client-auth__secondary-link {
        font-size: 12px;
    }

    .client-auth-back-link {
        font-size: 13px;
    }

    .client-auth__extras {
        gap: 10px;
        margin-top: 16px;
    }

    .client-auth__banner-img {
        max-width: min(170px, 100%);
        max-height: 40px;
    }

    .client-auth__store-row {
        gap: 7px;
    }

    .client-auth__store-img {
        height: 32px;
        max-width: 132px;
    }

    .client-auth__chip {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 11px;
    }

    .client-auth__footer {
        margin-top: 14px;
        font-size: 12px;
    }

    .client-auth__otp-grid {
        gap: 8px;
    }

    .client-auth-page .client-auth__otp-input {
        height: 52px;
        font-size: 24px;
    }

    .client-auth-page .grecaptcha-badge {
        right: -12px !important;
        bottom: 76px !important;
        transform: scale(.72);
    }

    .client-auth-register__panel {
        width: min(100%, 390px);
    }

    .client-auth-register__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .client-auth-register__confirmation {
        max-height: 104px;
        font-size: 11.5px;
    }

    .client-auth-tutorials-page .client-auth {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .client-auth-tutorials__panel {
        width: min(100%, 390px);
    }

    .client-auth-tutorials__box {
        padding: 16px 12px;
    }

    .client-auth-tutorials__header {
        gap: 8px;
        margin-bottom: 14px;
    }

    .client-auth-tutorials__title {
        font-size: 18px;
        line-height: 1.28;
    }

    .client-auth-tutorials__featured {
        max-width: none;
        margin-bottom: 10px;
    }

    .client-auth-tutorials__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .client-auth-tutorials__play {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .client-auth-tutorials__caption {
        padding: 24px 12px 10px;
        font-size: 12px;
    }
}
