/* Alapstílus minden oldalhoz (PHP, HTML stb.) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: url('https://wallpapercave.com/wp/wp5128415.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Üveges hatású box (bejelentkezés, regisztráció stb.) */
.glass-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    margin: 40px 20px;
}

/* Cím színezés */
.glass-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: #ff4d4d;
}

/* Űrlapmezők */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: white;
}

.form-control::placeholder {
    color: #ddd;
}

.form-control:focus {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.8);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Bejelentkezés, regisztráció gomb */
.btn-red {
    background-color: #ff1a1a;
    border: none;
    width: 100%;
    font-weight: bold;
    padding: 10px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-red:hover {
    background-color: #cc0000;
}

/* Vissza gomb */
.btn-back {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Hibaüzenet stílus */
.error-msg {
    color: #ff4d4d;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Általános link színezés */
a {
    color: #ff4d4d;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}
