/* styles.css */

/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Form container styling */
#form-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

/* Question container styling */
#question-container {
    margin-bottom: 2rem;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

/* Label styling */
label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

/* Input, select, and textarea styling */
input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.2rem;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: #1e90ff;
    outline: none;
}

/* Button styling */
button {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background-color: #1e90ff;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #1c86ee;
    transform: scale(1.05);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.4);
}
