body.page-auth-body {
    color: #17263a;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(33, 125, 202, .09), transparent 32%),
        radial-gradient(ellipse at 92% 86%, rgba(30, 147, 204, .08), transparent 30%),
        #f3f7fb;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.user-auth-shell {
    display: grid;
    min-height: min(760px, calc(100vh - 180px));
    place-items: center;
    padding: 46px 22px 56px;
}

.user-auth-card {
    display: grid;
    width: min(100%, 1000px);
    min-height: 580px;
    grid-template-columns: .94fr 1.06fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(24, 56, 91, .12);
}

.user-auth__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 42px 36px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(77, 174, 231, .32), transparent 30%),
        linear-gradient(145deg, #123c67, #0e609a 72%, #1179b7);
}

.user-auth__logo {
    display: inline-flex;
    width: 212px;
    min-height: 61px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.user-auth__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.user-auth__brand-copy {
    margin-top: auto;
    margin-bottom: auto;
    padding: 42px 0 34px;
}

.user-auth__eyebrow {
    margin: 0;
    color: #1874ad;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.user-auth__brand .user-auth__eyebrow {
    color: #b9def8;
}

.user-auth__brand h1 {
    margin: 12px 0 14px;
    color: #fff !important;
    font-size: clamp(2rem, 3.3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.13;
}

.user-auth__brand-copy > p:last-of-type {
    max-width: 345px;
    margin: 0;
    color: #d8e9f7;
    font-size: .96rem;
    line-height: 1.75;
}

.user-auth__benefits {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 26px 0 0;
    color: #e7f3fc;
    font-size: .86rem;
    list-style: none;
}

.user-auth__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.user-auth__benefits li span,
.user-auth__trust span {
    display: inline-grid;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    place-items: center;
    color: #e5f5ff;
    border: 1px solid rgba(225, 243, 255, .45);
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 800;
}

.user-auth__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d8e9f7;
    font-size: .82rem;
}

.user-auth__form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px clamp(32px, 6vw, 70px);
}

.user-auth__heading {
    margin-bottom: 29px;
}

.user-auth__heading h2 {
    margin: 9px 0 8px;
    color: #172a40;
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.user-auth__heading > p:last-child {
    margin: 0;
    color: #718096;
    font-size: .94rem;
}

.user-auth__message {
    padding: 12px 14px;
    margin-bottom: 19px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: .88rem;
    line-height: 1.5;
}

.user-auth__message--error {
    color: #9d2727;
    background: #fff1f0;
    border-color: #f5c9c6;
}

.user-auth__message--success {
    color: #226a43;
    background: #eef9f1;
    border-color: #c5e9d0;
}

.user-auth__form {
    display: grid;
    gap: 21px;
}

.user-auth__field {
    display: grid;
    gap: 9px;
}

.user-auth__field label {
    color: #24364b;
    font-size: .88rem;
    font-weight: 700;
}

.user-auth__field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    color: #1d2c3d;
    background: #fbfdff;
    border: 1px solid #d7e1eb;
    border-radius: 9px;
    font: inherit;
    font-size: .94rem;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.user-auth__field input::placeholder {
    color: #9ba9b8;
}

.user-auth__field input:focus {
    background: #fff;
    border-color: #2685c7;
    box-shadow: 0 0 0 4px rgba(38, 133, 199, .13);
}

.user-auth__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.user-auth__label-row a {
    color: #1267a8;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.user-auth__label-row a:hover,
.user-auth__register a:hover,
.user-auth__back:hover {
    color: #0c4e83;
    text-decoration: underline;
}

.user-auth__password {
    position: relative;
}

.user-auth__password input {
    padding-right: 76px;
}

.user-auth__password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    padding: 5px;
    color: #1267a8;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
}

.user-auth__submit {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    margin-top: 4px;
    color: #fff;
    background: linear-gradient(105deg, #1479bd, #105e9f);
    border: 0;
    border-radius: 9px;
    box-shadow: 0 7px 16px rgba(17, 102, 167, .18);
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.user-auth__submit:hover {
    background: linear-gradient(105deg, #116ba9, #0d5189);
    box-shadow: 0 10px 20px rgba(17, 102, 167, .23);
    transform: translateY(-1px);
}

.user-auth__submit span:last-child {
    font-size: 1.25rem;
}

.user-auth__divider {
    height: 1px;
    margin: 24px 0 19px;
    background: #e5ecf2;
}

.user-auth__register {
    margin: 0;
    color: #596b7e;
    font-size: .9rem;
    text-align: center;
}

.user-auth__register a {
    margin-left: 4px;
    color: #1267a8;
    font-weight: 700;
    text-decoration: none;
}

.user-auth__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    align-self: center;
    margin-top: 20px;
    color: #718096;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.user-auth__password-toggle:focus-visible,
.user-auth__submit:focus-visible,
.user-auth a:focus-visible {
    outline: 3px solid rgba(38, 133, 199, .45);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .user-auth-shell {
        min-height: unset;
        padding: 32px 14px 40px;
    }

    .user-auth-card {
        width: min(100%, 520px);
        min-height: unset;
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .user-auth__brand {
        padding: 24px 26px;
    }

    .user-auth__logo {
        width: 170px;
        min-height: 51px;
    }

    .user-auth__brand-copy {
        padding: 22px 0 0;
        margin: 0;
    }

    .user-auth__brand h1 {
        margin: 9px 0 0;
        font-size: 1.65rem;
    }

    .user-auth__brand-copy > p:last-of-type,
    .user-auth__benefits,
    .user-auth__trust {
        display: none;
    }

    .user-auth__form-panel {
        padding: 30px 26px 28px;
    }

    .user-auth__heading {
        margin-bottom: 23px;
    }
}

@media (max-width: 380px) {
    .user-auth__brand {
        padding-right: 20px;
        padding-left: 20px;
    }

    .user-auth__form-panel {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .user-auth__field input,
    .user-auth__submit {
        transition-duration: .01ms;
    }
}

body.page-auth-body {
    color: #e8edf5;
    background:
        linear-gradient(rgba(7, 13, 26, .88), rgba(7, 13, 26, .92)),
        url("../images/kurslar/contact-world-map.png") center / cover fixed,
        radial-gradient(ellipse at 75% 25%, #0e2138 0, transparent 55%),
        #080e1a;
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

body.page-auth-body .user-auth-shell {
    min-height: min(820px, calc(100vh - 155px));
    padding: clamp(32px, 5vw, 68px) 22px;
}

body.page-auth-body .user-auth-card {
    width: min(100%, 1080px);
    min-height: 610px;
    grid-template-columns: .96fr 1.04fr;
    background: linear-gradient(145deg, rgba(13, 26, 44, .98), rgba(7, 14, 25, .99));
    border: 1px solid rgba(232, 199, 130, .24);
    border-radius: 26px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .48), 0 0 80px rgba(30, 65, 107, .16);
}

body.page-auth-body .user-auth__brand {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 38px 44px 34px;
    background:
        linear-gradient(180deg, rgba(6, 13, 24, .3), rgba(6, 13, 24, .84)),
        url("../images/kurslar/contact-world-map.png") center / cover,
        linear-gradient(145deg, #193551, #0d1b2c);
}

body.page-auth-body .user-auth__brand::before {
    position: absolute;
    z-index: -1;
    top: 22%;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(232, 199, 130, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(232, 199, 130, .035), 0 0 0 74px rgba(232, 199, 130, .025);
    content: "";
}

body.page-auth-body .user-auth__brand::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(5, 11, 20, .58), transparent);
    content: "";
}

body.page-auth-body .user-auth__logo {
    width: 212px;
    min-height: 61px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.page-auth-body .user-auth__brand-copy {
    padding: 38px 0 32px;
}

body.page-auth-body .user-auth__brand .user-auth__eyebrow,
body.page-auth-body .user-auth__heading .user-auth__eyebrow {
    color: #e8c782;
    font-size: .66rem;
    letter-spacing: .2em;
}

body.page-auth-body .user-auth__brand h1 {
    max-width: 430px;
    margin: 15px 0 17px;
    color: #f7f4ed !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.08;
}

body.page-auth-body .user-auth__brand-copy > p:last-of-type {
    max-width: 390px;
    color: #d3deeb;
    font-size: .94rem;
    line-height: 1.8;
}

body.page-auth-body .user-auth__benefits {
    gap: 15px;
    margin-top: 30px;
    color: #e4eaf2;
    font-size: .84rem;
}

body.page-auth-body .user-auth__benefits li span,
body.page-auth-body .user-auth__trust span {
    color: #f1dba9;
    background: rgba(232, 199, 130, .1);
    border-color: rgba(232, 199, 130, .42);
}

body.page-auth-body .user-auth__trust {
    color: #c8d3e1;
}

body.page-auth-body .user-auth__form-panel {
    padding: 56px clamp(36px, 6vw, 76px);
    background:
        radial-gradient(ellipse at 100% 0, rgba(232, 199, 130, .08), transparent 35%),
        linear-gradient(155deg, rgba(15, 29, 48, .72), rgba(8, 16, 29, .42));
}

body.page-auth-body .user-auth__heading {
    margin-bottom: 32px;
}

body.page-auth-body .user-auth__heading h2 {
    margin: 12px 0 9px;
    color: #f5f7fb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 3.5vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -.035em;
}

body.page-auth-body .user-auth__heading > p:last-child {
    color: #aebbd0;
}

body.page-auth-body .user-auth__field label {
    color: #dce4ef;
}

body.page-auth-body .user-auth__field input {
    height: 54px;
    color: #f2f5fa;
    background: rgba(4, 11, 21, .5);
    border-color: rgba(156, 177, 202, .24);
    border-radius: 11px;
}

body.page-auth-body .user-auth__field input::placeholder {
    color: #78889e;
}

body.page-auth-body .user-auth__field input:focus {
    background: rgba(4, 11, 21, .76);
    border-color: #e8c782;
    box-shadow: 0 0 0 4px rgba(232, 199, 130, .11);
}

body.page-auth-body .user-auth__label-row a,
body.page-auth-body .user-auth__password-toggle {
    color: #e8c782;
}

body.page-auth-body .user-auth__password-toggle {
    min-height: 0 !important;
    padding: 5px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.page-auth-body .user-auth__label-row a:hover,
body.page-auth-body .user-auth__register a:hover,
body.page-auth-body .user-auth__back:hover {
    color: #f5e4bd;
}

body.page-auth-body.cinematic-theme .user-auth__submit {
    min-height: 56px !important;
    color: #111827 !important;
    background: linear-gradient(110deg, #f1dba9, #e1bb70) !important;
    border: 1px solid rgba(232, 199, 130, .8) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgba(232, 199, 130, .2) !important;
}

body.page-auth-body.cinematic-theme .user-auth__submit:hover {
    color: #111827 !important;
    background: linear-gradient(110deg, #f7e7c2, #edcc8c) !important;
    box-shadow: 0 16px 34px rgba(232, 199, 130, .26) !important;
}

body.page-auth-body .user-auth__divider {
    background: rgba(156, 177, 202, .2);
}

body.page-auth-body .user-auth__register {
    color: #aebbd0;
}

body.page-auth-body .user-auth__register a {
    color: #e8c782;
}

body.page-auth-body .user-auth__back {
    color: #98a8bd;
}

body.page-auth-body .user-auth__message--error {
    color: #ffd2cb;
    background: rgba(167, 49, 54, .16);
    border-color: rgba(239, 133, 123, .32);
}

body.page-auth-body .user-auth__message--success {
    color: #c8f2d8;
    background: rgba(42, 133, 83, .16);
    border-color: rgba(121, 209, 157, .3);
}

body.page-auth-body .user-auth__password-toggle:focus-visible,
body.page-auth-body .user-auth__submit:focus-visible,
body.page-auth-body .user-auth a:focus-visible {
    outline-color: rgba(232, 199, 130, .65);
}

@media (max-width: 760px) {
    body.page-auth-body .user-auth-shell {
        min-height: unset;
        padding: 30px 14px 42px;
    }

    body.page-auth-body .user-auth-card {
        width: min(100%, 540px);
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    body.page-auth-body .user-auth__brand {
        min-height: 250px;
        padding: 24px 26px;
    }

    body.page-auth-body .user-auth__brand-copy {
        padding: 24px 0 4px;
    }

    body.page-auth-body .user-auth__brand h1 {
        max-width: 460px;
        margin: 10px 0 0;
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }

    body.page-auth-body .user-auth__brand-copy > p:last-of-type,
    body.page-auth-body .user-auth__benefits,
    body.page-auth-body .user-auth__trust {
        display: none;
    }

    body.page-auth-body .user-auth__form-panel {
        padding: 32px 26px 30px;
    }
}

@media (max-width: 767px) {
    body.page-auth-body .user-auth__logo {
        width: 190px;
        min-height: 55px;
    }
}

@media (max-width: 380px) {
    body.page-auth-body .user-auth__brand {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.page-auth-body .user-auth__logo {
        width: 170px;
        min-height: 49px;
    }

    body.page-auth-body .user-auth__form-panel {
        padding-right: 20px;
        padding-left: 20px;
    }
}
