body {
    background-color: #f9f9f9;
    font-family: 'Tajawal', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    max-width: 800px;
    margin: 50px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #34495e;
    font-size: 1.8rem;
    font-weight: 700;
}

#carModelContainer {
    display: none; /* Hide by default */
}

.form-row-animate {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

.form-select, .form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f8f9fa;
    padding: 0 15px;
    font-size: 1rem;
    color: #495057;
    width: 100%; /* Ensure full width */
}

.form-select:focus, .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    background-color: #fff;
}

.input-group {
    display: flex;
    width: 100%;
}

.phone-input-group .uae-flag-icon {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 1rem; /* Adjusted font size */
    padding: 0 12px;
    display: flex;
    align-items: center;
    height: 50px;
}

.phone-input-group .form-control {
    border-radius: 0 10px 10px 0;
    height: 50px;
}

.form-footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-success {
    background-color: #3498db;
    border-color: #3498db;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.btn-success:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

#form-result {
    margin-top: 25px;
    text-align: center;
    font-size: 1.1rem;
}

.alert {
    border-radius: 10px;
    padding: 15px;
}