html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.login-page {
    min-height: 100vh;

    background:
        linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)),
        url("/static/images/default_login.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    text-align: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.94);
    padding: 34px 30px;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.logo-container {
    margin-bottom: 14px;
}

.logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.login-box h1 {
    margin: 0;
    font-size: 30px;
    color: #111827;
}

.login-box h3 {
    margin: 8px 0 24px;
    font-size: 18px;
    color: #4b5563;
    font-weight: 500;
}

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

.login-box input {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

.login-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.login-box button {
    margin-top: 6px;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.login-box button:hover {
    background: #1f2937;
}

.login-error {
    margin: 0 0 8px;
    color: #b91c1c;
    font-size: 14px;
}

.copyright {
    margin-top: 18px;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}