/* Custom styles for Repeaters Map */
#map {
    z-index: 1;
}

/* Ensure Inter font is used throughout */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Custom marker styles */
.repeater-marker {
    cursor: pointer;
}

/* User location marker */
.user-location-marker {
    background: transparent !important;
    border: none !important;
}

/* Status indicator styles - dark theme */
.status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-online {
    background-color: #064e3b;
    color: #6ee7b7;
}

.status-offline {
    background-color: #450a0a;
    color: #f87171;
}

.status-unknown {
    background-color: #17202a;
    color: #9ca3af;
}

/* Info panel styles - dark theme */
#infoPanel {
    max-height: 80vh;
    overflow-y: auto;
}

#infoPanel::-webkit-scrollbar {
    width: 6px;
}

#infoPanel::-webkit-scrollbar-track {
    background: #17202a;
    border-radius: 3px;
}

#infoPanel::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

#infoPanel::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Popup styles - dark theme */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    background: #1f2937;
    border: 1px solid #17202a;
}

.leaflet-popup-content {
    margin: 12px;
    font-size: 14px;
}

.repeater-popup-title {
    font-weight: 600;
    font-size: 16px;
    color: #e5e7eb;
    margin-bottom: 8px;
    border-bottom: 1px solid #4b5563;
    padding-bottom: 8px;
}

.repeater-popup-info {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.repeater-popup-info-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.repeater-popup-label {
    font-weight: 500;
    color: #9ca3af;
    margin-right: 8px;
}

.repeater-popup-value {
    color: #e5e7eb;
    text-align: right;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #infoPanel {
        max-width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
    }
}


