.gen-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.gen-card {
  background: linear-gradient(145deg, #1a1d24, #111317);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  margin: 40px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 15px rgba(59, 130, 246, 0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.gen-image {
  width: 120px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.gen-card h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.subtext {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 30px;
}

.code-box {
  font-size: 20px;
  font-weight: bold;
  background: #1f2937;
  border: 1px dashed #3b82f6;
  color: #3b82f6;
  padding: 18px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
}

.flash {
  animation: flash-bg 0.2s ease-in-out infinite alternate;
}

@keyframes flash-bg {
  from {
    background-color: #1f2937;
  }
  to {
    background-color: #26334f;
  }
}

.code-anim {
  animation: zoomCode 0.2s ease;
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
}

@keyframes zoomCode {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.code-final {
  font-size: 24px;
  font-weight: bold;
}
.generate-btn,
.verify-btn {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s ease;
  margin-top: 10px;
}

.generate-btn:hover,
.verify-btn:hover {
  background: #2563eb;
}

.generate-btn:disabled {
  background: #1e40af;
  cursor: not-allowed;
}
.bot-msg {
  margin-top: 10px;
  font-size: 14px;
  color: #3b82f6;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#status-messages {
  border: none !important;
  outline: none !important;
  background: none !important;
  box-shadow: none !important;
}

.status-msg {
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #a1f0ff;
  text-align: left;
  background: #0f172a;
  border-left: 3px solid #3b82f6;
  padding: 14px 18px;
  margin-top: 20px;
  line-height: 1.6;
  border-radius: 6px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  white-space: pre-line;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-theme {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  margin: 10px auto;
  max-width: 380px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.status-theme .msg-icon {
  margin-right: 10px;
  font-size: 18px;
}

/* Themes */
.status-theme.info {
  background-color: #1e3a8a;
  color: #dbeafe;
  border-left: 4px solid #3b82f6;
}

.status-theme.warning {
  background-color: #78350f;
  color: #fde68a;
  border-left: 4px solid #f59e0b;
}

.status-theme.success {
  background-color: #14532d;
  color: #bbf7d0;
  border-left: 4px solid #22c55e;
}

.fade-in {
  animation: fadeInSmooth 0.3s ease forwards;
}

@keyframes fadeInSmooth {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.status-theme {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  margin: 10px auto;
  max-width: 380px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-family: "Courier New", monospace;
}

.status-theme .msg-icon {
  margin-right: 10px;
  font-size: 18px;
}

.status-theme .msg-text {
  display: inline-block;
}

.status-theme.info {
  background-color: #1e3a8a;
  color: #dbeafe;
  border-left: 4px solid #3b82f6;
}

.status-theme.warning {
  background-color: #78350f;
  color: #fde68a;
  border-left: 4px solid #f59e0b;
}

.status-theme.success {
  background-color: #14532d;
  color: #bbf7d0;
  border-left: 4px solid #22c55e;
}

.fade-in {
  animation: fadeInSmooth 0.3s ease forwards;
}

@keyframes fadeInSmooth {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dotting {
  display: inline-block;
  margin-left: 5px;
}
body {
  background-color: #f2f4f8; /* light gray */
  color: #111;
}

/* Keep the generator card dark */
.gen-card {
  background: linear-gradient(145deg, #1a1d24, #111317);
  color: #fff;
}

/* Fix text color inside generator if needed */
.subtext,
.code-box,
.bot-msg {
  color: #bbb;
}

.status-msg {
  background-color: #0f172a;
  color: #a1f0ff;
}

