* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    /*background:
            linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.9)),
            url('/img/background/mafia_game.png') center center/cover no-repeat;
    background-size: cover;*/
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.login-container {
    width: 420px;
    padding: 40px;
    border-radius: 24px;
    background: rgba(15, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
            0 0 40px rgba(0, 119, 255, 0.25),
            0 0 120px rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.7s ease;
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo span {
    color: #1e90ff;
}

.subtitle {
    margin-top: 8px;
    font-size: 14px;
    color: #b8c2d1;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #d7dce3;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #111827;
    color: white;
    font-size: 15px;
    transition: 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1e90ff;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.2);
}

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0066ff, #00a2ff);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 255, 0.35);
}

.extra-links {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.extra-links a {
    color: #7ab8ff;
    text-decoration: none;
    transition: 0.2s;
}

.extra-links a:hover {
    color: white;
}

.error-message {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ffb3b3;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-text {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: #7b8594;
}

.bg-logo {
    position: absolute;
    width: 700px;
    opacity: 0.50;
    pointer-events: none;
    user-select: none;
}