/* moonon.uk - Tam ekran kurumsal giris arayuzu (/tr/giris) */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #002554;
    color: #07122F;
    -webkit-font-smoothing: antialiased;
}

.auth-viewport {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #ffffff;
    padding: 20px;
    display: flex;
}

.auth-canvas {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 40px);
    min-height: calc(100dvh - 40px);
    background: #002554;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dekoratif yarim ay halkalari */
.auth-ring {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    color: rgba(255, 255, 255, 0.5);
}

.auth-ring--top {
    width: min(50vw, 720px);
    height: auto;
    top: -20vh;
    left: -10vw;
}

.auth-ring--bottom {
    width: min(70vw, 1020px);
    height: auto;
    bottom: -68vh;
    right: -14vw;
}

/* Ana iki sutun duzeni (Masaustunde form solda, hero metni sagda) */
.auth-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1220px;
    padding: 48px 36px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

/* Sag taraf: MOON'A Hos Geldiniz */
.auth-hero {
    flex: 1 1 50%;
    max-width: 520px;
    color: #ffffff;
    padding-left: 48px;
}

.auth-hero-mark {
    display: block;
    width: 64px;
    height: 59px;
}

.auth-hero-line-wrap {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 28px;
    margin-top: 24px;
    padding-left: 28px;
}

.auth-hero-title {
    margin: 0 0 0 -54px;
    padding: 14px 0;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0.015em;
    color: #ffffff;
}

.auth-hero-desc {
    margin: 14px 0 0;
    max-width: 360px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}

.auth-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.auth-explore-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.auth-explore-btn:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

/* Sol taraf: Beyaz giris karti */
.auth-form-col {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 392px;
    background: #ffffff;
    padding: 46px 40px 40px;
    box-shadow: 0 22px 54px rgba(0, 14, 38, 0.26);
}

.auth-card-title {
    margin: 0 0 12px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #07122F;
}

.auth-card-title strong {
    font-weight: 600;
}

.auth-card-lead {
    margin: 0 0 28px;
    font-size: 12.5px;
    line-height: 1.65;
    color: #8D93A1;
}

.account-info {
    margin: 0 0 16px;
    padding: 10px 14px;
    font-size: 13px;
    color: #0f4a2b;
    background: #e8f6ee;
    border-radius: 4px;
}

.account-errors {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: #7f1d1d;
    background: #fdf2f2;
    border: 1px solid #f0c4c4;
    border-radius: 4px;
}

.account-errors-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
}

.account-errors ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
}

.account-errors a {
    color: inherit;
    text-decoration: underline;
}

.account-errors:focus {
    outline: none;
}

.account-errors:focus-visible {
    outline: 3px solid #4a7bff;
    outline-offset: 2px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input-wrap {
    position: relative;
    width: 100%;
}

.auth-input {
    width: 100%;
    padding: 17px 18px;
    font: inherit;
    font-size: 14px;
    letter-spacing: 0.015em;
    color: #002554;
    background: rgba(124, 149, 177, 0.11);
    border: 1.5px solid transparent;
    border-radius: 0;
    outline: none;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.auth-input--password {
    padding-right: 54px;
}

.auth-input::placeholder {
    color: #9ba8b8;
    font-weight: 300;
}

.auth-input:focus {
    background: rgba(124, 149, 177, 0.16);
    border-color: #002554;
}

.auth-input[aria-invalid="true"] {
    border-color: #b91c1c;
    background: rgba(185, 28, 28, 0.05);
}

.auth-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #002554;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.auth-eye-btn:hover {
    opacity: 1;
}

.auth-eye-btn:focus-visible {
    outline: 2px solid #002554;
    outline-offset: 2px;
}

.auth-eye-btn .eye-closed[hidden],
.auth-eye-btn .eye-open[hidden] {
    display: none;
}

.auth-field-error {
    margin: 5px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #b91c1c;
}

.auth-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.auth-remember input {
    width: 16px;
    height: 16px;
    accent-color: #002554;
    margin: 0;
    cursor: pointer;
}

.auth-forgot {
    color: #002554;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot:hover {
    color: #001C3F;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    background: #002554;
    color: #ffffff;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.15s ease;
}

.auth-submit:hover {
    background: #001C3F;
}

.auth-submit:active {
    transform: scale(0.99);
}

.auth-submit:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.auth-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 22px 0 18px;
}

.auth-signup-note {
    margin: 0;
    font-size: 13.5px;
    color: #07122F;
}

.auth-signup-note a {
    color: #002554;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.auth-signup-note a:hover {
    color: #001C3F;
    text-decoration: underline;
}

/* Sag alt: Beyaz kesim icinde Moon Business markasi */
.auth-notch {
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 3;
    width: 390px;
    height: 146px;
    pointer-events: none;
}

.auth-notch-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.auth-brand-badge {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 34px 28px 12px 124px;
    display: flex;
    align-items: center;
    gap: 18px;
    pointer-events: auto;
}

.auth-brand-badge-icon {
    width: 50px;
    height: 46px;
    flex: 0 0 auto;
}

.auth-brand-badge-title {
    margin: 0;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #07122F;
}

.auth-brand-badge-copy {
    margin: 5px 0 0;
    font-size: 11px;
    font-weight: 400;
    color: #8D93A1;
}

.auth-mobile-footer {
    display: none;
}

.auth-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Mobil ve Tablet (< 1024px) */
@media screen and (max-width: 1023px) {
    .auth-viewport {
        padding: 0;
        background: #002554;
    }

    .auth-canvas {
        min-height: 100vh;
        min-height: 100dvh;
        border-radius: 0;
        align-items: flex-start;
    }

    .auth-inner {
        flex-direction: column;
        gap: 36px;
        padding: 40px 20px 36px;
    }

    .auth-hero {
        width: 100%;
        max-width: 400px;
        padding-left: 0;
    }

    .auth-hero-title {
        font-size: 36px;
        margin-left: -40px;
    }

    .auth-hero-line-wrap {
        margin-left: 20px;
        padding-left: 20px;
    }

    .auth-form-col {
        width: 100%;
    }

    .auth-card {
        max-width: 400px;
        padding: 36px 26px 32px;
    }

    .auth-notch {
        display: none;
    }

    .auth-mobile-footer {
        display: block;
        width: 100%;
        text-align: center;
        color: #ffffff;
        padding-bottom: 12px;
    }

    .auth-mobile-footer-title {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .auth-mobile-footer-copy {
        margin: 6px 0 0;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.72);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-explore-btn,
    .auth-input,
    .auth-eye-btn,
    .auth-submit {
        transition: none;
    }
}
