/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE CSS — Montaj Panel
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #4f63d2;
    --primary-d: #3a4dbf;
    --accent:    #7c3aed;
    --bg:        #0f1117;
    --surface:   rgba(255,255,255,0.04);
    --border:    rgba(255,255,255,0.1);
    --text:      #e2e8f0;
    --text-muted:#94a3b8;
    --radius:    16px;
}

body.login-body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text);
}

/* ── Arka Plan Orbs ──────────────────────────────────────────── */
.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: orb-float 8s ease-in-out infinite alternate;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -200px; left: -150px;
    animation-delay: 0s;
}
.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -150px; right: -100px;
    animation-delay: 3s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #06b6d4, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes orb-float {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.1); }
}

/* ── Login Kartı ─────────────────────────────────────────────── */
.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.login-card {
    background: rgba(15, 17, 23, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    animation: card-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Logo & Başlık ───────────────────────────────────────────── */
.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(79,99,210,0.4);
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(79,99,210,0.4); }
    50%       { box-shadow: 0 8px 32px rgba(79,99,210,0.7); }
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.login-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Input Group ─────────────────────────────────────────────── */
.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 2.75rem;
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
    border-color: var(--primary);
    background: rgba(79,99,210,0.08);
    box-shadow: 0 0 0 3px rgba(79,99,210,0.2);
}

.form-input:focus + .input-icon { color: var(--primary); }

.eye-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.eye-toggle:hover { color: var(--primary); }

/* ── Login Butonu ────────────────────────────────────────────── */
.btn-login {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(79,99,210,0.35);
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79,99,210,0.5);
}

.btn-login:active:not(:disabled) { transform: translateY(0); }

.btn-login:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-loader { display: flex; align-items: center; gap: 0.5rem; }

.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Alert ───────────────────────────────────────────────────── */
.alert-custom {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    animation: alert-in 0.2s ease;
}

@keyframes alert-in {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.alert-danger  { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.3);  color: #86efac;  }

/* ── Footer ──────────────────────────────────────────────────── */
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
