@import url('https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@100..800&display=swap');


.dropify-wrapper .dropify-message span {
    font-size: 20px !important;
    color: #CCC !important;
}
body{
    font-family: "Anek Devanagari", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

label {
    margin-bottom: 10px;
}


.select2-container .select2-selection--single{
    height:38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
        height:36px !important;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* -------------Preloader-Css-Start-------------- */

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 999999;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primery);
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--dark-black);
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--dark-greay);
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

.spin_text {
  transform-origin: 50% 50% 0;
  transform: rotate(0deg);
  -webkit-animation: spin 15s linear infinite;
  -moz-animation: spin 15s linear infinite;
  animation: spin 15s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ------Round Animation------- */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*dashboard Charts*/
.status-btn-div, .chart-div {
    padding: 0;
    text-align: center;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.chart-div .card-body{
    padding:5px !important;
}

  .status-btn-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

/* Base button style */
.status-button {
  position: relative;
  padding: 7px 15px;
  margin: 5px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  transition: background-color 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Glossy shine effect */
.status-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 2;
}

.status-button:hover::before {
  left: 125%;
}

/* Hover glow */
.status-button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active press effect */
.status-button:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
  filter: brightness(0.9);
}

/* Individual status colors */
/*.not-started  { background : linear-gradient(45deg, #bdbdbd, #757575); }
.ongoing      { background : linear-gradient(45deg, #00c6ff, #0072ff); }
.on-hold      { background : linear-gradient(45deg, #fcb045, #fd1d1d); }
.completed    { background : linear-gradient(45deg, #38ef7d, #11998e); }
.cancelled    { background : linear-gradient(45deg, #f85032, #e73827); }
.restarted    { background : linear-gradient(45deg, #8e2de2, #4a00e0); }*/


.not-started {
    background: #A0A0A0;
}

.ongoing {
    background: #007BFF;
}

.on-hold {
    background: #FFA500;
}

.completed {
    background: #28A745;
}

.cancelled {
    background: #DC3545;
}

.restarted {
    background: #6f42c1;
}

/* Responsive font and spacing */
@media (max-width: 576px) {
  .status-button {
    font-size: 0; /* hide text spacing for icon-only mode */
    padding: 10px;
    min-width: auto;
  }

  .status-button i {
    font-size: 20px;
  }
}

    
.highcharts-color-0 {
    fill: #A0A0A0 !important;   /* Not Started - Gray */
    stroke: #A0A0A0 !important;
}

.highcharts-color-1 {
    fill: #007BFF !important;   /* Ongoing - Blue */
    stroke: #007BFF !important;
}

.highcharts-color-2 {
    fill: #FFA500 !important;   /* On Hold - Orange */
    stroke: #FFA500 !important;
}

.highcharts-color-3 {
    fill: #6f42c1 !important;   /* Restarted - Purple */
    stroke: #6f42c1 !important;
}

.highcharts-color-4 {
    fill: #DC3545 !important;   /* Cancelled - Red */
    stroke: #DC3545 !important;
}

.highcharts-color-5 {
    fill: #28A745 !important;   /* Completed - Green */
    stroke: #28A745 !important;
}






