﻿:root {
    --primary: #00162d;
    --accent: #3f87f5;
    --text: #2c3e50;
    --bg: #f9fafc;
    --card-bg: #ffffff;
    --border: #e0e6ed;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-container {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    font-family: "Roboto", sans-serif;
}

.login-container h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--primary);
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

input[type="password"] {
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input[type="password"]:focus {
    border-color: var(--primary);
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #003d99;
}

.error-message {
    color: #d32f2f;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}