body {
    margin: 0;
    padding: 10px;
    font-family: sans-serif;
    color: #333;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 15px 0 5px 0;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 14px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    opacity: 0.9;
}

.alert-action {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
    line-height: 1.5;
}

.alert-action a {
    color: #0a58ca;
    font-weight: bold;
    text-decoration: none;
}

.alert-action a:hover {
    text-decoration: underline;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
}

.optional-badge {
    font-weight: normal;
    color: #666;
    font-size: 0.75rem;
}

.field-hint {
    font-size: 0.78rem;
    color: #888;
    margin: 4px 0 0 0;
    line-height: 1.5;
}

.info-box {
    background: #f0f7ff;
    border: 1px solid #b8d9f8;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 4px;
    font-size: 0.88rem;
    color: #1a4a7a;
    line-height: 1.5;
}

.info-box a {
    color: #0056b3;
    font-weight: bold;
}

.submit-hint {
    font-size: 0.78rem;
    color: #888;
    margin: 8px 0 0 0;
    line-height: 1.5;
    text-align: center;
}

.success-box {
    background: #e6ffed;
    padding: 16px 20px;
    color: #1a7f37;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}

.success-text {
    font-size: 0.9rem;
    color: #555;
    margin: 12px 0 16px 0;
    line-height: 1.6;
}

.section-label {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #666;
}

/* Artikel-Zeilen im Teilwiderruf */
.item-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.item-row input[type="number"] {
    width: 70px;
    flex-shrink: 0;
    padding: 10px 8px;
    text-align: center;
}

.item-row input[type="text"] {
    flex: 1;
    padding: 10px 12px;
}

.btn-remove-item {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0;
    flex-shrink: 0;
    line-height: 1;
}

.btn-remove-item:hover {
    background: #f1aeb5;
}

.btn-add-item {
    width: auto;
    padding: 9px 16px;
    background: #f0f7ff;
    color: #0056b3;
    border: 1px solid #b8d9f8;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 4px;
}

.btn-add-item:hover {
    background: #dbeafe;
}

.items-header {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
    padding: 0 44px 0 0;
}

.items-header span:first-child {
    width: 70px;
    flex-shrink: 0;
    text-align: center;
}

.items-header span:last-child {
    flex: 1;
}

/* Datenschutz-Checkbox */
.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: normal;
    color: #444;
    margin: 16px 0 4px 0;
    cursor: pointer;
    line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
    cursor: pointer;
    accent-color: #1a56db;
}

.privacy-label a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: underline;
}
