/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 

 */


.btn-primary {
  background-color: #25476a !important; /* Color de fondo */
  border-color: #25476a !important; /* Color del borde */
  box-shadow: 0 0 0 rgba(55, 60, 67, 0.25) !important; /* Sombra */
  color: #fff !important; /* Color del texto */
}

.btn-primary:hover {
  background-color: #1d3a5a !important; /* Color más oscuro en hover */
  border-color: #1d3a5a !important;
}

 


/*.modal-xl {
  max-width: 1920px !important;
}*/

.modal-fullscreen {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  left: 0 !important;
}

.modal-fullscreen .modal-dialog {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modal-fullscreen .modal-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
  flex-shrink: 0 !important;
  position: sticky !important;
  top: 0 !important; /* For header */
  bottom: 0 !important; /* For footer */
  z-index: 10 !important; /* Ensure they stay above modal body content */
  background-color: #fff !important; /* Optional: Background color to match modal content */
}

.modal-fullscreen .modal-body {
  overflow-y: auto !important;
  flex-grow: 1 !important;
}


.modal-footer {
  display: flex;
  justify-content: center;
  gap: 3rem; /* Ajusta el valor según el espacio que desees */
}

 
 

 
 .select2-container {
  width: 100% !important;
}

.select2-selection__rendered {
  line-height: 2.5 !important; /* Ajusta la altura según tus necesidades */
}

.select2-selection {
  height: 2.5em !important; /* Ajusta la altura según tus necesidades */
}

.select2-selection__arrow {
  height: 2.5em !important; /* Ajusta la altura según tus necesidades */
}



/* Estilo para los campos de formulario con errores */
.parsley-error {
  border-color: red !important;
  background-color: #fdd !important;
}

/* Estilo para los campos de formulario válidos */
.parsley-success {
  border-color: green !important;
  background-color: #dfd !important;
}

/* Estilo para los mensajes de error de Parsley.js */
.parsley-errors-list {
  color: red;
  list-style-type: none;
  padding: 0;
}


.card-small {
  width: 100%;
  margin-bottom: 1rem;
}


.dataTable img.small-img {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover !important;
 
}


  #paymentsChart {
    width: 300px !important;
    height: 200px !important;
  }


.clear-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #888;
  visibility: hidden; /* Oculto por defecto */
}

.clear-button.show {
  visibility: visible;
}

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

.form-control {
  padding-right: 30px; /* Espacio para el botón */
  box-sizing: border-box;
}


.form-control-plaintext {
  padding-left: 15px !important; /* Ajusta el valor de padding según lo necesites */
}



/* Deshabilitar interacciones dentro del contenido del tooltip */
.introjs-showElement {
    pointer-events: none;
    user-select: none;
}
 

 .bg-light-darker {
  background-color: #e0e0e0 !important; /* Color ligeramente más oscuro que bg-light */
}


.fd-sin-padding {
    padding-top:   0px !important;
    padding-left:  0px !important;
    padding-right: 0px !important;
}



.form-control-noclean {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-noclean:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control-noclean::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control-noclean:disabled, 
.form-control-noclean[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}



.label-flex {
    display: flex;
    align-items: center; /* Alinea verticalmente en el centro */
    gap: 8px; /* Espacio entre el círculo y el texto */
}

.circle-red {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: red;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Tamaño por defecto */
.dynamic-logo-size2 {
  width: 150px;
  height: 150px;
  object-fit: contain;
  /*opacity: 0.8;*/
  transition: all 0.3s ease;
}


/* ---------- Sidebar desplegada ---------- */
.brand-link {
  height: 48px !important;              /* alto “normal” */
  padding: 0 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-link .dynamic-logo-size {        /* logo grande */
  height: 100% !important;
  width: auto !important;
  max-height: none !important;          /* quita el tope de 33 px */
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  transition: all 0.3s ease !important;
}

/* ---------- Sidebar MINI (colapsada) ---------- */
.sidebar-mini.sidebar-collapse .brand-link {
  height: 48px !important;              /* mismo alto que AdminLTE */
  padding: 0 !important;                /* sin relleno extra */
  justify-content: center !important;
}

.sidebar-mini.sidebar-collapse .brand-link .dynamic-logo-size,
.sidebar-mini.sidebar-collapse .brand-link .brand-image { /* por si acaso */
  height: 100% !important;
  width: 100% !important;               /* llena también a lo ancho */
  max-height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;                 /* quita márgenes de AdminLTE */
  object-fit: contain !important;       /* “cover” si quieres recorte */
}



 /* ==== SAP Style for Card Headers ==== */
/* --- SAP FIORI CARD STYLE --- */

.card-header {
  background-color: #edf6ff !important;
  color: #354a5f !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}


 

.card-header .card-tools {
  color: #343a40 !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
}


.btn-primary {
  background-color: #05509aab !important;
  color: white !important;
  border: none !important;
  border-radius: 4px !important;
  
}

/* Restaurar btn-sm cuando se combine */
.btn.btn-sm {
  padding: 0.25rem 0.5rem !important;
 
}


 

label:not(.form-check-label):not(.custom-file-label){

  font-weight:400 !important;
}


.content {
  background-color: #edf6ff !important;
}

.content-header {
  background-color: #edf6ff !important;
}

