/**
 * Magex_RevocationStandard – Widerrufsbutton
 * Standard CSS für Luma-basierte Themes
 */

/* ── Footer Button ─────────────────────────────────────────────── */
.magex-revocation-footer {
    display: inline-block;
    margin: 0 0 0 15px;
    vertical-align: middle;
}

.magex-revocation-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 13px;
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: background-color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.magex-revocation-btn:hover,
.magex-revocation-btn:focus {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
    text-decoration: none;
}

.magex-revocation-btn svg {
    flex-shrink: 0;
}

/* ── Form Page ─────────────────────────────────────────────────── */
.magex-revocation-wrapper {
    max-width: 680px;
    margin: 30px auto;
    padding: 0 20px;
}

.magex-revocation-wrapper h1 {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.magex-revocation-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.magex-revocation-form {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 28px;
}

.magex-revocation-form .field {
    margin-bottom: 20px;
}

.magex-revocation-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

.magex-revocation-form label .required-mark {
    color: #e02b27;
    margin-left: 2px;
}

.magex-revocation-form label .optional-note {
    font-weight: normal;
    color: #999;
    font-size: 12px;
    margin-left: 4px;
}

.magex-revocation-form input[type="text"],
.magex-revocation-form input[type="email"],
.magex-revocation-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: inherit;
}

.magex-revocation-form input[type="text"]:focus,
.magex-revocation-form input[type="email"]:focus,
.magex-revocation-form textarea:focus {
    border-color: #006bb4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 107, 180, 0.15);
}

.magex-revocation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.magex-required-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.magex-required-note .required-mark {
    color: #e02b27;
}

/* ── Submit Button ─────────────────────────────────────────────── */
.magex-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    background-color: #1979c3;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.magex-submit-btn:hover {
    background-color: #006bb4;
}

.magex-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.magex-submit-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 12px;
}

/* ── Alert ─────────────────────────────────────────────────────── */
.magex-alert {
    display: none;
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 20px;
}

.magex-alert--success {
    background: #e5efe5;
    border: 1px solid #6aab6a;
    color: #185b18;
}

.magex-alert--error {
    background: #fdf0f0;
    border: 1px solid #e02b27;
    color: #b30000;
}

/* ── Legal Notice ──────────────────────────────────────────────── */
.magex-legal-notice {
    margin-top: 20px;
    padding: 12px 16px;
    background: #fffbe6;
    border: 1px solid #f0b429;
    border-radius: 3px;
    font-size: 12px;
    color: #7a5c00;
}
