/* Reset some default styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* Container */
.form-container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Heading */
.form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

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

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

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

/* Inputs and Selects */
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Error messages */
span[style*="color: red"] {
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* Buttons */
.btn-group {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
}

/* Reset button style (if used) */
.btn-reset {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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