/* Reset and Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container Styling */
.container {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Label Styling */
label {
    display: block;
    font-weight: bold;
    color: #555;
    margin-top: 15px;
}

/* Input and Textarea Styling */
input[type="text"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-size: 1em;
    background-color: #f9f9f9;
}

/* Input Focus Effect */
input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

/* Button Styling */
button {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Back Button Styling */
.back-button {
    margin-top: 10px;
    background-color: #6c757d;
}

.back-button:hover {
    background-color: #5a6268;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    input[type="text"], select, textarea {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }
}
