*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-theme: #6f6af8;
  --color-theme-light: #8e89ff;
  --color-theme-lightest: #e1e1ee;
  --color-icon-bg: #e8e7ff;

  --color-grey: #c0c0c0;
  --color-white: #ececec;
  --color-dark: #1a1a1a;
  --color-primary: #0d6efd;
  --color-warning: #ffc107;
  --color-primary-light: #438bf7;
  --color-success: #20c996;
  --color-success-light: #8af3d4;
  --color-success-dark: #0f8863;
  --color-danger: #f04e5f;
  --color-danger-dark: #9f222f;

  --margin-y: 1rem;
  --margin-x: 1rem;
  --padding-y: 1rem;
  --padding-x: 1rem;

  --box-shadow: 0 5px 15px rgb(150 132 254 / 15%);
  --box-shadow-float: 0px 17px 10px -10px rgb(0 0 0 / 40%);
}

html {
  font-size: 10px;
}

body {
  font-size: 1.6rem !important;
  font-family: "Montserrat", sans-serif;
  /* font-family: "Josefin Sans", sans-serif; */
  position: relative;
  height: 100%;
  overflow: hidden;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.hidden {
  display: none !important;
}

input {
  outline: none;
}

.btn {
  outline: none;
  box-shadow: none;
  border: none;
  position: relative;
}
.btn:hover,
.btn:focus,
.btn:active {
  outline: none;
  box-shadow: none;
  border: none;
}
.btn:active {
  transform: scale(0.8);
}

.icon-text {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.icon-text span {
  flex: 1;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: inherit;
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
}

.container,
.container-fluid {
  padding: 0 !important;
}

.datepicker-container {
  z-index: 10000 !important;
}

select {
  appearance: none !important;
  cursor: pointer;
}

.row {
  row-gap: 1rem;
}

.dropdown-item {
    padding: 1.5rem 2rem;
}

.filter-option-inner-inner {
    color: black;
}

/*------------------------------Font Size------------------------------*/

.h1,
h1 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 2.5rem;
  }
}

.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2rem;
  }
}

.h3,
h3 {
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 1.75rem;
  }
}

.h4,
h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.5rem;
  }
}

.h5,
h5 {
  font-size: 1.25rem;
}

.h6,
h6 {
  font-size: 1rem;
}

p {
  font-size: 1.4rem;
}

/*------------------------------Scroller------------------------------*/

/* width */

::-webkit-scrollbar {
  width: 0;
}

/* Track */

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2rem;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: rgb(200, 199, 199);
  min-height: 80px;
  border-radius: 5rem;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background-color: lawngreen;
}

/*--------------------Switch-----------------------*/

.switch-input {
  display: none;
}
.switch-input,
.switch-input:after,
.switch-input:before,
.switch-input *,
.switch-input *:after,
.switch-input *:before,
.switch-input + .switch-btn {
  box-sizing: border-box;
}
.switch-input::-moz-selection,
.switch-input:after::-moz-selection,
.switch-input:before::-moz-selection,
.switch-input *::-moz-selection,
.switch-input *:after::-moz-selection,
.switch-input *:before::-moz-selection,
.switch-input + .switch-btn::-moz-selection {
  background: none;
}
.switch-input::selection,
.switch-input:after::selection,
.switch-input:before::selection,
.switch-input *::selection,
.switch-input *:after::selection,
.switch-input *:before::selection,
.switch-input + .switch-btn::selection {
  background: none;
}
.switch-input + .switch-btn {
  outline: 0;
  display: block;
  width: 2.5em;
  height: 1.5em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.switch-input + .switch-btn:after,
.switch-input + .switch-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.switch-input + .switch-btn:after {
  left: 0;
}
.switch-input + .switch-btn:before {
  display: none;
}
.switch-input:checked + .switch-btn:after {
  left: 50%;
}

.switch-input + .switch-btn {
  background: #ff7070;
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
  border: 1px solid #e8eae9;
}
.switch-input + .switch-btn:after {
  border-radius: 2em;
  background: #fbfbfb;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.switch-input + .switch-btn:hover:after {
  will-change: padding;
}
.switch-input + .switch-btn:active {
  box-shadow: inset 0 0 0 2em #e8eae9;
}
.switch-input + .switch-btn:active:after {
  padding-right: 0.8em;
}
.switch-input:checked + .switch-btn {
  background: #86d993;
}
.switch-input:checked + .switch-btn:active {
  box-shadow: none;
}
.switch-input:checked + .switch-btn:active:after {
  margin-left: -0.8em;
}

/*------------------------------Swal------------------------------*/

.swal2-popup {
  padding-bottom: 0 !important;
  max-width: 80% !important;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px !important;
}

.swal2-icon {
  margin: 1.5em auto 0em !important;
}

.swal2-title {
  margin: 0 !important;
  margin-bottom: 0.5em !important;
  font-size: 1.4rem !important;
}

.swal2-html-container {
  margin: 0 !important;
  margin-bottom: 0.5em !important;
  font-size: 1.6rem !important;
}

.swal2-actions {
  margin: 0 !important;
  margin-bottom: 0.5em !important;
  width: 100% !important;
}

.swal2-styled.swal2-confirm {
  background-color: var(--color-theme) !important;
}

.swal2-styled.swal2-cancel {
  background-color: var(--bs-danger) !important;
}

.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-cancel:focus {
  box-shadow: none !important;
}

/*------------------------------PageLoader------------------------------*/

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  display: none;
}

.loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #00000063;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.loading div {
  width: 8vmax;
  height: 8vmax;
  border-right: 4px solid #ff5100;
  border-radius: 100%;
  -webkit-animation: spinRight 800ms linear infinite;
  animation: spinRight 800ms linear infinite;
}

.loading div:before,
.loading div:after {
  content: "";
  width: 6vmax;
  height: 6vmax;
  display: block;
  position: absolute;
  top: calc(50% - 3vmax);
  left: calc(50% - 3vmax);
  border-left: 3px solid #ffffff;
  border-radius: 100%;
  -webkit-animation: spinLeft 800ms linear infinite;
  animation: spinLeft 800ms linear infinite;
}

.loading div:after {
  width: 4vmax;
  height: 4vmax;
  top: calc(50% - 2vmax);
  left: calc(50% - 2vmax);
  border: 0;
  border-right: 2px solid #00ff00;
  -webkit-animation: none;
  animation: none;
}

@-webkit-keyframes spinLeft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(720deg);
  }
}
@keyframes spinLeft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(720deg);
  }
}
@-webkit-keyframes spinRight {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes spinRight {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/*------------------------------Signals------------------------------*/

#app_signals {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0.5rem;
  margin-bottom: 0.8rem;
}
#app_signals span {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
}
#app_signals span:first-child {
  background: #ee1807;
}
#app_signals span:last-child {
  background: #099e0a;
}
#app_signals span:nth-child(2) {
  background: #feb002;
}

/*------------------------------Login------------------------------*/

.login-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  position: relative;
}

.login-logo img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
}

.bounce {
  animation: bounce 0.8s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.bounce-shadow {
  position: absolute;
  bottom: -0.7rem;
  background: #000;
  opacity: 0.3;
  width: 9rem;
  height: 2rem;
  border-radius: 90%;
  filter: blur(5px);
  animation: bounceShadow 0.8s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.login-title {
  font-family: "Style Script", cursive;
  color: var(--color-white);
  font-size: 3rem;
}

/*------------------------------Screen------------------------------*/

#app_wrapper {
  background-color: #e3e3ee;
  position: fixed;
  width: 100%;
  height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#app_screen {
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  border-radius: 3rem;
  box-shadow: 0px 16px 30px 2px #c4c7ec;
  position: relative;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: #1a1637;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

#app_screen_left {
  padding: 0 1rem;
}

#app_screen_main {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 1rem;
  border-radius: 3rem;
  background: url(../img/header-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#app_header {
  padding: var(--padding-y) var(--padding-x);
  margin-bottom: -2rem;
  padding-bottom: calc(2rem + var(--padding-y));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#app_body {
  width: 100%;
  height: 100%;
  border-radius: 2rem 2rem 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid #e1e1ee;
  transition: all 0.3s ease;
  margin-bottom: -2rem;
  padding-bottom: 2rem;
  /* background-color: white; */
}

#content_header {
  padding: var(--padding-y) var(--padding-x);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#content_body {
  padding: 0 var(--padding-x);
  padding-bottom: var(--padding-y);
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
}

#content_footer {
  padding: var(--padding-y) var(--padding-x);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#app_footer {
  padding: 0.5rem 1rem;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 2rem 2rem 0 0;
  border-top: 1px solid var(--color-theme-lightest);
}

#app_footer a {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

#app_footer a span {
  font-weight: 700;
  font-size: 1rem;
}

#app_footer a i {
  font-weight: 700;
  font-size: 1.8rem;
}

@media screen and (min-width: 600px) {
  #app_footer {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  #app_screen {
    padding: 0;
    width: calc(100% - 0rem);
    height: calc(100% - 0rem);
    border-radius: 0;
  }
  #app_screen_left {
    display: none;
  }
  #app_screen_main {
    padding: 0;
    border-radius: 0;
  }
  #app_body {
    background: white;
  }
}

/*------------------------------Navbar------------------------------*/

#navbar {
  width: 100%;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all 0.6s ease;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
}

#navbar_header {
  padding: var(--padding-y) var(--padding-x) 0 var(--padding-x);
}

.navbar-header__logo {
  width: 10rem;
  height: 10rem;
  margin: auto;
  position: relative;
  background: #fff;
  padding: 0.5rem;
  border-radius: 1.5rem;
}

.navbar-header__logo .status-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.navbar-header__logo img {
  width: 100%;
  height: 100%;
}

.navbar-header__title {
  text-align: center;
  margin: 1rem 0 0 0;
  color: white;
  font-weight: 700;
}

.navbar-header__text {
  text-align: center;
  color: white;
}

#navbar_body {
  padding: var(--padding-y) var(--padding-x);
  overflow-x: hidden;
  overflow-y: auto;
}

.navigation-menu {
  display: grid;
  align-items: baseline;
  grid-template-columns: repeat(1, calc(100% - 0rem));
  column-gap: 2rem;
  row-gap: 1rem;
}

.navigation-menu__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
  color: white;
  position: relative;
}

.navigation-menu__item__icon {
  width: 3rem;
  font-size: 1.4rem;
  position: relative;
  text-align: left;
}

.navigation-menu__item__icon:last-child {
  text-align: end;
}

.navigation-menu__item__icon i.uil-angle-double-right {
  font-size: 2rem;
}

.navigation-menu__item__text {
  font-size: 1.4rem;
  width: 100%;
  line-height: 1;
  text-align: left;
  flex: 1;
}

.navigation-menu__item.active {
  color: lawngreen;
}
.navigation-menu__item:hover {
  color: lawngreen;
}

@media screen and (min-width: 600px) {
  #content_body::-webkit-scrollbar,
  .modal-body::-webkit-scrollbar,
  #navbar_body::-webkit-scrollbar {
    width: 10px;
  }
}

/*------------------------------Btns------------------------------*/

.btn {
  padding: 0.8rem 1rem;
  font-size: 1.3rem;
  box-shadow: var(--box-shadow);
  width: fit-content;
  white-space: nowrap;
}

.btn img {
  width: 100%;
  height: auto;
}

.icon-btn {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-shadow: var(--box-shadow-float);
}
.icon-btn--lg {
  width: 4rem;
  height: 4rem;
  font-size: 3rem;
}
.icon-btn img {
  width: 100%;
  height: auto;
}

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 1px solid var(--color-theme-lightest);
  border-radius: 50%;
}
.menu-btn img {
  width: auto;
  height: 50%;
}
.menu-btn:active,
.menu-btn:focus {
  border: 1px solid var(--color-theme-lightest) !important;
}

/*------------------------------Btn Styles------------------------------*/

.btn-danger {
  background: var(--color-danger) !important;
}
.btn-danger.icon-btn {
  box-shadow: 0px 17px 10px -10px var(--color-danger);
}
.btn-success {
  background: var(--color-success) !important;
}
.btn-success-light {
  background: var(--color-success-light) !important;
}
.btn-success.icon-btn {
  box-shadow: 0px 17px 10px -10px var(--color-success);
}
.btn-dark {
  background: var(--color-dark) !important;
  color: white !important;
}
.btn-sec {
  background: gainsboro !important;
}
.btn-dark.icon-btn {
  box-shadow: 0px 17px 10px -10px var(--color-dark);
}
.btn-gradient {
  background-image: linear-gradient(
    to right,
    #4776e6 0%,
    #8e54e9 100%,
    #4776e6 100%
  ) !important;
  color: white !important;
}
.btn-fixed {
  position: absolute;
}
.btn-fixed--br {
  bottom: 1rem;
  right: 1rem;
}
.btn-sm {
  font-size: small;
  padding: 2px 5px;
}
.btn-xsm {
  font-size: x-small;
  padding: 2px 4px;
}
.icon-btn.btn-sm {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
}
.icon-btn.btn-xsm {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
}

/*------------------------------Text Styles------------------------------*/

.text-class {
  min-width: 12rem;
  display: inline-block;
}

.text-sm {
  font-size: small !important;
}
.text-xsm {
  font-size: x-small !important;
}
.text-c {
  text-transform: capitalize;
}
.text-light {
  color: white;
}
.text-dark {
  color: black;
}
.text-sec {
  color: gray !important;
}
.text-success {
  color: var(--color-success) !important;
}
.text-success-dark {
  color: var(--color-success-dark) !important;
}
.text-danger {
  color: var(--color-danger) !important;
}
.text-striked {
  text-decoration: line-through;
}
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: inherit;
}
.text-truncate--1 {
  -webkit-line-clamp: 1;
}
.text-truncate--2 {
  -webkit-line-clamp: 2;
}

/*------------------------------Bg Styles------------------------------*/

.bg-success {
  background-color: var(--color-success) !important;
}
.bg-danger {
  background-color: var(--color-danger) !important;
}

/*------------------------------Status Icons------------------------------*/

.status-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  border-radius: 50%;
}
.status-icon--success {
  background-color: var(--bs-teal);
  box-shadow: 0px 0px 2px 2px #6bfdd1;
}
.status-icon--danger {
  background-color: var(--bs-red);
  box-shadow: 0px 0px 2px 2px #ff8a95;
}
.status-icon--primary {
  background-color: var(--color-primary);
  box-shadow: 0px 0px 2px 2px #4e96ff;
}
.status-icon--warning {
  background-color: var(--bs-warning);
  box-shadow: 0px 0px 2px 2px #ffdb6e;
}
@media screen and (max-width: 600px) {
  .status-icon {
    width: 1rem;
    height: 1rem;
  }
}

/*------------------------------Flex------------------------------*/

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.flex-fill {
  flex: 1 !important;
}
.flex-fill-no {
  flex: 0 !important;
}

@media screen and (max-width: 600px) {
  .flex-fill-mob {
    flex: 1 !important;
  }
  .flex-wrap-mob {
    flex-wrap: wrap !important;
  }
  .flex-col-mob {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .flex-row-mob {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
  }
  .web-el {
    display: none !important;
  }
}
@media screen and (min-width: 600px) {
  .mob-el {
    display: none !important;
  }
}

/*------------------------------Dash------------------------------*/

.dash {
  position: relative;
  width: 10rem;
  height: 0.5rem;
  border-radius: 5rem;
  left: 50%;
  transform: translateX(-50%);
}

.dash-dark {
  background: var(--color-theme-light);
}

.dash-light {
  background: var(--color-theme-lightest);
}

@media screen and (min-width: 600px) {
  .dash {
    display: none;
  }
}

/*------------------------------Logo------------------------------*/

.logo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
}

.logo--sq {
  border-radius: 1.5rem;
}
.logo--lg {
  width: 10rem;
  height: 10rem;
}
.logo--sm {
  width: 3rem;
  height: 3rem;
}
.logo--xsm {
  width: 2rem;
  height: 2rem;
}
.logo img {
  width: 100%;
  height: 100%;
}

/*------------------------------Img------------------------------*/

.img {
  padding: 0;
  background-color: #fff;
  border: none;
  max-width: 100%;
  border-radius: 1rem;
  border: 1px solid gainsboro;
}

.img img {
  width: 100% !important;
  border-radius: 1rem;
  height: 100%;
  object-fit: cover;
}

.img-thumbnail {
  padding: 0;
  background-color: #fff;
  border: none;
  max-width: 8rem;
  border-radius: 1rem;
  border: 1px solid gainsboro;
}

.img-thumbnail--sm {
  max-width: 5rem;
  max-height: 5rem;
  overflow: hidden;
}

.img-thumbnail img {
  width: 100% !important;
  border-radius: 1rem;
  height: 100%;
  object-fit: cover;
}

/*------------------------------Basics------------------------------*/

.page-title {
  font-weight: 700;
  color: var(--color-dark);
  font-family: "Josefin Sans";
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin: 0;
}

.box-shadow {
  box-shadow: var(--box-shadow);
}

.font-design {
  font-family: "Style Script", cursive;
}

.font-title {
  font-family: "Josefin Sans", cursive;
}

.ls-1 {
  letter-spacing: 1px;
}

.ls-2 {
  letter-spacing: 2px;
}

.shadow {
  box-shadow: var(--box-shadow) !important;
}

.shadow-float {
  box-shadow: var(--box-shadow-float) !important;
}

.heading {
  background: gainsboro;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: #403cbd;
  border-bottom: 2px solid;
}

.underline {
  width: 100%;
  height: 1px;
  background: gainsboro;
}

.line-vertical {
  width: 1px;
  background: gainsboro;
  margin: 0 1rem;
}

.backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 30rem;
  height: auto;
  opacity: 0.3;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot-sec {
  background: gainsboro;
}

.show-ph {
  background: #1a1637;
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: absolute;
  top: calc(100% + 1rem);
  width: 12rem;
  z-index: 9;
  text-align: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
}
.show-ph::before {
  content: "";
  border-style: solid;
  border-width: 0px 10px 10px 10px;
  border-color: transparent transparent #1a1637 transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -10px;
}
:has(> .show-ph) {
  position: relative;
}
:has(> .show-ph):hover .show-ph {
  visibility: visible;
  opacity: 1;
}

/*------------------------------Card------------------------------*/

.card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid var(--color-theme-lightest);
  box-shadow: var(--box-shadow);
  padding: 1rem;
  gap: 1rem;
  width: 100%;
  min-width: auto;
}

/* Header */

.card-header {
  margin: 0 0 0 -1rem;
  padding: 0 0 0 2rem;
  position: relative;
  background: none;
  border: none;
}

.card-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.6rem;
  height: 100%;
  background: var(--color-theme-light);
  border-top-right-radius: 100px;
  border-bottom-right-radius: 10rem;
}

/* Body */

.card-body {
  padding: 0;
}

/* Text */

.card-title {
  font-weight: 700;
  margin: 0;
}

/* Icon */

.card-icon {
  min-width: 5rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}

.card-icon--bg {
  border: 1px solid var(--color-theme-lightest);
  border-radius: 1rem;
  background: var(--color-icon-bg);
}

.card-icon--bg img {
  width: 80%;
  height: 80%;
}

.cards-scrollable {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  margin-bottom: -2rem;
}
.cards-scrollable::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.card.active {
  background: var(--color-theme-light);
  box-shadow: var(--box-shadow-float);
}
.card.active .text {
  color: white;
}
.card.active img {
  filter: contrast(300%);
}

/*------------------------------Modal------------------------------*/

#form_modal {
  z-index: 9999;
}
#menu_modal {
  z-index: 9998;
}
#content_modal {
  z-index: 9997;
}
body > .modal-backdrop {
  display: none !important;
}
.modal-backdrop {
  position: absolute;
  opacity: 0.3 !important;
}
.modal {
  position: absolute;
  padding: 5rem 0;
}
.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0 auto;
}
.modal-content {
  border-radius: 2rem;
  border: none;
}
.modal-header {
  background: var(--color-theme);
  border: 0.2rem solid var(--color-theme-light);
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: initial;
  border-radius: 2rem 2rem 0 0;
}
.modal-body {
  overflow-x: hidden;
  padding-bottom: 2rem;
}
.modal-footer {
  border-top: 0;
}
.modal-title {
  color: white;
  font-size: 2.2rem !important;
  text-transform: capitalize;
}
.modal-title img {
  height: 4rem;
}
.modal.fade .modal-dialog {
  scale: 0;
  transition: all 0.3s;
}
.modal.fade.show .modal-dialog {
  scale: 1;
}

@media screen and (max-width: 600px) {
  .modal {
    padding: 3rem 0 0 0;
  }
  .modal-dialog {
    align-items: end;
    margin: 0;
  }
  .modal-content {
    bottom: 0;
    border-radius: 2rem 2rem 0 0;
  }
  .modal.fade .modal-dialog {
    bottom: -100%;
    scale: 1;
  }
  .modal.fade.show .modal-dialog {
    bottom: 0;
    scale: 1;
  }
  .modal-title {
    font-size: 1.8rem !important;
  }
}

/*------------------------------Content Modal------------------------------*/

#content_modal .modal-header {
  background: white;
  border: none;
}
#content_modal .modal-header span {
  width: 3rem;
}
#content_modal .modal-header .modal-title {
  color: var(--color-dark);
  text-align: center;
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*------------------------------Menu Modal------------------------------*/

#menu_modal .modal-header {
  background: white;
  border: none;
}
#menu_modal .modal-header span {
  width: 3rem;
}
#menu_modal .modal-header .modal-title {
  color: var(--color-dark);
  text-align: center;
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
}
.menu-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list li a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 1rem;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-list li a p {
  flex: 1;
  margin: 0;
  font-size: 1.4rem;
}

/*------------------------------Matrix------------------------------*/

#matrix_rain {
  display: flex;
  max-width: 40vw;
  height: 100%;
  overflow: hidden;
  border-radius: 3rem;
  /* background: black; */
  /* box-shadow: var(--box-shadow-float); */
}
#matrix_rain p {
  line-height: 1;
}
#matrix_rain span {
  display: block;
  width: 2vmax;
  height: 2vmax;
  font-size: 1.5vmax;
  color: #9bff9b11;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

/*------------------------------Error------------------------------*/

.error-card {
  margin: auto !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: relative;
}
.error__icon {
  width: 100%;
  height: auto;
  text-align: center;
  max-width: 20rem;
  margin: auto;
}
.error__icon--sm {
  max-width: 15rem;
}
.error__icon--lg {
  max-width: 30rem;
}
.error__icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 5px 5px rgb(197, 197, 197));
}
.error__title {
  text-align: center;
  color: var(--color-danger);
  font-weight: 700;
  letter-spacing: 1px;
}
.error__text {
  text-align: center;
  color: gray;
}
.redirect__text {
  text-align: center;
  color: var(--color-success);
  font-weight: 700;
}
.redirect__time {
  text-align: center;
  color: var(--color-success-dark);
  font-weight: 700;
}
.redirect__url {
  display: none;
}

/*------------------------------Form------------------------------*/

/* .form-input-control.basic {
  flex: 0;
  border: none;
}
.form-input-control.basic .form__input--checkbox {
  padding: 0 !important;
}
.form-input-control.basic .checkbox__label {
  padding: 0 !important;
} */

textarea {
  margin: 0;
}
::file-selector-button {
  display: none;
}

.form-input-control {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.flex-col > .form-input-control {
  flex: initial;
}
.input__label {
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 1.4rem;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: left;
}
.input__field {
  position: relative;
}
.input__field i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  z-index: 999 !important;
}
.input__field:has(textarea) i {
    top: 2rem !important;
}
.input__field i.input__icon {
  color: var(--color-theme);
  left: 1rem;
}
.form-input-control i.uil-shield-exclamation,
.form-input-control i.uil-shield-check {
  color: #e74c3c;
  visibility: hidden;
  right: 1rem;
}
.form-input-control.error i.uil-shield-exclamation {
  color: #e74c3c;
  visibility: visible;
}
.form-input-control.success i.uil-shield-check {
  color: #2ecc71;
  visibility: visible;
}
.form-input-control small {
  color: #e74c3c;
  font-size: 1.2rem !important;
  visibility: hidden;
  position: relative;
  height: 0;
  width: 0;
  text-align: left;
}
.form-input-control.error small {
  visibility: visible;
  height: auto;
  width: auto;
}

.input__field .form__input {
  border: 1px solid var(--color-theme-lightest);
  padding: 1rem 4rem 1rem 4rem;
  width: 100%;
  outline: none;
  font-size: 1.4rem;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
  color: #424242;
  /* background: var(--bs-gray-200); */
  background: rgb(255, 255, 255);
  font-weight: 700;
}
.input__field .form__input:focus {
  border-color: rgb(13 110 253);
  box-shadow: 0 0 5px rgb(13 110 253);
  /* box-shadow: 0 0 5px rgba(81, 203, 238, 1); */
}
.form-input-control.error .input__field .form__input {
  border-color: #e74c3c;
}
.form-input-control.success .input__field .form__input {
  border-color: #2ecc71;
}

.form-input-control i.uil-times {
  display: none;
  right: 1rem;
}
.form-input-control:has(.form__input:not(:placeholder-shown)) i.uil-times {
  display: block;
}

/*-----------------------Checkbox---------------------------*/

.form__input.form__input--checkbox {
  padding-left: 1rem;
}

.checkbox__label {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 1rem;
}

.checkbox__label .label {
  flex: 1;
  font-weight: 700;
}

.checkbox__label:has(input:disabled) .label {
  color: var(--color-grey);
}

.checkbox__label input[type="checkbox"],
.checkbox__label input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox__label input[type="checkbox"] ~ .checkmark,
.checkbox__label input[type="radio"] ~ .checkmark {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 2px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(99, 99, 99);
}

.checkbox__label input[type="checkbox"] ~ .checkmark::after,
.checkbox__label input[type="radio"] ~ .checkmark::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.checkbox__label input[type="checkbox"]:checked ~ .checkmark::after,
.checkbox__label input[type="radio"]:checked ~ .checkmark::after {
  background: rgb(104 70 241);
}

.checkbox__label--success {
  color: var(--color-success);
}

.checkbox__label--danger {
  color: var(--color-danger);
}

.checkbox__label--primary {
  color: var(--color-primary);
}

.checkbox__label--warning {
  color: var(--color-warning);
}

.checkbox__label--success input[type="checkbox"]:checked ~ .checkmark::after,
.checkbox__label--success input[type="radio"]:checked ~ .checkmark::after {
  background: var(--color-success);
}

.checkbox__label--danger input[type="checkbox"]:checked ~ .checkmark::after,
.checkbox__label--danger input[type="radio"]:checked ~ .checkmark::after {
  background: var(--color-danger);
}

.checkbox__label--primary input[type="checkbox"]:checked ~ .checkmark::after,
.checkbox__label--primary input[type="radio"]:checked ~ .checkmark::after {
  background: var(--color-primary);
}

.checkbox__label--warning input[type="checkbox"]:checked ~ .checkmark::after,
.checkbox__label--warning input[type="radio"]:checked ~ .checkmark::after {
  background: var(--color-warning);
}

@media screen and (max-width: 600px) {
  .checkbox__label input[type="checkbox"] ~ .checkmark,
  .checkbox__label input[type="radio"] ~ .checkmark {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 2px;
  }
}

/*------------------------------Avatar------------------------------*/

.avatar {
  position: relative;
  width: 12rem;
  flex: initial !important;
}
.avatar small {
  text-align: center;
}
.avatar .avatar-upload {
  position: absolute;
  right: 5px;
  z-index: 1;
  top: 5px;
}
.avatar .avatar-upload input {
  display: none;
}
.avatar .avatar-upload label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 2.5rem;
  color: #20c996;
  font-weight: 700;
}
.avatar .avatar-preview {
  width: 12rem;
  height: 12rem;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.avatar .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*------------------------------Form Responsive------------------------------*/

@media screen and (max-width: 600px) {
  .form-input-control .input__label {
    font-size: 1.2rem;
  }
  .form-input-control .input__field .form__input {
    font-size: 1.2rem;
    padding: 1rem 3rem 1rem 3rem;
  }
  .avatar .avatar-preview {
    width: 8rem;
    height: 8rem;
    border: 3px solid #f8f8f8;
  }
  .avatar {
    width: 8rem;
  }
  .avatar .avatar-upload label {
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
  }
  .form-input-control .input__field i {
    font-size: 1.4rem;
  }
  .avatar .avatar-upload {
    right: 0px;
    top: 0px;
  }
  .form-input-control .input__field .form__input:focus {
    box-shadow: none;
  }
}

/*------------------------------Skeleton------------------------------*/

.skeleton {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid var(--color-theme-lightest);
  box-shadow: var(--box-shadow);
  padding: 1rem;
  gap: 1rem;
  margin-bottom: 1rem;
  background: white;
}

.skeleton .text {
  flex: 1;
}

.skeleton p {
  position: relative;
  background: #d9d9d9;
  border-radius: 1rem;
  overflow: hidden;
  height: 1.2rem;
  margin: 1rem 0;
}

.skeleton span {
  position: relative;
  background: #d9d9d9;
  border-radius: 1rem;
  overflow: hidden;
  height: 1.2rem;
  margin: 1rem 0;
  width: 50%;
  display: block;
}

.skeleton button {
  position: relative;
  background: #d9d9d9;
  padding: 0;
  outline: none;
  border: none;
  border-radius: 3rem;
  overflow: hidden;
  height: 3rem;
  pointer-events: none;
  width: 33%;
}

.skeleton .icon {
  width: 5rem;
  height: 5rem;
  position: relative;
  background: #d9d9d9;
  border-radius: 50%;
  overflow: hidden;
}

.skeleton .icon::before,
.skeleton span::before,
.skeleton p::before,
.skeleton button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(
    to right,
    #d9d9d9 0%,
    #888b94 20%,
    #d9d9d9 40%,
    #d9d9d9 100%
  );
  background-size: 450px 400px;
  background-repeat: no-repeat;
  animation: shimmer 1.4s linear infinite;
}

/*------------------------------Toast------------------------------*/

.toast {
  position: absolute;
  top: 3rem;
  right: 3rem;
  max-width: 70%;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 99999;
  text-transform: capitalize;
  opacity: 1 !important;
}

.toast-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.toast .icon {
  font-size: 4rem;
}

.toast .text {
  font-size: 1.8rem;
}

.toast--success {
  background: var(--color-success);
  color: white;
  border: none;
}

.toast--error {
  background: var(--color-danger);
  color: white;
  border: none;
}

@media screen and (max-width: 600px) {
  .toast {
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10rem;
    border-radius: 2rem;
    padding: 0.2rem 1rem;
  }
  .toast-content {
    justify-content: center;
    gap: 0.5rem;
  }

  .toast .icon {
    font-size: 1.4rem;
  }

  .toast .text {
    font-size: 1.2rem;
  }
}

/*------------------------------Card Mockup------------------------------*/

.card-mockup {
  padding: 2rem;
  height: fit-content;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 0.5em 1em 0.125em rgba(37, 11, 11, 0.1);
  position: relative;
}
.card-mockup:after {
  content: "";
  position: absolute;
  width: 25%;
  top: -0.2em;
  left: 37.5%;
  height: 0.2em;
  background: #2962ff;
  border-top-left-radius: 0.2em;
  border-top-right-radius: 0.2em;
}
.card-mockup:before {
  content: "";
  position: absolute;
  top: 0;
  width: 25%;
  left: 37.5%;
  height: 0.5em;
  background: #2962ff36;
  border-bottom-left-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
  box-shadow: 0 2px 15px 5px #2962ff4d;
}

.purchase-section {
  background: #f1f1f1;
  border-radius: 1rem;
}
.purchase-section__top,
.purchase-section__bottom {
  position: relative;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.purchase-section__top {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.purchase-section__bottom {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.purchase-section__top:before {
  content: "";
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  left: -0.8em;
  bottom: -0.8em;
  background: #ffffff;
}
.purchase-section__top:after {
  content: "";
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  right: -0.8em;
  bottom: -0.8em;
  background: #ffffff;
}
.purchase-section__bottom:before {
  content: "";
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  left: -0.8em;
  top: -0.8em;
  background: #ffffff;
}
.purchase-section__bottom:after {
  content: "";
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  right: -0.8em;
  top: -0.8em;
  background: #ffffff;
}
.purchase-section__separation-line {
  border-top: 1px dashed #aaa;
  margin: 0 1rem;
}
.purchase-section__item {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.4rem;
}

@media screen and (min-width: 600px) {
  .payment-items-container {
    max-height: 50rem;
    overflow-y: auto;
  }
}

/*------------------------------Payment Screen------------------------------*/

#paymentScreen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}
#paymentScreen .popup {
  position: relative;
  width: 80rem;
  height: 50rem;
  background: #ffffff;
  padding: 1rem 2rem;
  border-radius: 2rem;
  box-shadow: var(--box-shadow-float);
  transition: all 1s ease;
  display: flex;
  gap: 2rem;
  scale: 0;
}
#paymentScreen .popup.show {
  scale: 1;
}
#paymentScreen .form__input {
  padding: 0.8rem 3rem 0.8rem 3rem !important;
  font-size: 1.4rem !important;
}
#paymentScreen .input__label {
  font-size: small !important;
}
#paymentScreen .sidebar {
  padding-top: 5rem;
  min-width: 20rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
#paymentScreen .close-btn {
  position: absolute;
  right: 1rem;
  top: 0;
  padding: 0.5rem 1rem;
  box-shadow: -1px 2px 8px 0px rgb(120 120 120);
  border-radius: 0 0 1rem 1rem;
  transition: background-color 0.25s ease-in-out;
  background: #ef5350;
  color: white;
  border: 1px dashed white;
  border-top: 0;
  cursor: pointer;
  z-index: 999;
}

@media screen and (max-width: 600px) {
  #paymentScreen {
    align-items: flex-end;
  }
  #paymentScreen .popup {
    flex-direction: column;
    height: calc(100vh - 3rem);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    overflow: auto;
  }
  #paymentScreen .card-mockup {
    display: none;
  }
  #paymentScreen .sidebar {
    padding-top: 0;
  }
}

/*------------------------------Calendar------------------------------*/

.calendar-container {
  margin: auto;
  max-width: 40rem;
  height: 40rem;
  overflow: hidden;
}
.calendar {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid gainsboro;
  max-width: 40rem;
  min-height: 40rem;
}
.calendar__picture {
  position: relative;
  height: 100%;
  padding: 1rem 2rem;
  color: black;
  background: #262626 url("../img/calendar-bg.jpg") no-repeat center/cover;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  z-index: 0;
  border-radius: 1rem 1rem 0 0;
}
.calendar__picture::before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
  opacity: 0.5;
  z-index: -1;
  border-radius: 1rem 1rem 0 0;
}
.calendar__date {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 10px;
  box-sizing: border-box;
}
.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  font-weight: 600;
  color: #262626;
  aspect-ratio: 1 / 1;
}
.calendar__number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  aspect-ratio: 1 / 1;
  color: #262626;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.calendar__number:hover .calendar__event {
  visibility: visible;
  opacity: 1;
}
.calendar__event {
  background: #1a1637;
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: absolute;
  top: calc(100% + 1rem);
  width: 12rem;
  z-index: 9;
  text-align: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  visibility: hidden;
  opacity: 0;
}
.calendar__event::before {
  content: "";
  border-style: solid;
  border-width: 0px 10px 10px 10px;
  border-color: transparent transparent #1a1637 transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -10px;
}
.calendar__number--success {
  background: var(--color-success);
  color: white;
}
.calendar__number--danger {
  background: var(--color-danger);
  color: white;
}
.calendar__number--primary {
  background: var(--color-primary);
  color: white;
}
.calendar__number--warning {
  background: var(--color-warning);
  color: white;
}
.calendar__number--sec {
  background: gainsboro;
  color: gray;
}

/* -----------------------------Multiselect-----------------------------------*/

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100% !important;
    padding: 1rem 4rem 1rem 4rem !important;
    background: none !important;
    border-radius: 0.8rem 0.8rem 0.8rem 0.8rem !important;
    background: white !important;
}
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn):has(".dropdown-toggle.show") {
    border-radius: 0.8rem 0.8rem 0 0 !important;
}
.bootstrap-select>.dropdown-toggle {
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: inherit !important;
    font-weight: 500 !important;
}
.bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
    transform: scale(1) !important;
}
.dropdown-menu {
    transform: translate(0px, 0rem) !important;
    border-radius: 0 0 0.8rem 0.8rem !important;
    font-size: 1.2rem !important;
    background: rgb(246, 246, 246) !important;
    border-top: 0 !important;
    left: -.5px !important;
    width: calc(100% + 1px);
    top: 3.5rem !important;
    z-index: 99999 !important;
    max-height: fit-content !important;
    overflow-y: scroll !important;
}
.dropdown-menu.inner {
    margin-top: -3.5rem !important;
}
.dropdown-menu .inner {
    overflow-x: inherit !important;
    padding-top: 3.5rem;
}
.dropdown-toggle::after {
    display: none !important;
}

/*------------------------------Animations------------------------------*/

@keyframes shimmer {
  0% {
    background-position: -450px 0px;
  }
  100% {
    background-position: 450px 0px;
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
    height: 90%;
  }
  100% {
    transform: translateY(-3rem);
  }
}
@keyframes bounceShadow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: scale(0.85) translateY(-3rem);
  }
}
@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
  }
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/*------------------------------Modals------------------------------*/

@media screen and (min-width: 600px) {
  .modal-dialog:has(#staff_staffAdmitForm),
  .modal-dialog:has(#staff_staffUpdateForm),
  .modal-dialog:has(#staff_staffProfile),
  .modal-dialog:has(#student_stdAdmitForm),
  .modal-dialog:has(#student_stdUpdateForm),
  .modal-dialog:has(#student_stdProfile),
  .modal-dialog:has(#fee_feeCollectionForm),
  .modal-dialog:has(#salary_salaryPayoutForm),
  .modal-dialog:has(.form-lg) {
    max-width: 90rem;
    width: 90%;
  }
}
#content_modal .success-close {
    display: none;
}
#content_modal:has(#popFilter) .danger-close {
    display: none;
}
#content_modal:has(#popFilter) .success-close {
    display: flex;
}

/*------------------------------Responsive------------------------------*/

.cards-container .card:first-child {
    margin-top: 0.5rem;
}

.card[data-viewed='0']:before {
    content: "NEW";
    position: absolute;
    right: 0;
    top: -0.5rem;
    width: 30px;
    display: flex;
    height: 15px;
    justify-content: center;
    align-items: center;
    background: #ff3d00;
    color: white;
    font-size: .8rem;
    font-family: 'Josefin Sans';
    border-radius: 100px;
    border: 1px dotted wheat;
}

.filter-count {
    font-size: 1.8rem;
}

.notification-count {
    font-size: 1.8rem;
    display: flex;
    position: absolute;
    background: #ff3d00;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    justify-content: center;
    align-items: center;
    right: -0.5rem;
    top: -0.5rem;
}
.notification-count:empty {
    display: none;
}



@media screen and (max-width: 1700px) {
  html {
    font-size: 10px;
  }
}

@media screen and (min-width: 600px) {
  #content_body::-webkit-scrollbar,
  .modal-body::-webkit-scrollbar {
    width: 10px;
  }
}
@media screen and (max-width: 600px) {
  .badge {
    font-size: x-small !important;
  }
}

.sortBar {
    /*background: white !important;*/
    /*border-radius: 0.4rem !important;*/
    /*padding: .5rem 1rem !important;*/
}
.bootstrap-select.sortBar:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    background: white !important;
    /*border-radius: 0.4rem 0.4em 0.4rem 0.4rem !important;*/
    /*padding: .5rem 1rem !important;*/
}
.bootstrap-select.sortBar:not([class*=col-]):not([class*=form-control]):not(.input-group-btn):has(".dropdown-toggle.show") {
    /*border-radius: 0.4rem 0.4rem 0 0 !important;*/
}
.input__label.sortLabel {
    /*font-size: 1.2rem !important;*/
}

@media screen and (max-width: 600px) {
    .input__label.sortLabel {
        /*font-size: 0.8rem !important;*/
    }
    .sortBar {
        /*padding: 0.5rem !important;*/
        /*font-size: 1rem !important;*/
        /*font-weight: 100;*/
    }
    .bootstrap-select.sortBar:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
        /*padding: 0.5rem !important;*/
        /*font-size: 1rem !important;*/
        /*font-weight: 100;*/
    }
    .bootstrap-select.sortBar:not([class*=col-]):not([class*=form-control]):not(.input-group-btn):has(".dropdown-toggle.show") {
        /*border-radius: 0.4rem 0.4rem 0 0 !important;*/
    }
}

#print_area {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
#print_area .print-page {
  page-break-after: always;
  height: 100vh;
}

@media print {
  body {
    visibility: hidden;
  }
  #print_area {
    visibility: visible;
  }
}
