html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.etapa {
    flex: 1 1 200px; /* permite crecer y mantener mínimo */
    height: 100px;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f8f9fa;
    min-width: 180px;
}


.etapa-completada {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(255, 255, 255, 0.7));
    border: 2px solid #198754;
}


.etapa-activa {
    box-shadow: 0 0 12px rgba(13, 110, 253, 0.8); /* resplandor azul */
    transform: scale(1.02); /* efecto de que sobresale un poco */
    transition: all 0.3s ease-in-out;
}

.etapa-terminada {
    box-shadow: 0 0 12px rgba(25, 135, 84, 0.6); /* verde Bootstrap con menos intensidad */
    transform: scale(1.01); /* un poco más sutil que el activo */
    transition: all 0.3s ease-in-out;
}

/* Reducir vertical whitespace sin perder claridad */
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.2rem + 2px);
    padding-top: 1.2rem;
    padding-bottom: .6rem;
}

/* Asterisco dentro de label flotante siempre visible */
.form-floating label .text-danger {
    font-weight: 600;
}

.form-floating .is-filled ~ label {
    opacity: .65;
    transform: scale(.85) translateY(-0.6rem) translateX(.15rem);
}

#prioridadesList .list-group-item {
    user-select: none;
}

#prioridadesList .drag-handle {
    font-size: 1.1rem;
    line-height: 1;
}

#prioridadesList .order-index {
    display: inline-flex;
    justify-content: center;
}

.drag-ghost {
    opacity: .6;
}

.drag-chosen {
    box-shadow: 0 0 0 2px rgba(0,0,0,.08) inset;
}

.asistente-ausente td {
    text-decoration: line-through;
    opacity: .6;
}

/* DataTables - integrate with Bootstrap 5 look & feel */
.dataTables_wrapper .dataTables_filter input {
  border-radius: .25rem;
  height: calc(1.5em + .5rem + 2px);
  padding: .25rem .5rem;
}

.dataTables_wrapper .dt-buttons .btn {
  padding: .25rem .5rem;
  font-size: .85rem;
}

/* Make pagination buttons look like Bootstrap small buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border: 0;
  background: none;
  margin-left: .25rem;
  margin-right: .25rem;
  color: var(--bs-body-color);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: var(--bs-primary);
  color: #fff !important;
  border-radius: .25rem;
  box-shadow: none;
}

/* Compact length/select control */
.dataTables_wrapper .dataTables_length select {
  padding: .25rem .4rem;
  height: calc(1.5em + .5rem + 2px);
  font-size: .875rem;
}

/* Reduce spacing for table header controls area */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin: 0;
}

/* Align search input with Bootstrap form-control-sm */
.dataTables_wrapper .dataTables_filter input.form-control {
  height: calc(1.5em + .5rem + 2px);
}