/* Location link styling for maps integration */
.location-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.location-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.location-link i {
    margin-right: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s ease;
}

/* Specific styling for location vs collecting point */
.location-link.location-link i {
    color: #dc3545; /* Red for location */
}

.location-link.collectingPoint-link i {
    color: #28a745; /* Green for collecting point */
}

.location-link.location-link:hover i {
    color: #c82333;
}

.location-link.collectingPoint-link:hover i {
    color: #1e7e34;
}

/* For table cells - center alignment */
.text-center .location-link {
    justify-content: center;
}

/* For excursion cards - adjust detail-item to align with icons */
.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.detail-item .location-link {
    margin-right: 8px;
    flex-shrink: 0;
}

.detail-item span {
    flex: 1;
}

/* For DataTable cells */
td .location-link i, th .location-link i {
    font-size: 18px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-link i {
        font-size: 14px;
    }
    
    td .location-link i, th .location-link i {
        font-size: 16px;
    }
}

/* Tooltip enhancements for location links */
.location-link[title]:hover:after {
    content: attr(title);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: 25px;
    margin-left: -20px;
}