@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  /* COLOR FILL: */
  --primary-color: #7344d5;
  --primary-color-2: #ffcc00;
  --secondary-color: #5b29c1;
  --third-color: #8c65e3;
  --fourth-color: #adadad;
  --fifth-color: #f8f8f8;

  --font-dark: #4d4d4d;
  --font-white: #fff;

  /*COLOR GRADIENT*/
  --primary-linear-bg-0: -o-linear-gradient(
    220deg,
    var(--primary-color) -63%,
    var(--secondary-color) 86%
  );
  --primary-linear-bg: linear-gradient(
    220deg,
    var(--primary-color) -63%,
    var(--secondary-color) 86%
  );
  --primary-linear-bg-opacity: linear-gradient(
    220deg,
    rgba(255, 145, 77, 0.95) -63%,
    rgba(100, 77, 159, 0.95) 86%
  );

  /* --text-linear-bg: linear-gradient(90deg,#f07020 0,#ee9963 100%); */
}

* {
  /* font-family: "Roboto", sans-serif; */
  font-family: "Raleway", sans-serif;
}

body {
  background-color: hsl(0, 0%, 96%);
}

.bg-primary {
  background: var(--secondary-color) !important;
}

.btn.btn-theme {
  background: var(--secondary-color);
  border-color: transparent;
  border: unset;
  color: #ffff;
}

.btn.btn-theme:hover {
  background: var(--third-color);
  box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
}

.form-select:focus,
.form-control:focus {
  border-color: var(--third-color);
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem var(--third-color-opacity) !important;
}

main {
  height: 90vh;
}

#sidebar {
  /* background-color: #f3edff !important; */
  box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
  -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
  position: fixed;
  height: 100vh;
  transition: all 0.25s;
  z-index: 20;
}

#sidebar .nav-item {
  margin: 5px !important;
}

#sidebar .nav-link {
  color: #212529 !important;
  transition: "background" 0.5s;
}

#sidebar .nav-link.active {
  background: var(--secondary-color) !important;
  box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  color: #fff !important;
  transition: "background" 0.5s;
}

#sidebar .nav-link.active:hover {
  background: var(--secondary-color) !important;
}

#sidebar .nav-link:hover {
  background: var(--primary-color) !important;
  box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
  color: #fff !important;
}

#sidebar .toggle-btn {
  position: absolute;
  right: -70px;
  top: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2rem;
  background-color: #fbfbfb !important;
  box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
  -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
}

#sidebar .toggle-btn a {
  color: var(--secondary-color);
  width: inherit;
  height: inherit;
  font-size: x-large;
  display: flex;
  justify-content: center;
  align-items: center;
}

#sidebar.hidden {
  width: 100px !important;
}

#sidebar.hidden .nav-link span,
#sidebar.hidden .dropdown-toggle span {
  display: none;
}

#sidebar.hidden .nav-link i {
  font-size: 22px;
}

#content.sidebar-hidden {
  margin-left: 165px !important;
}

#content {
  margin-left: 345px;
  margin-top: 75px;
  margin-right: 50px;
  transition: all 0.25s;
}

/* .content-body {
  background: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
} */

.breadcrumb li a {
  color: var(--secondary-color);
  text-decoration: none !important;
}

.breadcrumb .active {
  color: var(--third-color);
}

.required-lbl {
  color: #ff0000 !important;
}

.modal-header {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.offcanvas-header {
  background: var(--secondary-color);
  color: #fff !important;
}

table.table.dataTable > tbody > tr {
  border-color: transparent !important;
}

.dt-paging-button.page-item a {
  color: var(--secondary-color) !important;
}

.dt-paging-button.page-item a:focus {
  border-color: var(--secondary-color);
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem var(--secondary-color-opacity) !important;
}

.dt-paging-button.page-item.active a {
  color: #fff !important;
}

.dt-paging-button.page-item.active {
  --bs-pagination-active-bg: var(--secondary-color) !important;
  --bs-pagination-active-border-color: var(--secondary-color) !important;
}

.menu-shadow {
  box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
  -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
  -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
}

.btn-edit {
  color: #fff !important;
  background-color: var(--third-color) !important;
}

.fit-content {
  width: fit-content !important;
}

.text-clip-primary {
  background: var(--primary-linear-bg) !important;
  background-clip: border-box !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.bg-danger {
  background: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.form-floating.input-group:not(.input-group-right) label {
  margin-left: 40px !important;
  z-index: 5 !important;
}

.form-floating.input-group.input-group-right label {
  margin-right: 40px !important;
  z-index: 5 !important;
}

/* Dropifyy */
.dropify-wrapper .file-icon p {
  font-size: 18px !important;
}

.dropify-wrapper {
  border-radius: 0.35rem;
}

.dropify-wrapper.has-error {
  border: 1px solid red;
}

.nav-item .nav-link {
  color: var(--secondary-color);
}

.nav-item .nav-link.active {
  color: var(--third-color);
}

.btn-third-color {
  background: var(--third-color) !important;
}

.pass-toggle {
  color: #fff !important;
  font-size: 20px !important;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  #table_container_parent {
    display: flex !important;
    justify-content: center !important;
  }

  .dt-length.form-floating,
  .dt-length.form-floating select,
  .dt-search.form-floating,
  .dt-search.form-floating input {
    width: 100% !important;
  }

  .dt-length.form-floating {
    margin-bottom: 0.5rem !important;
  }
}

/* Mobile View */
@media only screen and (max-width: 572px) {
  #sidebar .toggle-btn,
  #sidebar #sidebar-logo,
  #sidebar hr {
    display: none !important;
  }

  #sidebar,
  #sidebar.hidden {
    width: 100% !important;
    height: 90px !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    bottom: 0 !important;
  }

  #sidebar ul.nav {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0 !important;
  }

  #sidebar .dropdown {
    display: flex !important;
    justify-content: center;
  }

  #content,
  #content.sidebar-hidden {
    margin: 0 !important;
  }

  #sidebar .nav-link span,
  #sidebar .dropdown-toggle span {
    display: none;
  }

  .dt-container {
    margin-bottom: 100px;
  }

  .content-body{
    margin-bottom: 100px;
  }

}

/* SCREEN LOADER */

#screen-loader {
  z-index: 999;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.boxes {
  height: 32px;
  width: 32px;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  margin-top: 32px;
  -webkit-transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
  transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
}

.boxes .box {
  width: 32px;
  height: 32px;
  top: 0px;
  left: 0;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.boxes .box:nth-child(1) {
  -webkit-transform: translate(100%, 0);
  transform: translate(100%, 0);
  -webkit-animation: box1 1s linear infinite;
  animation: box1 1s linear infinite;
}

.boxes .box:nth-child(2) {
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-animation: box2 1s linear infinite;
  animation: box2 1s linear infinite;
}

.boxes .box:nth-child(3) {
  -webkit-transform: translate(100%, 100%);
  transform: translate(100%, 100%);
  -webkit-animation: box3 1s linear infinite;
  animation: box3 1s linear infinite;
}

.boxes .box:nth-child(4) {
  -webkit-transform: translate(200%, 0);
  transform: translate(200%, 0);
  -webkit-animation: box4 1s linear infinite;
  animation: box4 1s linear infinite;
}

.boxes .box > div {
  background: #5c8df6;
  --translateZ: 15.5px;
  --rotateY: 0deg;
  --rotateX: 0deg;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #5c8df6;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  -webkit-transform: rotateY(var(--rotateY)) rotateX(var(--rotateX))
    translateZ(var(--translateZ));
  transform: rotateY(var(--rotateY)) rotateX(var(--rotateX))
    translateZ(var(--translateZ));
}

.boxes .box > div:nth-child(1) {
  top: 0;
  left: 0;
  background: #5c8df6;
}

.boxes .box > div:nth-child(2) {
  background: #145af2;
  right: 0;
  --rotateY: 90deg;
}

.boxes .box > div:nth-child(3) {
  background: #447cf5;
  --rotateX: -90deg;
}

.boxes .box > div:nth-child(4) {
  background: #dbe3f4;
  top: 0;
  left: 0;
  --translateZ: -90px;
}

.nav-link-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes box1 {
  0%,
  50% {
    transform: translate(100%, 0);
  }

  100% {
    transform: translate(200%, 0);
  }
}

@keyframes box2 {
  0% {
    transform: translate(0, 100%);
  }

  50% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100%, 0);
  }
}

@keyframes box3 {
  0%,
  50% {
    transform: translate(100%, 100%);
  }

  100% {
    transform: translate(0, 100%);
  }
}

@keyframes box4 {
  0% {
    transform: translate(200%, 0);
  }

  50% {
    transform: translate(200%, 100%);
  }

  100% {
    transform: translate(100%, 100%);
  }
}

/* Snackbar Error */
.snackbarError {
  background: rgba(255, 0, 0, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
}

.snackbarError button {
  background-color: unset !important;
}

.snackbarError p {
  background-color: unset !important;
  color: #fff !important;
}

/* Snackbar Success */
.snackbarSuccess {
  background: rgba(29, 243, 12, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(29, 243, 12, 0.3) !important;
}

.snackbarSuccess button {
  background-color: unset !important;
}

.snackbarSuccess p {
  background-color: unset !important;
  color: #041701 !important;
}

/* Snackbar Information */
.snackbarInformation {
  background: rgba(0, 184, 255, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(0, 184, 255, 0.3) !important;
}

.snackbarInformation button {
  background-color: unset !important;
}

.snackbarInformation p {
  background-color: unset !important;
  color: #0f1346 !important;
}

/* Snackbar Admin */
.snackbarAdmin {
  background: rgba(255, 243, 205, 0.75) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 128, 1) !important;
}

.snackbarAdmin button {
  background-color: unset !important;
}

.snackbarAdmin p {
  background-color: unset !important;
  color: #664d03 !important;
}

.btn-link {
  box-shadow: none;
  border-radius: 0;
  color: var(--bs-link-hover-color);
  text-decoration: none !important;
  cursor: pointer;
}

.btn-link:hover {
  box-shadow: 0 2px 0 0 !important;
}

.card {
  border: 0 !important;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}

.custom-card {
  border-bottom: 5px solid #5b29c1 !important;
  border-radius: 12px;
}

.ribbon {
  padding: 0 20px;
  height: 30px;
  line-height: 30px;
  clear: left;
  position: absolute;
  top: 10px;
  left: -5px;
  color: #ffffff;
}

.ribbon-danger{
  background: #ef5350;
}