body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

.panel {
    background: #fff;
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
}

h1, h2 {
    text-align: center;
    color: #333;
}

#user-list {
    margin-bottom: 20px;
}

.user {
    background: #e9ecef;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
}

form input {
    display: block;
    width: 94%;
    margin: 8px auto;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}
.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}
.forgot-password a {
    font-size: 0.9em;
}

/* Style dla formularza zmiany hasĹa */
.password-change-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-change-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 0; /* Reset domyĹlnego marginesu */
}

.password-change-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.password-change-form button[type="submit"]:hover {
    background-color: #0056b3;
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}
.forgot-password a {
    font-size: 0.9em;
}

/* Style dla formularza zmiany hasĹa */
.password-change-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-change-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 0; /* Reset domyĹlnego marginesu */
}

.password-change-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

.password-change-form button[type="submit"]:hover {
    background-color: #0056b3;
}