/* General body styling */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
}

/* Container for the form */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Form view styling */
#form-view {
    width: 100%;
    max-width: 400px; /* Max width for larger screens */
    text-align: center;
}

/* Headings */
h2 {
    font-size: 2em;
    color: #FFA500;
    margin-bottom: 10px;
}

/* Specific styling for the success message heading */
#success-view h2.success {
    color: #FFA500;
}

/* Sub-headings and paragraphs */
p {
    margin-bottom: 20px;
}

/* Form styling */
#reset-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input fields */
input[type="password"] {
    padding: 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
    font-size: 1em;
}

/* Error message */
.error {
    color: #ff4d4d;
    margin-bottom: 10px;
}

/* Submit button */
button {
    padding: 15px;
    border-radius: 25px;
    border: none;
    background-color: #FFA500;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
}

/* Views for loading, error, and success messages */
#loading-view, #error-view, #success-view {
    text-align: center;
}

/* This is the rule that hides the views by default */
#form-view, #error-view, #success-view {
    display: none;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
    h2 {
        font-size: 1.5em;
    }

    button {
        font-size: 1em;
    }
}