/* General container styling */
.ride-estimate-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #d89b3c; /* Golden border around the form */
    border-radius: 5px;
    background-color: #f9f9f9; /* Background color updated */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: relative; /* To ensure the line appears on top of the form */
}

/* Add top golden line above the entire form */
.ride-estimate-form::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e6ae48; /* Golden color for the top line */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* Input fields and buttons */
.ride-estimate-form input,
.ride-estimate-form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #ccc; /* Light gray border for inputs */
    border-radius: 5px;
    background-color: #fff; /* White background for inputs */
    box-sizing: border-box;
}

/* Button styling */
.ride-estimate-form button {
    background-color: #e6ae48; /* Golden color */
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    border: 2px solid #d89b3c; /* Golden border */
}

.ride-estimate-form button:hover {
    background-color: #d89b3c; /* Darker golden shade on hover */
    border-color: #bf8a34; /* Darker border */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    transform: translateY(-2px); /* Slight upward movement on hover */
}

.ride-estimate-form input {
    background-color: #f9f9f9 !important;
}

input#pickup,
input#destination {
    color: #000000;
}

/* Fare display styling */
#fare-result {
    font-size: 18px; /* Larger font size */
    font-weight: bold; /* Emphasize fare */
    color: #007BFF; /* Blue color for better visibility */
    margin-top: 10px;
    text-align: center;
}

/* Styling for all text inputs */
.ride-estimate-form input[type="text"],
.ride-estimate-form input[type="tel"],
.ride-estimate-form input[type="date"],
.ride-estimate-form input[type="time"],
.ride-estimate-form textarea {
    background-color: #fff; /* White background */
    border: 1px solid #ccc; /* Light gray border */
    padding: 12px; /* Uniform padding */
}

/* Ensure the text area is resizeable only vertically */
.ride-estimate-form textarea {
    resize: vertical; /* Allow vertical resize */
}

/* Focus effect for inputs */
.ride-estimate-form input:focus,
.ride-estimate-form textarea:focus {
    border-color: #d89b3c; /* Golden border when focused */
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5); /* Soft glowing effect */
}

/* Styling for the checkbox */
.ride-estimate-form input[type="checkbox"] {
    display: inline-block;
    margin-right: 5px;
}

/* Checkbox label styling */
.ride-estimate-form input[type="checkbox"] + label {
    display: inline-block;
    margin: 0;
    font-size: 14px;
}
