/* Privát hozzáférés rendszer stílusok */

.private-login-form,
.private-register-form,
.private-change-password-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.private-login-form h2,
.private-register-form h2,
.private-change-password-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #005a87;
}

.btn-submit:active {
    background: #004a73;
}

/* Üzenetek */
.message {
    margin-top: 15px;
    padding: 0;
    text-align: center;
}

.message .success {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.message .error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

.message .loading {
    background: #d1ecf1;
    color: #0c5460;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #bee5eb;
}

/* Linkek */
.private-login-form p,
.private-register-form p {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.private-login-form a,
.private-register-form a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.private-login-form a:hover,
.private-register-form a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 480px) {
    .private-login-form,
    .private-register-form,
    .private-change-password-form {
        margin: 10px;
        padding: 20px;
    }
    
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 10px 14px;
        font-size: 16px; /* iOS-ben megakadályozza a zoom-ot */
    }
}

/* Kijelentkezés link */
.private-logout {
    text-align: center;
    margin: 20px 0;
}

.private-logout a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #dc3545;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.private-logout a:hover {
    background: #dc3545;
    color: white;
    text-decoration: none;
}

/* Üdvözlő üzenet bejelentkezett felhasználónak */
.private-welcome {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    text-align: center;
    margin: 20px 0;
}

.private-welcome strong {
    font-weight: 600;
}