/* Login sayfası stilleri */

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

body.login-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #3b82f6, #0f172a 60%);
    color: #e5e7eb;
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.94);
    border-radius: 18px;
    padding: 28px 26px 18px;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(16px);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.login-logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.65);
}

.login-logo-text {
    font-weight: 700;
    color: #f9fafb;
    font-size: 18px;
    letter-spacing: 0.08em;
}

.login-brand-text h1 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #f9fafb;
}

.login-brand-text p {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
}

.login-alert {
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    margin-bottom: 16px;
}

.login-alert-error {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.6);
    color: #fecaca;
}

/* Form */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    color: #e5e7eb;
}

.form-group input {
    border-radius: 10px;
    border: 1px solid #4b5563;
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    padding: 9px 11px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4), 0 0 0 8px rgba(37, 99, 235, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

/* Şifre alanı */

.password-input-wrapper {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    border: 1px solid #4b5563;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.password-input-wrapper input {
    border: none;
    border-radius: 0;
    flex: 1;
    background: transparent;
    box-shadow: none;
    padding-right: 0;
}

.password-input-wrapper input:focus {
    box-shadow: none;
    border: none;
}

.password-input-wrapper:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4), 0 0 0 8px rgba(37, 99, 235, 0.25);
}

.toggle-password {
    border: none;
    background: transparent;
    padding: 0 10px;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
    border-left: 1px solid #4b5563;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.toggle-password:hover {
    background-color: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

/* Butonlar */

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #f9fafb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
    min-width: 120px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
}

/* Linkler */

.link-forgot {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

.link-forgot:hover {
    color: #e5e7eb;
}

/* Alt bilgi */

.login-footer {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(55, 65, 81, 0.7);
    font-size: 11px;
    color: #9ca3af;
}

.login-footer .demo-info {
    margin: 0 0 6px;
}

.login-footer code {
    background: rgba(15, 23, 42, 0.9);
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid rgba(55, 65, 81, 0.8);
}

.login-footer .copy {
    margin: 0;
    text-align: right;
    color: #6b7280;
}

/* Responsive */

@media (max-width: 480px) {
    .login-card {
        padding: 22px 18px 14px;
    }

    .login-brand-text h1 {
        font-size: 18px;
    }
}
