@font-face {
  font-family: 'iransans-light';
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_Light.eot");
  src: url("../webfonts/IRANSansWeb_Light.eot?#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_Light.woff2") format("woff2"), url("../webfonts/IRANSansWeb_Light.woff") format("woff"), url("../webfonts/IRANSansWeb_Light.ttf") format("truetype");
}

@font-face {
  font-family: iransans-ulight;
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_UltraLight.eot");
  src: url("../webfonts/IRANSansWeb_UltraLight.eot#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_UltraLight.woff2") format("woff2"), url("../webfonts/IRANSansWeb_UltraLight.woff") format("woff"), url("../webfonts/IRANSansWeb_UltraLight.ttf") format("truetype");
}

@font-face {
  font-family: iransans-medium;
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_Medium.eot");
  src: url("../webfonts/IRANSansWeb_Medium.eot?#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_Medium.woff2") format("woff2"), url("../webfonts/IRANSansWeb_Medium.woff") format("woff"), url("../webfonts/IRANSansWeb_Medium.ttf") format("truetype");
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'), local('MaterialIcons-Regular'), url(../fonts/MaterialIcons-Regular.html) format('woff2'), url(../fonts/MaterialIcons-Regular.woff) format('woff'), url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}


* {
  font-family: 'iransans-light','Vazirmatn', sans-serif;
}

.gradient-bg {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 30%, #059669 70%, #10b981 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  border-image: linear-gradient(135deg, #7c3aed, #10b981) 1;
}

.card-hover {
  transition: all 300ms ease;
}

  .card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.15);
  }

.sidebar-item {
  transition: all 200ms ease;
}

  .sidebar-item:hover, .sidebar-item.active {
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(16,185,129,0.1));
    color: #7c3aed;
  }

  .sidebar-item.active {
    border-right: 3px solid #7c3aed;
  }

.fade-in {
  animation: fadeIn 300ms ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast {
  animation: slideIn 300ms ease-out, fadeOut 300ms ease-in 2.5s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#7c3aed, #10b981);
  border-radius: 3px;
}

.otp-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.stat-icon {
  background: linear-gradient(135deg, #7c3aed, #10b981);
}

.btn-gradient {
  background: linear-gradient(135deg, #7c3aed, #059669);
  transition: all 300ms ease;
}

  .btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(124,58,237,0.4);
  }

.pulse-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .sidebar-mobile {
    transform: translateX(100%);
    transition: transform 300ms ease;
  }

    .sidebar-mobile.open {
      transform: translateX(0);
    }
}

#page-links {
  overflow-x: hidden;
}

  #page-links * {
    max-width: 100%;
  }

  #page-links p,
  #page-links span {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  padding-right:5px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 20px;
  margin: 8px 0;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 20px;
  border: 2px solid #f8fafc;
}

  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
::-webkit-scrollbar-thumb {
  background: linear-gradient( 180deg, rgba(124,58,237,.45), rgba(16,185,129,.45) );
}

#linksListcontainer {
  padding-left: 8px;
}