/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.z-medium {
  z-index: 5000 !important;
}

.z-max {
  z-index: 9999 !important;
}

.cookie-modal-dialog {
  max-width: 100% !important;
  margin: 0 !important;
}
.cookie-modal-dialog-content {
  border-radius: 0px !important;
}

input:not([type="checkbox"]) {
  height: 52px !important;
}

.hr {
  margin-top: 15px;
  margin-bottom: 15px;
}

.diners-logo-simple{
  max-height: 40px;
}

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 30px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
}

.authentication-wrapper .app-brand-text.demo {
  font-size: 1.5rem;
  text-transform: capitalize;
}
/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */

.ri-star-smile-line, .ri-error-warning-line, .ri-alert-line {
  font-size: 180px;
}

.alert-success > span > .ri-information-2-line{
  font-size: 0;
}

.alert-danger > span > .ri-alert-line {
  font-size: 0;
}

.form-control:disabled {
  background-color: #E2E2E2 !important;
  color: #7C7C7C !important;
}

.full-height {
  height: 100%;
}

.w-px-225{
  width: 225px !important;
}

.color-primary {
  color: #6041DD;
}

.right-side-content {
  background-color: #2400B6;
}
.right-side{
  background-image: url('http://gestionafacilito.com/static/img/illustrations/right-side.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  opacity: 50%;
}

.card {
  box-shadow: none !important;
  border-radius: 12px !important;
}
.dataTables_wrapper .row:first-child {
  background-color: #F3EFFF;
}
.table {
  background-color: #F3EFFF;
}
.table thead tr th {
  background-color: #6041DD !important;
  color: #ffffff;
}

.table thead tr th:first-child {
  border-top-left-radius: 12px;
}

.table thead tr th:last-child {
  border-top-right-radius: 12px;
}

.table tbody {
  background-color: #ffffff;
}

.table tbody tr td {
  background-color: #ffffff;
  color: #212020;
}

div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper .dataTables_filter {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin: 0 !important;
}

.form-select {
  border: 0 !important;
  color: #6041DD !important
}
.dataTables_length {
  margin-right: 20px;
}
.dataTables_info {
  margin-right: 10px;
}

.search-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.search-container input[type="text"] {
  width: 100%;
  max-width: 450px;
  height: 52px;
  padding: 10px 20px 10px 45px;
  border-radius: 12px;
  border: 1px solid #6041DD;
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.3s ease-in-out;
}

.search-container input[type="text"]:focus {
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.3);
}

.search-container::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236041DD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3ccircle cx="11" cy="11" r="8"/%3e%3cline x1="21" y1="21" x2="16.65" y2="16.65"/%3e%3c/svg%3e');
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-rounded {
  border-radius: 12px !important;
}

.btn{
  height: 52px;
  text-transform: none !important;
}

.btn > .icon {
  margin-left: 10px;
}

.btn > i {
  margin-right: 10px;
}
.btn-back {
  padding: 14px 20px 14px 20px;
}

.btn-label-info, .btn-label-warning, .btn-label-secondary, .btn-label-success, .btn-label-danger, .btn-label-primary {
  border-radius: 22px !important;
  height: 32px;
  padding: 20px !important;
  text-decoration: underline;
  text-transform: none !important;
}

.dropdown-container {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}
.dropdown-container-client {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  height: 52px;
}

.dropdown-label {
  font-size: 14px;
  color: #6a3efb; /* Color violeta */
  margin-bottom: 5px;
}

.dropdown-select {
  width: 100%;
  padding: 10px;
  padding-right: 40px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #6a3efb; /* Borde violeta */
  appearance: none;
  position: relative;
  background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 22" fill="none"%3e%3cpath d="M10.9999 12.0743L15.5374 7.53676L16.8336 8.83292L10.9999 14.6666L5.16626 8.83292L6.46243 7.53676L10.9999 12.0743Z" fill="%236a3efb" fill-opacity="0.9"/%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
  background-color: white;
  height: 100%;
  cursor: pointer;
}

.dropdown-container-client > .dropdown-select {
  border: 1px solid #d1cfd4;
}

.dropdown-container-client > .dropdown-select:focus {
  border: 2px solid #6a3efb;
  box-shadow: none;
}

.max-text-size {
  max-width: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-select:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(106, 62, 251, 0.5);
}

  /* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

table.dataTable thead > tr > th.sorting_asc::before {
  opacity: 0 !important;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.11); /* Fondo semitransparente */
  z-index: 9999; /* Asegura que esté por encima de todo */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5em;
  visibility: hidden; /* Inicialmente oculto */
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}
