/* ── Footer / Header Widerrufs-Button ───────────────────────────────────── */
.cwb-revocation-wrap {
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
}

.cwb-revocation-wrap--footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

.cwb-revocation-wrap--header {
    background: #f7f7f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cwb-revocation-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #c8102e;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.cwb-revocation-btn:hover,
.cwb-revocation-btn:focus {
    background: #a00e25;
    color: #fff;
    text-decoration: none;
}

/* ── Widerrufs-Button direkt an jeder Bestellzeile ───────────────────────── */
.cwb-order-row-btn {
    font-size: 13px !important;
}

/* Fallback-Kompatibilität für Themes die noch die alten Klassen nutzen */
.cwb-revocation-link { display: none; }

.cwb-form-wrapper {
    max-width: 640px;
    margin: 32px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cwb-form-intro p {
    margin: 0 0 12px;
    color: #555;
}

.cwb-form-error {
    padding: 12px 16px;
    margin-bottom: 24px;
    background: #fdecea;
    border-left: 4px solid #c8102e;
    color: #611a15;
    border-radius: 4px;
}

.cwb-field {
    margin-bottom: 20px;
}

.cwb-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.cwb-field input[type="text"],
.cwb-field input[type="email"],
.cwb-field textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.cwb-field input:focus,
.cwb-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.cwb-field small {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 13px;
}

.cwb-field .required {
    color: #c8102e;
}

.cwb-required-hint {
    color: #888;
    font-size: 13px;
}

.cwb-submit {
    margin-top: 24px;
}

.cwb-submit--actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cwb-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    font-family: inherit;
}

.cwb-button--primary {
    background: #2271b1;
    color: #fff;
}

.cwb-button--primary:hover {
    background: #135e96;
    color: #fff;
}

.cwb-button--secondary {
    background: #f0f0f0;
    color: #333;
}

.cwb-button--secondary:hover {
    background: #e0e0e0;
}

.cwb-confirm-headline {
    margin-top: 0;
    color: #2271b1;
}

.cwb-summary-table {
    width: 100%;
    margin: 16px 0 24px;
    border-collapse: collapse;
}

.cwb-summary-table th,
.cwb-summary-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.cwb-summary-table th {
    width: 35%;
    font-weight: 600;
    color: #555;
    background: #fafafa;
}

.cwb-form-wrapper--success {
    text-align: center;
}

.cwb-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    line-height: 64px;
    font-size: 36px;
    font-weight: bold;
}
