/* Simple responsive styles */
:root{--accent:#2563eb;}
body{font-family:Inter,Arial,Helvetica,sans-serif;margin:0;color: #3b4a4e;background:#f7f8fb}
.wrap{max-width:1000px;margin:0 auto;padding:16px}
.site-header{background:#fff;border-bottom:1px solid #eee; position: fixed; top: 0; left: 0; width: 100%; z-index: 10;}
.brand{font-weight:700;padding:12px 0;display:inline-block}
.nav{float:right; height: 100px; display: flex ; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between;}
.nav a{margin-left:12px;text-decoration:none;color:#111}
.hero{background:linear-gradient(90deg, #3d897f, #3d897f78);padding:28px;border-radius:12px}
.btn{display:inline-block;padding:10px 14px;border-radius:6px;background:var(--accent);color:#fff;text-decoration:none;border:none;cursor:pointer}
.plans{display:flex;flex-wrap:wrap;gap:12px}
.plan{background:#fff;padding:12px;border-radius:8px;flex:1 1 220px;border:1px solid #eee}
.price{font-size:1.25rem;font-weight:700}
.form input{width:100%;padding:8px;margin-bottom:8px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border:1px solid #eee;padding:8px;text-align:left}
.flash{background:#fff3cd;padding:10px;border-radius:6px;margin-bottom:12px}
@media(max-width:700px){ .nav{/*float:none;*/text-align:right} .plans{flex-direction:column} }
.panel {
    background: #3d897f;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    color: white;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    list-style: none;
    flex: 1 1 300px;
    box-sizing: border-box;
}
.souspanel {
    background: #39776f;
    border-radius: 8px;
    padding: 8px;
    list-style: none;
}
.griddashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}
h3 {
    margin: 0;
    margin-top: 6px;
}
.progress-circle {
    position: relative;
    height: 120px;
    width: 140px;
    justify-items: center;
    vertical-align: middle;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    color: #f3f3f3;
    font-weight: bold;
    background: #305752;
    font-size: 14px;
}
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  text-align: center;
}
main {
    margin-top: 150px !important;
}
.buttonA{
    color: white;
    text-decoration: none;
    font-size: 14px;
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.buttonLi {
    padding: 8px;
    background: #305752;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-top: 8px;
}
.buttonLi:hover {
    background: #305752a8;
}
.navibtn {
    background: none;
    padding: 12px;
    border-radius: 0;
    color: #21282b!important;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 3px solid #dedfdf;
}

.navibtn:hover {
    border-bottom: 3px solid #305752;
}

.navibtn.naviselected {
    border-bottom: 3px solid #305752;
}
    #loadingpanel {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      color: white;
      font-size: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

.statussystem {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}
.statusdot{
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: grey;
}

.statusdot.active{
    background-color: #28a745;
}

.statusdot.deactive{
    background-color: #dc3545;
}
.pinggraph {
    display:flex; align-items:flex-end; height:100px; /*width:100%;*/ border-radius: 12px; border:1px solid #ccc; gap:2px; background:#3d897f14; border: 2px solid #3d897f; overflow: hidden;
}
.imgbanner {
    margin-top: 18px!important;
    height: 20vh!important;
    background-image: url(../serversimage.jpeg)!important;
    background-size: cover!important;
    background-position: center!important;
    position: relative!important; /* nécessaire pour l'overlay */
}

.imgbanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3d897f;
    mix-blend-mode: multiply; /* ou overlay, color, selon l'effet souhaité */
    pointer-events: none;
    border-radius: 12px;
}
.navmobile {
    display: none;
    float: right;
    height: 100px;
}
@media screen and (max-width: 1040px) {
  .nav {
    display: none;
  }
  .navmobile {
    display: flex;
  }
}
.fileexplorer {
    background: #e9f0f1;
    color: #3a494e;
    border-radius: 8px;
    padding: 12px;
    list-style: unset;
    overflow-y: scroll;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    max-height: 350px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  scale: 0.85;
}

/* Input caché */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* Cercle du toggle */
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Etat activé */
input:checked + .slider {
  background-color: #305752;
}

input:checked + .slider::before {
  transform: translateX(26px);
}

/* Optionnel: effet focus */
input:focus + .slider {
  box-shadow: 0 0 1px #305752;
}