.eu-withdrawal-flow,
.eu-withdrawal-button-wrap {
    font-family: inherit;
    color: inherit;
}

.eu-withdrawal-flow {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.eu-withdrawal-flow h2,
.eu-withdrawal-flow h3,
.eu-withdrawal-flow h4 {
    margin-top: 0;
    color: #0f172a;
}

.eu-withdrawal-flow p {
    margin-bottom: 16px;
    color: #475569;
}

.eu-withdrawal-form,
.eu-withdrawal-review {
    display: grid;
    gap: 16px;
}

.eu-withdrawal-form label,
.eu-withdrawal-review label {
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 6px;
}

.eu-withdrawal-form input[type="text"],
.eu-withdrawal-form input[type="email"],
.eu-withdrawal-form textarea,
.eu-withdrawal-review textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eu-withdrawal-form input:focus,
.eu-withdrawal-form textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.eu-withdrawal-review ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.eu-withdrawal-review li {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f9fafb;
}

.eu-withdrawal-review input[type="checkbox"] {
    margin-right: 8px;
}

.eu-withdrawal-review .description {
    display: block;
    font-size: 0.9em;
    color: #64748b;
    margin-left: 24px;
}

.eu-withdrawal-button-wrap {
    padding: 16px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.eu-withdrawal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    background: #0f172a;
    color: #fff;
    border: none;
}

.eu-withdrawal-button:hover,
.eu-withdrawal-button:focus {
    background: #1e293b;
    color: #fff;
}

.eu-withdrawal-button-text {
    margin-top: 12px;
    color: #64748b;
}

.eu-withdrawal-flow .notice-success,
.eu-withdrawal-flow .notice-error {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.eu-withdrawal-flow .notice-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.eu-withdrawal-flow .notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.eu-withdrawal-annex {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    color: #0f172a;
}

.eu-withdrawal-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

.eu-withdrawal-modal.is-open {
    display: flex;
}

.eu-withdrawal-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.eu-withdrawal-modal__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.eu-withdrawal-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: #e2e8f0;
    color: #0f172a;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
}

.eu-withdrawal-annex h2 {
    margin-top: 0;
}

.eu-withdrawal-annex p {
    color: #475569;
}

.eu-withdrawal-annex-field {
    margin-bottom: 18px;
}

.eu-withdrawal-annex-line {
    border-bottom: 1px solid #0f172a;
    min-height: 28px;
}

.eu-withdrawal-annex-note {
    font-size: 0.9em;
    color: #64748b;
}

.eu-withdrawal-print {
    margin-bottom: 16px;
}

@media print {
    .eu-withdrawal-print {
        display: none;
    }

    .eu-withdrawal-annex {
        box-shadow: none;
        border: none;
        padding: 0;
    }
}
