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

body {
  background: #0e1848;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-container {
  width: 100%;
  max-width: 500px;
}

.modal-box {
  background: #101d57;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #c9d4ff;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #a3baff;
}

input,
select {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: #1c2a6d;
  color: #fff;
}

input::placeholder {
  color: #8ea4e1;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.half {
  flex: 1;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

button {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cancel-btn {
  background: #2b3b8a;
  color: #a3baff;
}

.cancel-btn:hover {
  background: #3b4fb3;
}

.generate-btn {
  background: #00c46a;
  color: #fff;
}

.generate-btn:hover {
  background: #00e57a;
}

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

  .form-row {
    flex-direction: column;
  }

  .button-group {
    flex-direction: column;
    gap: 0.8rem;
  }
}
