* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f8f6;
  color: #1f2d27;
  line-height: 1.5;
}

/* HERO */

.hero {
  background: linear-gradient(135deg, #2a5d45, #7fbfa5);
  color: white;
  text-align: center;
  padding-top: 20px;
  padding-bottom 40px;
}

.hero h1 {
  margin: 0;
  font-size: 32px;
}

.sub {
  margin-top: 10px;
  opacity: 0.9;
}

/* TOP BAR */

.topbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 10;
}

.topbar-inner {
  max-width: 900px;
  margin: auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.home {
  justify-self: start;
  text-decoration: none;
  color: #2e6f55;
  font-size: 14px;
}

.title {
  justify-self: center;
  font-weight: 600;
  font-size: 18px;
}

.topbar-inner::after {
  content: "";
}


.back:hover {
  opacity: 1;
}

/* START BOX */

.start-box {
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

/* MICRO TEXT */

.micro {
  opacity: 0.7;
  margin-bottom: 15px;
}

/* INPUTS */

select {
  width: 90%;
  max-width: 320px;
  margin: 8px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 15px;
  background: white;
}

select:focus {
  outline: none;
  border-color: #2e6f55;
  box-shadow: 0 0 0 2px rgba(46,111,85,0.15);
}

/* BUTTON */

button {
  margin-top: 15px;
  background: #2e6f55;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #255a45;
}

/* RESULT */

#result {
  margin-top: 25px;
  text-align: left;
}

/* MESSAGE */

.result-box {
  background: #f7fbf9;
  padding: 16px;
  border-radius: 12px;
}

/* PROMPT */

.prompt-box {
  background: #eef3f1;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
}

pre {
  white-space: pre-wrap;
  font-size: 14px;
}

.copy-btn {
  margin-top: 10px;
  background: #e6f2ec;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #2e6f55;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #d8ebe2;
}

.copy-btn:disabled {
  opacity: 0.7;
}

#copy-status {
  margin-left: 10px;
  font-size: 13px;
  opacity: 0.7;
}

/* SAVE TEXT */

.save {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.7;
}

/* ERROR */

.error {
  color: #a33;
  font-size: 14px;
}