body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #3f3f3f;
    color: white; /* Set text color to white for the entire body */
}

header {
    background-color: #242020;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white; /* Ensure text color in main is white */
}

form {
    background: #595859;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 300px;
    color: white; /* Ensure text color in form is white */
}

form div {
    margin-bottom: 1rem;
    color: white; /* Ensure text color in form divs is white */
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: white; /* Ensure text color in labels is white */
}

input {
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    color: white; /* Ensure text color in inputs is white */
    background-color: #3f3f3f; /* Change input background to blend with theme */
    border: 1px solid #595859; /* Change border color to blend with theme */
}

button {
    padding: 0.7rem;
    background: #333;
    color: white;
    border: none;
    width: 100%;
    cursor: pointer;
}

button:hover {
    background: #232323;
}

#message {
    margin-top: 1rem;
    color: red; /* Keep the error message in red to make it stand out */
}
