#tb_proyectos td, #tb_proyectos th {
    vertical-align: middle; /* Centrado vertical */
    text-align: center; /* Opcional: Centrado horizontal */
  }

  /* Estilo adicional para la tabla */
  #tb_personaldocente {
    width: 100%;
    border-collapse: collapse;
  }
/* Ajusta el z-index de las notificaciones de Alertify */
.alertify-logs {
  z-index: 1060 !important; /* Mayor que el z-index del modal de Bootstrap (1050) */
}

#cliente, #dni_v, #telefono_v, #direccion_v {
  background-color: transparent !important;
}

#tb_detalleVenta th:nth-child(3), 
#tb_detalleVenta td:nth-child(3), 
#tb_detalleVenta th:nth-child(4), 
#tb_detalleVenta td:nth-child(4) {
    width: 20%; /* Ajusta según necesidad */
    min-width: 150px;
    text-align: right; /* Alinea los montos a la derecha */
}

#tb_descripcion th:nth-child(3), 
#tb_descripcion td:nth-child(3), 
#tb_descripcion th:nth-child(4), 
#tb_descripcion td:nth-child(4) {
    width: 20%; /* Ajusta según necesidad */
    min-width: 150px;
    text-align: right; /* Alinea los montos a la derecha */
}

.btn-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border-radius: 50%;
    padding: 16px 18px;
    font-size: 20px;
    background-color: #007bff; /* ejemplo: azul Bootstrap */
    color: white;
    border: none;

    /* 🔹 sombra */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

/* efecto hover */
.btn-flotante:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.btn-flotante i {
  margin: 0;
}

.bootstrap-switch-focused {
  box-shadow: none !important;
}

/* --------------------- */
html, body {
  height: 100%;
  margin: 0;
}

.content-wrapper.iframe-mode {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrapper .tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-wrapper .tab-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-wrapper iframe#inicio {
  flex: 1;
  border: none;
  width: 100%;
}

.badge-pink    { background-color: #e83e8c; color: #fff; }
.badge-teal    { background-color: #20c997; color: #fff; }
.badge-orange  { background-color: #fd7e14; color: #fff; }
.badge-indigo  { background-color: #6610f2; color: #fff; }

/* ---------------------- */
.label-over-border {
  position: relative;
  margin-top: 1.5rem;
}

.label-over-border label {
  position: absolute;
  top: -0.75rem;
  left: 0.75rem;
  transform: none;
  background-color: #fff;
  padding: 0 8px;
  font-size: 0.9rem;
  color: #1f2020;
  z-index: 1;
  transition: color 0.3s ease;
}

.label-over-border .form-control {
  border: 1px solid #b2b7bd;
  padding-top: 0.75rem;
  transition: border-color 0.3s ease;
}

/* 🔵 Cambio de color cuando el campo tiene foco */
.label-over-border .form-control:focus {
  border-color: #17a2b8; /* celeste tipo Bootstrap */
}

.label-over-border .form-control:focus ~ label {
  color: #17a2b8; /* mismo color para el label */
}

.solo-lectura {
  background-color: #fff !important; /* fondo blanco */
  color: #212529 !important;         /* texto normal de Bootstrap */
  opacity: 1 !important;             /* evita que se vea desvanecido */
  cursor: default;                   /* cursor normal (no tipo texto) */
}


#carrito_cards .card {
    border-left: 4px solid #007bff;
}
#carrito_cards strong {
    color: #343a40;
}

.is-invalid {
  border: 1px solid #dc3545 !important;
  box-shadow: 0 0 3px rgba(220, 53, 69, 0.5);
}

@media (max-width: 576px) {
  .dropdown-menu-left {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
}