/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2/05/2019, 03:08:00 PM
    Author     : michaelu
*/

/*body {
    background-color: #000308;
    background: rgba(100,96,169,1);
    background: -moz-linear-gradient(-45deg, rgba(100,96,169,1) 0%, rgba(219,36,103,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(100,96,169,1)), color-stop(100%, rgba(219,36,103,1)));
    background: -webkit-linear-gradient(-45deg, rgba(100,96,169,1) 0%, rgba(219,36,103,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(100,96,169,1) 0%, rgba(219,36,103,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(100,96,169,1) 0%, rgba(219,36,103,1) 100%);
    background: linear-gradient(135deg, rgba(100,96,169,1) 0%, rgba(219,36,103,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6460a9', endColorstr='#db2467', GradientType=1 );
}

.navbar-glass{
    background-color:  rgba(0, 0, 0, .0);
    
}

.navbar-light .navbar-brand{
    color: #f6f8fa;
}

.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus{
    color: #adb9c9;
}

.btn-primary, .navbar-vertical .btn-purchase {
    color: #fff;
    background-color: #6460a9;
    background-image: var(--bs-gradient);
    border-color: #6460a9;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.btn-primary:hover, .navbar-vertical .btn-purchase:hover {
    color: #fff;
    background-color: #645AA9;
    background-image: var(--bs-gradient);
    border-color: #6460a9;
}*/

/* Esto se pone porque al modo oscuro había que ponerle otra clase en todos los componentes para que funcione bien */
html[data-bs-theme="dark"] input,
html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] .dropdown.bootstrap-select button.btn-light,
html[data-bs-theme="dark"] tr th,
html[data-bs-theme="dark"] tr td,
html[data-bs-theme="dark"] .bg-light{
  background-color: #0b1727 !important;
  color: #f9fafd !important;
}

.sizeText{
    font-size: 13px;
}

#botones{    
    text-align: end;
}

.noFondoModal{

    background-color:transparent;
    box-shadow:none;
    border:none;

}

.off{
    background-color: #2c7be5;
}
.off:hover{
    background-color: #1a68d1;
}

.toggle-off,.toggle-off:hover{
    color:#ffffff;
}

.select2-container{
    width: 100% !important;
}

.custom-file-label::after {
    content: "Buscar" !important;
}


a.paginate_button.current{
    background:  #1862c6 !important;
    border-color: #175dba !important;
    
}

a.paginate_button{
    color: #FFFFFD !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    background:  #1862c6 !important;
}

.paginate_button.disabled:active{
    color:#ffffff !important;
}
 
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 40%;
    left: 0px;
    opacity: 0.5;
    filter: alpha(opacity=50);
 }
 
 .divOlvido{
     z-index:1001;
 }
 
.ajs-custom{
     color: #31708f !important;  
     background-color: #d9edf7 !important;  
     border-color: #31708f !important; 
 }
 
 .bg-card-gradient{
 background-image: linear-gradient(
-45deg
, #866edc, #4b78e5,#1384ed,#2c7eec,#7770dc,#6774e4) !important;
 }
  
 /* .table-bordered th, .table-bordered td {
    border: 1px solid #000000;
} */

.alertify.ajs-resizable .ajs-header, .alertify.ajs-maximized .ajs-header{
    padding: 14px 24px !important;
}

.div-btn{
    width: 100px;
    height: 10px;
    background-color: red;
}

#btn-benef-1{

    display: none;
}

#btn-benef-2{

    display: none;
}

#btn-benef-3{

    display: none;
}

#btn-benef-4{

    display: none;
}

#btn-benef-10{

    display: none;
}

#p-benef-10{

    color: #FFB221;
}

.nav-link-icon{
    color: #99A3A4 !important;
}

.nav-link-text{
    text-transform: capitalize;
}

.dropdown-indicator:after {
    content: "+";
    display: block;
    position: absolute;
    right: 0px !important;
    height: auto !important;
    width: auto !important;
    border-right: 0px solid #5e6e82 !important;
    border-bottom: 0px solid #5e6e82 !important;
    top: 20% !important;
    -webkit-transform: translateY(-0%) rotate(0deg) !important;
    -ms-transform: translateY(-0%) rotate(0deg) !important;
    transform: translateY(-0%) rotate(0deg) !important;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition-property: border-color, -webkit-transform;
    transition-property: border-color, -webkit-transform;
    -o-transition-property: transform, border-color;
    transition-property: transform, border-color;
    transition-property: transform, border-color, -webkit-transform;
  }
  
  .dropdown-indicator[aria-expanded="true"]:after {
    /* -webkit-transform: translateY(-50%) rotate(225deg);
    -ms-transform: translateY(-50%) rotate(225deg);
    transform: translateY(-50%) rotate(225deg); */
    content: "-";
  }

  .menu-externo[aria-expanded="true"]{

    border-bottom: 1px solid #99A3A4;

  }


  .breadcrumb-item + .breadcrumb-item::before{
    content: "/";
  }

  .active2{
    color: #1384ed;
  }

  .fc-toolbar-title::first-letter{
    text-transform: uppercase; 
  }


  .width-180{
     width:180px;
  }


  /*****************Inicio estilos btn cerrar selectpicker******************/

.popover-header {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: #344050;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
  }
  
  
  button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
  }
  
  
  button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
  }
  
  
  .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
  }
  
  
  button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
  }
  
  
  
  
  button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
  }
  button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
  }
  .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
  }
  button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
  }
  div, input, button, select, optgroup, textarea, label, .alert, .badge, .blockquote-footer, .btn, .falcon-data-table .paging_full_numbers .page-link, .falcon-data-table .paging_first_last_numbers .page-link, .falcon-data-table .paging_full .page-link, .falcon-data-table .paging_numbers .page-link, .falcon-data-table .paging_simple_numbers .page-link, .navbar, .pagination, .valid-feedback, .invalid-feedback {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  }
  
  
  button, select {
    text-transform: none;
  }
  
  
  button, input {
    overflow: visible;
  }
  
  
  input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }
  
  
  button {
    border-radius: 0;
  }
  
  
  *, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  
  button {
    appearance: auto;
    writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: buttontext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    box-sizing: border-box;
    background-color: buttonface;
    margin: 0em;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
  }
  
  
  .popover-header {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: #344050;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
  }


  .form-control{
    border: 1px solid #d8e2ef !important;
  }

.bootstrap-select .dropdown-menu {

    width: 100% !important;
    overflow-x: auto !important;
}

.dropdown-menu{
  color: #5e6e82;
}

  /*****************Fin estilos btn cerrar selectpicker******************/


  /*******Estilos input file *****/
  .form-control:hover:not(:disabled):not([readonly])::file-selector-button {
    background-color: #0096DC;
  }


  .form-control::file-selector-button {
    background-color: #1783EE;
  }

  /**********************Fin estilos input file**************************/


/**********************Estilos botones******************************/


.btn-primary{
  background-color:#1783EE;
}


.btn-secondary{
  background-color: #B1B1B1;
}


.btn-danger{
  background-color: #E63757;
}



/**********************Fin estilos botones***************************/


/****Estilos modales******/

.ajs-dialog{
  border-radius: 10px; 
}

.ajs-header{
  border-radius: 10px 10px 0px 0px;
}

.ajs-body{

  border-top: 1px solid #D5D5D5;

}

.ajs-footer{

  border-top: 1px solid #D5D5D5;
  border-radius: 0px 0px 10px 10px;

}

/*******Fin etsilos modales****/


/**********Estilos form-control readonly, disabled**********/

.form-control:disabled, .form-control[readonly]:disabled {
  background-color: var(--falcon-gray-200);
  opacity: 1;
}

.form-control[readonly]:enabled {
  background-color: #fff;
}

/*******Fin estilos form-control readonly, disabled*****/


/****Estilos chechbox toggle*****/
.toggle-handle{
  background-color: aliceblue;
}

.toggle-handle:hover{
  background-color: aliceblue;
}

/******Fin estilos checkbox toggle***/


/********Estilos notificaciones ******************/

/*
.container-img-notificaciones:hover #iconoNotificion {
  -webkit-transform:scale(1.3);transform:scale(1.3);
}

.container-img-notificaciones{
  overflow: hidden;
}*/

/* #iconoNotificion:hover {-webkit-transform: rotate(360deg);transform: rotate(360deg);} */

.efectoNotificacion{
  /* border-radius:50% !important; */
  /* -webkit-border-radius:50% !important; */
  box-shadow: 0px 0px 5px 5px #E63757 !important;
  -webkit-box-shadow: 0px 0px 5px 5px #E63757 !important;
  /* transform: rotate(360deg) !important; */
  /* -webkit-transform: rotate(360deg) !important; */
}

/********Fin estilos notificaciones***************/

.pointer{
  cursor: pointer;
}

.requerido:before {
  content: '* ';
  color: #E63757;
}

.opcional:after {
  content: ' (opcional)';
  font-size: smaller;
}

/* Estilo para nuevo ShowAlert */
#toastt {
  position : fixed;
  top : 7rem;
  left : 50%;
  transform : translate(-50%, -50%);
  width :100vw;
  padding : 20px;
  z-index : 99999;
  animation : fadeIn 1s forwards;
}
@media (max-width: 768px){
  #toastt{
    top: 9rem;
  }
  #toastt button {
    display: none;
  }
  .alert{
    display: flex;
    flex-flow: column;
    gap: 5px;
  }
}

.obligatorioGeneral::before{
  content: '* ';
  color: red;
}
.obligatorioGeneral::after{
content: ': ';
  color: gray;
}
.puntosGeneral::after{
  content: ': ';
  color: gray;
}

.myCustonErrorValidate {
  color: red;
}


/* Personalización del scrollbar */
::-webkit-scrollbar {
  width: 9px; /* Ancho del scrollbar */
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color del fondo del scrollbar */
}

::-webkit-scrollbar-thumb {
  background: #9fa0a2;
  border-radius: 1px; /* Borde redondeado */
}

::-webkit-scrollbar-thumb:hover {
  background: #9baac5; /* Color cambiante al pasar el cursor */
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}


.required{
  border-color: #E63757 !important;
}

.settings-panel-w-50 {
  width: 100% !important; /* Móviles: pantalla completa */
}

@media (min-width: 768px) {
  .settings-panel-w-50 {
    min-width: 50rem !important;
    max-width: 100% !important;
    width: auto !important; /* deja que crezca según contenido */
  }
}

.floating-button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  right: 5px; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.floating-button:hover{
  color: #2c7be5;
  background: gainsboro
}

.floating-button-bottom-1{
  bottom: 10px;
}

.floating-button-bottom-2{
  bottom: 55px;
}

.floating-button-bottom-3{
  bottom: 100px;
}

.floating-button-bottom-4{
  bottom: 145px;
}

@media (max-width: 768px) {
  .floating-button {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .floating-button-bottom-1{
    bottom: 5px;
  }

  .floating-button-bottom-2{
    bottom: 40px;
  }

  .floating-button-bottom-3{
    bottom: 75px;
  }

  .floating-button-bottom-4{
    bottom: 110px;
  }
}

.styleFormGeneric .form-group {
  margin-bottom: 0.8rem;
}
.styleFormGeneric .bootstrap-select.form-control .btn.dropdown-toggle {
  height: calc(1.5em + 0.625rem + 8px) !important;
}
.styleFormGeneric .bootstrap-select.form-control .filter-option {
  display: flex;
  align-items: center;
}
.styleFormGeneric select.form-control, .styleFormGeneric input.form-control, .styleFormGeneric .ts-control {
  height: calc(1.5em + 0.625rem + 10px) !important;
}
.styleFormGeneric .select2.select2-container .select2-selection.select2-selection--single, .styleFormGeneric .ts-control {
  min-height: calc(1.5em + 0.625rem + 9px) !important;
  height: 100% !important;
  overflow: hidden;
}
.styleFormGeneric .select2.select2-container .select2-selection.select2-selection--single .select2-selection__rendered {
  padding: 0.3125rem 1rem;
}
.styleFormGeneric input[type="file"] {
  max-height: max-content;
}
.styleFormGeneric .ts-control{
  border: 1px solid #d8e2ef !important;
  display: block;
  width: 100%;
  padding: 0.3125rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--falcon-gray-900);
  appearance: none;
  background-color: var(--falcon-quaternary-bg);
  background-clip: padding-box;
}
:is(#tablaPersonasBalanceoAseguramiento_wrapper,
  #tablaGestionProcesoDisciplinario_wrapper,
  #tableDocumentsGestionDisciplinary_wrapper,
  #tablaDocumentosContratoCandidato_wrapper,
  #tablaDocumentosPendientes_wrapper,
  #tablaClientes_wrapper,
  #tablaBeneficiariosSubirDocumentos_wrapper,
  #tablaServiceEnvioContratacion_wrapper,
  #tablaMetricaCandidatosPostulados_wrapper,
  ) {
  overflow-x: scroll;

  .dataTables_paginate {
    padding-top: 1rem !important;

    & .pagination {
      justify-content: flex-end !important;
    }

    & .paginate_button {
      background-color: transparent !important;

      &.active {
        a {
          background-color: #2c7be5 !important;
          color: #fff !important;
        }
      }
    }
  }
}

.dia-calendario {
  font-size: 12px;
  z-index: 2;
}

#btn-goToMessageHB{
    text-decoration: underline !important;
}

.vibrate{animation:vibrate 0.8s linear infinite} @keyframes vibrate{0%{transform:translate(0)}20%{transform:translate(-2px,2px)}40%{transform:translate(-2px,-2px)}60%{transform:translate(2px,2px)}80%{transform:translate(2px,-2px)}100%{transform:translate(0)}}


@keyframes pulse-scale {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

.loading-search-open-ai {
  display: inline-block;
  animation: pulse-scale 1s infinite;
}

/* Animación para aparecer desde abajo */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-input {
  width: 100%;
  padding: 10px 50px 10px 45px; /* espacio a la izquierda para el clip */
  border-radius: 20px;
  resize: none;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Botón de adjuntar (izquierda) */
.attach-btn {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f8f9fa;
  color: #0d6efd;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.attach-btn:hover {
    background-color: #6c7a89;
    color: white; /* opcional: cambiar color del icono/texto */
}

.attach-btn_icon{
  background-image: url("https://controlf.blob.core.windows.net/vumservice/assets/click-gris.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
}

.attach-btn:hover .attach-btn_icon,
.attach-btn:focus .attach-btn_icon,
.attach-btn:active .attach-btn_icon{
  background-image: url("https://controlf.blob.core.windows.net/vumservice/assets/click-blanco.svg");
}

/* Cambiar color cuando hay archivo válido */
.container-search-open-ai:has(#file_open_ai:valid) .attach-btn {
  background-color: #007bff;
  color: white;
}

/* Botón de enviar (derecha) */
.send-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.textColorMensajeGratitud{
    color: #6653b9;
}


/* Contenedor principal alineado a la derecha */
.buttons {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}

/* Grupo de botones */
.buttons_group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 520px; /* controla ancho máximo */
}

/* Botones uniformes */
.buttons_group .btn {
  flex: 1 1 0;
  min-width: 140px;
  white-space: nowrap;
}

/* Hover más suave (mejora UX) */
.buttons_group .btn {
  transition: all 0.2s ease-in-out;
}

/* Responsive PRO */
@media (max-width: 576px) {
  .buttons_group {
    flex-direction: column;
  }

  .buttons_group .btn {
    width: 100%;
  }
}