/* ===========================================================================
   Customer account pages: My Account, patients, prescriptions, orders, cart
   and checkout share one look, built from the front-end brand in
   front-style.css (ink #1A1B1A, light grey, sage, lilac, cream; DIN Condensed
   headings, Helvetica text, Poppins pill buttons).

   Loaded after front-style.css (panels/front/styles.blade.php) and scoped to
   .acc-page, the wrapper every account page sits in, so the shop and the
   marketing pages are untouched. Pieces:

     x-account.page-head        breadcrumb, page title, optional actions
     .acc-card / .acc-card__title  a titled section
     .acc-toolbar               search, date filter and actions above a list
     front.components.account.status   status as a pill
     front.components.account.empty-row  "nothing here yet" row
   =========================================================================== */

.acc-page {
  --acc-ink: var(--brand-color-primary, #1A1B1A);
  --acc-muted: #5f6368;
  --acc-line: #e4e1e1;
  --acc-soft: var(--brand-color-lightgray, #efecec);
  --acc-cream: var(--brand-color-cream, #fbfbf3);
  --acc-danger: #b42318;
  padding-bottom: 56px;
  color: var(--acc-ink);
}

/* ---- Page header ---------------------------------------------------------- */
.acc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 20px;
}

.acc-title {
  margin: 0;
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--acc-ink);
}

.acc-sub {
  margin: 8px 0 0;
  color: var(--acc-muted);
  font-size: 15px;
}

.acc-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* The page sections carry 45px of top padding for pages without a title;
   here the title block already provides the space. */
.acc-page :is(.main-purchasestable, .main-order-detail, .main-cartdetail, .main-checkout-box, .main-profile-section) {
  padding-top: 0;
}

/* ---- Sections --------------------------------------------------------------- */
.acc-card {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--acc-line);
  border-radius: 12px;
  background: #fff;
}

.acc-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--acc-line);
}

.acc-card__title,
.acc-page h3.acc-card__title {
  display: block;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--acc-line);
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--acc-ink);
}

.acc-card__head .acc-card__title {
  margin: 0;
  padding: 0;
  border: 0;
}

.acc-card__hint {
  margin: -8px 0 16px;
  color: var(--acc-muted);
  font-size: 14px;
}

/* Inside My Account the cards sit in the form's .row; keep their grid. */
.acc-page .main-profile-formm > .acc-card-col {
  width: 100%;
}

.acc-page .main-profile-formm .acc-card > .row > [class*="col-"] {
  margin-bottom: 14px;
}

/* ---- Buttons ----------------------------------------------------------------
   Primary: the brand's black pill. Secondary: white pill, ink border.
   Destructive: red outline. Same height everywhere. */
.acc-page :is(.saves-btn-now, .btn-primary, .btn-dark, .acc-btn),
.acc-page button.panment-cancel,
.acc-page :is(.btn-secondary, .btn-outline-secondary, .btn-outline-primary, .btn-light, .acc-btn--ghost),
.acc-page :is(.btn-danger, .btn-outline-danger) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 100px;
  font-family: var(--font-family-poppins, 'Poppins-Regular'), sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.acc-page :is(.saves-btn-now, .btn-primary, .btn-dark, .acc-btn) {
  border: 1px solid var(--acc-ink);
  background: var(--acc-ink);
  color: #fff;
}

.acc-page :is(.saves-btn-now, .btn-primary, .btn-dark, .acc-btn):is(:hover, :focus-visible) {
  border-color: #000;
  background: #000;
  color: #fff;
}

.acc-page button.panment-cancel,
.acc-page :is(.btn-secondary, .btn-outline-secondary, .btn-outline-primary, .btn-light, .acc-btn--ghost) {
  border: 1px solid var(--acc-ink);
  background: #fff;
  color: var(--acc-ink);
}

.acc-page button.panment-cancel:is(:hover, :focus-visible),
.acc-page :is(.btn-secondary, .btn-outline-secondary, .btn-outline-primary, .btn-light, .acc-btn--ghost):is(:hover, :focus-visible) {
  background: var(--acc-soft);
  color: var(--acc-ink);
}

.acc-page :is(.btn-danger, .btn-outline-danger) {
  border: 1px solid var(--acc-danger);
  background: #fff;
  color: var(--acc-danger);
}

.acc-page :is(.btn-danger, .btn-outline-danger):is(:hover, :focus-visible) {
  background: #fdecea;
  color: var(--acc-danger);
}

.acc-page :is(.btn-sm, .acc-btn--sm) {
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
}

.acc-page :is(.saves-btn-now, .btn, .acc-btn):disabled {
  opacity: 0.55;
}

.acc-page .acc-btn svg,
.acc-page .btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Icon-only round button (e.g. reset date). The cart's dropdown toggles
   share .button-action-box and keep their own look. */
.acc-page .acc-icon-btn,
.acc-page .button-action-box:not(.dropdown-toggle) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--acc-line);
  border-radius: 50%;
  background: #fff;
  color: var(--acc-ink);
}

.acc-page .acc-icon-btn:is(:hover, :focus-visible),
.acc-page .button-action-box:not(.dropdown-toggle):is(:hover, :focus-visible) {
  border-color: var(--acc-ink);
  background: #fff;
  color: var(--acc-ink);
}

.acc-page .button-action-box:not(.dropdown-toggle) svg {
  width: 18px;
  height: 18px;
}

/* Row actions in tables: one round 36px target per icon. */
.acc-page .tableaction-icon,
.acc-page .tableiconss {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.acc-page .tableaction-icon > a,
.acc-page .tableiconss > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.acc-page .tableaction-icon > a:is(:hover, :focus-visible),
.acc-page .tableiconss > a:is(:hover, :focus-visible) {
  background: var(--acc-soft);
}

.acc-page .tableaction-icon img,
.acc-page .tableiconss img {
  width: 20px;
  height: 20px;
}

/* ---- Toolbar above a list -------------------------------------------------- */
.acc-page .purchasestable-head {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px !important;
}

.acc-page .purchasestable-head > h3:empty {
  display: none;
}

/* front-style.css gives this box 45% and, below 1400px, stacks it. */
.acc-page .purchases-date-box {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: auto !important;
}

.acc-page .purchasestable-head .search-box {
  height: 44px;
  margin: 0;
}

.acc-page .purchasestable-head .search-history-purchase {
  width: 280px;
}

.acc-page .purchasestable-head .search-box :is(input, .form-control) {
  height: 44px;
  border-color: var(--acc-line);
  font-size: 14px;
}

.acc-page .purchasestable-head .search-box :is(input, .form-control):focus {
  border-color: var(--acc-ink);
  box-shadow: none;
}

/* ---- Tables ------------------------------------------------------------------ */
.acc-page .table-container-history {
  overflow-x: auto;
  border: 1px solid var(--acc-line);
  border-radius: 12px;
  background: #fff;
}

.acc-page .table-container-history table {
  min-width: 640px;
  border: 0;
}

.acc-page .table-container-history thead {
  background: var(--acc-soft);
}

.acc-page .table-container-history th {
  padding: 14px 16px;
  color: var(--acc-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.acc-page .table-container-history td {
  padding: 14px 16px;
  color: var(--acc-ink);
  font-size: 14px;
  vertical-align: middle;
}

.acc-page .table-container-history tbody tr {
  border-bottom: 1px solid var(--acc-line);
}

.acc-page .table-container-history tbody tr:last-child {
  border-bottom: 0;
}

.acc-page .table-container-history tbody tr:not(.acc-empty-row):hover {
  background: var(--acc-cream);
}

.acc-page .moda-pagination {
  padding: 12px 16px;
}

/* ---- Status pills -------------------------------------------------------------
   One tone per meaning, in the brand's soft colours. The old .status classes
   on order rows are mapped onto the same tones. */
.acc-pill,
.acc-page .table-container-history .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.acc-pill::before,
.acc-page .table-container-history .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.acc-pill--success,
.acc-page .table-container-history .status-approved {
  background: #dfe9d6;
  color: #2f5a1e;
}

.acc-pill--warning,
.acc-page .table-container-history .status-awaiting {
  background: #fbf0cf;
  color: #7a5600;
}

.acc-pill--danger,
.acc-page .table-container-history .status-badge {
  background: #fbe3e1;
  color: #9b1c1c;
}

.acc-pill--info,
.acc-page .table-container-history .status-processing {
  background: #ecdcf8;
  color: #55307a;
}

.acc-pill--neutral {
  background: var(--acc-soft, #efecec);
  color: var(--acc-ink, #1A1B1A);
}

/* ---- Empty state ---------------------------------------------------------------- */
.acc-page .acc-empty-row > td,
.acc-page .acc-empty-row:hover > td {
  padding: 0 !important;
  background: #fff !important;
}

.acc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 16px;
  text-align: center;
}

.acc-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--brand-color-lightgray, #efecec);
  color: var(--brand-color-primary, #1A1B1A);
}

.acc-empty__icon svg {
  width: 22px;
  height: 22px;
}

.acc-empty__title,
.acc-empty strong.acc-empty__title {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif !important;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-color-primary, #1A1B1A);
}

.acc-empty__hint {
  max-width: 420px;
  color: #5f6368;
  font-size: 14px;
}

/* ---- Fields and validation -------------------------------------------------------- */
.acc-page .form-label,
.acc-page label.form-lbl {
  margin-bottom: 6px;
  color: var(--acc-ink);
  font-size: 14px;
  font-weight: 600;
}

.acc-page :is(.form-control, .form-select):focus {
  border-color: var(--acc-ink);
  box-shadow: 0 0 0 3px rgba(26, 27, 26, 0.08);
}

.acc-page :is(div, span, small, p).error,
.acc-page :is(div, span, small, p).error-message,
.acc-page :is(div, span, small, p)[id$="_valid"] {
  display: block;
  margin-top: 6px;
  color: var(--acc-danger) !important;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.35;
}

.acc-page :is(div, span, small, p).error:empty,
.acc-page :is(div, span, small, p).error-message:empty,
.acc-page :is(div, span, small, p)[id$="_valid"]:empty {
  display: none;
}

.acc-page :is(.form-control, .form-select, input).invalid,
.acc-page :is(.form-control, .form-select).is-invalid {
  border-color: var(--acc-danger) !important;
}

/* ---- Alerts --------------------------------------------------------------------- */
.acc-page .alert {
  border-radius: 10px;
  font-size: 14px;
}

.acc-page .alert-warning {
  border-color: #f1dfa6;
  background: #fbf0cf;
  color: #5c4100;
}

.acc-page .alert-danger {
  border-color: #f3c3be;
  background: #fbe3e1;
  color: #7a1616;
}

/* ---- Detail lists (order and prescription summaries) ------------------------------ */
.acc-dl {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 10px 20px;
  margin: 0;
}

.acc-dl dt {
  color: #5f6368;
  font-size: 14px;
  font-weight: 400;
}

.acc-dl dd {
  margin: 0;
  color: var(--brand-color-primary, #1A1B1A);
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* ---- Page-specific pieces ------------------------------------------------------ */
.acc-muted {
  color: #5f6368;
}

.acc-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* A second list further down a page (e.g. saved prescriptions). */
.acc-list-heading {
  margin-top: 8px;
}

.acc-list-heading .acc-card__title {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 14px;
}

/* A text link styled as a small outlined pill, for row actions with a label. */
.acc-page .acc-row-link,
.acc-page .tableiconss > a.acc-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 6px 12px;
  border: 1px solid var(--acc-line);
  border-radius: 100px;
  color: var(--acc-ink);
  font-size: 13px;
  white-space: nowrap;
  height: auto;
  background: #fff;
}

.acc-page .acc-row-link:is(:hover, :focus-visible) {
  border-color: var(--acc-ink);
  background: #fff;
}

.acc-page .acc-row-link img {
  width: 16px;
  height: 16px;
}

/* Saved prescriptions: one block per prescription, divided by a rule. */
.acc-page #saved_prescriptions {
  padding: 4px 16px;
}

.acc-page #saved_prescriptions > br {
  display: none;
}

.acc-page #saved_prescriptions .scriptrx-product-main {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--acc-line);
}

.acc-page #saved_prescriptions .scriptrx-product-main:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
}

/* My Account */
.acc-page .main-profile-section .profile-form {
  padding: 0;
}

.acc-page .main-profile-formm {
  margin: 0;
}

.acc-page .main-profile-formm > .acc-card-col {
  padding: 0;
}

.acc-page .profile-form-endbtn {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

.acc-page .final-payment-account {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0 !important;
}

.acc-page .doc-category {
  padding: 16px 0;
  border-bottom: 1px solid var(--acc-line);
  margin-bottom: 0 !important;
}

.acc-page .doc-category:first-child {
  padding-top: 0;
}

.acc-page .doc-category:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.acc-page .doc-category h6 {
  font-size: 15px;
}

.acc-page .doc-category .doc-upload-input {
  flex: 1 1 260px;
  max-width: 420px;
}

.acc-page .signature-accordion,
.acc-page .accordion-item {
  border: 1px solid var(--acc-line);
  border-radius: 10px;
  overflow: hidden;
}

.acc-page .accordion-button {
  font-weight: 600;
  color: var(--acc-ink);
  box-shadow: none !important;
}

.acc-page .accordion-button:not(.collapsed) {
  background: var(--acc-cream);
  color: var(--acc-ink);
}

/* The photo row sits inside the Your details card, so it loses its own box. */
.acc-page .acc-card .profile-box {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.acc-page .profile-box-signature a {
  color: var(--acc-ink);
  text-decoration: underline;
}

/* Store credit */
.acc-credit-card .acc-card__head {
  margin-bottom: 14px;
}

.acc-credit-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #5f6368;
  font-size: 14px;
}

.acc-credit-balance strong {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--brand-color-primary, #1A1B1A);
}

.acc-page .acc-table {
  margin: 0;
}

.acc-page .acc-table th {
  color: #5f6368;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--acc-line);
}

.acc-page .acc-table td {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--acc-line);
}

/* Order details */
.acc-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.acc-order-number {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* front-style.css forces Helvetica on every b/strong with !important. */
.acc-order-number b,
.acc-cart .card-head h3 b,
.acc-cart .empty-item-boxx h3 b {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif !important;
  font-weight: 400;
}

/* front-style.css paints every span in this row as a teal tag. */
.acc-order-head .acc-order-number b {
  color: var(--acc-ink) !important;
}

.acc-order-head span.acc-order-date {
  padding: 0;
  border-radius: 0;
  background: none;
  color: #5f6368;
  font-size: 14px;
  text-transform: none;
}

.acc-order-head span.acc-pill {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  text-transform: none;
}

.acc-order-head span.acc-pill--success { background: #dfe9d6; color: #2f5a1e; }
.acc-order-head span.acc-pill--warning { background: #fbf0cf; color: #7a5600; }
.acc-order-head span.acc-pill--danger { background: #fbe3e1; color: #9b1c1c; }

.acc-page .main-order-inner,
.acc-page .main-order-inner1 {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.acc-page .mian-order-inner-box.acc-card {
  padding: 24px;
}

.acc-page .order-d-box p,
.acc-page .order-d-box-p p {
  font-size: 14px;
}

.acc-page .order-d-box-p1 {
  padding-top: 12px;
  margin-top: 12px !important;
  border-top: 1px solid var(--acc-line);
  font-size: 16px;
}

.acc-subtitle {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f6368;
}

/* Modals opened from an account page (patient form, confirmations). */
body:has(.acc-page) .modal .modal-title {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body:has(.acc-page) .modal :is(.save-btn, .btn-primary, .action-btn),
body:has(.acc-page) .modal :is(.cancel-btn, .btn-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 100px;
  font-family: var(--font-family-poppins, 'Poppins-Regular'), sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:has(.acc-page) .modal :is(.save-btn, .btn-primary, .action-btn) {
  border: 1px solid var(--brand-color-primary, #1A1B1A);
  background: var(--brand-color-primary, #1A1B1A);
  color: #fff;
}

body:has(.acc-page) .modal :is(.cancel-btn, .btn-secondary) {
  border: 1px solid var(--brand-color-primary, #1A1B1A);
  background: #fff;
  color: var(--brand-color-primary, #1A1B1A);
}

body:has(.acc-page) .modal :is(div, span, small).error:not(:empty),
body:has(.acc-page) .modal :is(div, span, small)[id$="_valid"]:not(:empty) {
  margin-top: 6px;
  color: #b42318 !important;
  font-size: 13px !important;
}

/* Cart and checkout keep their own layout (scoped .acc-cart, not .acc-page)
   and only take the shared headings and empty state. */
.acc-cart .card-head h3,
.acc-cart .price-card > h3,
.acc-cart .acc-col-title,
.acc-cart .empty-item-boxx h3 {
  font-family: var(--font-family-din-condensed, 'DINCondensed-Bold'), sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-color-primary, #1A1B1A);
}

.acc-cart .card-head h3,
.acc-cart .acc-col-title {
  font-size: 26px;
}

.acc-cart .price-card > h3 {
  font-size: 22px;
}

.acc-cart .main-emptyitem-boxx:not(.d-none) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 16px;
  text-align: center;
}

.acc-cart .empty-item-boxx h3 {
  font-size: 26px;
}

.acc-cart .empty-item-boxx p {
  color: #5f6368;
}

.acc-cart .checkout-btn {
  font-family: var(--font-family-poppins, 'Poppins-Regular'), sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.acc-checkout .main-checkout-box {
  padding-top: 0;
}

/* ---- Small screens -------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .acc-head {
    margin: 24px 0 16px;
  }

  .acc-title {
    font-size: 32px;
  }

  .acc-card {
    padding: 18px 16px;
    border-radius: 10px;
  }

  .acc-head__actions,
  .acc-page .purchasestable-head,
  .acc-page .purchases-date-box {
    width: 100%;
    justify-content: stretch;
  }

  .acc-page .purchases-date-box > *,
  .acc-page .purchasestable-head .search-box {
    flex: 1 1 100%;
    width: 100% !important;
  }

  .acc-page .purchases-date-box > .d-flex {
    flex-wrap: nowrap;
  }

  .acc-page .purchases-date-box > .d-flex > .search-box {
    flex: 1 1 auto;
  }

  .acc-head__actions > :is(a, button) {
    flex: 1 1 auto;
  }
  /* Lists become one card per row; each cell shows its column name
     (data-label, set in the row partials). */
  .acc-page .table-container-history.request-details-table {
    overflow: visible;
    border: 0;
    background: none;
  }

  .acc-page .request-details-table table {
    min-width: 0;
  }

  .acc-page .request-details-table thead {
    display: none;
  }

  .acc-page .request-details-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid var(--acc-line) !important;
    border-radius: 12px;
    background: #fff;
  }

  .acc-page .request-details-table tbody tr:hover {
    background: #fff;
  }

  .acc-page .request-details-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--acc-line);
    text-align: right;
  }

  .acc-page .request-details-table tbody td:last-child {
    border-bottom: 0;
    justify-content: flex-end;
  }

  .acc-page .request-details-table tbody td[data-label]::before {
    content: attr(data-label);
    flex-shrink: 0;
    color: #5f6368;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
  }

  .acc-page .request-details-table tbody td .tableiconss,
  .acc-page .request-details-table tbody td .tableaction-icon {
    justify-content: flex-end;
  }

  .acc-page .request-details-table .acc-empty-row,
  .acc-page .request-details-table .acc-empty-row > td {
    display: block;
    text-align: center;
  }
}
