body {
    font-family: Arial, sans-serif;
    background-color: #FFF8E1; /* Matches the main page background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color: #ffffff;
    padding: 40px;
    width: 90%;
    max-width: 400px;
}

h1 {
    color: #5D4037; /* Harmonizing title color with the main page */
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: none;
    margin-bottom: 20px;
}

form.active {
    display: block;
}

* {
    box-sizing: border-box; /* Apply box-sizing to all elements */
}

.form-group input, button {
    width: calc(100% - 20px); /* Adjusting width based on padding */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px 10px; /* Adjust if necessary to match your design */
}

.form-group input {
    display: block;
    background-color: #fadeb0; /* Input background color to match main page */
    color: #5D4037; /* Input text color to match main page */
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #5D4037; /* Consistent label color with the main page */
}

button {
    background-color: #FFB74D; /* Button color matching the main page */
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #FFA726; /* Hover effect matching the main page */
}

.toggle {
    text-align: center;
    margin-top: 20px;
}

.toggle a {
    cursor: pointer;
    color: #007bff;
    text-decoration: none;
}

#error-message {
    color: red;
    text-align: center;
    margin-top: 20px;
}
