/**
 * 2026 Sleed - sleedwithdrawal
 */

/* Floating, always-visible withdrawal button (EU 2023/2673).
   position:fixed keeps it on screen at every scroll position and on every page,
   so it is prominent and easily accessible as the directive requires. */
.withdrawal-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
}

/* Reuse the theme's primary button (.btn.btn-default, same as the form submit);
   only add the icon/label layout so it stays on a single line. */
.withdrawal-float .withdrawal-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
}

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

.withdrawal-btn-icon {
    font-size: 16px;
    margin-right: 8px;
    line-height: 1;
}

/* On small screens keep it tucked into the corner so it never blocks content. */
@media (max-width: 767px) {
    .withdrawal-float {
        right: 10px;
        bottom: 10px;
    }
}

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

/* Withdrawal form page. Centered white card on the gray #columns background,
   matching the sleedex contact form (.box.form). Inputs and the submit button
   inherit the theme defaults (.form-control, .btn.btn-default) so the form
   matches the rest of the storefront. */
.withdrawal-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
}

.withdrawal-box .withdrawal-intro {
    margin-bottom: 25px;
}

.withdrawal-form textarea.form-control {
    height: 160px;
    resize: vertical;
}

.withdrawal-form .submit {
    margin-top: 10px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .withdrawal-box {
        padding: 25px 20px;
    }
}
