/* Widerruf-Modul – Frontend-Stile */

/* Honeypot-Feld des Form_Guard zuverlässig verbergen */
.eg-form-guard-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.eg-widerruf {
    max-width: 640px;
    margin: 1.5em 0;
}

.eg-widerruf-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}

.eg-widerruf-row label {
    font-weight: 600;
    margin-bottom: 0.35em;
}

.eg-widerruf-row input[type="text"],
.eg-widerruf-row input[type="email"],
.eg-widerruf-row textarea {
    width: 100%;
    padding: 0.6em 0.7em;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    box-sizing: border-box;
}

.eg-widerruf-actions {
    margin: 1.2em 0;
}

.eg-widerruf-button,
.eg-widerruf-confirm-button {
    display: inline-block;
    cursor: pointer;
}

.eg-widerruf-confirm-button {
    font-size: 1.05em;
    padding: 0.7em 1.6em;
}

.eg-widerruf-hint,
.eg-widerruf-legal {
    font-size: 0.9em;
    color: #555;
}

.eg-widerruf-notice {
    padding: 0.9em 1.1em;
    border-radius: 4px;
    margin-bottom: 1.2em;
    border-left: 4px solid;
}

.eg-widerruf-notice--success {
    background: #edfaef;
    border-color: #46b450;
}

.eg-widerruf-notice--error {
    background: #fbeaea;
    border-color: #dc3232;
}

.eg-widerruf-summary {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.eg-widerruf-summary th,
.eg-widerruf-summary td {
    text-align: left;
    padding: 0.5em 0.7em;
    border-bottom: 1px solid #eaeaea;
    vertical-align: top;
}

.eg-widerruf-summary th {
    width: 40%;
    font-weight: 600;
}

.eg-widerruf-declaration {
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 1em 1.1em;
    margin: 1em 0 1.4em;
}
