/* Estilos específicos para el módulo de Newton */

/* Modal de Fourier */
.fourier-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.fourier-modal.show {
  display: flex;
}

.fourier-modal-content {
  background-color: #252525;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

.fourier-modal-header {
  padding: 25px;
  border-bottom: 1px solid #3a3a3a;
}

.fourier-modal-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.fourier-modal-body {
  padding: 25px;
}

.fourier-modal-body p {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.fourier-modal-body p:first-child {
  color: #ff6b6b;
  font-weight: 600;
}

.fourier-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid #3a3a3a;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.fourier-modal-footer .btn {
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.fourier-modal-footer .btn-convert {
  background-color: #5b7cfa;
  color: white;
}

.fourier-modal-footer .btn-convert:hover {
  background-color: #4c63d2;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
