/* Estilos para el aviso de dispositivo móvil */
.mobile-notice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.mobile-notice-content {
  background-color: var(--bg-secondary, #ffffff);
  color: var(--text-primary, #333333);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

.mobile-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.mobile-notice h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-color, #4caf50);
}

.mobile-notice p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.qr-placeholder {
  margin: 20px auto;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-primary, #f5f7fa);
  border-radius: 10px;
}

.qr-placeholder img {
  max-width: 100%;
  max-height: 100%;
}

.btn-continue {
  background-color: var(--accent-color, #4caf50);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.btn-continue:hover {
  background-color: var(--accent-hover, #45a049);
  transform: translateY(-3px);
}

.mobile-notice.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Estilos para el mensaje específico de PC */
.pc-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.pc-message-content {
  background-color: var(--bg-secondary, #ffffff);
  color: var(--text-primary, #333333);
  border-radius: 15px;
  padding: 25px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

.pc-message h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color, #4caf50);
}

.btn-close {
  background-color: var(--accent-color, #4caf50);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
}

.btn-close:hover {
  background-color: var(--accent-hover, #45a049);
  transform: translateY(-3px);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Estilos para el estado de grabación */
.attempt-display.recording {
  color: var(--accent-color);
  animation: pulse 1.5s infinite;
  border: 2px solid var(--accent-color);
}

/* Estilos para mensajes de error */
.attempt-display.error {
  color: var(--error-color);
  background-color: var(--error-bg);
  border: 2px solid var(--error-color);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
