/* ================================
   Appointment Request Form Styles
================================ */

/* Section background */
.requestForm {
    background-color: #e4f3ee;
    padding: 3rem 0;
}

/* Form container */
.formContainer {
    padding: 2rem 4rem 5rem 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Title */
div.formContainer > h1 {
    font-size: 2rem;
    text-transform: uppercase;
    padding-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #000000;
}

/* Form layout */
form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

/* Each fieldset block */
form > fieldset {
    flex: 1;
    min-width: 280px;
    border: none;
    padding: 1rem;
}

/* Legends */
form fieldset legend {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #B22222; /* firebrick red */
}

/* Input styles */
.formContainer input[type='text'],
.formContainer input[type='tel'],
.formContainer input[type='email'],
.formContainer input[type='date'],
.formContainer input[type='time'],
textarea {
    width: 100%;
    height: 50px;
    padding: 10px 15px;
    margin-top: 0.7rem;
    font-size: 1rem;
    border: 1px solid #000000;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

/* Textarea larger */
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Focus effect */
input:focus,
textarea:focus {
    border: 1.5px solid #FFD700; /* yellow */
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Validation messages */
#customerInfoMssg,
#vehicleYearMssg {
    height: 1rem;
    color: red;
    padding-left: 5px;
    font-size: 0.85rem;
}

/* ================================
   Submit Button
================================ */
form input[type='submit'],
.formSubmit button {
    background-color: #000000; /* black */
    color: #FFD700; /* yellow */
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    height: 55px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid #FFD700;
    border-radius: 10px;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

form input[type='submit']:hover,
.formSubmit button:hover {
    background-color: #FFD700; /* yellow */
    color: #000000; /* black */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* ================================
   Media Queries
================================ */
@media screen and (max-width: 768px) {
    .formContainer {
        padding: 2rem;
    }
    form {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 450px) {
    .formContainer {
        padding: 1rem;
    }
    div.formContainer > h1 {
        font-size: 1.6rem;
    }
}
