/* أنماط التتبع المباشر للخريطة */
.live-tracking-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ff6b6b;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.live-tracking-marker {
    text-align: center;
}

.live-marker {
    position: relative;
    width: 40px;
    height: 40px;
}

.live-marker i {
    font-size: 24px;
    color: #10b981;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
}

.live-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
    z-index: 1;
}

.live-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.map-update-highlight {
    animation: map-highlight 1s ease;
}

@keyframes map-highlight {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* تحسينات للشاشات المتنقلة على الخريطة */
.mobile-screen-info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 4px solid #10b981;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
}

.speed-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #059669;
    margin-top: 5px;
}
