*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", Times, serif;
    /* font-size: 1rem; */
}

#map {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.control-products {
      position: absolute;
      top: 9%;
      left: 10px;
      background: white;
      padding: 8px 12px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

.controls select {
      padding: 4px 8px;
    }

#radar-control1 {
    position: absolute;
    top: 5px;
    right: 5%;
    background: white;
    padding: 8px 24px;
    border-radius: 8px;
    box-shadow: 0 0 5px gray;
   
}
#radar-control1 button {
    margin: 2px;
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#radarTime {
    margin-top: 6px;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

.play-box {
  position: absolute;
  bottom: 20% ;
}

/*.legend-control {
      position:absolute;
      bottom:20px; 
      right:10px; 
      background:white; 
      padding:5px; 
      border-radius:5px; 
      box-shadow:0 0 5px gray;
    }*/

    
/*.legend-control img {
       width:80px; 
       height:350px; 
       display:block; 
       margin:0; 
       padding:0;
    }*/ 

.legend-container {
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column; /* để nhãn dBZ nằm trên */
      align-items: center;
      background: rgba(255, 255, 255, 0.9);
      padding: 8px;
      border-radius: 6px;
      box-shadow: 0 0 6px rgba(0,0,0,0.3);
      gap: 6px;
    }

.legend-title {
      font-weight: bold;
      font-size: clamp(12px, 2vw, 16px);
      margin-bottom: 4px;
    }

.legend-content {
      display: flex;
      align-items: stretch;
      gap: 10px;
    }

.labels {
      display: flex;
      flex-direction: column-reverse;
      justify-content: space-between;
      font-size: clamp(10px, 2vw, 14px);
    }
    
.labels.left { text-align: right; }
    
.labels.right { text-align: left; }

.legend {
      display: flex;
      flex-direction: column-reverse;
      width: clamp(10px, 2vw, 40px);
      height: 50vh;
      border: 1px solid #ccc;
    }
    
.legend-step { flex: 1; }

    /* Màu */
    
.c1  { background:#0000FF; }
.c2  { background:#00FFFF; }    
.c3  { background:#40E0D0; }
.c4  { background:#008080; }    
.c5  { background:#006400; }
.c6  { background:#008000; }
.c7  { background:#00FF00; }
.c8  { background:#7FFF00; }
.c9  { background:#FFFF00; }
.c10 { background:#FFD700; }
.c11 { background:#FFA500; }
.c12 { background:#FF4500; }
.c13 { background:#FF0000; }
.c14 { background:#8B0000; }
.c15 { background:#FF00FF; }
.c16 { background:#FF00FF; }


