:root {
  --doc-height: 100%;
  --app-color: rgb(0, 128, 128);
  --app-color-secondary: rgb(227, 207, 150);
  --bs-teal-rgb: 0, 128, 128;
}

html,
body {
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
  padding: 0;
  margin: 0;
  height: 100vh; /* fallback for Js load */
  height: var(--doc-height);
  min-width: 320px;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

  
.form-floating .select2-container--bootstrap-5 .select2-selection > .select2-selection__rendered {
  margin-left: 0px !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: var(--app-color) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6) !important;
}

.input-validation-error ~ .select2 .select2-selection {
  border-color: var(--bs-form-invalid-border-color);
  background-position: right 0.75rem center,center right 2.25rem;
  background-size: 16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: var(--app-color) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  border-color: var(--app-color) !important;
}

  .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected {
    background: var(--app-color) !important;
  }


select:focus, .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--app-color);
}

html {
  position: relative;
  min-height: 100%;
}


header, footer {
  z-index: 9;
}

.form-select:focus {
  border-color: var(--app-color);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6) !important;
}


.command-buttons > .btn {
  border-radius: 0;
  --bs-border-color: rgb(0, 110, 110);
}

.btn:not(:disabled):not(.disabled):active:focus,
.btn:focus, .btn.focus {
  box-shadow: none;
}

#preloader {
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

camera-snapshot {
  --main-color: var(--app-color);
  --active-color: var(--app-color);
  background-color: unset;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
}

.Id5wCbNRwOQKecr226wA {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 640px) {
  camera-snapshot {
    background-color: black;
  }
}

.swal2-container {
  z-index: 3000;
  padding: 1.3em;
}

  .swal2-container:has(> .iosSwal) {
    z-index: 3000;
    padding: 0;
  }

.iosSwal {
  border-radius: 15px 15px 0 0;
}

  .iosSwal > .swal2-html-container {
    margin: 1.5em 0 0;
    padding: 0 15px !important;
  }

  .iosSwal > .swal2-actions {
  }

    .iosSwal > .swal2-actions > button {
      padding: 0.8em;
      font-size: 1.25rem;
      margin: 0.5em;
    }

      .iosSwal > .swal2-actions > button:focus {
        background-color: var(--bs-btn-bg); /* Set it to the desired background color or 'inherit' */
        color: var(--bs-btn-color); /* Set it to the desired text color or 'inherit' */
      }

      .iosSwal > .swal2-actions > button:hover {
        background-color: var(--bs-btn-bg); /* Set it to the desired background color or 'inherit' */
        color: var(--bs-btn-color); /* Set it to the desired text color or 'inherit' */
      }

    .iosSwal > .swal2-actions > .btn + .swal2-cancel {
      margin-top: 0.4em;
    }





.actionPopup {
  border-radius: 8px 8px 0 0;
  background: transparent;
}

.actionBody {
  background-color: white;
  margin: 0 5px !important;
  border-radius: 8px 8px 0 0;
  padding: 20px 10px !important;
  border-bottom: 1px solid #BBB;
}

.actionButtons {
  margin: 0;
}

  .actionButtons > button {
    margin: 5px;
    padding: 15px;
  }

  .actionButtons > .swal2-confirm {
    background-color: #fff;
    color: black;
    margin: 0 5px;
    /*border-radius: 0;
    border-bottom: 1px solid #BBB;*/
  }

    .actionButtons > .swal2-confirm:focus {
      box-shadow: none;
    }

  .actionButtons > .swal2-deny {
    background-color: #fff;
    color: black;
    margin: 0 5px;
    /*border-radius: 0 0 8px 8px;*/
  }

    .actionButtons > .swal2-deny:focus {
      box-shadow: none;
    }

  .actionButtons > .swal2-cancel {
    background-color: var(--bs-gray);
    /*border-radius: 8px;*/
    margin: 8px 5px;
  }


body.swal2-shown > [aria-hidden="true"] {
  transition: 0.1s filter;
  filter: blur(4px);
}



input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  background-color: transparent !important; /* Change the background color */
  color: #fff !important; /* Change the text color */
}

.preloaderLogo {
  background-image: url("/assets/logo-icon.png");
  background-size: 100% 100%;
  background-position: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
}
/*
  input[type="date"]:before {
    content: attr(data-date);
  }

input[type="date"]::-webkit-datetime-edit, input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-clear-button {
  display: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 20px;
  right: 10px;
}*/

input[type='date']:in-range::-webkit-datetime-edit-year-field,
input[type='date']:in-range::-webkit-datetime-edit-month-field,
input[type='date']:in-range::-webkit-datetime-edit-day-field,
input[type='date']:in-range::-webkit-datetime-edit-text {
  color: transparent;
}


.form-floating .select2-container--bootstrap-5 .select2-selection {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
}

  .form-floating .select2-container--bootstrap-5 .select2-selection > .select2-selection__rendered {
    margin-top: 0.6rem;
    margin-left: 0.25rem;
  }




.btn-teal {
  --bs-btn-color: #fff;
  --bs-btn-bg: #008080; /* Teal base */
  --bs-btn-border-color: #008080;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #006666; /* Darker teal */
  --bs-btn-hover-border-color: #005c5c;
  --bs-btn-focus-shadow-rgb: 0, 128, 128;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #005c5c; /* Even darker teal */
  --bs-btn-active-border-color: #005252;
  --bs-btn-disabled-bg: #008080;
  --bs-btn-disabled-border-color: #008080;
  --bs-btn-disabled-color: #fff;
}

.bg-teal {
  background-color: #008080 !important; /* Base teal */
  color: #fff !important; /* Light text to contrast */
}

.text-bg-teal {
  color: #fff !important;
  background-color: RGBA(var(--bs-teal-rgb), var(--bs-bg-opacity, 1)) !important;
}