/* asistente.css */

.assistant-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,44,44,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInAssistant 0.3s;
}

@keyframes fadeInAssistant {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.assistant-modal {
  background: #fff;
  color: #232323;
  border-radius: 14px;
  box-shadow: 0 7px 38px #0002;
  max-width: 380px;
  width: 92vw;
  padding: 28px 22px 18px 22px;
  position: relative;
  animation: popAssistant 0.4s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@keyframes popAssistant {
  0% { transform: scale(0.85); opacity: 0.5; }
  80% { transform: scale(1.04);}
  100% { transform: scale(1); opacity: 1; }
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.assistant-title {
  font-size: 1.3em;
  font-weight: bold;
}

.assistant-close {
  background: none;
  border: none;
  font-size: 27px;
  color: #888;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.18s;
}
.assistant-close:hover {
  opacity: 1;
  color: #ff6d00;
}

.assistant-body {
  font-size: 1.09em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.assistant-footer {
  display: flex;
  justify-content: flex-end;
}

.assistant-next {
  background: linear-gradient(90deg, #4CAF50 0%, #43a047 100%);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 10px 24px;
  font-size: 1.08em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.19s, transform 0.09s;
}

.assistant-next:active {
  transform: scale(0.97);
}

/* Soporte para modo oscuro */
body.dark-mode .assistant-modal {
  background: #232833;
  color: #f2f2f2;
}
body.dark-mode .assistant-next {
  background: linear-gradient(90deg, #4CAF50 0%, #43a047 100%);
  color: #fff;
}