body {
    background-image: url('bg_minblur.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin: 0;
}

.container_login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease-in-out;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: 2px;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1em;
    text-align: center;
    transition: border-color 0.3s ease;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #ffffff;
    outline: none;
}

button:hover {
    background-color: #0060c7;
}

button:focus {
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobil optimalizálás */
@media (max-width: 770px) {
    .container_login {
        width: 90%;
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 1em;
    }

    button {
        font-size: 1em;
    }
}
