/*
  Basisschema für den Import‑Zoll‑Rechner.
  Verwende ein schlichtes, modernes Layout mit klarer Typografie
  und genügend Abstand zwischen den Elementen.
*/

:root {
  --primary: #0077cc;
  --primary-hover: #005fa3;
  --bg-color: #f9f9f9;
  --text-color: #333;
  --border-radius: 8px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-top: 0;
  font-size: 1.8rem;
  text-align: center;
}

p {
  line-height: 1.4;
}

form {
  margin-top: 1.5rem;
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-sizing: border-box;
  font-size: 1rem;
}

small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #666;
}

button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

button:hover {
  background: var(--primary-hover);
}

.result {
  margin-top: 2rem;
  padding: 1rem;
  background: #eef7ff;
  border: 1px solid #cde5fd;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
}