@import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.modal-terminal {
  background: rgba(33, 33, 33, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 520px;
  margin: 10% auto;
  padding: 0;
  font-family: "Fira Code", monospace;
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-red {
  background-color: #ff5f56;
}
.btn-yellow {
  background-color: #ffbd2e;
}
.btn-green {
  background-color: #27c93f;
}
.user {
  color: #00ffae;
  font-size: 14px;
  margin-left: auto;
}

.modal-body {
  padding: 20px;
  color: #f0f0f0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.modal-body p {
  margin-bottom: 10px;
}

.modal-body button {
  background: #00ffae;
  color: #000;
  font-weight: bold;
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.modal-body button:hover {
  background: #00e699;
  transform: scale(1.05);
}

/* Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}