/* .tabla {
  padding: 2px;
  -moz-column-count: 2;
  -moz-column-gap: 1px;
  -webkit-column-count: 2;
  -webkit-column-gap: 1px;
  column-count: 2;
  column-gap: 1px;
}

.etiqueta {
  float: left;
  background: #e2e2e2;
  font-weight: 700;
  margin: 0 auto;
  width: 40%;
  padding: 6px;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  box-sizing: border-box;
}

.texto {
  float: right;
  box-sizing: border-box;
  background: #fff;
  margin: 0 auto;
  width: 60%;
  padding: 6px;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
}

.foto {
  background: #fff;
  color: #ddd;
  font-size: 30px;
  margin: 0 auto;
  width: 120px;
  height: 140px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px;
}

span.foto {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  line-height: normal;
}

div.blueTable {
  background-color: #ffffff;
  width: 100%;
  text-align: left;
}

.divTable.blueTable .divTableCell,
.divTable.blueTable .divTableCell1,
.divTable.blueTable .divTableHead {
  border: 1px solid #aaaaaa;
  padding: 4px 7px;
}

.divTable.blueTable .divTableBody .divTableCell {
  font-size: 13px;
}

.blueTable .tableFootStyle {
  font-size: 14px;
}

.blueTable .tableFootStyle .links {
  text-align: right;
}

.blueTable .tableFootStyle .links a {
  display: inline-block;
  background: #1c6ea4;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 5px;
}

.blueTable.outerTableFooter {
  border-top: none;
}

.blueTable.outerTableFooter .tableFootStyle {
  padding: 3px 5px;
}

.divTable {
  display: table;
}

.divTableRow {
  display: table-row;
}

.divTableHeading {
  display: table-header-group;
}

.divTableCell,
.divTableHead {
  display: table-cell;
}

.divTableHeading {
  display: table-header-group;
}

.divTableFoot {
  display: table-footer-group;
}

.divTableBody {
  display: table-row-group;
}

.divTableCell1 {
  background: #aaaaaa;
  font-weight: 700;
  color: #ffffff;
}

.titulo {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 15px;
}

div.tablaMaterias {
  width: 100%;
  text-align: left;
  padding-left: 15px;
  padding-right: 15px;
}

.divTable.tablaMaterias .divTableCell,
.divTable.tablaMaterias .divTableHead {
  border: 1px solid #aaaaaa;
  padding: 4px 7px;
}

.divTable.tablaMaterias .divTableBody .divTableCell {
  font-size: 12px;
}

.divTable.tablaMaterias .divTableRow:nth-child(even) {
  background: #f9f9f9;
}

.divTable.tablaMaterias .divTableHeading {
  background: #cfcfcf;
  background: -moz-linear-gradient(top, #dbdbdb 0%, #d3d3d3 66%, #cfcfcf 100%);
  background: -webkit-linear-gradient(top,
      #dbdbdb 0%,
      #d3d3d3 66%,
      #cfcfcf 100%);
  background: linear-gradient(to bottom, #dbdbdb 0%, #d3d3d3 66%, #cfcfcf 100%);
  border-bottom: 2px solid #444444;
}

.divTable.tablaMaterias .divTableHeading .divTableHead {
  font-size: 12px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.tablaMaterias .tableFootStyle {
  font-size: 14px;
}

.tablaMaterias .tableFootStyle .links {
  text-align: right;
}

.tablaMaterias .tableFootStyle .links a {
  display: inline-block;
  background: #1c6ea4;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 5px;
}

.tablaMaterias.outerTableFooter {
  border-top: none;
}

.tablaMaterias.outerTableFooter .tableFootStyle {
  padding: 3px 5px;
}

h4 {
  font-family: inherit;
}

.links {
  text-align: center;
}

.num {
  width: 5%;
}

.desc {
  width: 70%;
}

.det1 {
  width: 15%;
}

.det2 {
  width: 10%;
}

.desc50 {
  width: 50%;
}

.desc40 {
  width: 40%;
}

.desc20 {
  width: 20%;
}

a.list-group-item {
  background-color: #f6fdff;
  color: #000000;
}

.noleido {
  background-color: #f6fdff;
}

.guia {
  text-align: center;
  font-size: 15px;
}

a.attach:link {
  text-decoration: none;
  color: blue;
}

a.attach:visited {
  color: blue;
}

a.attach:hover {
  color: blue;
  font-weight: bold;
}

a.attach:active {
  color: blue;
  font-weight: bold;
}

.alicen {
  text-align: center;
}

.mini {
  font-size: 11px;
}

.hide-close .ui-dialog-titlebar-close {
  display: none;
}

.dp-highlight .ui-state-default {
  background: #484;
  color: #fff;
}

.ui-datepicker.ui-datepicker-multi {
  width: 100% !important;
}

.ui-datepicker-multi .ui-datepicker-group {
  float: none;
}

#datepicker {
  height: 300px;
  overflow-x: scroll;
}

.ui-widget {
  font-size: 100%;
}

.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.subtitulo {
  font-weight: bolder;
}

.bd-example {
  padding: 1.5rem;
  margin-right: 0;
  margin-left: 0;
  border-width: 1px;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  position: relative;
  margin: 1rem -0.75rem 0;
  border: solid #dee2e6;
}

.biometrico {
  font-size: 90%;
}

.etiqueta-control {
  font-weight: bold;
}

.ui-widget-overlay {
  opacity: .5;
}

.numero {
  text-align: right;
}

.centrar {
  text-align: center;
}

.alerta {
  padding: 15px;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  height: 200px;
  margin: 20px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  padding-left: 10px;
}

.bar {
  width: 50px;
  margin: 0 10px;
  background-color: #36A2EB;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar-value {
  margin-bottom: 5px;
  color: white;
  font-size: 14px;
}

.bar-label {
  text-align: center;
  margin-top: 10px;
}

.fila {
  margin-top: 10px;
  margin-bottom: 10px;
}

.form-control-static {
  margin-bottom: 4px;
}

.calculator {
  width: 250px;
  margin: 20px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.calculator input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  text-align: right;
  font-size: 18px;
}

.calculator button {
  width: 21%;
  padding: 10px;
  margin: 1%;
  font-size: 18px;
}

.ui-autocomplete {
  max-height: 200px;
  z-index: 99999;
}



 */

.password-strength {
  height: 10px;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  margin-top: 5px;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  background-color: red;
  border-radius: 5px;
  transition: width 0.3s;
}

.password-strength-text {
  font-size: 0.9em;
  margin-top: 5px;
}

.error {
  color: #D8000C;
  background-color: #FFBABA;
  padding: 10px;
  margin-bottom: 15px;
}

.success {
  color: #4F8A10;
  background-color: #DFF2BF;
  padding: 10px;
  margin-bottom: 15px;
}



/* =========================================================
   CONTALAB - INTERFAZ DE EJERCICIOS
   ========================================================= */

:root {
  --conta-primary: #2563eb;
  --conta-primary-dark: #1d4ed8;
  --conta-success: #16a34a;
  --conta-danger: #dc2626;
  --conta-bg: #e2e2e2;
  --conta-card: #ffffff;
  --conta-text: #1f2937;
  --conta-muted: #6b7280;
  --conta-border: #e5e7eb;
  --conta-shadow: 0 8px 25px rgba(15, 23, 42, .07);
}

/* Fondo general */
body {
  background: var(--conta-bg);
  color: var(--conta-text);
}

/* Barra superior */
.navbar {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

/* Contenedor principal */
.conta-page {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

/* Título */
.conta-title {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: white;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: var(--conta-shadow);
  margin-bottom: 10px;
  margin-top: 10px;
}

.conta-title i,
.conta-title svg {
  margin-right: 10px;
}

.conta-title h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
}

/* Tarjeta de información */
.info-card {
  background: var(--conta-card);
  border: 1px solid var(--conta-border);
  border-radius: 16px;
  padding: 15px;
  box-shadow: var(--conta-shadow);
}

/* .info-item {
  padding: 8px 15px;
} */

.info-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--conta-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.info-value {
  font-weight: 600;
  color: var(--conta-text);
}

/* Temporizador */
.timer-box {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: 8px 15px;
  text-align: center;
}

.timer-box .timer-label {
  font-size: .7rem;
  color: #991b1b;
  text-transform: uppercase;
  font-weight: 700;
}

.timer-box input {
  color: #dc2626 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  width: 100%;
  text-align: center;
  border: white;
}

/* Tarjeta de ejercicio */
.exercise-card {
  background: var(--conta-card);
  border-radius: 16px;
  box-shadow: var(--conta-shadow);
  border: 1px solid var(--conta-border);
  overflow: visible;
  margin-bottom: 20px;
}

/* Instrucción */
.instruction-box {
  margin: 10px 00px;
}

.instruction-title {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--conta-primary);
  margin-bottom: 8px;
}

.instruction-text {
  background: #deecff;
  border-left: 4px solid var(--conta-primary);
  padding: 15px;
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
  box-shadow: var(--conta-shadow);
}

/* Tabla */
.accounting-table {
  margin: 20px;
  width: calc(100% - 40px);
}

.accounting-table thead th {
  background: #f8fafc;
  border-bottom: 2px solid var(--conta-border);
  color: #475569;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.accounting-table tbody td {
  vertical-align: middle;
  padding: 8px;
}

.accounting-table input,
.accounting-table select {
  border-radius: 9px;
  border: 1px solid #d1d5db;
  min-height: 44px;
}

.accounting-table input:focus,
.accounting-table select:focus {
  border-color: var(--conta-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* Totales */
.total-row {
  background: #f8fafc;
  font-weight: 700;
}

.total-row td {
  border-top: 2px solid var(--conta-border);
}

/* Buscador de cuentas */
.account-search-wrapper {
  position: relative;
}

.account-search-wrapper .search-icon {
  position: relative;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  z-index: 3;
  width: 100%;
}

.account-search {
  padding-left: 20px !important;
  min-height: 46px;
  border-radius: 10px !important;
}

/* Resultados */
.account-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
}

.account-result {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s ease;
}

.account-result:last-child {
  border-bottom: none;
}

.account-result:hover {
  background: #eff6ff;
}

.account-code {
  font-size: .78rem;
  color: var(--conta-primary);
  font-weight: 700;
}

.account-name {
  font-size: .9rem;
  color: #334155;
}

.account-empty {
  padding: 15px;
  text-align: center;
  color: var(--conta-muted);
}

/* Botón agregar */
.btn-add-account {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Barra inferior */
.exercise-actions {
  padding: 15px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.exercise-actions .btn {
  border-radius: 9px;
  font-weight: 600;
}

/* Progreso */
.exercise-progress {
  margin-left: auto;
  color: var(--conta-muted);
  font-size: .9rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

  .conta-page {
    margin-top: 15px;
  }

  .info-item {
    padding: 8px 5px;
  }

  .instruction-box {
    margin: 15px;

  }

  .accounting-table {
    margin: 15px;
    width: calc(100% - 30px);
  }

  .exercise-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .exercise-actions .btn {
    width: 100%;
  }

  .exercise-progress {
    margin-left: 0;
    text-align: center;
  }
}


.table-responsive {
  overflow: visible !important;
}

.account-search-wrapper {
  position: relative;
  z-index: 1000;
}

.account-results {
  z-index: 99999;
}




/* =========================================
   CALCULADORA
   ========================================= */

#contenidoCalculadora {
  padding: 20px;
  background: #f5f6f8;
}


/* Contenedor */

.calculator {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}


/* Display */

.calculator-display {
  margin-bottom: 15px;
}

.calculator-display input {
  width: 100%;
  height: 65px;

  padding: 10px 15px;

  border: 1px solid #ced4da;
  border-radius: 8px;

  background: #ffffff;

  color: #333;

  font-size: 28px;
  font-weight: 600;

  text-align: right;

  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05);

  outline: none;
}


/* Teclado */

.calculator-keypad {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 8px;
}


/* Botones */

.calc-btn {
  height: 58px;

  border: 1px solid #dee2e6;
  border-radius: 7px;

  background: #ffffff;

  color: #333;

  font-size: 20px;
  font-weight: 500;

  cursor: pointer;

  transition:
    background-color .15s ease,
    transform .08s ease,
    box-shadow .15s ease;
}


/* Efecto al pasar el mouse */

.calc-btn:hover {
  background: #f1f3f5;

  box-shadow: 0 2px 5px rgba(0, 0, 0, .08);
}


/* Efecto al pulsar */

.calc-btn:active {
  transform: scale(.96);
}


/* Operaciones */

.calc-operation {
  background: #f1f3f5;

  color: #495057;

  font-weight: 600;
}


/* Botón limpiar */

.calc-clear {
  color: #dc3545;

  background: #fff5f5;

  font-weight: 600;
}


/* Igual */

.calc-equals {
  grid-row: span 2;

  height: 124px;

  background: #0d6efd;

  color: #fff;

  border-color: #0d6efd;

  font-size: 25px;
  font-weight: 600;
}

.calc-equals:hover {
  background: #0b5ed7;

  color: #fff;
}


/* Cero */

.calc-zero {
  grid-column: span 3;
}


/* Adaptación para móviles */

@media (max-width: 576px) {

  .calculator {
    max-width: 100%;
  }

  .calculator-display input {
    height: 60px;

    font-size: 25px;
  }

  .calc-btn {
    height: 55px;

    font-size: 19px;
  }

  .calc-equals {
    height: 118px;
  }

}


.table-detalle {
  background: white;
  border-radius: 15px;
  box-shadow: var(--conta-shadow);
  padding-top: 4px;
  padding-bottom: 4px;
}

.numero-ejercicio {
  text-align: center;
  font-weight: 700;
}

.fila {
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: lightgrey;
  padding: 5px;
}



/* ==========================================
   PERFIL DE USUARIO
   ========================================== */


/* Título */

/* .conta-title {
    margin-bottom: 15px;
}
 */
.conta-title h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 600;

/*     color: #343a40; */

    text-transform: uppercase;
}

.conta-title h2 i {
    margin-right: 8px;

    font-size: 20px;
}


/* Tarjeta principal */

.user-card {
    background: #ffffff;

    border: 1px solid #e1e5e9;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);

    overflow: hidden;
}


/* ==========================================
   CABECERA DEL USUARIO
   ========================================== */

.user-header {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background: #f8f9fa;

    border-bottom: 1px solid #e5e7eb;
}


/* Avatar */

.user-avatar {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #0d6efd;

    color: #ffffff;

    font-size: 23px;
}


/* Etiqueta */

.user-label {
    margin-bottom: 3px;

    font-size: 12px;

    font-weight: 600;

    color: #6c757d;

    text-transform: uppercase;

    letter-spacing: .5px;
}


/* Nombre */

.user-name {
    font-size: 18px;

    font-weight: 600;

    color: #343a40;
}


/* ==========================================
   INFORMACIÓN
   ========================================== */

.user-info {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 20px;

    padding: 20px;
}


.user-info-item {
    min-width: 0;
}


/* Etiquetas */

.info-label {
    margin-bottom: 5px;

    font-size: 12px;

    font-weight: 600;

    color: #6c757d;

    text-transform: uppercase;

    letter-spacing: .4px;
}


/* Valores */

.info-value {
    font-size: 15px;

    font-weight: 500;

    color: #343a40;

    line-height: 1.4;
}


/* Código del curso */

.course-code {
    display: inline-block;

    margin-left: 6px;

    padding: 3px 7px;

    border-radius: 4px;

    background: #f1f3f5;

    color: #495057;

    font-size: 11px;

    font-weight: 600;
}


/* Rol */

.role-badge {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 5px;

    background: #e7f1ff;

    color: #0d6efd;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .3px;
}


/* ==========================================
   RENDIMIENTO
   ========================================== */

.performance-card {
    margin: 0 20px 20px 20px;

    padding: 18px;

    border: 1px solid #e1e5e9;

    border-radius: 8px;

    background: #fafbfc;
}


/* Encabezado */

.performance-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 12px;
}


/* Título */

.performance-title {
    font-size: 14px;

    font-weight: 500;

    color: #343a40;
}


/* Porcentaje */

.performance-value {
    font-size: 20px;

    font-weight: 700;

    color: #0d6efd;

    white-space: nowrap;
}


/* Barra */

.progress-container {
    width: 100%;

    height: 25px;

    overflow: hidden;

    border-radius: 6px;

    background: #e9ecef;
}


/* Progreso */

.progress-bar-custom {
    height: 25px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    padding-right: 7px;

    min-width: 0;

    border-radius: 6px;

    background: #198754;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    transition: width .5s ease;
}


/*
 * Si el porcentaje es muy pequeño,
 * garantizamos que sea visible.
 */

.progress-bar-custom[style*="12.5%"] {
    min-width: 55px;
}


/* ==========================================
   IMAGEN
   ========================================== */

.user-image-card {
    height: 100%;

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border: 1px solid #e1e5e9;

    border-radius: 10px;

    background: #ffffff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}


.user-image-card img {
    width: 100%;

    height: 100%;

    min-height: 250px;

    object-fit: cover;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 767px) {

    .user-info {
        grid-template-columns: 1fr;
    }


    .user-header {
        padding: 16px;
    }


    .user-name {
        font-size: 16px;
    }


    .performance-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .performance-value {
        font-size: 18px;
    }


    .user-image-card {
        min-height: 200px;
    }


    .user-image-card img {
        min-height: 200px;
    }

}










/* =========================================================
   MENÚ PRINCIPAL
   ========================================================= */

.navbar-principal {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0.35rem 0;
}

/* Logo */
.navbar-principal .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem 0.25rem 0;
    margin-right: 1.5rem;
}

.navbar-principal .navbar-brand img {
    max-height: 52px;
    width: auto;
}

/* Elementos principales */
.navbar-principal .navbar-nav {
    gap: 0.2rem;
}

.navbar-principal .nav-link {
    color: #374151 !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.65rem 0.85rem !important;
    border-radius: 7px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Iconos */
.navbar-principal .nav-link svg {
    width: 15px;
    height: 15px;
}

/* Hover */
.navbar-principal .nav-link:hover {
    color: #0d6efd !important;
    background-color: #f0f6ff;
}

/* Elemento activo */
.navbar-principal .nav-link.active {
    color: #0d6efd !important;
    background-color: #eaf3ff;
    font-weight: 600;
}

/* Flecha de dropdown */
.navbar-principal .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* =========================================================
   MENÚS DESPLEGABLES
   ========================================================= */

.navbar-principal .dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 0.4rem;
    margin-top: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    min-width: 230px;
}

.navbar-principal .dropdown-item {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.15s ease;
}

/* Iconos del dropdown */
.navbar-principal .dropdown-item svg {
    width: 15px;
    height: 15px;
    color: #6b7280;
    flex-shrink: 0;
}

/* Hover dropdown */
.navbar-principal .dropdown-item:hover {
    background-color: #f0f6ff;
    color: #0d6efd;
}

.navbar-principal .dropdown-item:hover svg {
    color: #0d6efd;
}

/* Elemento activo del dropdown */
.navbar-principal .dropdown-item.active {
    background-color: #eaf3ff;
    color: #0d6efd;
    font-weight: 600;
}

.navbar-principal .dropdown-item.active svg {
    color: #0d6efd;
}

/* =========================================================
   BOTÓN MOBILE
   ========================================================= */

.navbar-principal .navbar-toggler {
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 0.4rem 0.55rem;
}

.navbar-principal .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .navbar-principal .navbar-nav {
        padding-top: 0.5rem;
        gap: 0.1rem;
    }

    .navbar-principal .nav-link {
        padding: 0.7rem 0.75rem !important;
    }

    .navbar-principal .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: #f8fafc;
        margin: 0.2rem 0 0.4rem 0.75rem;
    }

    .navbar-principal .navbar-brand {
        margin-right: 0;
    }
}



/* =========================================================
   PÁGINA DE INGRESO
   ========================================================= */

.login-page {
    min-height: calc(100vh - 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: #e5e5e5;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

/* Logo */
.login-logo {
    display: block;
    max-width: 360px;
    max-height: 210px;
    width: auto;
    height: auto;
    margin: 0 auto 1.5rem auto;
}

/* Título */
.login-title {
    text-align: center;
    color: #374151;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Campos */
.login-card .input-group {
    margin-bottom: 1rem;
}

.login-card .input-group-text {
    width: 48px;
    justify-content: center;
    background-color: #f8fafc;
    border-color: #d1d5db;
    color: #6b7280;
}

.login-card .input-group-text svg {
    width: 16px;
    height: 16px;
}

.login-card .form-control {
    height: 48px;
    border-color: #d1d5db;
    font-size: 0.95rem;
}

.login-card .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.12);
}

/* Botones */
.login-card .btn {
    min-height: 46px;
    border-radius: 7px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Botón ingresar */
.login-btn {
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

/* Separador */
.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: #9ca3af;
    font-size: 0.8rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

/* Google */
.login-google {
    width: 100%;
    background-color: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-google:hover {
    background-color: #f8fafc !important;
    border-color: #9ca3af !important;
}

.login-google img {
    width: 70px;
    height: auto;
}

/* Política */
.login-privacy {
    text-align: center;
    margin: 1.5rem 0 0 0;
    font-size: 0.82rem;
}

.login-privacy a {
    color: #6b7280;
    text-decoration: none;
}

.login-privacy a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 575.98px) {

    .login-page {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    }

    .login-logo {
        max-width: 220px;
    }
}