/* Primeviare — site yönetim giriş (ortalanmış) */
:root {
    --sl-brand: #565941;
    --sl-brand-dark: #484b38;
    --sl-brand-muted: rgba(86, 89, 65, 0.12);
}

body.sl-login-body {
    font-family: "DM Sans", system-ui, sans-serif;
    min-height: 100vh;
    margin: 0;
}

.sl-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 0, 0, 0.12), transparent 50%),
        linear-gradient(160deg, #565941 0%, #484b38 50%, #3d4030 100%);
}

.sl-login::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.sl-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    padding: 2.25rem 2rem 2rem;
    animation: slCardIn 0.5s ease-out;
}

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

.sl-card__head {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(86, 89, 65, 0.1);
}

.sl-card__logo {
    height: 64px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sl-card__brand {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--sl-brand);
    margin-bottom: 0.25rem;
}

.sl-card__tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #6b6e62;
}

.sl-card__sub {
    font-size: 0.9rem;
    color: #6b6e62;
}

.sl-card .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3d4030;
}

.sl-card .form-control {
    border-radius: 12px;
    border-color: rgba(86, 89, 65, 0.2);
    padding: 0.7rem 0.95rem;
    font-size: 0.9375rem;
}

.sl-card .form-control:focus {
    border-color: rgba(86, 89, 65, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(86, 89, 65, 0.12);
}

.sl-card .input-group .btn {
    border-radius: 0 12px 12px 0;
    border-color: rgba(86, 89, 65, 0.2);
    background: #fafaf8;
    color: var(--sl-brand);
}

.sl-card .input-group .btn:hover {
    background: var(--sl-brand-muted);
    color: var(--sl-brand-dark);
}

.sl-card .form-check-input:checked {
    background-color: var(--sl-brand);
    border-color: var(--sl-brand);
}

.sl-btn-submit {
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    width: 100%;
    color: #fff;
    background: var(--sl-brand);
    box-shadow: 0 8px 24px rgba(86, 89, 65, 0.25);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.sl-btn-submit:hover {
    color: #fff;
    background: var(--sl-brand-dark);
    box-shadow: 0 12px 32px rgba(86, 89, 65, 0.3);
}

.sl-btn-submit:active { transform: scale(0.99); }

.sl-alert {
    border-radius: 12px;
    font-size: 0.8125rem;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.sl-alert--error {
    background: #fef2f2;
    color: #b91c1c;
}

.sl-alert--success {
    background: #f5f5f0;
    color: var(--sl-brand-dark);
}

.sl-links {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    text-align: center;
}

.sl-links a {
    color: #6b6e62;
    text-decoration: none;
    font-weight: 500;
}

.sl-links a:hover { color: var(--sl-brand); }

.sl-foot-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: #8a8d7e;
}

.sl-otp-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: var(--sl-brand-muted);
    color: var(--sl-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.sl-otp-input {
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-align: center;
    padding: 0.85rem 1rem;
}

.sl-otp-hint {
    font-size: 0.85rem;
    color: #6b6e62;
    line-height: 1.6;
}

.sl-otp-hint strong {
    color: var(--sl-brand-dark);
    font-weight: 600;
}
