
/* =========================================================
   MijnSerenity Cloud 7.4.8 — Route, bereik en waarschuwingen
   ========================================================= */

.ms705-command-hint{
  margin:3px 0 0;
  color:#84a4af;
}

.ms660-command-metric.ms705-command-button{
  width:100%;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
  appearance:none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.ms660-command-metric.ms705-command-button:hover,
.ms660-command-metric.ms705-command-button:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(91,210,244,.34);
  background:rgba(69,200,255,.085);
  outline:none;
}

.ms705-command-button i{
  position:absolute;
  top:9px;
  right:10px;
  color:#6ebfd9;
  font-size:20px;
  font-style:normal;
  font-weight:900;
}

.ms705-range-button{
  border-color:rgba(75,211,143,.20) !important;
}

.ms705-alert-button{
  width:100%;
  grid-template-columns:44px minmax(0,1fr) auto;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}

.ms705-alert-button i{
  color:currentColor;
  font-size:24px;
  font-style:normal;
  font-weight:900;
  opacity:.55;
}

.ms705-route-control-modal{
  position:fixed;
  inset:0;
  z-index:2147483600;
  display:flex;
  align-items:stretch;
  justify-content:center;
  padding:
    max(8px,env(safe-area-inset-top))
    max(8px,env(safe-area-inset-right))
    max(8px,env(safe-area-inset-bottom))
    max(8px,env(safe-area-inset-left));
  background:rgba(0,5,10,.95);
}

.ms705-route-control-panel{
  display:flex;
  flex-direction:column;
  width:min(1050px,100%);
  min-height:0;
  overflow:hidden;
  border-radius:22px;
  background:
    radial-gradient(circle at 100% 0,rgba(69,200,255,.13),transparent 30%),
    linear-gradient(145deg,#092533,#041720);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 80px rgba(0,0,0,.65);
}

.ms705-modal-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:rgba(3,18,28,.96);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.ms705-modal-head h2{
  margin-bottom:2px;
}

.ms705-modal-close{
  width:50px;
  min-width:50px;
  height:50px;
  min-height:50px;
  padding:0;
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  font-size:34px;
  line-height:1;
}

.ms705-modal-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  padding:8px 12px;
  background:rgba(4,21,31,.95);
  border-bottom:1px solid rgba(255,255,255,.07);
}

.ms705-modal-tabs button{
  min-height:42px;
  color:#a0bbc5;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}

.ms705-modal-tabs button.active{
  color:#05202d;
  background:#5bd2f4;
  border-color:#5bd2f4;
}

.ms705-modal-body{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:14px;
}

.ms705-control-section{
  max-width:940px;
  margin:0 auto;
}

.ms705-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.ms705-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  color:#cce8f1;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  font-size:10px;
  font-weight:900;
}

.ms705-badge.good{
  color:#d9ffea;
  background:rgba(75,211,143,.13);
  border-color:rgba(75,211,143,.25);
}

.ms705-badge.warning{
  color:#ffeabb;
  background:rgba(255,190,75,.13);
  border-color:rgba(255,190,75,.25);
}

.ms705-badge.critical{
  color:#ffd4d4;
  background:rgba(255,82,82,.14);
  border-color:rgba(255,82,82,.27);
}

.ms705-route-summary,
.ms705-range-result{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}

.ms705-route-summary > div,
.ms705-range-result > div{
  padding:11px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
}

.ms705-route-summary span,
.ms705-route-summary strong,
.ms705-range-result span,
.ms705-range-result strong{
  display:block;
}

.ms705-route-summary span,
.ms705-range-result span{
  color:#91adb8;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
}

.ms705-route-summary strong,
.ms705-range-result strong{
  margin-top:5px;
  color:#effbff;
  font-size:19px;
}

.ms705-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.ms705-actions button{
  width:auto;
  min-width:170px;
}

.ms705-status{
  min-height:20px;
  margin-top:9px;
  padding:8px 10px;
  border-radius:11px;
  color:#a9c1ca;
  background:rgba(255,255,255,.03);
  font-size:10px;
}

.ms705-status.success{
  color:#c9f5dc;
  background:rgba(75,211,143,.07);
  border:1px solid rgba(75,211,143,.15);
}

.ms705-status.warning{
  color:#ead7a4;
  background:rgba(255,190,75,.07);
  border:1px solid rgba(255,190,75,.16);
}

.ms705-live-calc-note{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:72px;
  padding:10px;
  border-radius:12px;
  background:rgba(69,200,255,.05);
  border:1px solid rgba(69,200,255,.12);
}

.ms705-live-calc-note span,
.ms705-live-calc-note small{
  display:block;
}

.ms705-live-calc-note span{
  color:#cbeaf4;
  font-weight:850;
}

.ms705-live-calc-note small{
  margin-top:3px;
  color:#86a4ae;
  line-height:1.35;
}

.ms705-active-warnings{
  display:grid;
  gap:8px;
  margin-bottom:12px;
}

.ms705-warning-item{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  width:100%;
  padding:10px 11px;
  color:inherit;
  font:inherit;
  text-align:left;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
}

.ms705-warning-item > span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:10px;
  background:rgba(69,200,255,.10);
  font-weight:900;
}

.ms705-warning-item strong,
.ms705-warning-item small{
  display:block;
}

.ms705-warning-item small{
  margin-top:3px;
  color:#91aab4;
}

.ms705-warning-item.warning{
  background:rgba(255,190,75,.07);
  border-color:rgba(255,190,75,.17);
}

.ms705-warning-item.critical{
  background:rgba(255,82,82,.09);
  border-color:rgba(255,82,82,.20);
}

.ms705-warning-item.good{
  background:rgba(75,211,143,.06);
  border-color:rgba(75,211,143,.15);
}

.ms705-threshold-details{
  padding:11px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}

.ms705-threshold-details summary{
  cursor:pointer;
  color:#e9f8fc;
  font-weight:850;
}

.ms705-threshold-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:11px;
}

.ms705-threshold-grid label{
  margin:0;
  padding:9px;
  border-radius:11px;
  background:rgba(255,255,255,.03);
}

.ms705-threshold-grid input{
  margin-top:5px;
}

body.ms705-modal-open{
  overflow:hidden !important;
}

@media(max-width:760px){
  .ms705-route-summary,
  .ms705-range-result{
    grid-template-columns:1fr;
  }

  .ms705-threshold-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ms705-actions button{
    width:100%;
  }
}

@media(max-width:520px){
  .ms705-modal-tabs{
    grid-template-columns:1fr;
  }

  .ms705-threshold-grid{
    grid-template-columns:1fr;
  }

  .ms705-modal-head p{
    display:none;
  }
}
