】/* ─── GLOBAL RESET ─────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:Arial, Helvetica, sans-serif; background:#f5f5f5; color:#333; line-height:1.6;}

/* ─── HEADER ───────────────────────────────────────────────── */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

/* ─── FORM ─────────────────────────────────────────────────── */
#conversionForm {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

textarea, select, input[type="file"], input[type="button"], input[type="reset"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

textarea {
  height: 200px;
  font-family: monospace;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
input[type="button"], input[type="reset"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="button"]:hover, input[type="reset"]:hover {
  background-color: #45a049;
}

/* ─── OUTPUT SECTION ──────────────────────────────────────── */
h3 + pre {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-height: 300px;
  overflow-y: auto;
  font-family: monospace;
  white-space: pre-wrap;
}