:root {
    --primary-color: #187af3;
    --md-outlined-text-field-border: 0px;
    --md-filled-text-field-container-shape: 0px;
    --md-sys-typescale-body-large: 400 1rem system-ui;
    --md-sys-color-primary: var(--primary-color);
    --md-sys-color-surface-container: #FFF;
    --md-sys-color-surface-container-highest: #e0e3e2;
    --md-filled-text-field-label-text-color: #3f4948;

    --md-sys-color-on-surface-variant: #3f4948;
    --md-focus-ring-color: transparent;
    --md-focus-ring-width: 0px;

    /*menu items paddigns*/
    --md-menu-item-one-line-container-height : 2.5px;
    --md-menu-item-top-space: 10px !important;
    --md-menu-item-bottom-space: 10px !important;
    --md-menu-item-leading-space: 10px !important;
    --md-menu-item-trailing-space: 10px !important;
}

.invalid-feedback{
  position: relative;
  width: 90%;
  text-align: center;
  margin-left: 1.25rem;
}

.is-invalid{
  transition: .2s ease;
  border-color: #F52C5C !important;
}

.is-invalid-input{
  transition: .2s ease;
  color: #F52C5C !important;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 40px; /* Espacio para el ícono */
    border-radius: 25px !important;
}

.item-padding {
  padding-block: 0px !important;
}

.input-with-icon md-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* El ícono no interferirá con el input */
}

.filter-active{
  background-color: #d3d4d5 !important;
}

.filter-active:hover{
  background-color: #d3d4d5 !important;
}

.table-badge{
  width: 100px;
}

.pending-badge{
  background-color: #cfdff3;
  border-radius: 25px !important;
}

.text-small{
  font-size: 0.85em;
}

.notification-badge{
  min-height: 70px;
}

.badge-info{
  background-color: #c3d8f2;
}

.badge-success{
  background-color: #c3f2cb;
}

.badge-warning{
  background-color: #ffeeaa;
}

.badge-danger{
  background-color: #ffbeba;
}

.icon-notification{
  background-color: #e9e9e9;
  font-size: 18px;
  height: 40px;
}

.icon-notification md-icon{
  font-size: 18px;
}

.rounded-tag{
  border-radius: 25px;
}

.sidebar {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  background-color: #FFF;
  color: #000;
  padding-top: 20px;
  z-index: 1000;
  transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar .sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.sidebar a {
  display: block;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
}

.icon-btn{
    cursor: pointer;
}

.sidebar a:hover, .icon-btn md-icon:hover {
  color: #187af3;
}

.main-content {
  margin-left: 100px;
  transition: margin-left 0.3s ease, margin-top 0.3s ease;
}

.container{
    padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.search-bar {
  width: 50%;
}

.profile-btn {
  display: flex;
  align-items: center;
}

.top-menu {
  display: none;
  width: 100%;
  background-color: #FFF;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  align-items: center;
}

.top-menu .menu-icon {
  font-size: 1.5rem;
  color: white;
  margin-right: 10px;
}

.top-menu .menu-toggle-btn {
  background-color: #FFF;
  border: none;
  color: #000;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 5px;
  margin: 5px;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid;
  padding: 10px;
}

.provider-tab{
  max-width: 180px;
  border-radius: 25px;
}

.provider-tab:hover{
  cursor: pointer;
  transition: .3s all;
}

.provider-tab img{
  height: 75px;
  width: 75px;
  -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.provider-tab:hover img{
  /*
  height: 85px;
  width: 85px;*/
  box-shadow: var(--bs-box-shadow) !important;
  -webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.provider-tab:hover span{
  color: #0088ff;
  transition: .3s ease-in-out;
}

.bg-tab{
  background-color: #187af3;
}

.bg-tab md-icon{
  font-size: 1.8em;
}

.checklist-active{
  border-left: solid 8px #c0c0c0;
}

.checklist-tab:hover{
  cursor: pointer;
  background-color: #dddddd;
  transition: 0.5s all ease;

}

md-dialog {
  background-color: #FFFFFF;
  --md-dialog-container-color: #FFFFFF;
  --md-sys-color-surface: #FFFFFF; /* Cambia aquí el color de fondo */
  --md-sys-color-on-surface: #000; /* Cambia aquí el color del texto si es necesario */
  max-width: 500px;
  z-index: 1010 !important;
}

.scrim {
  z-index: 1010 !important;
}

#criticality:hover{
  cursor: pointer;
}

.notification-icon{
  font-size: 75px;
  height: 75px;
  width: 75px;
}

.notification-info{
  color: #187af3;
}

.notification-danger{
  color: #F52C5C;
}

.notification-warning{
  color: #ffeeaa;
}

.notification-success{
  color: #2e7d32;
}

.input-wrapper {
  width:100%;
  position: relative;
}

.input {
  height: 45px;
  font-size: 16px;
  padding: 11px 15px;
  border-radius: 20px;
  border: 1px solid #CBD8E3;
  width: 100%;
  outline: none;
  box-sizing: border-box;
}
/*
.checkbox-list:disabled{
  color: #0088ff;
  background-color: #0088ff;
  border: 1px solid rgba(132, 148, 160, 0.121)
}*/

.file-request-title{
  font-weight: bold;
  font-size: 14px;
}

.file-request-type{
  width: 125px;
  background-color: #6c757d;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
}

.file-request-detail{
  font-size: 10px;
}

.placeholder-label {
  pointer-events: none;
  position: absolute;
  font-weight: 400;
  top: 12px;
  left: 14px;
  padding: 0 8px;
  background-color: white;
  border-radius: 5px;
  transition: transform 250ms cubic-bezier(0.4,0,0.2,1), opacity 250ms cubic-bezier(0.4,0,0.2,1);
  color: grey;
}

.input:not(:placeholder-shown).input:not(:focus) + .placeholder-label {
  transform: scale(.75) translateY(-36px) translateX(-15%);
  color: #CBD8E3;
  transition: .2s ease;
}

.input:focus {
  border-color: #0088ff;

}

.input:focus + .placeholder-label {
  transform: scale(.75) translateY(-36px) translateX(-15%);
  color: #0088ff;
  top: 16px;
  transition: .2s ease;
}

.input:invalid:not(:placeholder-shown){
  transition: .2s ease;
  border-color:#F52C5C;
}

.bg-segmentation {
  transition: .25s;
  --bs-bg-opacity: 1;
  background-color: rgb(204 246 255) !important;
}

.bg-segmentation:hover {
  --bs-bg-opacity: 1;
  background-color: rgb(92 215 241) !important;
}

.input:invalid:not(:placeholder-shown) + .placeholder-label{
  transition: .2s ease;
  color:#F52C5C;
}
.input:invalid:not(:placeholder-shown).input:not(:focus) + .placeholder-label {
  transform: scale(.75) translateY(-36px) translateX(-15%);
  color: #F52C5C;
  transition: .2s ease;
}

/*contenedor de notificaciones*/

.tasks-container{
  padding: 10px;
  max-height: 325px;
  overflow: hidden;  
  transition: box-shadow 0.3s ease;
}

.notification-container{
  padding: 10px;
  max-height: 300px;
  overflow: hidden;  
  transition: box-shadow 0.3s ease;
}

.notification-container:hover,.tasks-container:hover {
  overflow: auto;
  overflow-x: hidden !important;
  box-shadow: var(--md-sys-elevation-level3);
}

.notification-container::-webkit-scrollbar,.tasks-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.notification-container::-webkit-scrollbar-track, .tasks-container::-webkit-scrollbar-track {
  background: transparent;
}

.notification-container::-webkit-scrollbar-thumb, .tasks-container::-webkit-scrollbar-thumb {
  background: rgb(189, 189, 189);
  border-radius: 10px;
}


.notification-container::-webkit-scrollbar-thumb:horizontal,.tasks-container::-webkit-scrollbar-thumb:horizontal {
  border-radius: 10px;
}

.notification-container::-webkit-scrollbar-thumb:vertical,.tasks-container::-webkit-scrollbar-thumb:vertical {
  border-radius: 10px;
}

/*tabla personalizada*/

.dt-column-title{
  margin-left: 20px;
}

.dt-paging, .dt-length{
  font-size: 14px;
  margin-top: 2.5em;
}

#dt-length-0{
  width: 50px;
}

.dt-input {
  width: 250px; /* Ancho personalizado */
  padding: 10px; /* Relleno para mayor tamaño del cuadro */
  border: 2px solid #4CAF50; /* Borde verde */
  border-radius: 5px; /* Bordes redondeados */
  outline: none; /* Eliminar el contorno predeterminado */
}

.dt-input:focus {
  border-color: #2e7d32; /* Cambiar color de borde al enfocar */
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Sombra verde al enfocar */
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th, table.dataTable tfoot td {
  text-align: center !important;
}

#providers-table_wrapper .dataTables_scroll .dataTables_scrollBody table, 
#providers-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#providers-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border: none;
}

#employees-table_wrapper .dataTables_scroll .dataTables_scrollBody table, 
#employees-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#employees-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border: none;
}

#contacts-table_wrapper .dataTables_scroll .dataTables_scrollBody table, 
#contacts-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#contacts-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border: none;
}

#areas-table_wrapper .dataTables_scroll .dataTables_scrollBody table, 
#areas-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#areas-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border: none;
}

#segmentation-table_wrapper .dataTables_scroll .dataTables_scrollBody table, 
#segmentation-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#segmentation-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border: none;
}

.dt-orderable-asc,.dt-orderable-desc,.dt-ordering-asc {
  border-bottom: none !important;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
  border-bottom: none !important;
}

#providers-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#providers-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 !important;
  border-right: 3px solid #dee2e6 !important;
}

#employees-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#employees-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 !important;
  border-right: 3px solid #dee2e6 !important;
}

#contacts-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#contacts-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 !important;
  border-right: 3px solid #dee2e6 !important;
}

#areas-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#areas-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 !important;
  border-right: 3px solid #dee2e6 !important;
}

#segmentation-table_wrapper .dataTables_scroll .dataTables_scrollBody table th, 
#segmentation-table_wrapper .dataTables_scroll .dataTables_scrollBody table td {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 !important;
  border-right: 3px solid #dee2e6 !important;
}

#employees-table_wrapper .top, 
#providers-table_wrapper .top, 
#contacts-table_wrapper .top,
#segmentation-table_wrapper .top,
#areas-table_wrapper .top,
#users-table_wrapper .top
{
  display: flex;
  /*justify-content: space-between;*/
  justify-content: end;
  align-items: center;
  margin-bottom: 10px; 
}

#employees-table_wrapper .bottom, 
#providers-table_wrapper .bottom, 
#contacts-table_wrapper .bottom,
#segmentation-table_wrapper .bottom,
#areas-table_wrapper .bottom,
#users-table_wrapper .bottom
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}


.custom-table td,
.custom-table th {
  border-top: none;
  border-bottom: none;
  border-left: 3px solid #dee2e6 ;
  border-right: 3px solid #dee2e6 ;
}

.custom-table td:first-child,
.custom-table th:first-child {
  border-left: none;
}

.custom-table td:last-child,
.custom-table th:last-child {
  border-right: none;
}

#evaluation-table tr th{
  color: #475569ff;
  background-color: #f4f5fa;
  border: none;
}

.confirmation-btn{
  font-size: 0.75em;
  height: 75px;
  width: 75px;
  text-align: center;
  line-height: 75px;
  border-radius: 10px;
  background-color: #e2e2e2;
}

.confirmation-btn:hover{
  font-size: 1em;
  cursor: pointer;
  transition: .25s all;
}

.confirmation-yes{
  background-color: #c3f2cb;
}

.confirmation-no{
  background-color: #fcbcb8;
}

/*manipular direccion de iconos*/
.rotate-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.rotate-icon-45 {
  transform: rotate(45deg);
}

.rotate-icon-90 {
  transform: rotate(90deg);
}

.rotate-icon-180 {
  transform: rotate(180deg);
}

.rotate-icon-360 {
  transform: rotate(360deg);
}

.cursor-pointer{
  cursor: pointer !important;
}

/*animacion para colas maximo 2.3seg*/

.queue-0 { animation-delay: 0s; }
.queue-1 { animation-delay: .25s; }
.queue-2 { animation-delay: .50s; }
.queue-3 { animation-delay: .75s; }
.queue-4 { animation-delay: 1s; }
.queue-5 { animation-delay: 1.25s; }
.queue-6 { animation-delay: 1.35s; }
.queue-7 { animation-delay: 1.45s; }
.queue-8 { animation-delay: 1.55s; }
.queue-9 { animation-delay: 2s; }
.queue-10 { animation-delay: 2.15s; }
.queue-11 { animation-delay: 2.25s; }
.queue-12 { animation-delay: 2.30s; }

.p-relative{ 
  position: relative !important;
  overflow: hidden;
}

.p-absolute{
  position: absolute !important;
}

/* subir imagen */

.file-upload {
  background-color: #ffffff;
  margin: 0 auto;
  padding: 20px;
}

.file-upload-btn:active {
  border: 0;
  transition: all .2s ease;
}

.file-upload-content {
  display: none;
  text-align: center;
}

.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.image-upload-wrap {
  margin-top: 20px;
  border: 2px dashed #3c8dbc;
  position: relative;
  border-radius: 25px;
}

.image-dropping,
.image-upload-wrap:hover {
  background-color: #8dbad4;
  border: 4px dashed #ffffff;
  transition: 0.25s all;
  color: #fff;
  border-radius: 30px;
}

.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #222;
}

.drag-text {
  text-align: center;
}

.drag-text h3 {
  text-transform: uppercase;
  color: #3c8dbc;
  padding: 60px 0;
  font-weight: 100;
}

.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}

.remove-image {
  width: 200px;
  margin: 0;
  color: #fff;
  background: #cd4535;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #b02818;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.remove-image:hover {
  background: #c13b2a;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}

.remove-image:active {
  border: 0;
  transition: all .2s ease;
}

@media (max-width: 768px) {
  .file-upload {
      background-color: #ffffff;
      width: 100%;
      margin: 0 auto;
      padding: 20px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100px;
    transform: translateX(-100%);
  }
  .main-content {
    margin-left: 0;
  }
  .top-menu {
    display: flex;
  }
  .main-content {
    margin-top: 75px; /* Empuja el contenido hacia abajo */
  }
}

@media (max-width: 576px) {
  .search-bar {
    width: 100%;
    margin-bottom: 10px;
  }
}
.sidebar.show {
  transform: translateX(0);
}