/* Estilos Personalizados*/

.text-justify {
    text-align: justify;
}

.navbar .dropdown-toggle::after {
    display: none;
}

i,
span,
a {
    display: inline-block;
}

.item-active {
    background: linear-gradient(90deg, rgba(59, 125, 221, .1), rgba(59, 125, 221, .0875) 50%, transparent) !important;
    border-left-color: #3b7ddd !important;
    color: #e9ecef !important;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* altura completa de la ventana */
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border-radius: 50%;
    background:
        linear-gradient(0deg, #0062a5 30%, #0000 0 70%, #007acc 0) 50%/8% 100%,
        linear-gradient(90deg, #0062a5 30%, #0000 0 70%, #007acc 0) 50%/100% 8%;
    background-repeat: no-repeat;
    animation: l23 1s infinite steps(12);
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    border-radius: 50%;
    background: inherit;
    opacity: 0.915;
    transform: rotate(30deg);
}

.loader::after {
    opacity: 0.83;
    transform: rotate(60deg);
}

@keyframes l23 {
    100% {
        transform: rotate(1turn)
    }
}

.table thead th.sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.mt-esp {
    margin-top: 1.29rem !important
}

.pdfViewer {
    height: 700px !important;
    width: 100%;
    overflow: auto;
}

.mt-esp-form {
    margin-top: 1.2rem !important
}

.filters-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}

.quick-access-card {
    transition: all 0.2s ease-in-out;
}

.quick-access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.fab-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 1050;
}

.fab-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.fab-actions.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 🔥 Botón tipo píldora */
.fab-action-btn {
  border: none;
  background: #f8f9fa;
  border-radius: 30px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.fab-action-btn:hover {
  transform: translateY(-2px);
  background: #f8f9fa;
}

/* Botón principal */
.fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background-color: #3b7ddd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}


.back-button {
  width: 45px;
  height: 45px;
  background-color: #198754;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.back-button:hover {
  background-color: #157347;
  transform: translateX(-2px);
}



/* Backdrop fade */
.custom-backdrop {
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.custom-backdrop.show {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

/* Animación del modal */
.custom-modal-animate {
    transform: scale(0.95) translateY(-10px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.custom-modal-animate.show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Contenido del modal */
.modal-content {
    background: #fff;
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}
