/* Auth pages — güvenlik / izleme temalı zemin */
:root {
    --biges-red: #dc3545;
    --biges-blue: #0d6efd;
    --auth-bg: #0a1524;
    --auth-surface: #ffffff;
}

.auth-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212529;
    background: var(--auth-bg);
    position: relative;
    overflow: hidden;
}

/* Soft brand ambient */
.auth-body::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 15% 20%, rgba(220, 53, 69, 0.28), transparent 55%),
        radial-gradient(ellipse 45% 35% at 85% 75%, rgba(13, 110, 253, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(13, 110, 253, 0.12), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Monitoring grid */
.auth-body::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.auth-radar {
    position: absolute;
    width: min(90vw, 720px);
    height: min(90vw, 720px);
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow:
        0 0 0 48px rgba(13, 110, 253, 0.04),
        0 0 0 96px rgba(220, 53, 69, 0.03);
    pointer-events: none;
    z-index: 0;
    animation: auth-pulse 10s ease-in-out infinite;
}

.auth-radar::before,
.auth-radar::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-radar::after {
    inset: 36%;
    border-color: rgba(220, 53, 69, 0.1);
}

@keyframes auth-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

.auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 24px 20px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-brand img {
    max-width: 260px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.auth-card {
    background: var(--auth-surface);
    border: none;
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: auth-rise 0.45s ease-out;
}

@keyframes auth-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card-head {
    padding: 1.75rem 1.75rem 0.25rem;
    text-align: center;
}

.auth-card-head h1 {
    font-size: 1.25rem;
    font-weight: 650;
    color: #0a1524;
    margin: 0;
    letter-spacing: -0.02em;
}

.auth-card-head p {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.auth-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.auth-card-foot {
    background: #f4f6f8;
    padding: 1rem 1.25rem;
    text-align: center;
    border-top: 1px solid #e8ecf0;
}

.auth-card-foot small {
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.5;
}

.auth-card-foot a {
    color: var(--biges-blue);
    text-decoration: none;
}

.auth-card-foot a:hover {
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(135deg, var(--biges-red) 0%, #b02a37 40%, var(--biges-blue) 100%);
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    width: 100%;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
}

.auth-link {
    color: var(--biges-blue);
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-link:hover {
    color: var(--biges-red);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-shell { padding: 16px 12px; }
    .auth-brand img { max-width: 200px; }
    .auth-card-head,
    .auth-card-body { padding-left: 1.25rem; padding-right: 1.25rem; }
}
