/* Giriş / kurulum sayfaları - örnek projedeki auth tasarımı, admin mavisine uyarlanmış */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.auth-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: fixed;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, .10) 0%, transparent 70%);
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: fixed;
    bottom: -200px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, .08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    animation: fadeUp .5s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.auth-logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .3);
}

.auth-logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

.auth-logo-text small {
    display: block;
    font-weight: 500;
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: 0;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}

.auth-subtitle {
    font-size: .9rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 1.75rem;
}

.auth-form-group { margin-bottom: 1.1rem; }

.auth-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: #334155;
}

.auth-input-wrap { position: relative; }

.auth-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: .9rem;
}

.auth-input {
    width: 100%;
    padding: .75rem .9rem .75rem 2.75rem;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    background: var(--bg);
    font-size: .93rem;
    font-family: inherit;
    color: var(--text);
    transition: all .2s;
    outline: none;
}

.auth-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .25rem 0 1.35rem;
    font-size: .85rem;
    color: var(--text-muted);
}

.auth-row label { display: flex; align-items: center; gap: .45rem; cursor: pointer; }

.btn-auth {
    width: 100%;
    padding: .85rem;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .3);
    transition: all .2s;
}

.btn-auth:hover { background: var(--primary-dark); transform: translateY(-2px); }

.auth-alert {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .8rem .95rem;
    border-radius: 11px;
    font-size: .86rem;
    margin-bottom: 1.2rem;
}

.auth-alert.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.auth-alert.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.auth-alert i { margin-top: 2px; }

.auth-footer {
    text-align: center;
    margin-top: 1.4rem;
    font-size: .78rem;
    color: var(--text-light);
}
