/* Simple responsive styles */
:root{--accent:#2563eb; --main_color: #65e4a3;}
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, var(--main_color), #65e4a378);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: 50px;}
@media(max-width:700px){ .nav{/*float:none;*/text-align:right} .plans{flex-direction:column} }
#forplans {
  width: 30%;
}
@media(max-width:700px){
   #forplans{
    width: 100%;
  }

  .titleplan {
    left: -45px;
  }
}
.panel {
    background: var(--main_color);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    list-style: none;
    flex: 1 1 300px;
    box-sizing: border-box;
}
.souspanel {
    background: none;
    border-radius: 25px;
    padding: 25px;
    list-style: none;
    font-size: 1.2rem !important;
    border: 2px solid var(--main_color);
}
.griddashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    margin-top: 22px;
}
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: var(--main_color);
    font-size: 14px;
    position: relative;
}
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  text-align: center;
}

.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: var(--main_color);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-top: 8px;
}
.buttonLi:hover {
    background: #65e4a3a8;
}
.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 var(--main_color);
}

.navibtn.naviselected {
    border-bottom: 3px solid var(--main_color);
}
    #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;
      flex-direction: column;
      gap: 12px;
    }

.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: var(--main_color);
}

.statusdot.deactive{
    background-color: #e46565;
}
.pinggraph {
    display:flex; align-items:flex-end; height:100px; /*width:100%;*/ border-radius: 12px; gap:2px; background:#65e4a314; border: 2px solid #5b7075; 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: var(--main_color);
    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: var(--main_color);
}

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

/* Optionnel: effet focus */
input:focus + .slider {
  box-shadow: 0 0 1px var(--main_color);
}

  .loader {
    width: 80px;
    height: 80px;
    border: 10px solid var(--main_color);
    border-top: 10px solid #f3f3f3; /* couleur différente pour l’effet rotation */
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 10px var(--main_color), 0 0 1px #f3f3f3;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
  }

  input::placeholder { color: #d9d9d9; }

.btn-success {
  -webkit-box-shadow: none!important;
  box-shadow: none!important;
}

@media screen and (max-width: 992px) {
  .serverinfos {
    flex-direction: column;
    gap: 8px;
  }

  .serverinfosleft {
    width: 100%;
  }

  .serverinfosright {
    width: 100%;
  }

  .forstartdashboard {
    width: 100%;
  }

  #btnstartdash {
    margin-bottom: 12px;
  }
}

@media screen and (min-width: 992px) {
  .serverinfos {
    flex-direction: row;
    gap: 0;
  }

  .serverinfosleft {
    width: 50%;
  }

  .serverinfosright {
    width: 50%;
  }

  .forstartdashboard {
    width: 33.3333333333%;
  }

  #btnstartdash {
    margin-bottom: 0;
  }
}

/* AGRANDIR LE FOOTER */
@media (min-width: 992px) {
    .logofooter {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 29%!important;
    }
}

/* */
.pf-2x {
    font-size: 1.5em!important;
}

.socialnet {
  flex-direction: row;
}

@media (max-width: 992px) {
  .socialnet {
    flex-direction: column-reverse;
  }
}

.fi {
  border-radius: 3px;
}