:root {
    --bg-main: #f3f4f6;
    --accent: #4f46e5;
    --accent-soft: #e0e7ff;
    --accent-2: #ec4899;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
}

/* GENEL */

body {
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top left, #eef2ff, transparent 55%),
                radial-gradient(circle at bottom right, #ffe4e6, transparent 55%),
                #f9fafb;
    color: var(--text-main);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* SOL TARAF (HERO) */

.auth-side {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #f9fafb;
}

.auth-brand-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.auth-brand-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.auth-hero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.auth-hero-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 420px;
}

.auth-footer {
    font-size: 12px;
    color: var(--text-muted);
}

/* SAĞ TARAF (FORM) */

.auth-form-side {
    flex: 1;
    max-width: 420px;
    padding: 36px 32px;
    background: #ffffff;
    border-left: 1px solid var(--border-soft);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.auth-form-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* FORM ELEMANLARI */

.form-label {
    font-size: 12px;
    color: var(--text-muted);
}

.form-control {
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 8px 12px;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.btn-gradient {
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    font-size: 14px;
    padding: 8px 12px;
    color: #f9fafb;
}

.btn-gradient:hover {
    opacity: 0.95;
}

.auth-link {
    color: #4f46e5;
    text-decoration: none;
}
.auth-link:hover {
    text-decoration: underline;
}

/* Hata mesajları */

.auth-error {
    font-size: 12px;
    color: #b91c1c;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
    }
    .auth-side {
        padding: 24px 20px;
    }
    .auth-form-side {
        max-width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-soft);
        box-shadow: 0 -10px 40px rgba(15,23,42,0.06);
        padding: 24px 20px 32px;
    }
    .auth-hero-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .auth-side {
        display: none; /* Küçük ekranda sadece form kalsın istersen */
    }
    .auth-form-side {
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
    }
}
