:root {
  --bg: #f5f5f7;
  --card-bg: #ffffff;
  --border: #dcdce1;
  --text-dark: #111111;
  --text-light: #666;
  --accent: #000000;
  --radius: 14px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  --input-bg: #fafafa;
}

/* Wrapper to center only on desktop */
.wrapper {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6px 0px;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  color: var(--text-dark);
}

/* Card */
.container {
  width: 100%;
  max-width: 600px;
  background: var(--card-bg);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Title */
h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* Field group */
.field {
  margin-bottom: 20px;
}

/* Labels */
label {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: block;
}

/* Inputs and textarea */
input,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input-bg);
  font-size: 15px;
  box-sizing: border-box;
}

textarea {
  resize: none;
}

/* Buttons */
.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius);
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  margin-top: 10px;
}

.primary-btn:hover {
  background: #222;
}

.secondary-btn {
  background: #444;
  color: #fff;
  margin-top: 10px;
}

.secondary-btn:hover {
  background: #000;
}

/* Output box */
.output-box {
  margin-top: 28px;
}

/* Mobile Fix */
    .back-btn {
      position: fixed;
      top: 20px;
      left: 20px;
      padding: 10px 18px;
      background: #489E45;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      transition: 0.2s ease;
      font-size: 14px;
      z-index: 999;
    }
@media (max-width: 600px) {
  .wrapper {
    padding: 20px 14px;
    display: block;
  }

  .container {
    padding: 28px 20px;
    border-radius: 12px;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    font-size: 16px;
  }
}
