/* -------------------------------
   Leaflet Popup Global Styles
---------------------------------*/
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    background-color: #aeaeae;
    opacity: 0.8;
    padding: 0 !important;
    overflow: hidden;
}
  
.leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4;
}

.leaflet-popup-tip{
	background-color: #aeaeae;
	opacity: 0.9;
}

/* -------------------------------
   Radar Popup Box
---------------------------------*/
.radar-popup-box {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* min-width: 280px; */
    /* max-width: 320px; */
    overflow: hidden;
}

/* -------------------------------
   Header
---------------------------------*/
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px; /* vertical padding 12px, horizontal padding 16px */
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.9), rgba(40, 40, 40, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* -------------------------------
   Variable Info (icon + text <br> timestamp)
---------------------------------*/
.radar-variable-info {
    flex: 1;
    display: flex;           
    flex-direction: column;
    gap: 4px; 
}

.variable-row {
    display: flex;          
    align-items: center;
    gap: 6px;
}

.radar-variable-icon {
    width: 16px;
    height: 16px;
}

.variable-row strong {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    display: inline-block;
}

.timestamp {
    font-size: 11px;
    color: #cccccc;
    margin-top: 2px;
}

/* -------------------------------
   Popup Content
---------------------------------*/
.popup-content {
    padding: 16px;
}

.primary-reading {
    text-align: center;
    margin-bottom: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
  
.primary-reading .value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}