/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0b0e19, #000);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
}

/* Modal container */
.modal-container {
  width: 100%;
  max-width: 420px;
  padding: 1rem;
}

/* Modal box */
.modal-box {
  background: rgba(20, 28, 60, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Dropdown section */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  color: #a9b8ff;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group select {
  background: transparent;
  border: 1px solid #4250a7;
  border-radius: 8px;
  padding: 0.7rem;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
}

.form-group select option {
  background: #101741;
  color: #fff;
}

/* Security notice box */
.security-notice {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.security-notice .icon {
  font-size: 1.3rem;
  color: #4d88ff;
}

.security-notice .text strong {
  color: #c7d8ff;
  font-size: 0.95rem;
}

.security-notice .text p {
  color: #a3baff;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  line-height: 1.3;
}

/* Buttons */
.button-group {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cancel-btn,
.generate-btn {
  flex: 1;
  border: none;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Cancel button */
.cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #bfc8e8;
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Generate button */
.generate-btn {
  background: linear-gradient(90deg, #4a4eff, #b14dff);
  color: #fff;
}

.generate-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 480px) {
  .modal-box {
    padding: 1.5rem 1.2rem;
  }

  .button-group {
    flex-direction: column;
  }
}