/* --- RPG STÍLUSÚ LOGIN ÉS REGISZTRÁCIÓ --- */
body {
    margin: 0;
    min-height: 100vh;
    /* Kocsma/utca sötét háttér szimulálása */
    background: radial-gradient(circle at 50% 30%, #3a2518 0%, #100a07 70%, #000000 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    place-items: center;
    color: #e6d5b8;
}

.login-container {
    /* Sötét panel arany/bronz kerettel */
    background: linear-gradient(180deg, rgba(30, 20, 20, 0.95), rgba(15, 10, 10, 0.98));
    border: 2px solid #8c6a3a;
    border-radius: 8px;
    padding: 45px 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 0 15px rgba(200, 150, 50, 0.1);
    box-sizing: border-box;
    position: relative;
}

/* Finom belső arany vonal, mint a játékon belüli dobozoknál */
.login-container::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px solid rgba(181, 131, 50, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

.login-container h1 {
    margin: 0 0 35px 0;
    font-size: 46px;
    color: #fce196; /* Ragyogó világosarany */
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; /* Klasszikus RPG betűtípus */
    text-shadow: 0 3px 6px rgba(0,0,0,0.9), 0 0 12px rgba(252, 225, 150, 0.2);
    letter-spacing: 1px;
}

.input-group {
    text-align: left;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.input-group label {
    display: block;
    color: #c9b187; /* Tompa arany/homok szín */
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #5c4028;
    background: #110a07; /* Nagyon sötét barna/fekete */
    color: #fce196;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6);
}

.input-group input:focus {
    outline: none;
    border-color: #b58332;
    background: #1a100b;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6), 0 0 10px rgba(181, 131, 50, 0.4);
}

.btn-login {
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    border: 1px solid #ffdb70;
    border-radius: 6px;
    background: linear-gradient(180deg, #dfa23a, #8c5213); /* RPG-s arany gomb */
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.1s ease;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-login:hover {
    background: linear-gradient(180deg, #f0b54d, #9c5c16);
    box-shadow: 0 6px 15px rgba(0,0,0,0.7), 0 0 15px rgba(223, 162, 58, 0.5), inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-login:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.8), inset 0 2px 5px rgba(0,0,0,0.5);
}

.register-link {
    margin-top: 25px;
    color: #8c7861;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.register-link a {
    color: #dfa23a;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.register-link a:hover {
    color: #fce196;
    text-shadow: 0 0 8px rgba(252, 225, 150, 0.4);
}

/* --- HIBAJELZÉS STÍLUSOK --- */
.input-error {
    border-color: #ff3333 !important;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6), 0 0 10px rgba(255, 51, 51, 0.4) !important;
}

.error-message {
    color: #ff4444;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    display: none; /* Alapból rejtett */
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    letter-spacing: 1px;
}
