/* Trip Type Select Styles */
#trip-type {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

#trip-type:focus {
    outline: none;
    border-color: #132b6b;
    box-shadow: 0 0 0 2px rgba(19, 43, 107, 0.1);
}

/* Date Picker Adjustments */
.mini-date-col:last-child {
    transition: opacity 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trip-type-label {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .mini-field {
        margin-bottom: 12px;
    }
}

/* Ensure date picker is above other elements */
.ui-datepicker {
    z-index: 1000 !important;
    font-family: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.ui-datepicker-header {
    background: #132b6b;
    color: white;
    border: none;
    border-radius: 6px 6px 0 0;
}

.ui-datepicker-calendar th {
    color: #132b6b;
    font-weight: 600;
}

.ui-datepicker-calendar td a {
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ui-datepicker-calendar td a:hover {
    background: #e2e8f0;
}

.ui-datepicker-calendar .ui-state-active {
    background: #132b6b;
    color: white;
    border: none;
}

/* Hide the return date column when in one-way mode */
.mini-date-col.hidden {
    display: none;
}
