* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a1a3a, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e5e7eb;
}

.container {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.title {
  color: #ff2e2e;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
}

label {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #cbd5f5;
}

input, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #020617;
  color: #e5e7eb;
  outline: none;
}

input::placeholder {
  color: #64748b;
}

.btn-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #1e293b;
  color: #e5e7eb;
  font-weight: 600;
}

button:hover {
  opacity: 0.85;
}

.primary {
  background: linear-gradient(135deg, #ff0000, #ff4d4d);
  color: white;
}

.refresh {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, #ff0055, #ff3366);
  color: white;
}

.auto {
  margin-top: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.empty {
  margin-top: 16px;
  font-size: 14px;
  color: #64748b;
}

.inbox {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.inbox li {
  background: #020617;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  text-align: left;
  border-left: 3px solid #ff2e2e;
}

.badge {
  background: red;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: 6px;
}

.auto b {
  cursor: pointer;
  color: #ff2e2e;
}

.auto b:hover {
  text-decoration: underline;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 300px;
}

.close {
  float: right;
  cursor: pointer;
  color: red;
}

/* API FIRE */
.title {
  animation: flame 1.5s infinite alternate;
}

@keyframes flame {
  from { text-shadow: 0 0 5px red; }
  to { text-shadow: 0 0 25px orange, 0 0 40px red; }
}

