
:root {
  --bs-primary: #552373;
  --bs-secondary: #2D5A8C;
  --bs-warning: #FFCD28;
  --bs-info: #009BAA;
  --bs-danger: #B80E80;
}

body {
  font-family: "Futura", "Trebuchet MS", sans-serif;
  background-color: #ffffff;
  color: #777;
  font-size: 1.2rem; /* ~19.2px */
  font-weight: 300; 
  line-height: 1.65;
  
}

main {
  padding-top: 120px;   /* deja espacio para el header fijo */
  padding-bottom: 120px; /* deja espacio para el footer fijo */
  overflow-y: auto;
}

header.bg-primary {
  /*background: linear-gradient(90deg, #552373 0%, #2D5A8C 100%) !important;*/
  background: linear-gradient(90deg, #7D5AA5 0%, #64A0B9 100%) !important;
}

header .logo {
  max-height: 60px;
}

.list-group-item-action:hover {
  background-color: #f0e6fa;
}

footer {
  font-size: 0.9rem;
  color: #555;
}

.btn-primary {
  background-color: #552373;
  border-color: #552373;
}

.btn-primary:hover {
  background-color: #431a5b;
  border-color: #431a5b;
}

.match-dropzone {
  min-width: 50%;
  min-height: 40px;     /* controla la altura */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdfdfd;
  border-style: dashed !important;
  transition: border-color 0.2s, background-color 0.2s;
}

.match-dropzone .badge {
  margin: 0;
  font-size: 0.85rem;   /* controla tamaño del texto */
  line-height: 1.2;     /* reduce altura vertical */
  white-space: nowrap;  /* evita que el texto salte de línea */
}

.match-dropzone.border-dashed {
  border-style: dashed !important;
}
.match-dropzone:hover {
  border-color: #0d6efd !important;
  background-color: #f8f9fa;
}
.placeholder_tag {
  font-style: italic;
  font-size: 0.85em;
}

.match-dropzone .fw-bold {
  flex: 1;
}
.match-dropzone .badge {
  margin-left: 10px;
}

.tags {
  padding: 15px!important;
}
.tags .badge {
  cursor: grab;
  transition: transform 0.1s;
}
.tags .badge:active {
  transform: scale(1.1);
}

.badge-indigo {
  background-color: #4B0082; /* Indigo clásico */
  color: #fff;
}

.badge-indigo:hover {
  background-color: #360061; /* un tono más oscuro al hover */
}

.bg-indigo {
  background-color: rgb(85, 35, 115); /* Indigo corporativo */
  color: #fff;
}

.text-indigo-o {
  color: rgb(184,14,128) !important;
}

.bg-indigo-o {
  background-color: rgb(184,14,128) !important;
  color: #fff;
}

.separator-line {
  height: 4px;
  border: 0;
  background: linear-gradient(to right, transparent, rgb(184,14,128), transparent);
}

/* Palabras clave en negrita */
strong {
  color: #0f4761;        /* Indigo corporativo */
  font-weight: 700;      /* Extra negrita */
}

/* Énfasis o ejemplos en cursiva */
em {
  color: #b23c17;        /* Un tono naranja/teja que contrasta con el indigo */
  font-style: italic;    /* Asegura cursiva */
}

/* Si combinas strong+em (raro en este curso) */
strong em, em strong {
  color: #0a9396;        /* Verde azulado */
  font-weight: 700;
  font-style: italic;
}

.audio-mini {
  width: 50px; /* o el ancho que prefieras */
  height: 30px; /* ajusta la altura */
}

.btn-audio {
  width: 32px;              /* tamaño fijo del botón */
  height: 32px;
  border-radius: 50%;       /* círculo */
  display: inline-flex;     /* alineado con el texto */
  align-items: center;
  justify-content: center;
  margin-left: 15px;        /* espacio respecto al verbo */
  padding: 0;               /* sin padding interno extra */
  border: 2px solid var(--indigo-o, #4b0082); /* usa tu color Indigo */
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.btn-audio i {
  font-size: 1.2rem;        /* tamaño del icono */
  line-height: 1;           /* evita que se desplace */
  margin: 0;
  padding: 0;
}

/* Hover y estado activo */
.btn-audio:hover {
  background-color: var(--indigo-o, #4b0082);
  color: #fff;
  transform: scale(1.1);    /* efecto zoom ligero */
}

.btn-audio:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.3);
}

header {
  transition: all 0.3s ease;
}

header .logo {
  max-height: 60px;
  transition: height 0.3s ease;
}

header.shrink {
  padding: 0.2rem 0 !important;
}

header.shrink .logo {
  max-height: 30px;
}

header.shrink h1 {
  display:none;
}

header.shrink p {
  font-size: 0.75rem;
}

.option-badge {
  font-size: 0.85rem;
  padding: 0.4em 0.6em;
  white-space: nowrap;       /* evita salto */
  overflow: hidden;
  text-overflow: ellipsis;   /* puntos suspensivos */
}

.gap-fill-list li {
  line-height: 2.2;
}

.gap-input {
  line-height: 1.5;
  margin: 0 6px;
  vertical-align: middle;
}