/* Frequent Routes Custom Styles */

.frequent-route-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    /* Slightly reduced padding */
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.frequent-route-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border-color: rgba(0, 0, 0, 0.0);
    /* Border disappears on hover */
}

.route-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.route-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.route-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    /* Truncate widely */
}

/* Mobile responsive fix for description */
@media (max-width: 576px) {
    .route-desc {
        white-space: normal;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}


.route-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.route-dist {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    background-color: #e9ecef;
    /* Light gray badge */
    padding: 2px 8px;
    border-radius: 4px;
}

.route-price {
    font-size: 1rem;
    font-weight: 800;
    color: #2c3e50;
}

.route-action {
    flex-shrink: 0;
}

.btn-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-icon:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Category Accent Colors - applied to left border or title accent if needed */
.route-card-wrapper {
    /* Container for alignment */
    height: 100%;
}

/* Optional: Subtle indication of category */
.category-hill .route-title {
    color: #198754;
}

/* Green */
.category-divine .route-title {
    color: #ffc107;
}

/* Yellow/Orange - darken for text */
.category-city .route-title {
    color: #0d6efd;
}

/* Blue */

/* Text adjustment for yellow to be readable */
.category-divine .route-title {
    color: #d39e00;
}