.desistimiento-eu-link {
    margin: 10px 0;
    padding: 8px 0;
}

.desistimiento-eu-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.desistimiento-eu-link a:hover {
    color: #000;
}

.desistimiento-eu-form,
.desistimiento-eu-summary,
.desistimiento-eu-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.desistimiento-eu-form h1,
.desistimiento-eu-summary h1,
.desistimiento-eu-confirmation h1 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

@media (max-width: 768px) {
    .desistimiento-eu-form,
    .desistimiento-eu-summary,
    .desistimiento-eu-confirmation {
        padding: 10px;
    }
}
/* Scoped to the withdrawal flow; independent of theme muted and success colors. */
.deu-accessible { color: #222; background: #fff; font-size: 1rem; line-height: 1.6; }
.deu-accessible .text-muted, .deu-accessible small, .deu-accessible .small { color: #484848 !important; font-size: .95rem; }
.deu-accessible a { color: #174b75; text-decoration: underline; }
.deu-accessible .btn { background: #222; color: #fff; min-height: 44px; white-space: normal; }
.deu-accessible .form-control { color: #222; background: #fff; border: 1px solid #666; min-height: 44px; }
.deu-accessible input[type="checkbox"] { width: 24px; height: 24px; vertical-align: middle; }
.deu-accessible :focus { outline: 3px solid #005fcc !important; outline-offset: 3px; scroll-margin-top: 10rem; }
.deu-accessible .bg-success { background: #205c30 !important; color: #fff; }
.deu-accessible .bg-dark { background: #222 !important; color: #fff; }
.deu-accessible .alert-danger { color: #7a1616; background: #fff2f2; }
.deu-accessible .desistimiento-intro h2, .deu-accessible .desistimiento-intro h3, .deu-accessible .desistimiento-intro h4 { color: #222 !important; }
.deu-accessible caption { caption-side: top; color: #222; }
.deu-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 768px) { .deu-accessible { padding: 12px; } .deu-accessible .table-responsive { overflow-x: auto; } }

/* Only the module form controller uses these rules. */
body#module-desistimientoeu-form .deu-accessible { max-width: none; width: 100%; }
body#module-desistimientoeu-form .deu-accessible .form-control,
body#module-desistimientoeu-form .deu-accessible label { font-size: 1rem; }
body#module-desistimientoeu-form .deu-accessible .form-text { font-size: .95rem; }
body#module-desistimientoeu-form .deu-accessible .btn,
body#module-desistimientoeu-form .deu-accessible .btn:hover,
body#module-desistimientoeu-form .deu-accessible .btn:focus,
body#module-desistimientoeu-form .deu-accessible .btn:active { background-color: #222 !important; color: #fff !important; font-size: 14px; }
body#module-desistimientoeu-form .deu-accessible .desistimiento-intro h3[style] { color: #a72d29 !important; }
.deu-accessible .deu-field-error { color: #7a1616; font-size: 14px; }

/* 1.4.10 / 1.4.12: allow content and controls to grow with text and viewport. */
.deu-accessible, .deu-accessible * { box-sizing: border-box; }
.deu-accessible { min-width: 0; overflow-wrap: anywhere; }
.deu-accessible [hidden] { display: none !important; }
.deu-accessible .card, .deu-accessible .card-block, .deu-accessible .form-group,
.deu-accessible [class*="col-"] { min-width: 0; }
.deu-accessible .form-control { max-width: 100%; height: auto; }
.deu-accessible .btn { max-width: 100%; height: auto; overflow-wrap: anywhere; line-height: 1.5; }
.deu-accessible .btn:hover { background: #383838 !important; color: #fff !important; }
.deu-accessible .btn:active { background: #000 !important; color: #fff !important; }
.deu-accessible .form-control:disabled { color: #484848; background: #eee; opacity: 1; }
.deu-accessible .form-check { padding-left: 0; }
.deu-accessible .form-check-input { position: static; margin: 0 .5rem .25rem 0; }
.deu-accessible input[type="checkbox"] { flex-shrink: 0; accent-color: #222; }
.deu-accessible :focus { box-shadow: 0 0 0 3px #fff; }
.deu-accessible .table-responsive { max-width: 100%; }
.deu-accessible .table { width: 100%; table-layout: fixed; }
.deu-accessible .table th, .deu-accessible .table td { overflow-wrap: anywhere; white-space: normal; }
.deu-accessible .table th:first-child { width: 20% !important; }
.deu-accessible .table th:last-child { width: 36% !important; }
.deu-accessible .badge-info { color: #fff; background: #174b75; white-space: normal; }
.deu-accessible .desistimiento-intro { font-size: 1rem; }
@media (max-width: 768px) {
    .deu-accessible .card-block, .deu-accessible .p-3, .deu-accessible .p-5 { padding: .75rem !important; }
    .deu-accessible .table td, .deu-accessible .table th { padding: .25rem; }
    .deu-accessible .table { font-size: .95rem; }
    .deu-accessible .table .form-control { padding: .25rem; width: 100%; }
    .deu-accessible .row { margin-left: -.25rem; margin-right: -.25rem; }
    .deu-accessible [class*="col-"] { padding-left: .25rem; padding-right: .25rem; }
}

/* Some themes move the module heading into their breadcrumb. */
body#module-desistimientoeu-form [data-deu-heading]:focus { outline: 3px solid #005fcc !important; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; scroll-margin-top: 10rem; }

@media (max-width: 768px) {
    /* Keep the native data table readable; scrolling stays inside its named region. */
    .deu-accessible .table { min-width: 28rem; }
    .deu-accessible .table th:first-child { width: 18% !important; }
    .deu-accessible .table-responsive { overflow-x: auto; }
}

.deu-accessible .bg-success h1, .deu-accessible .bg-success p { color: #fff !important; }

.deu-accessible .form-check-label { display: flex; align-items: flex-start; gap: .5rem; text-align: left; }
.deu-accessible .form-check-label > input { flex: 0 0 24px; margin: .25rem 0 0; }
.deu-accessible .form-check-label > span, .deu-accessible .form-check-label > strong { flex: 1; min-width: 0; }
.deu-accessible .table td:not(:first-child) { text-align: left; }
.deu-accessible .deu-table-hint { font-size: .95rem; }
@media (max-width: 768px) {
    body#module-desistimientoeu-form .deu-accessible .col-form-label { text-align: left !important; }
}

.deu-accessible .product-quantity-container { position: relative; }
