.widerruf-button,
.widerruf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.widerruf-button:hover,
.widerruf-button:focus,
.widerruf-button:active,
.widerruf-submit:hover,
.widerruf-submit:focus,
.widerruf-submit:active {
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.widerruf-text-link {
    text-decoration: underline;
}

.widerruf-form-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.widerruf-form {
    display: grid;
    gap: 18px;
}

.widerruf-field {
    display: grid;
    gap: 7px;
}

.widerruf-field label,
.widerruf-fieldset legend {
    font-weight: 700;
}

.widerruf-field input[type="text"],
.widerruf-field input[type="email"],
.widerruf-field input[type="date"],
.widerruf-field textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font: inherit;
}

.widerruf-field textarea {
    min-height: 120px;
}

.widerruf-fieldset {
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 14px;
}

.widerruf-fieldset label {
    display: block;
    margin-top: 8px;
    font-weight: 400;
}

.widerruf-checkbox label {
    font-weight: 400;
}


.widerruf-field-help {
    margin: 0;
    font-size: .95em;
    opacity: .8;
}

.widerruf-privacy-notice {
    padding: 14px 16px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-size: .95em;
}

.widerruf-privacy-notice p:last-child {
    margin-bottom: 0;
}

.widerruf-optional,
.widerruf-required-note {
    font-weight: 400;
    opacity: .75;
}

.widerruf-honeypot,
.widerruf-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.widerruf-alert {
    padding: 14px 16px;
    border-radius: 4px;
    margin: 16px 0;
}

.widerruf-alert-error {
    border: 1px solid #b91c1c;
    background: #fef2f2;
}

.widerruf-alert-success {
    border: 1px solid #047857;
    background: #ecfdf5;
}

.widerruf-alert-warning {
    border: 1px solid #b45309;
    background: #fffbeb;
}

.widerruf-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.widerruf-summary-table th,
.widerruf-summary-table td {
    border: 1px solid currentColor;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.widerruf-summary-table th {
    width: 220px;
}

.widerruf-summary-table pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
}

.widerruf-confirm-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.widerruf-secondary {
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.widerruf-footer-link {
    padding: 18px 0;
    text-align: center;
}


/* Stärkere Spezifität gegen Theme-Button-Styles. */
.widerruf-form .widerruf-submit,
.widerruf-form-wrap .widerruf-submit,
a.widerruf-button {
    background: #111827 !important;
    color: #ffffff !important;
    border: 1px solid #111827 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.widerruf-form .widerruf-submit:hover,
.widerruf-form .widerruf-submit:focus,
.widerruf-form .widerruf-submit:active,
.widerruf-form-wrap .widerruf-submit:hover,
.widerruf-form-wrap .widerruf-submit:focus,
.widerruf-form-wrap .widerruf-submit:active,
a.widerruf-button:hover,
a.widerruf-button:focus,
a.widerruf-button:active {
    background: #374151 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
}

.widerruf-form .widerruf-submit:disabled,
.widerruf-form .widerruf-submit[aria-busy="true"] {
    background: #374151 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
    opacity: .85 !important;
    cursor: wait;
}
