/* =========================================================
   MijnSerenity Cloud 7.11.0 — Buienradar
   ========================================================= */

.ms710-radar-card{
  margin-top:12px;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% 0,rgba(52,190,103,.12),transparent 34%),
    linear-gradient(145deg,rgba(7,37,51,.98),rgba(4,20,31,.99));
  border-color:rgba(79,210,128,.18);
}

.ms710-radar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.ms710-radar-actions{
  display:flex;
  flex:0 0 auto;
  gap:7px;
}

.ms710-radar-actions button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  min-width:46px;
  height:46px;
  min-height:46px;
  padding:0;
  border-radius:50%;
  font-size:21px;
}

.ms710-radar-actions button.loading{
  animation:ms710RadarSpin 1s linear infinite;
}

@keyframes ms710RadarSpin{to{transform:rotate(360deg)}}

.ms710-radar-mode{
  display:flex;
  gap:8px;
  margin-top:12px;
  padding:5px;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}

.ms710-radar-mode button{
  min-height:38px;
  padding:8px 13px;
  border-radius:10px;
  color:#9eb7c0;
  background:transparent;
  box-shadow:none;
}

.ms710-radar-mode button.active{
  color:#effff5;
  background:linear-gradient(135deg,rgba(41,194,101,.9),rgba(19,132,73,.95));
  box-shadow:0 6px 18px rgba(20,142,76,.25);
}

.ms710-radar-map-wrap{
  position:relative;
  margin-top:12px;
  overflow:hidden;
  min-height:360px;
  height:min(58vh,560px);
  border-radius:18px;
  background:#061823;
  border:1px solid rgba(255,255,255,.09);
}

#ms710RadarMap{
  display:block;
  width:100%;
  height:100%;
  min-height:360px;
  border:0;
  background:#061823;
}

.ms710-radar-loading{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:11px;
  color:#e9fff1;
  background:linear-gradient(145deg,rgba(5,27,39,.94),rgba(3,18,29,.97));
  transition:opacity .2s ease;
}

.ms710-radar-loading.hidden{
  opacity:0;
  pointer-events:none;
}

.ms710-radar-loading span{
  width:34px;
  height:34px;
  border:4px solid rgba(255,255,255,.14);
  border-top-color:#4fd280;
  border-radius:50%;
  animation:ms710RadarSpin .8s linear infinite;
}

.ms710-radar-live-badge,
.ms710-radar-time{
  position:absolute;
  z-index:5;
  top:10px;
  padding:7px 9px;
  border-radius:999px;
  color:#eefbff;
  background:rgba(3,18,29,.88);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 5px 18px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
  pointer-events:none;
}

.ms710-radar-live-badge{
  left:10px;
  display:flex;
  align-items:center;
  gap:6px;
}

.ms710-radar-live-badge span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#4fd280;
  box-shadow:0 0 0 4px rgba(79,210,128,.17);
  animation:ms710RadarLive 1.4s ease-in-out infinite;
}

@keyframes ms710RadarLive{50%{opacity:.45}}

.ms710-radar-live-badge strong{font-size:10px}

.ms710-radar-time{
  right:10px;
  text-align:right;
}

.ms710-radar-time strong,
.ms710-radar-time small{display:block}

.ms710-radar-time strong{font-size:14px}

.ms710-radar-time small{
  margin-top:1px;
  color:#91abb5;
  font-size:8px;
}

.ms710-radar-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}

.ms710-radar-footer > small{color:#809ca7}
.ms710-radar-footer a{color:#7fe0a3}

.ms710-radar-open{
  flex:0 0 auto;
  min-height:40px;
  padding:8px 14px;
}

@media(max-width:700px){
  .ms710-radar-head{
    align-items:stretch;
    flex-direction:column;
  }

  .ms710-radar-actions{justify-content:flex-end}

  .ms710-radar-map-wrap,
  #ms710RadarMap{
    height:52vh;
    min-height:340px;
  }

  .ms710-radar-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:430px){
  .ms710-radar-mode{
    width:100%;
  }

  .ms710-radar-mode button{
    flex:1 1 0;
    padding-inline:7px;
  }

  .ms710-radar-map-wrap,
  #ms710RadarMap{
    min-height:320px;
  }

  .ms710-radar-time{
    top:auto;
    right:8px;
    bottom:8px;
  }
}
