@font-face {
    font-family: "Moraba";
    src: url(../fonts/Morabba-Bold.ttf);
  }
@font-face {
    font-family: "YekanBakh";
    src: url("../fonts/YekanBakh-Bold.ttf") format("truetype");
    font-weight: bold;
  }
@font-face {
    font-family: "YekanBakh";
    src: url("../fonts/YekanBakh-Medium.ttf") format("truetype");
    font-weight: medium;
}
@font-face {
    font-family: "YekanBakh";
    src: url("../fonts/YekanBakh-Light.ttf") format("truetype");
    font-weight: lighter;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}
a {
  text-decoration: none;
  color: #fff;
}
body {
    font-family: 'Moraba', sans-serif;
    background: rgb(28, 28, 40);
}
* {
    font-family: 'Moraba' !important;
}
.header {
    position: relative;
    padding: 1.3rem;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    z-index: 100;
    border-bottom: 1px solid rgb(55, 65, 81);
  }
  .header h1 a {
    right: 5rem;
    padding-left: 8px;
    color: #fff;
    font-size: 1.3rem;
  }
  .header .bxs-user-circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.3rem;
    width: 20.8px;
    font-size: 2.8rem;
  }
  .page-title {
    height: 20px;
  }
  .title-text {
    color: #fff;
    margin: 1.5rem 1.5rem;
  }
  .details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    position: relative;
  }
  .traffic-usage {
    margin-bottom: 1.5rem;
    width: 410px;
    height: 1050px;
    background-color: transparent;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 10px;
    padding: 30px 30px;
    position: relative;
  }
  #chart {
    width: 100%;
    position: absolute;
    left: 55%;
    transform: translateX(-55%);
  }
  .apexcharts-legend-tex {
    margin-right: 8px;
  }
  .cards-title h2 {
    font-size: 1.5rem;
    background: rgba(0, 0, 0, .2);
    padding: 12px 16px;
    border-radius: 8px;
  }
  .cards-title img {
    width: 8rem;
    margin-bottom: 20px;
  }
  .traffic-usage .cards-title .bxs-user {
    font-size: 8rem;
    background: linear-gradient(47deg, rgba(29,78,216,1) 0%, rgba(37,99,235,1) 50%, rgba(59,130,246,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .traffic-usage .cards-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 2rem;
  }
  .traffic-usage .cards-title progress {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* margin-top: 20px; */
  }
  .traffic-usage .status {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .traffic-detail span, p, i {
    color: #fff;
    font-size: 1rem;
    line-height: 2rem;
    text-align: center;
    font-weight: 600;
    font-family: "YekanBakh";
    letter-spacing: 1px;
  }
  .traffic-detail span{
    margin-right: 5px;
  }
  .status {
    position: relative;
  }
  .status-text span, p{
    display: flex;
    font-size: 1rem;
  }
  .status-text p img {
    display: inline-block;
    margin: auto 5px;
    width: 20px;
    height: 20px;
  }
  .status-text label {
    color: #fff;
    font-size: 1rem;
    font-family: "YekanBakh";
    font-weight: 600;
    width: 100%;
    margin-bottom: 15px;
  }
  .status-nav {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  progress {
    display: block;
    width: 410px;
  }
  progress[value] {
    --color: linear-gradient(47deg, rgba(59,130,246,1) 0%, rgba(37,99,235,1) 50%, rgba(29,78,216,1) 100%); /* the progress color */
    --background: rgb(55, 65, 81); /* the background color */
    width: 300px;
    height: 20px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 12px;
  }
  progress[value]::-webkit-progress-bar {
    border-radius: 10px;
    background: var(--background);
  }
  progress[value]::-webkit-progress-value {
    border-radius: 10px;
    background: var(--color);
  }
  progress::after {
    content: attr(value)'%';
    font-size: 0.9rem;
    position: absolute;
    margin-top: 2px;
    left: 0;
  }
  .download-upload {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .download, .upload, .expire, .remain {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 75px;
    background: rgb(59,130,246);
    background: linear-gradient(47deg, rgba(59,130,246,0.05) 0%, rgba(37,99,235,0.1) 50%, rgba(29,78,216,0.15) 100%);
    border-radius: 10px;
    border: 2px solid #94A3b8;
    padding: 4px;
  }
  .download .item-1,
  .upload .item-1,
  .expire .item-1,
  .remain .item-1 {
    position: absolute;
    top: 25%;
    transform: translateY(-25%);
    right: 45.5px;
    white-space: nowrap;
  }
  .download .item-2,
  .upload .item-2,
  .expire .item-2,
  .remain .item-2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
  }
  .download .item-2 i,
  .upload .item-2 i,
  .expire .item-2 i,
  .remain .item-2 i {
    font-size: 1.25rem;
    background: rgba(0, 0, 0, .2);
    padding: 8px;
    border-radius: 30%;
  }
  .download .item-3,
  .upload .item-3,
  .expire .item-3,
  .remain .item-3 {
    font-size: 6px;
    position: absolute;
    top: 90%;
    transform: translateY(-90%);
    right: 45.5px;
    white-space: nowrap;
  }
  .item-1 span {
    font-weight: bold;
    font-size: 14.5px
  }
  .item-3 span{
    font-size: 14px;
  }
  .expire-remain {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 10px;
    position: relative;
  }
  .add-config,.download-app {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .apps-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 410px;
    height: 420px;
    border-radius: 10px;
    /* border: 2px solid #94A3b8; */
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    margin-bottom: 20px;
    flex-direction: column;
    color: #fff;
  }
  .apps-card h2, .download-app h2{
    margin-bottom: 25px;
  }
  .apps-card h4{
    margin-bottom: 20px;
    font-family: "Yekanbakh";
    background: rgba(0, 0, 0, .2);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  .app-1, .app-2,.app-3 {
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 16px;
  }
  .app {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Yekanbakh";
    font-weight: 600;
    width: 150px;
    height: 55px;
    background: rgb(59,130,246);
    background: linear-gradient(47deg, rgba(59,130,246,1) 0%, rgba(37,99,235,1) 50%, rgba(29,78,216,1) 100%);
    margin-bottom: 35px;
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
  }
  .app:hover {
    background: rgb(29,78,216);
    background: linear-gradient(47deg, rgba(29,78,216,1) 0%, rgba(37,99,235,1) 50%, rgba(59,130,246,1) 100%);
  }
  .app-version {
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    height: 35px;
    border-radius: 0 0 8px 8px;
    background: rgba(9,9,121, 0.4);
    position: absolute;
    bottom: -25px;
    z-index: -100;
  }
  .app-version span {
    font-weight: 600;
    font-family: "Yekanbakh";
    font-size: 0.9rem;
  }
  .app img {
    max-width: 18px;
    /* height: 24px; */
  }
  .speedtest {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .speedtest-logo {
    width: 9rem;
    margin: 15px 0;
    z-index: 100;
  }
  .speedtest-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-bottom: 1.5rem;
    width: 410px;
    height: 550px;
    background-color: transparent;
    /* border: 2px solid #94A3b8; */
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  
    border-radius: 10px;
    padding: 30px 30px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
  }
  .speedtest-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 140%;
    background: linear-gradient(rgba(59,130,246), rgb(29,78,216));
    animation: animate 4s linear infinite;
  }
  .speedtest-card::after {
    content: '';
    position: absolute;
    background: rgb(28, 28, 40);
    inset: 4px;
  }
  @keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }
  *.hide {
    display: none !important;
  }
  .loader-widget {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 360px;
    height: 420px;
    z-index: 100;
  }
  .loader {
    position: relative;
    display: inline-block;
    height: 240px;
    width: 240px;
    border-radius: 50%;
    background: conic-gradient(rgba(59,130,246, 0.3) 0%, transparent 65%);
    animation: radarRotate 2s linear infinite;
    z-index: 100;
  }
  @keyframes radarRotate{
    100% {transform: rotate(-360deg);}
  }
  .loader::before {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    top: 0;
    left: calc(50% - 8px);
    border: 8px solid transparent;
    border-top: 120px solid #3B82F6;
    filter: drop-shadow(0 0 12px #3B82F6);
  }
  .loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .loader-content button {
    font-family: 'YekanBakh';
    position: relative;
    cursor: pointer;
    height: 240px;
    width: 240px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    border-radius: 50%;
    background-color: #3B82F6;
    color: #fff;
    border: 0;
    box-shadow: 0 0 12px #1D4ED8;
  }
  .loader-content.result button{
    height: 120px;
    width: 120px;
    margin-top: 16px;
  }
  .loader-content button::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: -2px;
    left: -2px;
    border: solid #1D4ED8;
    border-radius: 50%;
    animation: btnRing 2s linear infinite;
  }
  @keyframes btnRing{
    60%, 100% {
      height: calc(100% + 60px);
      width: calc(100% + 60px);
      top: -32px;
      left: -32px;
      opacity: 0;
    }
  }
  .loader-content button::after {
    content: '';
    position: absolute;
    height: calc(100% + 4px);
    width: calc(100% + 4px);
    top: -2px;
    left: -2px;
    background: linear-gradient(45deg, #1D4ED8, #3B82F6);
    z-index: -1;
    border-radius: 50%;
  }
  .loader-content button:hover {
    background-color: #1D4ED8;
  }
  .content {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    font-size: 64px;
    margin: 12px 0 32px 0;
    flex-direction: column;
  }
  .content small{
    font-size: 40%;
  }
  @media (max-width: 992px) {
    .header {
      padding: 1.3rem 5%;
    }
    .header .bxs-user-circle {
      left: 5%;
    }
  }
  @media (max-width: 768px) {
    .header {
      justify-content: space-between;
    }
    .header h1 a{
      border: none;
    }
  }
  @media (max-width: 480px)  {
    .header h1 a{
      border: none !important;
      padding: 0;
    }
    .traffic-usage {
      width: 365px;
      height: 1050px;
    }
    .speedtest-card{
      width: 365px;
      height: 450px;
    }
    .apps-card {
      width: 365px;
    }
    .app {
      width: 140px;
      height: 50px;
    }
    .app img{
      width: 35px;
    }
    .apps-card {
      width: 365px;
    }
    .download, .upload, .expire, .remain {
      width: 150px;
      height: 75px;
    }
}
@media (max-width: 376px) {
    .traffic-usage {
        width: 350px;
        height: 1050px;
      }
      .speedtest-card {
        width: 350px;
        height: 450px;
      }
      .download, .upload, .expire, .remain {
        width: 140px;
        height: 75px;
      }
      .apps-card {
        width: 350px;
      }
}