/* Giriş sayfası stilleri.
   WEB-002/WEB-003 (CSP): stiller Login.cshtml içindeki <style> bloğundan buraya taşındı.
   CSP'de style-src-elem 'self' olduğu için sayfa içi <style> blokları artık yüklenmiyor.
   WEB-009: Inter self-host edildi (dış Google Fonts <link> yok, SRI riski yok).
   Inter v20 latin variable font — tek dosya, 100-900 ağırlık ekseni. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: url('/images/bg-stock-login.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.logo-box {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid #ddd;
}

    .logo-box img {
        max-height: 60px;
        max-width: 100%;
        object-fit: contain;
    }

h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
    color: #333;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 16px;
    font-size: 16px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

button {
    width: 100%;
    background-color: #28a745;
    border: none;
    padding: 12px;
    font-size: 16px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.text-danger {
    color: red;
    font-size: 14px;
}

.error-message {
    color: red;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 480px) {
    .card {
        padding: 24px;
    }
}

.login-heading {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
    padding-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
