* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top,#020617 ,#4e93f4  65%);
  color: #e5e7eb;
  min-height: 100vh;
}
body {
  margin: 0;
}

.page {
  max-width: 900px;
  margin: .5rem auto 2rem;
  padding: 0 1.rem;
}
.header {
  margin-bottom: 1.5rem;
    text-align: center;
}


.header h1 {
     font-size: 4rem;
  margin-bottom: 0.3rem;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.header p {

  color: #9ca3af;
    font-size: 2rem;
  margin-bottom: 1.8rem;
  max-width: 32rem;
}

.form-section,
.output-section {
  background: #020617;
  border-radius: 0.9rem;
  border: 1px solid #1f2937;
  padding: 1.25rem 1.3rem 1.4rem;
  margin-bottom: 1.5rem;
}

.form-section {
  margin-bottom: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.field-inline .field {
  flex: 1;
}

label {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

input,
textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #1f2937;
  background: #0b1120;
  color: #e5e7eb;
  font-size: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  outline: 1px solid #38bdf8;
  border-color: #38bdf8;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-primary,
.btn-ghost {
  padding: 1rem 3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: #1f2937;
  color: #9ca3af;
  background: transparent;
}

.btn-ghost:hover {
  border-color: #38bdf8;
  color: #e5e7eb;
}

.output-section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.helper-text {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

#output {
  width: 100%;
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  background: #020617;
  border-radius: 0.6rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #1f2937;
  white-space: pre-wrap;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .page {
    padding-top: 1.5rem;
  }
}
.shell {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  padding: 1.5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.input-prefix {
  display: flex;
  align-items: center;
  gap: 0.3rem;   /* small space between $ and the box */
}

.input-prefix .prefix {
  font-size: 0.9rem;
  color: #9ca3af;
}
.footer {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}
.field-inline {
    display:flex;
    gap: 1rem;
}
.field-inline .field {
    flex: 1;
}  
@media (max-width: 700px) {
  .page {
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
  }

  .shell {
    padding: 1rem;
  }

  .header h1 {
    font-size: 1.6rem;
  }
}
.logo {
  display: block;
  margin: 1 auto 0.5rem;
  max-height: 1000px;   /* bump up/down until it looks right */
  width: auto;
}
