body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right,#26b6d8, #cfeced);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: start;
  height: 100vh;
  padding-top: 50px;
}

.container {
  width: 450px;
  background-color: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input[type="text"], select {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

button {
  padding: 10px;
  background-color: #ffb347;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff9900;
}

#log {
  margin-top: 15px;
  max-height: 250px;
  overflow-y: auto;
  background: #ffffff22;
  padding: 10px;
  border-radius: 10px;
  font-family: monospace;
}

.log-entry {
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

.error-message {
  background-color: #ffdddd;
  color: #100f0f;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  border: 1px solid #ff4d4d;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  z-index: 999;
  display: none;
}

.modal:not(.hidden) {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.modal-content h2 {
  margin-top: 0;
  color: #ff9900;
}
