/* General body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
}

/* Form container */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Form heading */
.form-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
}

/* Success message */
.success-message {
    display: none; /* hide by default */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

/* Labels */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Required asterisk */
.required {
    color: red;
}

/* Input group */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Error messages */
.error {
    color: red;
    font-size: 13px;
    margin-top: 5px;
    display: none; /* hide by default, show via JS */
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-submit,
.btn-reset {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

/* Submit button */
.btn-submit {
    background-color: #007bff;
    color: white;
}

.btn-submit:hover {
    background-color: #0069d9;
}

/* Reset button */
.btn-reset {
    background-color: #6c757d;
    color: white;
}

.btn-reset:hover {
    background-color: #5a6268;
}

/* Textarea styling */
textarea {
    resize: vertical;
    min-height: 80px;
}
