/* EliteRide Custom Styles */

/* Smooth transitions for sections */
@keyframes sectionFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: sectionFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* Suggestion items */
.suggestion-item {
    @apply w-full text-left px-5 py-4 hover:bg-gray-50 text-sm border-b border-gray-50 last:border-0 transition-colors;
}

/* Car Card Hover */
.car-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
}

/* Input focus states */
input:focus {
    @apply ring-2 ring-black border-transparent;
}

/* Hide native date/time icons for custom look if needed */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.suggestion-item {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f9f9f9;
    color: #000;
}

#pickup-suggestions, #dropoff-suggestions {
    position: absolute;
    z-index: 50;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 4px;
}