*, *::before, *::after { box-sizing: border-box; }
body { font-family: sans-serif; margin: 0; padding: 0; }
.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; max-width: 1200px; margin: 0 auto; padding: 1.5em; }
.form-main { flex: 1; }
label { display: block; margin-top: 1em; font-weight: bold; }
input[type="text"], input[type="email"], input[type="url"], input[type="file"], select, textarea {
    width: 100%; padding: 0.6em; font-size: 1.05em; margin-top: 0.3em; border: 1px solid #ccc; border-radius: 4px;
}
textarea { height: 100px; }

/* ✅ Datei-Upload-Button */
input[type="file"] { font-size: 1.05em; padding: 0.4em; cursor: pointer; }

/* ✅ VÖ-Datum */
input[type="date"] { width: 220px; padding: 0.6em; font-size: 1.2em; border: 1px solid #ccc; border-radius: 4px; }

/* ✅ Button */
button { margin-top: 1.5em; padding: 0.9em 1.8em; background-color: #2a7ae2; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 1.1em; transition: background-color 0.3s ease; }
button:disabled { background-color: #ccc; cursor: not-allowed; }

/* ✅ Code-Boxen */
#code-inputs { display: flex; gap: 8px; justify-content: start; margin-top: 10px; }
.code-digit { width: 40px !important; height: 40px !important; text-align: center; font-size: 1.5em; border: 1px solid #ccc; border-radius: 5px; outline: none; padding: 0; box-sizing: border-box; display: inline-block !important; }
.code-digit:focus { border-color: #2a7ae2; box-shadow: 0 0 4px rgba(42, 122, 226, 0.4); }
input.code-digit { width: 40px !important; }

/* ✅ Preisbox */
.preisbox { position: fixed; top: 130px; right: 30px; width: 200px; background: #fff8e6; border: 2px solid #FBA803; border-radius: 9px; padding: 1em; box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-size: 1em; z-index: 9999; }
.preisbox strong { font-size: 1.6em; display: block; margin-bottom: 0.2em; color: #FBA803; }

/* ✅ Absenderbereich */
.absender-bereich { background: #f1f5fa; padding: 1.5em; border-radius: 8px; border-left: 5px solid #FBA803; margin-bottom: 2em; }
.absender-bereich h2 { margin-top: 0; color: #FBA803; }

/* ✅ Mobile */
@media (max-width: 768px) {
  .preisbox { display: none; }
}
