/*
 * 2026 ALCALINK E-COMMERCE & SEO, S.L.L.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * @author    ALCALINK E-COMMERCE & SEO, S.L.L. <info@alcalink.com>
 * @copyright 2026 ALCALINK E-COMMERCE & SEO, S.L.L.
 * @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *
 * Registered Trademark & Property of ALCALINK E-COMMERCE & SEO, S.L.L.
 */

/* Screen reader only (scoped, never .sr-only) */
.alcawithdrawal-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Withdrawal button (hook: override de color desde backoffice) */
.alcawithdrawal-order-detail {
    margin-bottom: 1.5rem;
}

.alcawithdrawal-btn:hover,
.alcawithdrawal-btn:focus {
    text-decoration: none;
}

/* Honeypot: MUST be invisible */
input[name="website"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Layout */
#alcawithdrawal_all {
    margin: 0 auto;
}

#alcawithdrawal_all .alert p:last-child {
  margin-bottom: 0px;
}

/* Step indicator */
#alcawithdrawal_all .alcawithdrawal-steps {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 0;
    list-style: none;
}

#alcawithdrawal_all .alcawithdrawal-step {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
    color: #b0b0b0;
    border-bottom: 3px solid #e5e5e5;
    font-weight: 400;
}

#alcawithdrawal_all .alcawithdrawal-step-active {
    color: #333;
    font-weight: 700;
    border-bottom-color: #00aff0;
}

#alcawithdrawal_all .alcawithdrawal-step-done {
    color: #5cb85c;
    border-bottom-color: #5cb85c;
}

/* Section header */
#alcawithdrawal_all .alcawithdrawal-section-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #333;
}

#alcawithdrawal_all .alcawithdrawal-help-text {
    color: #666;
    font-size: 0.875rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

/* Form groups — PS-style label + input + help */
#alcawithdrawal_all .form-group {
    margin-bottom: 1.25rem;
}

#alcawithdrawal_all .form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    text-align: left;
}

#alcawithdrawal_all .form-group .help-block {
    display: block;
    color: #777;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

#alcawithdrawal_all .form-group .form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #caced3;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#alcawithdrawal_all .form-group .form-control:focus {
    border-color: #00aff0;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.15);
}

#alcawithdrawal_all .form-group .form-control::placeholder {
    color: #aaa;
}

#alcawithdrawal_all .text-danger {
    color: #c0392b;
    font-size: 0.75rem;
}

/* Fieldset (no visible border) */
#alcawithdrawal_all .alcawithdrawal_fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.5rem;
    min-width: 0;
}

/* Radio groups */
#alcawithdrawal_all .radio {
    margin-bottom: 0.75rem;
}

#alcawithdrawal_all .radio label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
    flex-wrap: wrap;
}

#alcawithdrawal_all .radio label:hover {
    border-color: #caced3;
    background: #fafafa;
}

#alcawithdrawal_all .radio input[type="radio"] {
    margin-top: 0;
    flex-shrink: 0;
}

#alcawithdrawal_all .alcawithdrawal-order-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#alcawithdrawal_all .alcawithdrawal-order-ref {
    white-space: nowrap;
}

#alcawithdrawal_all .alcawithdrawal-order-meta {
    color: #666;
    font-size: 0.875rem;
}

#alcawithdrawal_all .alcawithdrawal-order-state {
    white-space: nowrap;
    vertical-align: middle;
}

/* Checkbox groups */
#alcawithdrawal_all .checkbox {
    margin-bottom: 0.5rem;
}

#alcawithdrawal_all .checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
    text-align: left;
}

#alcawithdrawal_all .checkbox label:hover {
    border-color: #caced3;
    background: #fafafa;
}

#alcawithdrawal_all .checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

#alcawithdrawal_all .checkbox.disabled label {
    opacity: 0.6;
    cursor: not-allowed;
    background: #fafafa;
}

/* Order header panel */
#alcawithdrawal_all .alcawithdrawal-order-header {
    margin-bottom: 1.5rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

#alcawithdrawal_all .alcawithdrawal-order-header .panel-heading {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

#alcawithdrawal_all .alcawithdrawal-order-header .panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

#alcawithdrawal_all .alcawithdrawal-order-header .panel-body {
    padding: 1rem;
}

#alcawithdrawal_all .alcawithdrawal-order-header dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.375rem 1rem;
}

#alcawithdrawal_all .alcawithdrawal-order-header dt {
    font-weight: 600;
    color: #555;
}

#alcawithdrawal_all .alcawithdrawal-order-header dd {
    margin: 0;
    color: #333;
}

/* Deadline info */
#alcawithdrawal_all .alcawithdrawal-deadline {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.6;
}

#alcawithdrawal_all .alcawithdrawal-deadline.alert-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

#alcawithdrawal_all .alcawithdrawal-deadline.alert-warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #e65100;
}

/* Products list */
#alcawithdrawal_all .alcawithdrawal-products-list {
    margin-top: 1rem;
}

#alcawithdrawal_all .alcawithdrawal-product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    gap: 0.75rem;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

#alcawithdrawal_all .alcawithdrawal-product-row:hover {
    border-color: #caced3;
}

#alcawithdrawal_all .alcawithdrawal-product-excluded {
    background: #fafafa;
    border-color: #e0e0e0;
    border-left: 3px solid #f0ad4e;
}

#alcawithdrawal_all .alcawithdrawal-product-excluded .alcawithdrawal-product-price {
    opacity: 0.5;
    text-decoration: line-through;
}

#alcawithdrawal_all .alcawithdrawal-product-active-request {
    background: #fafafa;
    border-color: #e0e0e0;
    border-left: 3px solid #9b59b6;
}

#alcawithdrawal_all .alcawithdrawal-product-active-request .alcawithdrawal-product-price {
    opacity: 0.5;
    text-decoration: line-through;
}

#alcawithdrawal_all .alcawithdrawal-product-partial-request {
    background: #fffbf0;
    border-color: #f0d78e;
    border-left: 3px solid #f0ad4e;
}

#alcawithdrawal_all .alcawithdrawal-product-partial-request .alcawithdrawal-product-price {
    opacity: 0.9;
}

#alcawithdrawal_all .alcawithdrawal-active-request-label,
#alcawithdrawal_all .alcawithdrawal-partial-label {
    font-size: 0.75rem;
    vertical-align: middle;
}

#alcawithdrawal_all .alcawithdrawal-product-selectable:hover {
    background: #fafafa;
}

#alcawithdrawal_all .alcawithdrawal-product-auto-selected {
    background: #f0f9ff;
    border-color: #b3e5fc;
}

#alcawithdrawal_all .alcawithdrawal-product-auto-selected:hover {
    background: #f0f9ff;
}

#alcawithdrawal_all .alcawithdrawal-product-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

#alcawithdrawal_all .alcawithdrawal-product-select label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    text-align: left;
}

#alcawithdrawal_all .alcawithdrawal-partial-label,
#alcawithdrawal_all .alcawithdrawal-active-request-label,
#alcawithdrawal_all .alcawithdrawal-excluded-label {
    flex-shrink: 0;
}

#alcawithdrawal_all .alcawithdrawal-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#alcawithdrawal_all .alcawithdrawal-excluded-name {
    color: #999;
    text-decoration: line-through;
 }

#alcawithdrawal_all .alcawithdrawal-exclusion-reason {
    display: block;
    width: 100%;
    margin: 0.25rem 0 0;
    color: #b38600;
    font-size: 0.8125rem;
    line-height: 1.4;
}

#alcawithdrawal_all .alcawithdrawal-product-meta {
    font-size: 0.8125rem;
}

#alcawithdrawal_all .alcawithdrawal-product-price {
    font-weight: 700;
    color: #333;
    margin-left: auto;
    white-space: nowrap;
}

#alcawithdrawal_all .alcawithdrawal-quantity-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#alcawithdrawal_all .alcawithdrawal-quantity-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.8125rem;
}

#alcawithdrawal_all .alcawithdrawal-qty-select {
    width: auto;
    min-width: 4rem;
}

/* Exclusion badge */
#alcawithdrawal_all .label-warning {
    background: #fff3e0;
    color: #e65100;
    padding: 0.125rem 0.5rem;
    border-radius: 2px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Confirmation summary */
#alcawithdrawal_all .alcawithdrawal-confirmation-summary {
    margin-bottom: 1.5rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

#alcawithdrawal_all .alcawithdrawal-confirmation-summary .panel-heading {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

#alcawithdrawal_all .alcawithdrawal-confirmation-summary .panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

#alcawithdrawal_all .alcawithdrawal-confirmation-summary .panel-body {
    padding: 1.25rem;
}

#alcawithdrawal_all .alcawithdrawal-confirmation-summary fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.25rem;
}

#alcawithdrawal_all .alcawithdrawal-confirmation-summary legend {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

/* Products table */
#alcawithdrawal_all .alcawithdrawal-products-table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

#alcawithdrawal_all .alcawithdrawal-products-table th,
#alcawithdrawal_all .alcawithdrawal-products-table td {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    text-align: left;
    vertical-align: middle;
}

#alcawithdrawal_all .alcawithdrawal-products-table thead th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

#alcawithdrawal_all .alcawithdrawal-products-table tfoot th {
    border-top: 2px solid #e5e5e5;
    font-weight: 700;
}

/* Buttons */
#alcawithdrawal_all .alcawithdrawal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

#alcawithdrawal_all .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    background: #00aff0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

#alcawithdrawal_all .btn-primary:hover,
#alcawithdrawal_all .btn-primary:focus {
    background: #009cd8;
    color: #fff;
    text-decoration: none;
}

#alcawithdrawal_all .btn-default {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    background: transparent;
    color: #666;
    border: 1px solid #caced3;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

#alcawithdrawal_all .btn-default:hover,
#alcawithdrawal_all .btn-default:focus {
    background: #f5f5f5;
    color: #333;
    border-color: #aaa;
    text-decoration: none;
}

/* Success page */
#alcawithdrawal_all .panel-default {
    margin-bottom: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

#alcawithdrawal_all .panel-info {
    border-color: #b3e5fc;
}

#alcawithdrawal_all .alcawithdrawal-copy-url {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

#alcawithdrawal_all .alcawithdrawal-copy-url .form-control[readonly] {
    background: #fff;
    color: #333;
    cursor: text;
}

#alcawithdrawal_all .alcawithdrawal-copy-url .form-control:focus {
    border-color: #00aff0;
    box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.15);
}

#alcawithdrawal_all .alcawithdrawal-copy-btn {
    min-height: 44px;
}

#alcawithdrawal_all .alcawithdrawal-copy-feedback {
    color: #2e7d32;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

#alcawithdrawal_all .panel-heading {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

#alcawithdrawal_all .panel-info .panel-heading {
    background: #e1f5fe;
    border-bottom-color: #b3e5fc;
}

#alcawithdrawal_all .panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

#alcawithdrawal_all .panel-body {
    padding: 1rem;
}

#alcawithdrawal_all .dl-horizontal {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.375rem 1rem;
}

#alcawithdrawal_all .dl-horizontal dt {
    font-weight: 600;
    color: #555;
}

#alcawithdrawal_all .dl-horizontal dd {
    margin: 0;
    color: #333;
}

#alcawithdrawal_all .label {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
}

#alcawithdrawal_all .btn-info {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #00aff0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

#alcawithdrawal_all .btn-info:hover {
    background: #009cd8;
    color: #fff;
    text-decoration: none;
}

#alcawithdrawal_all .text-muted {
    color: #999;
}

#alcawithdrawal_all .text-warning {
    color: #e65100;
}

#alcawithdrawal_all .text-info {
    color: #0066cc;
}

#alcawithdrawal_all .small {
    font-size: 0.8125rem;
}

/* Intro text */
#alcawithdrawal_all .alcawithdrawal-intro {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #f5f5f5;
    border-left: 3px solid #00aff0;
    border-radius: 0 4px 4px 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
}

/* WCAG Accessibility */
#alcawithdrawal_all button:focus-visible,
#alcawithdrawal_all a:focus-visible,
#alcawithdrawal_all input:focus-visible,
#alcawithdrawal_all select:focus-visible,
#alcawithdrawal_all textarea:focus-visible {
    outline: 2px solid #00aff0;
    outline-offset: 2px;
}

#alcawithdrawal_all button,
#alcawithdrawal_all a.btn {
    min-height: 44px;
}

/* Mobile */
@media (max-width: 767px) {
    #alcawithdrawal_all .alcawithdrawal-order-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    #alcawithdrawal_all .alcawithdrawal-order-meta {
        display: block;
    }

    #alcawithdrawal_all .alcawithdrawal-order-state {
        max-width: 250px;
        overflow: hidden;
        text-decoration: ellipsis;
        display: inline-block;
    }

    #alcawithdrawal_all .alcawithdrawal-product-select {
        flex-wrap: wrap;
    }

    #alcawithdrawal_all .alcawithdrawal-product-select label {
        flex: 0 0 100%;
    }

    #alcawithdrawal_all .alcawithdrawal-partial-label,
    #alcawithdrawal_all .alcawithdrawal-active-request-label,
    #alcawithdrawal_all .alcawithdrawal-excluded-label {
        margin-top: 0.125rem;
    }
}

@media (max-width: 576px) {
    #alcawithdrawal_all .alcawithdrawal-steps {
        flex-direction: column;
        gap: 0;
    }

    #alcawithdrawal_all .alcawithdrawal-step {
        border-bottom: 0;
        border-left: 3px solid #e5e5e5;
        text-align: left;
        padding: 0.5rem 0.75rem;
    }

    #alcawithdrawal_all .alcawithdrawal-step-active {
        border-left-color: #00aff0;
    }

    #alcawithdrawal_all .alcawithdrawal-step-done {
        border-left-color: #5cb85c;
    }

    #alcawithdrawal_all .alcawithdrawal-product-row {
        flex-direction: column;
    }

    #alcawithdrawal_all .alcawithdrawal-product-price {
        margin-left: 0;
    }

    #alcawithdrawal_all .alcawithdrawal-actions {
        flex-direction: column;
    }

    #alcawithdrawal_all .btn-primary,
    #alcawithdrawal_all .btn-default {
        width: 100%;
        justify-content: center;
    }
}

/* GDPR section */
.alcawithdrawal-gdpr-info {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-left: 3px solid #0071e3;
    border-radius: 2px;
    font-size: 0.875rem;
}

.alcawithdrawal-gdpr-info p {
    margin: 0;
}

.alcawithdrawal-gdpr-consent-text {
    font-size: 0.875rem;
    color: #555;
 }

/* Confirmation section (merged into products step) */
#alcawithdrawal_all .alcawithdrawal-confirm-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e5e5;
}

#alcawithdrawal_all .alcawithdrawal-products-summary {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

#alcawithdrawal_all .alcawithdrawal-products-summary th,
#alcawithdrawal_all .alcawithdrawal-products-summary td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    text-align: left;
    vertical-align: middle;
}

#alcawithdrawal_all .alcawithdrawal-products-summary thead th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

#alcawithdrawal_all .alcawithdrawal-products-summary tfoot th {
    border-top: 2px solid #e5e5e5;
    font-weight: 700;
}

/* My requests list */
#alcawithdrawal_all .alcawithdrawal-request-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

#alcawithdrawal_all .alcawithdrawal-request-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #00aff0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

#alcawithdrawal_all .alcawithdrawal-request-footer a:hover,
#alcawithdrawal_all .alcawithdrawal-request-footer a:focus {
    color: #009cd8;
    text-decoration: underline;
}

#alcawithdrawal_all .alcawithdrawal-requests-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

#alcawithdrawal_all .alcawithdrawal-requests-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

#alcawithdrawal_all .alcawithdrawal-requests-table th,
#alcawithdrawal_all .alcawithdrawal-requests-table td {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    text-align: left;
    vertical-align: middle;
}

#alcawithdrawal_all .alcawithdrawal-requests-table thead th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

#alcawithdrawal_all .alcawithdrawal-requests-table tbody tr:hover {
    background: #fafafa;
}

#alcawithdrawal_all .alcawithdrawal-requests-table tbody tr td a {
    color: #00aff0;
    text-decoration: none;
    font-weight: 600;
}

#alcawithdrawal_all .alcawithdrawal-requests-table tbody tr td a:hover,
#alcawithdrawal_all .alcawithdrawal-requests-table tbody tr td a:focus {
    text-decoration: underline;
    color: #009cd8;
}

#alcawithdrawal_all .alcawithdrawal-status-badge {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

/* My requests list */
#alcawithdrawal_all .alcawithdrawal-back-link {
    margin-bottom: 1rem;
}

#alcawithdrawal_all .alcawithdrawal-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #00aff0;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

#alcawithdrawal_all .alcawithdrawal-back-link a:hover,
#alcawithdrawal_all .alcawithdrawal-back-link a:focus {
    text-decoration: underline;
    color: #009cd8;
}

/* Download receipt */
#alcawithdrawal_all .alcawithdrawal-request-actions {
    margin-bottom: 1.5rem;
}

#alcawithdrawal_all .alcawithdrawal-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

#alcawithdrawal_all .alcawithdrawal-btn-download:hover,
#alcawithdrawal_all .alcawithdrawal-btn-download:focus {
    text-decoration: none;
}

#alcawithdrawal_all .alcawithdrawal-requests-table .alcawithdrawal-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 4px;
    color: #00aff0;
    text-decoration: none;
}

#alcawithdrawal_all .alcawithdrawal-requests-table .alcawithdrawal-btn-download:hover,
#alcawithdrawal_all .alcawithdrawal-requests-table .alcawithdrawal-btn-download:focus {
    color: #009cd8;
    background-color: #f0f8ff;
    text-decoration: none;
}

#alcawithdrawal_all .alcawithdrawal-request-detail {
    margin-top: 1rem;
}

#alcawithdrawal_all .text-success {
    color: #2e7d32;
    font-weight: 600;
}

/* History timeline */
#alcawithdrawal_all .alcawithdrawal-history-timeline {
    position: relative;
    padding-left: 1rem;
    margin-left: 0.5rem;
    border-left: 2px solid #e5e5e5;
}

#alcawithdrawal_all .alcawithdrawal-history-entry {
    position: relative;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
}

#alcawithdrawal_all .alcawithdrawal-history-entry:last-child {
    margin-bottom: 0;
}

#alcawithdrawal_all .alcawithdrawal-history-entry::before {
    content: '';
    position: absolute;
    left: -1.350rem;
    top: 0.375rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: #e5e5e5;
    border: 2px solid #fff;
}

#alcawithdrawal_all .alcawithdrawal-history-marker {
    margin-bottom: 0.25rem;
}

#alcawithdrawal_all .alcawithdrawal-history-content {
    font-size: 0.875rem;
    line-height: 1.5;
}

#alcawithdrawal_all .alcawithdrawal-history-date {
    display: block;
    color: #666;
    font-size: 0.8125rem;
    margin-bottom: 0.125rem;
}

#alcawithdrawal_all .alcawithdrawal-history-note {
    margin: 0.25rem 0 0;
    color: #555;
    font-size: 0.8125rem;
    font-style: italic;
}

/* Pagination */
#alcawithdrawal_all .alcawithdrawal-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

#alcawithdrawal_all .alcawithdrawal-pagination-list {
    display: inline-flex;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

#alcawithdrawal_all .alcawithdrawal-pagination-list li {
    display: inline-block;
}

#alcawithdrawal_all .alcawithdrawal-pagination-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

#alcawithdrawal_all .alcawithdrawal-pagination-list li a:hover,
#alcawithdrawal_all .alcawithdrawal-pagination-list li a:focus {
    background: #f5f5f5;
    border-color: #caced3;
    text-decoration: none;
}

#alcawithdrawal_all .alcawithdrawal-pagination-list li.active a {
    background: #00aff0;
    border-color: #00aff0;
    color: #fff;
    font-weight: 700;
}

/* My requests mobile */
@media (max-width: 767px) {
    #alcawithdrawal_all .alcawithdrawal-requests-table th,
    #alcawithdrawal_all .alcawithdrawal-requests-table td {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 576px) {
    #alcawithdrawal_all .alcawithdrawal-requests-table {
        font-size: 0.8125rem;
    }

    #alcawithdrawal_all .dl-horizontal {
        grid-template-columns: 1fr;
    }
}