* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 700px;
  background: #111827;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 30px;
}

.info-box {
  background: #0b1220;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
}

.info-box h3 {
  margin-bottom: 10px;
}

.info-box ul {
  padding-left: 18px;
  color: #cbd5e1;
  line-height: 1.8;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: #1e293b;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  opacity: 0.92;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

.error-text {
  color: #f87171;
  font-size: 14px;
  margin-top: -8px;
}

.hidden {
  display: none !important;
}

/* Success view (from success.html) */
.success-box {
  text-align: center;
}

.success-box p {
  color: #cbd5e1;
  line-height: 1.7;
}

.success-box .back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 600px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 26px;
  }
}
