@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
}

*, html {
    scroll-behavior: smooth !important;
}

body {
  margin: 0;
  background: #f4f5f5;
  font-family: Vazir, sans-serif;
  line-height: 2em;
}

.download_icon {
  text-align: center;
  font-family: Vazir, sans-serif;
  width: 80%;
  margin: 10px auto;
  align-content: center;
  padding: 10px 25px;
}

.download_icon a {
  text-decoration: none;
  font-family: Vazir, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #1b6cc7;
}

.download_icon a:active {
  color: #1b6cc7;
}

.download_icon a[tabindex]:focus {
  color: #1b6cc7;
  outline: none;
}

.download_icon a[tabindex]:focus {
  color: #1b6cc7;
  outline: none;
}

.htmlplayer {
    max-height: 900px;
    max-width: 370px;
}

.download_icon,
.download_button {
  background-color: #2574d1;
  border: none;
  color: white;
  padding: 12px 18px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  font-family: Vazir, sans-serif;
  border-radius: 30px;
}

.download_button:hover {
  background-color: red;
}

.download_icon-p p {
  background: #f1f1f1;
  margin: 10px;
  padding: 10px;
  color: #1b6cc7;
  font-family: Vazir, sans-serif;
  font-weight: 900;
  font-size: 10px;
}

td.vms.hvr-grow a {
  text-decoration: none;
}

.wrapper1 {
  max-width: 500px;
  margin: auto;
  margin-top: 30px;
}

.wrapper2 {
  max-width: 800px;
  margin: auto;
  margin-top: 80px;
}

.tab-wrapper1 {
  text-align: center;
  display: block;
  margin: auto;
  max-width: 500px;
}

.tab-wrapper2 {
  text-align: center;
  display: block;
  margin: auto;
  max-width: 500px;
}

.tabs1 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tabs2 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tabs3 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tabs4 {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tab-link {
  margin: 0 1%;
  list-style: none;
  padding: 10px 40px;
  color: #aaa;
  cursor: pointer;
  font-weight: 700;
  transition: all ease 0.5s;
  border-bottom: solid 3px rgba(255, 255, 255, 0);
  letter-spacing: 1px;
}

.tab-link2 {
  margin: 0 1%;
  list-style: none;
  padding: 10px 40px;
  color: #aaa;
  cursor: pointer;
  font-weight: 700;
  transition: all ease 0.5s;
  border-bottom: solid 3px rgba(255, 255, 255, 0);
  letter-spacing: 1px;
}

.tab-link:hover {
  color: #999;
  border-color: #999;
}

.tab-link.active {
  color: #333;
  border-color: #333;
}

.tab-link2.active {
  color: #333;
  border-color: #333;
}

.tab-link:nth-of-type(1).active {
  color: #ee6534;
  border-color: #ee6534;
}

.tab-link:nth-of-type(2).active {
  color: #1790d2;
  border-color: #1790d2;
}

.tab-link:nth-of-type(3).active {
  color: #eec63b;
  border-color: #eec63b;
}

.tab-link2:nth-of-type(1).active {
  color: #ee6534;
  border-color: #ee6534;
}

.tab-link2:nth-of-type(2).active {
  color: #1790d2;
  border-color: #1790d2;
}

.tab-link2:nth-of-type(3).active {
  color: #eec63b;
  border-color: #eec63b;
}

.content-wrapper1 {
  padding: 30px 100px;
}

.content-wrapper2 {
  padding: 10 0 0 0;
}

.tab-content {
  display: none;
  text-align: center;
  color: #888;
  font-weight: 300;
  font-size: 15px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.5s ease 1 forwards;
}

.tab-content.active {
  display: block;
}

.content-custom {
  margin-top: 30px;
}

.input-container {
  position: relative;
}

.pure-material-button-contained {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  min-width: 64px;
  height: 36px;
  vertical-align: middle;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
  background-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  font-family: var(
    --pure-material-font,
    "Roboto",
    "Segoe UI",
    BlinkMacSystemFont,
    system-ui,
    -apple-system
  );
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.pure-material-button-contained::-moz-focus-inner {
  border: none;
}

/* Overlay */
.pure-material-button-contained::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
  opacity: 0;
  transition: opacity 0.2s;
}

/* Ripple */
.pure-material-button-contained::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  padding: 50%;
  width: 32px;
  /* Safari */
  height: 32px;
  /* Safari */
  background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 1s, transform 0.5s;
}

/* Hover, Focus */
.pure-material-button-contained:hover,
.pure-material-button-contained:focus {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
    0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.pure-material-button-contained:hover::before {
  opacity: 0.08;
}

.pure-material-button-contained:focus::before {
  opacity: 0.24;
}

.pure-material-button-contained:hover:focus::before {
  opacity: 0.3;
}

/* Active */
.pure-material-button-contained:active {
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.pure-material-button-contained:active::after {
  opacity: 0.32;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0s;
  box-shadow: none;
}

/* Disabled */
.pure-material-button-contained:disabled {
  color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
  background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.12);
  box-shadow: none;
  cursor: initial;
}

.pure-material-button-contained:disabled::before {
  opacity: 0;
  box-shadow: none;
}

.pure-material-button-contained:disabled::after {
  opacity: 0;
  box-shadow: none;
}

.copybutton {
  font-family: Vazir, sans-serif;
  position: absolute;
  margin: 5px 5px 0px 0px;
  box-shadow: none;
  border-radius: 50px;
}

input {
  height: 48px;
  width: 280px;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 15 72 15 15;
}

.label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

input,
.label .text {
  font-family: "Segoe UI";
  font-size: 14px;
  outline: none;
  border: 2px;
  border-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
  border-radius: 50px;
}

.label .text {
  transition: all 0.15s ease-out;
  color: grey;
}

input:focus {
  outline: none;
  border: 2px;
  border-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
}

input:focus + .label .text,
:not(input[value=""]) + .label .text {
  font-size: 12px;
  transform: translate(0, -150%);
  background-color: white;
  padding-left: 4px;
  padding-right: 4px;
}

input:focus + .label .text {
  color: blue;
}

.custominputcss {
  pointer-events: none;
}

@keyframes fadeIn {
  100% {
    opacity: 1;
    transform: none;
  }
}

    .container {
      text-align: center;
      margin: auto;
      border: 1px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      max-width: 380px;
      background-color: #fff;
      transition: height 0.5s;
      height: auto;
      padding: 10px;
      transition: transform 0.5s;
    }

    .container.hidden {
      height: 0;
      padding: 0;
      border: none;
      overflow: hidden;
      transition: transform 0.5s;
    }

    #status {
      background-color: #4285f4;
      color: #fff;
      padding: 1px;
      text-align: center;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      cursor: pointer;
      margin-bottom: 5px;
      display: block;
      max-width: 380px;
      font-family: Vazir, sans-serif;
      font-weight: 900;
      transition: all 0.5s;
    }

    #status.closed {
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }

    #status i {
      transition: transform 0.5s;
    }

    .container.hidden #status i {
      transform: rotate(180deg);
    }

    #networkUsageGauge,
    #daysLeftGauge {
      margin: 20px auto;
    }

    .gauge-details {
      font-size: 14px;
      color: #666;
      text-align: center;
      direction: rtl;
    }

    .gauge-title {
      font-weight: bold;
      font-size: 18px;
      margin-bottom: 10px;
    }



    #popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(4px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    #popup-box {
      background: white;
      padding: 2rem;
      max-width: 310px;
      width: 90%;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
      text-align: right;
      direction: rtl;
      font-family: Vazir, sans-serif;
    }

    #popup-box h2 {
      margin-top: 0;
      color: #222;
    }

    #popup-box p {
      color: #444;
      line-height: 1.6;
      font-size: 1rem;
    }

    #popup-box button {
      margin-top: 1.5rem;
      padding: 0.6rem 1.5rem;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 8px;
      font-family: Vazir, sans-serif;
      font-weight: 800;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    #popup-box button:hover {
      background-color: #0056b3;
    }

    @media (max-width: 480px) {
      #popup-box {
        padding: 1.5rem;
      }

      #popup-box h2 {
        font-size: 1.2rem;
      }

      #popup-box p {
        font-size: 0.95rem;
      }
    }
