/*
Theme Name: CRM
Theme URI: https://classnow.ir
Author: ali mahmoudi
Author URI: https://classnow.ir
Description: Designer Ali Mahmoudi.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ----------------------------------------------- variables ----------------------------------------- */
:root {
  --colorPrimaryLight: rgba(218, 112, 214, 1);
  --colorPrimaryDarkCard: rgba(41, 44, 45, 1);
  --colorPrimaryDarkBack: rgba(29, 31, 32, 1);
}
/* ----------------------------------------------- preloader search ----------------------------------------- */
[x-cloak]{
  display: none !important;
}
.lds-ellipsis {
  /* display: inline-block; */
  position: relative;
  width: 50px;
  height: 40px;
}
.lds-ellipsis div {
  position: absolute;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var( --colorPrimaryLight);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 20px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 23px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15px, 0);
  }
}

/* ----------------------------------------------- preloader and content ----------------------------------------- */
.preloader{
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50000;
  flex-direction: column;
}
.spinner1:before{
  content: "";
  position: absolute;
  top : 50% ;
  left: 50%;
  height: 100px;
  width: 100px;
  margin-top:  -50px;
  margin-left: -50px;
  border-radius: 50%;
  border : 4px solid transparent ;
  border-top-color: var( --colorPrimaryLight);
  border-bottom-color: var( --colorPrimaryLight);
  animation: my_spinner  1s ease-in-out infinite;
}
@keyframes my_spinner{
  to{
    transform : rotate(360deg);
  }
}
.preloader img{
  animation: loading_logo  1s linear infinite;
}
@keyframes loading_logo {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.7);
  }
}
/* ----------------------------------------------- skeleton ----------------------------------------- */
.bg-skeleton {
	background-color: #e2e5e7;
	background-image:			
			linear-gradient(
				90deg, 
				rgba(255,255,255, 0.2), 
				rgba(255,255,255, 0.4),
				rgba(255,255,255, 0.2)
			);
	background-size: 40% 100%; 
	background-repeat: no-repeat; 
	background-position: left -100% top 0; 
	animation: shine 1s ease infinite; 
}


@keyframes shine {
	to {
		background-position: right -100% top 0;
	}
}

.dark .bg-skeleton {
  border-radius: 10px;
	background-color: #202020;
	background-image:			
			linear-gradient(
				90deg, 
				rgba(68,68,68, 0.2), 
				rgba(68,68,68, 0.4),
				rgba(68,68,68, 0.2)
			);
	background-size: 40% 100%; 
	background-repeat: no-repeat; 
	background-position: left -100% top 0; 
	animation: shine 1s ease infinite; 
}

/* ----------------------------------------------- index ----------------------------------------- */
.new-tv-index::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #fff;
}

.new-tv-index::-webkit-scrollbar{
  width: 10px;
  background-color: #fff;
}

.new-tv-index::-webkit-scrollbar-thumb{
  background-color: #404040;
}
.bg-roadmap{
  background: linear-gradient(180deg, #FC427B 38.6%, rgba(243, 245, 252, 0) 100%)
}
/* ----- sidebar scrollbar -----*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1b1a1f; /* رنگ پس‌زمینه */
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: #888; /* رنگ اسکرول */
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* رنگ هنگام هاور */
}
/* ----- sidebar scrollbar -----*/
/* print order */
@media print {
  body * {
      visibility: hidden;
  }
  
  #receipt, #receipt * {
      visibility: visible;
  }

  #receipt {
      width: 80mm; /* 8 سانتی متر */
      padding: 10px;
      font-size: 12px;
      font-family: "Tahoma", sans-serif;
      text-align: right;
      direction: rtl;
  }

  h2 {
      font-size: 16px;
      text-align: center;
      border-bottom: 1px dashed black;
      padding-bottom: 5px;
      margin-bottom: 10px;
  }

  p {
      margin: 5px 0;
      font-size: 14px;
  }

  strong {
      font-weight: bold;
  }
}
