@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/EldMandate.Blazored.Modal/EldMandate.Blazored.Modal.bundle.scp.css';

/* /Pages/AssetLiveTracking/AssetLiveTracking.razor.rz.scp.css */
/* Asset Live Tracking - Component Scoped Styles */

.asset-live-tracking-container[b-fp91sy5la9] {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.location-map[b-fp91sy5la9] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Control Panel - Status Display */
.control-panel[b-fp91sy5la9] {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
    height: 40px;
    border-style: solid;
    border-width: 2px;
    font-size: 13px;
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.control-initial[b-fp91sy5la9] {
    visibility: hidden;
}

.control-moving[b-fp91sy5la9] {
    visibility: visible;
    background-color: #006496;
    border-color: #004d73;
}

.control-stationary[b-fp91sy5la9] {
    visibility: visible;
    background-color: #ABAFB9;
    border-color: #8f939c;
}

/* Loading Overlay */
.loading-overlay[b-fp91sy5la9] {
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 10;
}

.loading-box[b-fp91sy5la9] {
    min-width: 280px;
    max-width: 350px;
    min-height: 44px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.loading-box.error[b-fp91sy5la9] {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.loading-text[b-fp91sy5la9] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: #dc3545;
}

.loading-text.blink[b-fp91sy5la9] {
    animation: blinker-b-fp91sy5la9 1.2s ease-in-out infinite;
    color: #555;
}

@keyframes blinker-b-fp91sy5la9 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Ensure Google Map fills container */
[b-fp91sy5la9] #asset-tracking-map {
    width: 100% !important;
    height: 100% !important;
}

[b-fp91sy5la9] .gm-style {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
