/* matriks.basvuru AuthShell sağ panel — iframe giriş (logo yok). */

body.basvuru-page.basvuru-embed.basvuru-page--auth-landing {
    background: transparent !important;
}

body.basvuru-page.basvuru-embed .auth-form-panel {
    min-height: 0 !important;
    background: transparent;
}

body.basvuru-page.basvuru-embed .auth-form-panel__hero-surface,
body.basvuru-page.basvuru-embed .auth-form-panel__veil {
    display: none;
}

.basvuru-page--auth-landing {
    --aff-blue: #0056cb;
    --aff-bg-light: #f3faff;
    --aff-text: #0f172a;
    --aff-text-muted: rgba(0, 18, 59, 0.6);
    --aff-border: #dae3ef;
    --aff-radius-md: 8px;
    --aff-error: #e03e3e;
    min-height: 100vh;
    background: var(--aff-bg-light);
    color: var(--aff-text);
}

.auth-panel__bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.auth-form-panel {
    position: relative;
    overflow: hidden;
    background: var(--aff-bg-light);
    isolation: isolate;
}

.auth-form-panel--solo {
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
}

.auth-form-panel__hero-surface {
    position: absolute;
    inset: 0;
    background-color: var(--aff-bg-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-form-panel__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(243, 250, 255, 0.3) 100%
    );
}

.auth-form-panel__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 24px 16px 32px;
}

.auth-form-panel__center {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.auth-landing-stack {
    width: 100%;
    max-width: 28rem;
}

.auth-landing-stack__gap {
    margin-top: 1.5rem;
}

.auth-landing-footer {
    margin: 1.5rem 0 0;
}

.aff-content-title {
    margin: 0;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--aff-text);
}

.aff-content-title + .auth-landing-steps {
    margin-top: 2rem;
}

.aff-subtitle + .auth-landing-steps {
    margin-top: 1.5rem;
}

.aff-subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--aff-text-muted);
}

.aff-body-sm {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--aff-text-muted);
}

.aff-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--aff-blue);
    text-decoration: none;
    text-underline-offset: 4px;
}

.aff-link:hover {
    text-decoration: underline;
}

.aff-alert {
    border-radius: var(--aff-radius-md);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.aff-alert--error {
    border: 0.7px solid rgba(224, 62, 62, 0.35);
    background: rgba(224, 62, 62, 0.06);
    color: var(--aff-error);
}

/* Portal matriks-signin.css + basvuru theme-affiliate dolu varyant */
.mx-signin {
    --mx-navy: #222165;
    --mx-cyan: #4eb2e5;
    --mx-border: #bfc1b7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--mx-border);
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font:
        500 14px/1 'Avenir Next W1G',
        system-ui,
        -apple-system,
        'Segoe UI',
        sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 120ms,
        border-color 120ms,
        box-shadow 120ms;
}

.mx-signin svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.theme-affiliate a.mx-signin.mx-signin--filled {
    background: var(--aff-blue) !important;
    border-color: var(--aff-blue) !important;
    color: #fff !important;
}

.theme-affiliate a.mx-signin.mx-signin--filled:hover {
    background: #000 !important;
    border-color: #000 !important;
}

.theme-affiliate a.mx-signin.mx-signin--filled:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 178, 229, 0.45);
}

@media (min-width: 640px) {
    .auth-form-panel__content {
        padding: 24px 32px 40px;
    }
}

@keyframes authLandingIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-landing-fade {
    animation: authLandingIn 0.55s ease both;
}

.auth-landing-fade--2 {
    animation-delay: 0.06s;
}

.auth-landing-fade--3 {
    animation-delay: 0.12s;
}

.auth-landing-fade--4 {
    animation-delay: 0.18s;
}

.auth-landing-fade--5 {
    animation-delay: 0.24s;
}

.auth-landing-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-landing-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--aff-text);
}

.auth-landing-steps__n {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(0, 86, 203, 0.12);
    color: var(--aff-blue);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.welcome-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 0.7px solid rgba(0, 86, 203, 0.25);
    background: linear-gradient(90deg, rgba(0, 86, 203, 0.08), rgba(78, 178, 229, 0.12));
    font-size: 13px;
    line-height: 1.45;
    color: var(--text, #0f172a);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.welcome-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome-toast__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #0056cb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.welcome-toast__close {
    margin-left: auto;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.5);
    padding: 0 4px;
}

@media (prefers-reduced-motion: reduce) {
    .auth-landing-fade {
        animation: none;
    }

    .welcome-toast {
        transition: none;
    }
}
