/* --- index.css --- */

/* 1. Teljes képernyős háttér és középre rendezés */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f7f6; /* Kellemes, halvány háttérszín, ami kiemeli a kártyát */
    font-family: 'Montserrat', sans-serif;
}

/* 2. A beléptető doboz (Kártya stílus) */
.kozepre {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Kicsit hangsúlyosabb árnyék a térbeliségért */
    padding: 40px;
    width: 100%;
    max-width: 400px; /* Asztali gépen sem lesz túlzottan széles */
    box-sizing: border-box;
}

/* 3. Címsor (H2) */
.kozepre h2 {
    color: #2c3e50;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* 4. Form elemek - Címkék (Labels) */
.kozepre form label {
    display: block; /* Hogy a mező fölé kerüljön */
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 5. Form elemek - Beviteli mezők (Inputs) */
.kozepre form input[type="email"],
.kozepre form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px; /* Távolság a következő elemtől */
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
    background-color: #f7fafc;
    transition: all 0.3s ease;
    box-sizing: border-box; /* A padding ne növelje meg a 100%-os szélességet */
}

/* Fókusz állapot (amikor belekattint) */
.kozepre form input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
    background-color: #ffffff;
}

/* 6. Belépés gomb */
.kozepre form button {
    width: 100%; /* Teljes szélességű gomb */
    background-color: #3182ce;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
}

.kozepre form button:hover {
    background-color: #2b6cb0;
}

.kozepre form button:active {
    transform: scale(0.97);
}

/* 7. Üzenetek formázása (ha esetleg hiba történik a belépésnél) */
.uzenetek {
    margin-bottom: 20px;
}