/* Aula Virtual + Contacto (cabecera) y pie del catálogo; mismo patrón que layout_alumno.php. */
.fc-header-acciones { display: flex; align-items: center; gap: 10px; }
.fc-btn-aula {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fc-primary); color: #fff;
  border: none; border-radius: 4px; padding: 10px 18px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.fc-btn-aula svg { width: 17px; height: 17px; flex-shrink: 0; }
.fc-btn-aula:hover { filter: brightness(1.08); }

.fc-contacto-wrap { position: relative; }
.fc-contacto-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fc-primary-suave); color: var(--fc-primary);
  border: none; border-radius: 4px; padding: 9px 16px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.fc-contacto-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.fc-contacto-panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--fc-border); border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 10px; min-width: 260px; z-index: 50;
}
.fc-contacto-panel.abierto { display: block; }
.fc-contacto-item {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 10px; border-radius: 4px; text-decoration: none;
  color: inherit; font-size: 13px; font-weight: 600;
}
.fc-contacto-item:hover { background: var(--fc-primary-suave); }
.fc-contacto-item span { font-weight: 400; font-size: 11.5px; color: var(--fc-muted); }

.fc-footer {
  margin-top: 36px; padding: 20px 32px 16px; border-top: 1px solid var(--fc-border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--fc-muted);
}
.fc-footer-contacto { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.fc-footer-contacto a { color: var(--fc-muted); text-decoration: none; }
.fc-footer-contacto a:hover { color: var(--fc-primary); text-decoration: underline; }
.fc-footer-aula {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fc-primary); font-weight: 700; text-decoration: none; font-size: 13px;
}
.fc-footer-aula:hover { text-decoration: underline; }
.fc-footer-aula svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 640px) {
  .fc-header-inner { flex-wrap: wrap; row-gap: 10px; }
  .fc-header-acciones { width: 100%; flex-wrap: wrap; gap: 8px; }
  .fc-btn-aula { padding: 8px 14px; font-size: 13px; }
  .fc-contacto-btn { padding: 8px 14px; }
  .fc-header-acciones .fc-header-nav { margin-left: 0; gap: 14px; flex-wrap: wrap; }
  .fc-btn-primario { padding: 8px 14px; }
  .fc-footer { flex-direction: column; align-items: flex-start; padding-left: 16px; padding-right: 16px; }
  .fc-contacto-panel { right: auto; left: 0; }
}

