//*
Készítette: Leményi Tamás
Modernizálta és összefésülte: Gemini
*/

a:link {
    color: #356011;
}
a:hover {
    text-decoration: underline;
    color: #353535;
}
a:visited {
    color: #356011;
}

/* Alapbeállítások a konzisztens megjelenésért */
* {
    border: 0;
    margin: 0;
    padding: 0; /* A padding alaphelyzetbe állítása is fontos */
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Fő konténer, ami a hátteret és a középre igazítást végzi */
#hatter {
    background: url(../pictures/background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Hozzáadva, hogy kisebb képernyőn se tapadjon a széléhez a box */
}

/* A bejelentkező doboz fő stílusa (korábban táblázat volt, most egy div) */
.tblLogin {
    width: 400px;
    max-width: 100%; /* Hogy reszponzív maradjon */
    border: #696969 2px solid;
    background: rgba(255, 230, 179, 0.85); /* Az opacity helyett RGBA-t használunk, hogy a szöveg ne legyen áttetsző */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

/* A form fejlécének stílusa (logó és cím) */
.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px; /* Térköz a logó és a szöveg között */
}

.form-header img {
    height: 40px; /* Opcionális: a logó méretének beállítása */
}

.form-header h1 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* A beviteli mezők csoportja (label + input) */
.input-group {
    margin-bottom: 15px;
}

/* Hibaüzenet stílusa */
.message {
    color: #D8000C; /* Jobban olvasható piros árnyalat */
    background-color: #FFD2D2;
    border: 1px solid #D8000C;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}

/* Beviteli mezők stílusa */
.login-input {
    border: #CCC 1px solid;
    border-radius: 6px; /* Lekerekítés a modernebb kinézethez */
    padding: 12px 15px;
    width: 100%;
    font-size: 16px;
}

.login-input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}

/* Beküldés gomb stílusa */
.btnSubmit {
    width: 100%; /* A gomb töltse ki a rendelkezésre álló teret */
    border-radius: 6px;
    padding: 12px 20px;
    background: #ff6600;
    border: #d1e8ff 1px solid;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.btnSubmit:hover {
    background: #e65c00;
    border-color: #ff6600;
    color: #fff;
}
