/**
 * 5WEB Recesso, Resi e RMA ALLinONE
 *
 * @author 5WEB
 * @copyright 2026 5WEB
 * @license Commercial
 */
:root {
  --fivewithdrawal-accent: #1f8fb2;
  --fivewithdrawal-accent-dark: #166d87;
  --fivewithdrawal-border: #d9e1e5;
  --fivewithdrawal-muted: #5f6f78;
  --fivewithdrawal-soft: #f7fafb;
  --fivewithdrawal-warning: #fff7e6;
}

.fivewithdrawal-account,
.fivewithdrawal-status,
.fivewithdrawal-request-page,
.fivewithdrawal-documents,
.fivewithdrawal-access {
  color: #1d252b;
}

.fivewithdrawal-account h2,
.fivewithdrawal-status h2,
.fivewithdrawal-request-page h2,
.fivewithdrawal-access h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.fivewithdrawal-access {
  margin-bottom: 28px;
}

.fivewithdrawal-access__header {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
  margin: 0 0 18px;
  max-width: 860px;
  padding: 18px 20px;
}

.fivewithdrawal-access__header h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.fivewithdrawal-access__header p {
  color: var(--fivewithdrawal-muted);
  line-height: 1.5;
  margin: 0;
}

.fivewithdrawal-access__eyebrow {
  color: #40525c !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 6px !important;
  text-transform: uppercase;
}

.fivewithdrawal-access__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  max-width: 1040px;
}

.fivewithdrawal-access__panel {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
  padding: 20px;
}

.fivewithdrawal-access__panel p,
.fivewithdrawal-access__panel li {
  color: var(--fivewithdrawal-muted);
  line-height: 1.45;
}

.fivewithdrawal-access__panel ul {
  margin: 0 0 18px;
  padding-left: 18px;
}

.fivewithdrawal-access__panel li + li {
  margin-top: 7px;
}

.fivewithdrawal-access__panel .form-group {
  margin-bottom: 16px;
}

.fivewithdrawal-access__panel label {
  color: #1d252b;
  font-weight: 700;
}

.fivewithdrawal-access__panel .btn {
  min-height: 42px;
  padding-left: 18px;
  padding-right: 18px;
}

.fivewithdrawal-access__secondary-link {
  display: inline-block;
  font-weight: 600;
  margin-left: 10px;
}

.fivewithdrawal-access__note {
  background: var(--fivewithdrawal-soft);
  border: 1px solid #edf1f3;
  margin: 0;
  padding: 10px 12px;
}

.fivewithdrawal-history-link {
  color: #d35400;
  font-weight: 600;
  white-space: nowrap;
}

.fivewithdrawal-flow-actions {
  border-bottom: 1px solid var(--fivewithdrawal-border);
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.fivewithdrawal-flow-actions__list {
  border: 1px solid var(--fivewithdrawal-border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
}

.fivewithdrawal-flow-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 20px;
}

.fivewithdrawal-flow-row + .fivewithdrawal-flow-row {
  border-top: 1px solid #e8eef1;
}

.fivewithdrawal-flow-row__content h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.fivewithdrawal-flow-row__content p {
  color: var(--fivewithdrawal-muted);
  line-height: 1.45;
  margin: 0;
}

.fivewithdrawal-flow-row__action {
  text-align: right;
  white-space: nowrap;
}

.fivewithdrawal-account-requests {
  margin-top: 12px;
}

.fivewithdrawal-account-table {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
}

.fivewithdrawal-account-table thead th {
  background: var(--fivewithdrawal-soft);
  border-bottom: 1px solid var(--fivewithdrawal-border);
  color: #40525c;
  font-size: 13px;
  line-height: 1.3;
  vertical-align: middle;
}

.fivewithdrawal-account-table td {
  border-top: 1px solid #edf1f3;
  vertical-align: middle;
}

.fivewithdrawal-request-code {
  color: #1d252b;
  letter-spacing: .02em;
}

.fivewithdrawal-status-pill {
  background: #eef8fb;
  border: 1px solid #b7dfe8;
  color: #155f72;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  padding: 5px 8px;
}

.fivewithdrawal-request-type__static {
  background: #f7f7f7;
  border: 1px solid #ddd;
  margin: 0 0 8px;
  padding: 10px 12px;
}

.fivewithdrawal-history-link:hover,
.fivewithdrawal-history-link:focus {
  color: #a04000;
  text-decoration: underline;
}

.fivewithdrawal-order-detail {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 0;
}

.fivewithdrawal-order-detail__body {
  padding: 16px 18px;
}

.fivewithdrawal-order-detail__title {
  color: #1d252b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
}

.fivewithdrawal-order-detail__text {
  color: var(--fivewithdrawal-muted);
  line-height: 1.45;
  margin: 0 0 12px;
}

.fivewithdrawal-footer-button {
  align-items: center;
  background: var(--fivewithdrawal-footer-button-bg, var(--fivewithdrawal-accent));
  border: var(--fivewithdrawal-footer-button-border-width, 1px) solid var(--fivewithdrawal-footer-button-border-color, var(--fivewithdrawal-accent));
  border-radius: var(--fivewithdrawal-footer-button-radius, 4px);
  box-sizing: border-box;
  color: var(--fivewithdrawal-footer-button-color, #fff);
  display: inline-flex;
  font-size: var(--fivewithdrawal-footer-button-font-size, 14px);
  font-weight: var(--fivewithdrawal-footer-button-font-weight, 700);
  justify-content: center;
  line-height: 1.25;
  min-height: var(--fivewithdrawal-footer-button-min-height, 40px);
  min-width: var(--fivewithdrawal-footer-button-min-width, 0);
  padding: var(--fivewithdrawal-footer-button-padding-y, 10px) var(--fivewithdrawal-footer-button-padding-x, 16px);
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  width: var(--fivewithdrawal-footer-button-width, auto);
}

.fivewithdrawal-footer-button:hover,
.fivewithdrawal-footer-button:focus {
  background: var(--fivewithdrawal-footer-button-hover-bg, var(--fivewithdrawal-accent-dark));
  border-color: var(--fivewithdrawal-footer-button-hover-bg, var(--fivewithdrawal-accent-dark));
  color: var(--fivewithdrawal-footer-button-hover-color, #fff);
  text-decoration: none;
}

.fivewithdrawal-footer-button:focus {
  box-shadow: 0 0 0 3px rgba(31, 143, 178, .25);
  outline: 0;
}

.fivewithdrawal-history-back {
  margin: 0 0 16px;
}

.fivewithdrawal-history-back a {
  border: 1px solid var(--fivewithdrawal-border);
  color: #333;
  display: inline-block;
  font-weight: 600;
  min-height: 38px;
  padding: 8px 12px;
}

.fivewithdrawal-history-back a:hover,
.fivewithdrawal-history-back a:focus {
  background: #f5f5f5;
  border-color: #999;
  color: #111;
  text-decoration: none;
}

.fivewithdrawal-history-tag {
  background: #fff3cd;
  border: 1px solid #d89b00;
  border-radius: 3px;
  color: #704c00;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  margin-left: 8px;
  padding: 4px 7px;
  vertical-align: middle;
  white-space: nowrap;
}

.fivewithdrawal-back-link {
  margin: 0 0 16px;
}

.fivewithdrawal-back-link a {
  border: 1px solid var(--fivewithdrawal-border);
  color: #333;
  display: inline-block;
  font-weight: 600;
  padding: 8px 12px;
}

.fivewithdrawal-back-link a:hover,
.fivewithdrawal-back-link a:focus {
  background: #f5f5f5;
  border-color: #999;
  color: #111;
  text-decoration: none;
}

@media (max-width: 767px) {
  .fivewithdrawal-access__grid {
    grid-template-columns: 1fr;
  }

  .fivewithdrawal-access__secondary-link {
    display: block;
    margin: 12px 0 0;
  }

  .fivewithdrawal-flow-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .fivewithdrawal-flow-row__action {
    text-align: left;
    white-space: normal;
  }

  .fivewithdrawal-flow-row__action .btn {
    width: 100%;
  }
}

.fivewithdrawal-summary {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
  margin-bottom: 20px;
  padding: 20px;
}

.fivewithdrawal-summary__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.fivewithdrawal-summary__reference {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.fivewithdrawal-summary__status {
  margin-bottom: 8px;
}

.fivewithdrawal-summary__dates {
  background: var(--fivewithdrawal-soft);
  border: 1px solid #edf1f3;
  display: grid;
  gap: 8px 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 10px 0 18px;
  padding: 12px;
}

.fivewithdrawal-summary__dates p {
  margin: 0;
}

.fivewithdrawal-request-products,
.fivewithdrawal-documents-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.fivewithdrawal-request-products li,
.fivewithdrawal-documents-list li {
  border-bottom: 1px solid #edf1f3;
  padding: 9px 0;
}

.fivewithdrawal-request-products li:first-child,
.fivewithdrawal-documents-list li:first-child {
  padding-top: 0;
}

.fivewithdrawal-documents-list small {
  color: #777;
  display: block;
}

.fivewithdrawal-order-reference {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}

.fivewithdrawal-inline-form {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  margin-top: 16px;
  max-width: 760px;
  padding: 16px;
}

.fivewithdrawal-qty-cell {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fivewithdrawal-qty-stepper {
  align-items: center;
  display: inline-flex !important;
  flex-wrap: nowrap;
  width: auto;
}

.fivewithdrawal-qty-stepper .fivewithdrawal-qty-input,
.fivewithdrawal-qty-stepper input.fivewithdrawal-qty-input {
  -moz-appearance: textfield;
  background: #fff;
  border: 1px solid #bbb;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  box-sizing: border-box;
  display: inline-block !important;
  flex: 0 0 42px;
  height: 34px;
  line-height: 34px;
  margin: 0;
  max-width: 42px;
  min-height: 34px;
  min-width: 42px;
  padding: 0;
  text-align: center;
  width: 42px !important;
}

.fivewithdrawal-qty-stepper .fivewithdrawal-qty-input::-webkit-outer-spin-button,
.fivewithdrawal-qty-stepper .fivewithdrawal-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fivewithdrawal-qty-button {
  background: #fff;
  border: 1px solid #bbb;
  color: #222;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  height: 34px;
  line-height: 1;
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  width: 34px;
}

.fivewithdrawal-qty-button:hover,
.fivewithdrawal-qty-button:focus {
  background: #f2f2f2;
  border-color: var(--fivewithdrawal-accent);
  outline: 2px solid rgba(31, 143, 178, .18);
  outline-offset: 1px;
}

.fivewithdrawal-open-merge-modal,
.fivewithdrawal-merge-button {
  background: var(--fivewithdrawal-accent);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 12px;
  min-height: 42px;
  padding: 10px 18px;
  text-transform: uppercase;
}

.fivewithdrawal-open-merge-modal {
  font-size: 12px;
  margin-top: 0;
  min-height: 34px;
  padding: 8px 12px;
}

.fivewithdrawal-merge-button:hover,
.fivewithdrawal-merge-button:focus,
.fivewithdrawal-open-merge-modal:hover,
.fivewithdrawal-open-merge-modal:focus {
  background: var(--fivewithdrawal-accent-dark);
  color: #fff;
  text-decoration: none;
}

.fivewithdrawal-open-merge-modal[hidden],
.fivewithdrawal-merge-button[hidden] {
  display: none;
}

.fivewithdrawal-modal[hidden] {
  display: none;
}

.fivewithdrawal-modal {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1050;
}

.fivewithdrawal-modal__backdrop {
  background: rgba(0, 0, 0, .45);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.fivewithdrawal-modal__dialog {
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  left: 50%;
  max-width: 560px;
  padding: 22px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.fivewithdrawal-modal__dialog h3 {
  margin-top: 0;
}

.fivewithdrawal-modal__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.fivewithdrawal-cancel-box {
  background: #fff8f2;
  border: 1px solid #f0c7a7;
  margin: 0 0 16px;
  max-width: 620px;
  padding: 14px 16px;
}

.fivewithdrawal-cancel-box p {
  color: #5f4533;
  margin: 0;
}

.fivewithdrawal-cancel-form {
  margin-top: 12px;
}

.fivewithdrawal-danger-button {
  align-items: center;
  background: #fff;
  border: 2px solid #c0392b;
  color: #9f2f25;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.fivewithdrawal-danger-button:hover,
.fivewithdrawal-danger-button:focus {
  background: #c0392b;
  border-color: #a93226;
  color: #fff;
  text-decoration: none;
}

.fivewithdrawal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
}

.fivewithdrawal-tab-input {
  display: none;
}

.fivewithdrawal-tab-label {
  background: #f7fafb;
  border: 1px solid var(--fivewithdrawal-border);
  border-bottom: 0;
  cursor: pointer;
  margin: 0 4px 0 0;
  min-height: 42px;
  padding: 11px 15px;
}

.fivewithdrawal-tab-label:hover,
.fivewithdrawal-tab-input:focus + .fivewithdrawal-tab-label {
  border-color: #2fb5d2;
  color: #116b7d;
  outline: 2px solid transparent;
}

.fivewithdrawal-tab-content {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  display: none;
  flex-basis: 100%;
  padding: 18px;
}

#fivewithdrawal-tab-status:checked ~ label[for="fivewithdrawal-tab-status"],
#fivewithdrawal-tab-documents:checked ~ label[for="fivewithdrawal-tab-documents"],
#fivewithdrawal-tab-shipment:checked ~ label[for="fivewithdrawal-tab-shipment"],
#fivewithdrawal-tab-cancel:checked ~ label[for="fivewithdrawal-tab-cancel"],
#fivewithdrawal-tab-order:checked ~ label[for="fivewithdrawal-tab-order"] {
  background: #fff;
  border-top-color: var(--fivewithdrawal-accent);
  color: #1d252b;
  font-weight: 600;
}

#fivewithdrawal-tab-status:checked ~ .fivewithdrawal-tab-content--status,
#fivewithdrawal-tab-documents:checked ~ .fivewithdrawal-tab-content--documents,
#fivewithdrawal-tab-shipment:checked ~ .fivewithdrawal-tab-content--shipment,
#fivewithdrawal-tab-cancel:checked ~ .fivewithdrawal-tab-content--cancel,
#fivewithdrawal-tab-order:checked ~ .fivewithdrawal-tab-content--order {
  display: block;
}

.fivewithdrawal-request-page {
  border-color: var(--fivewithdrawal-border) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
}

.fivewithdrawal-request-summary__item,
.fivewithdrawal-request-type,
.fivewithdrawal-request-product,
.fivewithdrawal-request-note {
  border-color: var(--fivewithdrawal-border) !important;
}

.fivewithdrawal-request-summary__item {
  background: var(--fivewithdrawal-soft);
}

.fivewithdrawal-request-product {
  background: #fff;
}

.fivewithdrawal-request-product__meta {
  color: var(--fivewithdrawal-muted) !important;
}

.fivewithdrawal-request-actions {
  border-top: 1px solid #edf1f3;
  padding-top: 14px;
}

.fivewithdrawal-account .btn:focus,
.fivewithdrawal-status .btn:focus,
.fivewithdrawal-request-page .btn:focus,
.fivewithdrawal-account a:focus,
.fivewithdrawal-status a:focus,
.fivewithdrawal-request-page a:focus,
.fivewithdrawal-account input:focus,
.fivewithdrawal-status input:focus,
.fivewithdrawal-request-page input:focus,
.fivewithdrawal-account textarea:focus,
.fivewithdrawal-status textarea:focus,
.fivewithdrawal-request-page textarea:focus,
.fivewithdrawal-account select:focus,
.fivewithdrawal-status select:focus,
.fivewithdrawal-request-page select:focus {
  outline: 2px solid rgba(31, 143, 178, .35);
  outline-offset: 2px;
}

.fivewithdrawal-checkout-summary,
.fivewithdrawal-checkout-details {
  background: #fff;
  border: 1px solid var(--fivewithdrawal-border);
  color: #1d252b;
  margin: 0 0 16px;
  padding: 14px 16px;
}

.fivewithdrawal-checkout-summary {
  background: var(--fivewithdrawal-warning);
  border-color: #e6c477;
}

.fivewithdrawal-checkout-fallback {
  margin: 0 0 22px;
}

.checkout-grid__content > .fivewithdrawal-checkout-fallback .fivewithdrawal-checkout-summary {
  margin-bottom: 0;
}

.fivewithdrawal-checkout-summary p {
  margin: 4px 0 0;
}

.fivewithdrawal-checkout-summary__details {
  border-top: 1px solid rgba(112, 76, 0, .18);
  margin-top: 10px;
  padding-top: 10px;
}

.fivewithdrawal-checkout-summary__details summary {
  color: #7a5400;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 24px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fivewithdrawal-checkout-summary__details summary:focus {
  outline: 2px solid rgba(31, 143, 178, .35);
  outline-offset: 2px;
}

.fivewithdrawal-checkout-summary__details[open] summary {
  margin-bottom: 8px;
}

.fivewithdrawal-checkout-summary__item + .fivewithdrawal-checkout-summary__item {
  border-top: 1px solid rgba(112, 76, 0, .14);
  margin-top: 10px;
  padding-top: 10px;
}

.fivewithdrawal-checkout-summary__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
}

.fivewithdrawal-checkout-summary__text {
  color: #5f4533;
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.fivewithdrawal-checkout-summary__products {
  font-size: 12px;
  line-height: 1.35;
  list-style: disc;
  margin: 8px 0 0;
  padding-left: 18px;
}

.fivewithdrawal-checkout-summary__products li + li {
  margin-top: 4px;
}

.fivewithdrawal-checkout-consent {
  align-items: flex-start;
  border-top: 1px solid rgba(112, 76, 0, .22);
  display: flex;
  gap: 8px;
  line-height: 1.4;
  margin: 12px 0 0;
  padding-top: 12px;
}

.fivewithdrawal-checkout-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.fivewithdrawal-checkout-consent span {
  font-weight: 600;
}

.fivewithdrawal-checkout-details h2 {
  font-size: 20px;
  margin: 0 0 10px;
}

.fivewithdrawal-checkout-detail {
  border-top: 1px solid #edf1f3;
  padding: 14px 0;
}

.fivewithdrawal-checkout-detail:first-of-type {
  border-top: 0;
}

.fivewithdrawal-checkout-detail h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.fivewithdrawal-checkout-detail__law {
  color: var(--fivewithdrawal-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.fivewithdrawal-checkout-detail__label {
  font-size: 13px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.fivewithdrawal-checkout-detail__text {
  background: #fafafa;
  border-left: 3px solid #e6c477;
  margin-top: 10px;
  padding: 8px 10px;
  white-space: pre-line;
}

.fivewithdrawal-checkout-detail__text ul {
  margin: 0;
  padding-left: 18px;
}

.fivewithdrawal-checkout-products {
  margin: 8px 0 0;
  padding-left: 18px;
}
