.agent-monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .agent-monitor-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .agent-monitor-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.agent-monitor-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.2s;
}

.agent-monitor-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.agent-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

.agent-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.agent-stats {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

.deliveries-list {
    padding: 16px;
}

.delivery-item {
}

.delivery-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.delivery-item:first-child {
    padding-top: 0;
}

.delivery-address {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.5;
}

.delivery-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.delivery-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    background-color: #059669;
    color: #F9F6EE;
    border-radius: 6rem;
    font-weight: 550;
    padding: 0 0.5rem;
}


.delivery-id {
    font-size: 0.7125rem;
    color: #9ca3af;
}

.distance-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.distance-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #e5e7eb, #f3f4f6);
}
.distance-arrow {
    color: #6b7280b9;
}

.distance-value {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6rem;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
}

.stats-summary {
    padding: 12px 16px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e40af;
    margin-bottom: 16px;
}

.split-address-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}


.driver-monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .driver-monitor-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .driver-monitor-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.driver-monitor-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.2s;
}

.driver-monitor-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.driver-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

.driver-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.driver-stats {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}