:root {
  --wps-rma-ink: #21133b;
  --wps-rma-ink-soft: #6d6582;
  --wps-rma-accent: #ffb13b;
  --wps-rma-accent-soft: #fff3d9;
  --wps-rma-primary: #1d1237;
  --wps-rma-border: #ece7f5;
  --wps-rma-surface: #ffffff;
  --wps-rma-surface-soft: #fbf9ff;
  --wps-rma-shadow: 0 24px 60px rgba(29, 18, 55, 0.08);
  --wps-rma-radius-xl: 28px;
  --wps-rma-radius-lg: 22px;
  --wps-rma-radius-md: 16px;
}

body.wp-admin[class*="wp-swings_page_woo_refund_and_exchange_lite_menu"],
body.wp-admin[class*="wp-swings_page_home"] {
  background: linear-gradient(180deg, #f5f1ff 0%, #fcfbff 100%);
}

.wp-swings_page_woo_refund_and_exchange_lite_menu #wpcontent,
.wp-swings_page_home #wpcontent {
  padding-left: 0;
}

.wp-swings_page_woo_refund_and_exchange_lite_menu #wpbody-content,
.wp-swings_page_home #wpbody-content {
  padding-bottom: 24px;
}

.wps-rma-shell {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-Regular, sans-serif;
  padding: 18px 20px 28px;
}

.wps-rma-shell a {
  text-decoration: none;
}

.wps-rma-shell__promo {
  background: linear-gradient(90deg, #1f1238 0%, #2f174f 100%);
  border-radius: var(--wps-rma-radius-lg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  box-shadow: var(--wps-rma-shadow);
}

.wps-rma-shell__promo-text {
  font-size: 14px;
  line-height: 1.5;
}

.wps-rma-shell__promo-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-family: NunitoSans-Bold, sans-serif;
  letter-spacing: 0.08em;
  margin-right: 12px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.wps-rma-shell__promo-link {
  background: #fff;
  border-radius: 999px;
  color: var(--wps-rma-primary);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 13px;
  padding: 10px 16px;
  white-space: nowrap;
}

.wps-rma-shell__frame {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(236, 231, 245, 0.85);
  border-radius: 30px;
  box-shadow: var(--wps-rma-shadow);
  isolation: isolate;
  margin-top: 18px;
  overflow: visible;
}

.wps-rma-shell__topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--wps-rma-border);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 28px;
  position: relative;
  z-index: 140;
}

.wps-rma-shell__version,
.wps-rma-shell__setup-flag {
  color: var(--wps-rma-ink-soft);
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 13px;
  min-width: max-content;
}

.wps-rma-shell__nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.wps-rma-shell__tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  scrollbar-width: none;
}

.wps-rma-shell__tabs::-webkit-scrollbar {
  display: none;
}

.wps-rma-shell__tabs li {
  margin: 0;
}

.wps-rma-shell__tab-link {
  border-radius: 999px;
  color: var(--wps-rma-ink-soft) !important;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 13px;
  line-height: 1;
  padding: 10px 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wps-rma-shell__tab-link:hover,
.wps-rma-shell__tab-link.active {
  background: var(--wps-rma-accent-soft);
  color: var(--wps-rma-primary) !important;
}

.wps-rma-shell__tab-overflow-item {
  position: relative;
  z-index: 150;
}

.wps-rma-shell__tab-overflow {
  position: relative;
}

.wps-rma-shell__tab-summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  list-style: none;
}

.wps-rma-shell__tab-summary::-webkit-details-marker {
  display: none;
}

.wps-rma-shell__tab-summary::after {
  content: '\25be';
  font-size: 11px;
}

.wps-rma-shell__tab-overflow-menu {
  background: #fff;
  border: 1px solid var(--wps-rma-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(29, 18, 55, 0.12);
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  min-width: 220px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 160;
}

.wps-rma-shell__tab-overflow-menu li {
  margin: 0;
}

.wps-rma-shell__overflow-link {
  border-radius: 12px;
  color: var(--wps-rma-ink-soft) !important;
  display: flex;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 12px;
}

.wps-rma-shell__overflow-link:hover,
.wps-rma-shell__overflow-link.active {
  background: var(--wps-rma-accent-soft);
  color: var(--wps-rma-primary) !important;
}

.wps-rma-shell__upgrade,
.wps_go_pro_link.wps-rma-shell__upgrade {
  background: #22c55e !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 13px;
  padding: 12px 18px !important;
}

.wps-rma-shell__layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 28px;
}

.wps-rma-shell__main {
  min-width: 0;
}

.wps-rma-shell__hero {
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 245, 255, 0.96) 100%);
  border: 1px solid var(--wps-rma-border);
  border-radius: var(--wps-rma-radius-xl);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 28px 32px;
}

.wps-rma-shell__eyebrow {
  color: var(--wps-rma-accent);
  display: inline-block;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.wps-rma-shell__hero h1 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 12px;
  max-width: 620px;
}

.wps-rma-shell__hero p {
  color: var(--wps-rma-ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

.wps-rma-shell__hero--license {
  align-items: center;
  border-color: rgba(234, 203, 132, 0.55);
  padding: 26px 28px;
}

.wps-rma-shell__hero--license h1 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
  max-width: none;
}

.wps-rma-shell__hero--license p {
  font-size: 14px;
  margin: 0;
  max-width: 720px;
}

.wps-rma-shell__hero-action,
.wps-rma-sidebar-button,
.wps-rma-overview__button,
.wps-rma-license-panel__button {
  background: #000000 !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 14px;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px !important;
}

.wps-rma-overview__button--secondary {
  background: transparent !important;
  border: 1px solid var(--wps-rma-border) !important;
  color: var(--wps-rma-primary) !important;
}

.wps-rma-shell__surface {
  background: var(--wps-rma-surface);
  border: 1px solid var(--wps-rma-border);
  border-radius: var(--wps-rma-radius-xl);
  box-shadow: 0 18px 45px rgba(29, 18, 55, 0.05);
  padding: 30px 32px;
}

.wps-rma-shell__surface--overview {
  background: linear-gradient(180deg, #fff 0%, #fcfbff 100%);
}

.wps-rma-shell__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.wps-rma-expert-modal-open {
  overflow: hidden;
}

.wps-rma-sidebar-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--wps-rma-border);
  border-radius: 20px;
  padding: 20px;
}

.wps-rma-sidebar-card h3 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.wps-rma-sidebar-card p {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.wps-rma-sidebar-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wps-rma-sidebar-link {
  border: 1px solid var(--wps-rma-border);
  border-radius: 14px;
  color: var(--wps-rma-primary);
  display: inline-flex;
  font-family: NunitoSans-Bold, sans-serif;
  justify-content: space-between;
  padding: 12px 14px;
}

.wps-rma-sidebar-card--accent {
  background: linear-gradient(180deg, #fff7ea 0%, #ffffff 100%);
}

.wps-rma-sidebar-card--services {
  box-shadow: 0 18px 38px rgba(29, 18, 55, 0.08);
}

.wps-rma-sidebar-card__header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.wps-rma-sidebar-card__badge {
  align-items: center;
  border: 1px solid #f0c76d;
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  margin-top: 2px;
  width: 42px;
}

.wps-rma-sidebar-card__badge::before {
  background: #f0ad13;
  content: '';
  display: block;
  height: 16px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.75l2.47 5.01 5.53.8-4 3.9.94 5.51L12 15.39l-4.94 2.58.94-5.51-4-3.9 5.53-.8L12 2.75zm0 2.7l-1.73 3.51-3.88.56 2.81 2.74-.66 3.86L12 14.31l3.46 1.81-.66-3.86 2.81-2.74-3.88-.56L12 5.45z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 16px;
}

.wps-rma-service-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.wps-rma-service-rail__item {
  align-items: center;
  background: linear-gradient(180deg, #fffefd 0%, #ffffff 100%);
  border: 1px solid rgba(236, 231, 245, 0.95);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(29, 18, 55, 0.05);
  color: var(--wps-rma-ink) !important;
  display: flex;
  gap: 12px;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wps-rma-service-rail__item:hover,
.wps-rma-service-rail__item:focus {
  border-color: #dbcceb;
  box-shadow: 0 16px 30px rgba(29, 18, 55, 0.09);
  transform: translateY(-1px);
}

.wps-rma-service-rail__icon {
  align-items: center;
  background: linear-gradient(180deg, #fbfbff 0%, #f1f1ff 100%);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
}

.wps-rma-service-rail__icon::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: block;
  height: 18px;
  width: 18px;
}

.wps-rma-service-rail__icon--seo {
  background: linear-gradient(180deg, #fff8e6 0%, #fff1cb 100%);
}

.wps-rma-service-rail__icon--seo::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23f0aa0f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='10.5' cy='10.5' r='4.5'/%3E%3Cpath d='M14 14l5 5'/%3E%3C/g%3E%3C/svg%3E");
}

.wps-rma-service-rail__icon--ads::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23735df6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6 14l3.7-6.4a1.5 1.5 0 0 1 2.6 0L16 14'/%3E%3Cpath d='M13.7 8.3L18 16'/%3E%3Cpath d='M11 10.5l2.2 3.8'/%3E%3C/g%3E%3C/svg%3E");
}

.wps-rma-service-rail__icon--speed::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%234970ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6 15a6 6 0 1 1 12 0'/%3E%3Cpath d='M12 12l2.5-2.5'/%3E%3Ccircle cx='12' cy='15' r='1' fill='%234970ff' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}

.wps-rma-service-rail__icon--dev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='3' fill='none' stroke='%235b6bff' stroke-width='1.8'/%3E%3Ctext x='12' y='14.2' text-anchor='middle' font-family='Arial, sans-serif' font-size='6.5' font-weight='700' fill='%235b6bff'%3Ewoo%3C/text%3E%3C/svg%3E");
}

.wps-rma-service-rail__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wps-rma-service-rail__title {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.wps-rma-service-rail__description {
  color: var(--wps-rma-ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.wps-rma-service-rail__arrow {
  color: #6c5a97;
  flex: 0 0 auto;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.wps-rma-service-rail__footer {
  color: #8a849d;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}

.wps-rma-sidebar-button {
  align-items: center;
  background: #000000;
  border: 0;
  border-radius: 14px;
  color: #ffffff !important;
  display: inline-flex;
  font-family: NunitoSans-ExtraBold, sans-serif;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.wps-rma-sidebar-button--full {
  width: 100%;
}

.wps-rma-expert-modal {
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.wps-rma-expert-modal[hidden] {
  display: none;
}

.wps-rma-expert-modal__backdrop {
  backdrop-filter: blur(5px);
  background: rgba(19, 12, 42, 0.42);
  inset: 0;
  position: absolute;
}

.wps-rma-expert-modal__dialog {
  background: linear-gradient(180deg, #fbf8ff 0%, #eee9ff 100%);
  border: 1px solid #d8cff3;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(18, 12, 34, 0.24);
  left: 50%;
  max-height: calc(100vh - 48px);
  max-width: 820px;
  overflow: auto;
  padding: 18px;
  position: relative;
  top: 24px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
}

.wps-rma-expert-modal__close {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9cff4;
  border-radius: 999px;
  color: #4b3a72;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
}

.wps-rma-expert-modal__header {
  margin-bottom: 12px;
  padding: 2px 44px 16px 2px;
}

.wps-rma-expert-modal__eyebrow {
  color: #7f7398;
  display: inline-block;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.wps-rma-expert-modal__header h2 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.wps-rma-expert-modal__header p {
  color: #7b7192;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.wps-rma-expert-modal__panel {
  background: #ffffff;
  border: 1px solid #ddd2f5;
  border-radius: 24px;
  padding: 18px;
}

.wps-rma-expert-modal__status {
  border-radius: 16px;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.wps-rma-expert-modal__status.is-success {
  background: #effbf3;
  border: 1px solid #b9e7c7;
  color: #14532d;
}

.wps-rma-expert-modal__status.is-error {
  background: #fff2f3;
  border: 1px solid #f3c4cb;
  color: #9f1239;
}

.wps-rma-expert-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wps-rma-expert-modal__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wps-rma-expert-modal__field--span-2 {
  grid-column: 1 / -1;
}

.wps-rma-expert-modal__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wps-rma-expert-modal__field label,
.wps-rma-expert-modal__legend {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.wps-rma-expert-modal__required {
  color: #ce1446;
}

.wps-rma-expert-modal__field input,
.wps-rma-expert-modal__field select,
.wps-rma-expert-modal__field textarea {
  background: #ffffff;
  border: 1px solid #dccff5;
  border-radius: 16px;
  box-shadow: none;
  color: #35255e;
  font-size: 14px;
  min-height: 52px;
  padding: 14px 16px;
  width: 100%;
}

.wps-rma-expert-modal__field input::placeholder,
.wps-rma-expert-modal__field textarea::placeholder {
  color: #a497bf;
}

.wps-rma-expert-modal__field textarea {
  min-height: 108px;
  resize: vertical;
}

.wps-rma-expert-modal__field input:focus,
.wps-rma-expert-modal__field select:focus,
.wps-rma-expert-modal__field textarea:focus {
  border-color: #cdbdf0;
  box-shadow: 0 0 0 4px rgba(163, 137, 225, 0.12);
  outline: 0;
}

.wps-rma-expert-modal__checkboxes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wps-rma-expert-modal__checkbox {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dccff5;
  border-radius: 16px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.wps-rma-expert-modal__checkbox input {
  accent-color: #6a4ee9;
  margin: 3px 0 0;
  min-height: 0;
  width: auto;
}

.wps-rma-expert-modal__checkbox span {
  color: #4a3a72;
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.wps-rma-expert-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.wps-rma-expert-modal__submit {
  background: #000000 !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 14px;
  min-width: 146px;
  min-height: 40px !important;
  padding: 10px 18px !important;
}

.wps-rma-expert-modal__submit:hover,
.wps-rma-expert-modal__submit:focus {
  background: #000000 !important;
  color: #ffffff !important;
}

.wps-rma-expert-modal__success {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-height: 420px;
  opacity: 0;
  padding: 42px 20px;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wps-rma-expert-modal__success[hidden] {
  display: none;
}

.wps-rma-expert-modal__success.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wps-rma-expert-modal__success-mark {
  align-items: center;
  display: inline-flex;
  height: 112px;
  justify-content: center;
  position: relative;
  width: 112px;
}

.wps-rma-expert-modal__success-ring,
.wps-rma-expert-modal__success-core {
  border-radius: 999px;
  position: absolute;
}

.wps-rma-expert-modal__success-ring {
  animation: wpsRmaExpertPulse 1.8s ease-out infinite;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.16) 0%, rgba(124, 92, 255, 0.08) 42%, rgba(124, 92, 255, 0) 72%);
  height: 112px;
  width: 112px;
}

.wps-rma-expert-modal__success-core {
  align-items: center;
  background: linear-gradient(180deg, #171030 0%, #2b1d52 100%);
  box-shadow: 0 18px 42px rgba(43, 29, 82, 0.24);
  color: #ffffff;
  display: inline-flex;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.wps-rma-expert-modal__success-core svg {
  display: block;
  height: 28px;
  width: 28px;
}

.wps-rma-expert-modal__success h3 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 30px;
  line-height: 1.15;
  margin: 4px 0 0;
}

.wps-rma-expert-modal__success p {
  color: #716887;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

@keyframes wpsRmaExpertPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.wps-rma-overview {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wps-rma-overview__hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.wps-rma-overview__icon {
  align-items: center;
  background: radial-gradient(circle at top, #fff4d6, #ffcc74);
  border-radius: 22px;
  color: var(--wps-rma-primary);
  display: inline-flex;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 20px;
  height: 84px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 84px;
}

.wps-rma-overview__eyebrow {
  color: var(--wps-rma-accent);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wps-rma-overview__hero h2 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 46px;
  line-height: 1.08;
  margin: 0;
}

.wps-rma-overview__hero p {
  color: var(--wps-rma-ink-soft);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.wps-rma-overview__heading-row {
  align-items: center;
  color: var(--wps-rma-primary);
  display: flex;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 20px;
  gap: 16px;
  justify-content: center;
}

.wps-rma-overview__heading-row::before,
.wps-rma-overview__heading-row::after {
  background: linear-gradient(90deg, transparent, var(--wps-rma-border), transparent);
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 180px;
}

.wps-rma-overview__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.wps-rma-overview-card {
  background: var(--wps-rma-surface);
  border: 1px solid var(--wps-rma-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.wps-rma-overview-card__media {
  align-items: center;
  background: var(--wps-rma-surface-soft);
  border-radius: 16px;
  display: flex;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.wps-rma-overview-card__media img {
  max-height: 46px;
  max-width: 46px;
}

.wps-rma-overview-card h3 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.wps-rma-overview-card p {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.wps-rma-overview__cta {
  align-items: center;
  background: linear-gradient(90deg, #f9f5ff 0%, #ffffff 100%);
  border: 1px solid var(--wps-rma-border);
  border-radius: 18px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}

.wps-rma-overview__cta strong {
  color: var(--wps-rma-ink);
  display: block;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.wps-rma-overview__cta p {
  color: var(--wps-rma-ink-soft);
  margin: 0;
}

.wps-rma-overview__cta-actions {
  display: flex;
  gap: 12px;
}

.wps-form-group {
  border-top: 1px solid var(--wps-rma-border);
  margin: 0;
  padding: 24px 0;
}

.wps-form-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.wps-form-group__label {
  max-width: 260px;
}

.wps-form-label {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.wps-form-group__control,
.wps-form-group .wps-form-group__control {
  max-width: calc(100% - 260px);
}

.wps-helper-text,
.mdc-text-field-helper-text--persistent {
  color: #5a5570 !important;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 10px;
}

.mdc-text-field-helper-line {
  padding: 0 8px;
}

.wps-form-select select,
.wps-time-form-group input,
.wps-rma-license-panel__input-wrap input,
.wps-rma-api-container input,
.wps-rma-api-container select,
.wps-rma-api-container textarea {
  background: #fff !important;
  border: 1px solid var(--wps-rma-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: var(--wps-rma-ink) !important;
  min-height: 52px;
}

.wps-rma-shell .select2.select2-container,
.wps-rma-shell .select2-container {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.wps-rma-shell .select2-container .select2-selection--single,
.wps-rma-shell .select2-container .select2-selection--multiple {
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--wps-rma-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: var(--wps-rma-ink) !important;
  display: flex;
  min-height: 52px;
  padding: 6px 12px !important;
}

.wps-rma-shell .select2-container .select2-selection--multiple {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.wps-rma-shell .select2-container .select2-search--inline,
.wps-rma-shell .select2-container .select2-search--inline .select2-search__field {
  margin: 0 !important;
  width: 100% !important;
}

.wps-rma-shell .select2-container .select2-search--inline .select2-search__field {
  border: 0 !important;
  box-shadow: none !important;
  min-height: 32px;
  padding: 0 !important;
}

.wps-rma-shell .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #f4ecff !important;
  border: 1px solid #e4d7fb !important;
  border-radius: 999px !important;
  color: var(--wps-rma-primary) !important;
  margin: 0 !important;
  padding: 4px 10px 4px 24px !important;
}

.wps-rma-shell .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 0 !important;
  color: var(--wps-rma-primary) !important;
  left: 8px;
  top: 3px;
}

.wps-rma-shell .select2-container--default.select2-container--focus .select2-selection--multiple,
.wps-rma-shell .select2-container--default .select2-selection--single:focus,
.wps-rma-shell .select2-container--default .select2-selection--multiple:focus {
  border-color: #cdbde8 !important;
  box-shadow: 0 0 0 4px rgba(67, 43, 107, 0.08) !important;
}

.wps-rma-shell .select2-dropdown {
  border: 1px solid var(--wps-rma-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(29, 18, 55, 0.12);
  overflow: hidden;
}

.mdc-text-field,
.wps-form-select {
  width: 100%;
}

.mdc-text-field.mdc-text-field--outlined {
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--wps-rma-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  display: flex;
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mdc-text-field.mdc-text-field--outlined .mdc-notched-outline {
  display: none;
}

.mdc-text-field.mdc-text-field--outlined .mdc-text-field__input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--wps-rma-ink) !important;
  min-height: 52px;
  padding: 16px 18px !important;
}

.mdc-text-field.mdc-text-field--outlined.mdc-text-field--textarea {
  align-items: stretch;
}

.mdc-text-field.mdc-text-field--outlined.mdc-text-field--textarea .mdc-text-field__resizer {
  width: 100%;
}

.mdc-text-field.mdc-text-field--outlined.mdc-text-field--textarea .mdc-text-field__input {
  min-height: 140px;
  padding: 18px !important;
}

.mdc-text-field.mdc-text-field--outlined .mdc-floating-label,
.mdc-text-field.mdc-text-field--outlined .mdc-floating-label--float-above,
.mdc-text-field.mdc-text-field--outlined .mdc-floating-label--shake {
  display: none !important;
}

.mdc-text-field.mdc-text-field--outlined .mdc-text-field__input::placeholder,
.wps-rma-license-panel__input-wrap input::placeholder,
.wps-rma-api-container input::placeholder,
.wps-rma-api-container textarea::placeholder {
  color: #8a849d !important;
  opacity: 1;
}

.mdc-text-field.mdc-text-field--outlined .mdc-text-field__icon {
  color: var(--wps-rma-ink-soft) !important;
  margin-right: 16px;
}

.mdc-text-field.mdc-text-field--outlined:hover,
.mdc-text-field.mdc-text-field--outlined:focus-within {
  border-color: #cdbde8 !important;
  box-shadow: 0 0 0 4px rgba(67, 43, 107, 0.08) !important;
}

.wps-rma-color-field {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(135deg, #fff9ef 0%, #ffffff 100%);
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  min-height: 56px;
  padding: 10px 14px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wps-rma-color-field:hover,
.wps-rma-color-field:focus-within {
  border-color: var(--wps-rma-color-current);
  box-shadow:
    0 16px 36px rgba(29, 18, 55, 0.08),
    0 0 0 4px rgba(67, 43, 107, 0.08);
  transform: translateY(-1px);
}

.wps-rma-color-field__input {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(145deg, #ffffff 0%, #f6f1ff 100%);
  border: 0;
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(29, 18, 55, 0.08);
  cursor: pointer;
  flex: 0 0 38px;
  height: 38px;
  min-height: 38px;
  min-width: 38px;
  overflow: hidden;
  padding: 3px;
  width: 38px;
}

.wps-rma-color-field__input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.wps-rma-color-field__input::-webkit-color-swatch {
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(24, 18, 11, 0.08);
}

.wps-rma-color-field__input::-moz-color-swatch {
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(24, 18, 11, 0.08);
}

.wps-rma-color-field__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wps-rma-color-field__meta {
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  gap: 8px;
}

.wps-rma-color-field__eyebrow {
  background: #fff8e8;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  color: var(--wps-rma-ink);
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.wps-rma-color-field__value {
  color: var(--wps-rma-color-current);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.wps-rma-color-field__hint {
  color: #8a849d;
  font-size: 12px;
  line-height: 1.35;
}

.mdc-floating-label {
  color: var(--wps-rma-ink-soft) !important;
}

.mdc-button,
input.wps_rma_save_settings,
#wps_rma_add_more,
.wps-rma-shell input[type="submit"],
.wps-rma-shell button.button,
.wps-rma-shell button.button-primary {
  background: #000000 !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  cursor: pointer;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 14px;
  min-height: 48px;
  padding: 12px 20px !important;
}

.wps-rma-shell h6 {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
  margin: 16px 0 0;
}

.wps-rma-shell h6 a {
  color: var(--wps-rma-primary);
  font-family: NunitoSans-Bold, sans-serif;
}

.wps-rma-license-panel {
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 209, 96, 0.18), rgba(255, 209, 96, 0) 24%),
    radial-gradient(circle at 88% 78%, rgba(255, 209, 96, 0.16), rgba(255, 209, 96, 0) 24%),
    linear-gradient(180deg, #fffdf7 0%, #fffefb 100%);
  border: 1px solid rgba(234, 203, 132, 0.9);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  padding: 34px 24px 44px;
}

.wps-rma-license-panel__content {
  background: #ffffff;
  border: 1px solid rgba(234, 203, 132, 0.8);
  border-radius: 30px;
  box-shadow: 0 18px 46px rgba(29, 18, 55, 0.08);
  max-width: 720px;
  padding: 34px 38px 40px;
  text-align: center;
  width: 100%;
}

.wps-rma-license-panel__eyebrow {
  color: var(--wps-rma-accent);
  display: inline-block;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.wps-rma-license-panel__content h2 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.wps-rma-license-panel__content p {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 auto 24px;
  max-width: 640px;
}

.wps-rma-license-panel__form {
  margin: 0 auto;
  max-width: 646px;
}

.wps-rma-license-panel__field {
  color: var(--wps-rma-ink);
  display: block;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
  text-align: left;
}

.wps-rma-license-panel__input-wrap {
  position: relative;
}

.wps-rma-license-panel__input-wrap input,
.wps-rma-license-panel__input-wrap input[type="text"] {
  background: #ffffff !important;
  border: 1px solid rgba(234, 203, 132, 0.9) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  color: var(--wps-rma-ink) !important;
  font-size: 14px;
  margin: 0;
  min-height: 54px;
  padding: 14px 18px !important;
  width: 100%;
}

.wps-rma-license-panel__input-wrap input:hover,
.wps-rma-license-panel__input-wrap input:focus {
  border-color: #d8b24b !important;
  box-shadow: 0 0 0 4px rgba(245, 177, 59, 0.12) !important;
  outline: none;
}

#wps_license_ajax_loader {
  display: none !important;
}

.wps-rma-license-panel__form .submit {
  margin: 22px 0 0;
}

#wps_mwr_license_activation_status {
  font-family: NunitoSans-Bold, sans-serif;
  margin: 14px 0 0;
  max-width: none;
  min-height: 24px;
}

.wps-rma-license-panel__button,
.wps-rma-license-panel__button.button,
.wps-rma-license-panel__form .submit .button-primary {
  background: #000000 !important;
  border: 0 !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 16px;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1;
  min-height: 56px;
  padding: 16px 24px !important;
  position: relative;
  text-transform: none;
  transition: opacity 0.2s ease;
  width: 100%;
}

.wps-rma-license-panel__button:hover,
.wps-rma-license-panel__button:focus {
  background: #111111 !important;
  color: #ffffff !important;
}

.wps-rma-license-panel__button.is-loading::before,
.wps-rma-license-panel__button.button.is-loading::before,
.wps-rma-license-panel__form .submit .button-primary.is-loading::before {
  animation: wps-rma-spin 0.8s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.wps-rma-license-panel__button[disabled] {
  cursor: wait;
  opacity: 0.84;
}

@keyframes wps-rma-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#save_policies_setting_form {
  margin-top: 24px;
}

.add_more_rma_policies {
  align-items: flex-start;
  background: var(--wps-rma-surface-soft);
  border: 1px solid var(--wps-rma-border);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
}

.add_more_rma_policies .wps_rma_on_functionality,
.add_more_rma_policies .wps_rma_settings_label,
.add_more_rma_policies .wps_rma_conditions_label {
  flex: 0 0 100px;
  max-width: 100px;
}

.add_more_rma_policies .wps_rma_settings {
  flex: 0 0 168px;
  max-width: 168px;
}

.add_more_rma_policies .wps_rma_conditions1,
.add_more_rma_policies .wps_rma_conditions2,
.add_more_rma_policies .wps_rma_policy_condition,
.add_more_rma_policies .wps_rma_max_number_days,
.add_more_rma_policies .wps_rma_tax_handling,
.add_more_rma_policies .select2.select2-container,
.add_more_rma_policies .select2-container {
  flex: 0 0 180px;
  max-width: 180px;
  min-width: 180px;
  width: 180px !important;
}

.add_more_rma_policies .wps_rma_conditions_label {
  align-items: center;
  color: var(--wps-rma-primary);
  display: inline-flex;
  font-family: NunitoSans-Bold, sans-serif;
  justify-content: center;
  min-height: 44px;
}

.add_more_rma_policies select,
.add_more_rma_policies input[type="number"],
#add_more_rma_policies_clone select,
#add_more_rma_policies_clone input[type="number"] {
  background: #fff;
  border: 1px solid var(--wps-rma-border);
  border-radius: 12px;
  min-height: 44px;
  padding: 8px 12px;
}

.add_more_rma_policies .select2-container .select2-selection--single,
.add_more_rma_policies .select2-container .select2-selection--multiple {
  min-height: 44px;
}

.rma_policy_delete {
  background: #fff !important;
  border: 1px solid #ffd2d2 !important;
  color: #d63d3d !important;
  flex: 0 0 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 !important;
}

@media (min-width: 961px) {
  .add_more_rma_policies {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 20px 76px 20px 20px;
    position: relative;
  }

  .add_more_rma_policies .wps_rma_on_functionality,
  .add_more_rma_policies .wps_rma_settings_label {
    flex: 0 0 112px;
    max-width: 112px;
    order: 1;
  }

  .add_more_rma_policies .wps_rma_conditions_label,
  .add_more_rma_policies .wps_rma_settings,
  .add_more_rma_policies .wps_rma_conditions1,
  .add_more_rma_policies .wps_rma_conditions2,
  .add_more_rma_policies .wps_rma_policy_condition,
  .add_more_rma_policies .wps_rma_max_number_days,
  .add_more_rma_policies .wps_rma_tax_handling,
  .add_more_rma_policies .select2.select2-container,
  .add_more_rma_policies .select2-container {
    flex: initial;
    max-width: 100%;
    min-width: 0;
    width: auto !important;
  }

  .add_more_rma_policies .wps_rma_settings {
    flex: 0 0 152px;
    max-width: 152px;
    order: 2;
  }

  .add_more_rma_policies .wps_rma_conditions_label {
    flex: 0 0 42px;
    justify-content: center;
    max-width: 42px;
    order: 3;
  }

  .add_more_rma_policies .wps_rma_conditions1,
  .add_more_rma_policies .wps_rma_conditions2,
  .add_more_rma_policies .wps_rma_policy_condition {
    flex: 0 0 176px;
    max-width: 176px;
    order: 4;
  }

  .add_more_rma_policies .wps_rma_max_number_days,
  .add_more_rma_policies .wps_rma_tax_handling {
    flex: 0 0 180px;
    max-width: 180px;
    order: 8;
    width: 180px !important;
  }

  .add_more_rma_policies .wps_rma_order_statues,
  .add_more_rma_policies .wps_rma_order_statues + .select2-container,
  .add_more_rma_policies .wps_rma_ex_cate,
  .add_more_rma_policies .wps_rma_ex_cate + .select2-container,
  .add_more_rma_policies .wps_rma_ex_prod,
  .add_more_rma_policies .wps_rma_ex_prod + .select2-container {
    flex: 1 1 360px;
    max-width: 460px;
    min-width: 320px;
    order: 8;
    width: 100% !important;
  }

  .add_more_rma_policies .wps_rma_order_statues + .select2-container .select2-selection--multiple,
  .add_more_rma_policies .wps_rma_ex_cate + .select2-container .select2-selection--multiple,
  .add_more_rma_policies .wps_rma_ex_prod + .select2-container .select2-selection--multiple {
    min-height: 52px;
  }

  .rma_policy_delete {
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

@media (max-width: 1200px) {
  .add_more_rma_policies .wps_rma_on_functionality,
  .add_more_rma_policies .wps_rma_settings_label,
  .add_more_rma_policies .wps_rma_conditions_label,
  .add_more_rma_policies .wps_rma_settings,
  .add_more_rma_policies .wps_rma_conditions1,
  .add_more_rma_policies .wps_rma_conditions2,
  .add_more_rma_policies .wps_rma_policy_condition,
  .add_more_rma_policies .wps_rma_max_number_days,
  .add_more_rma_policies .wps_rma_tax_handling,
  .add_more_rma_policies .select2.select2-container,
  .add_more_rma_policies .select2-container {
    flex: 1 1 180px;
    max-width: 100%;
    min-width: 0;
    width: auto !important;
  }
}

.wps-rma-api-container {
  color: var(--wps-rma-ink);
  margin-top: 28px;
}

.wps-rma-api-container h2,
.wps-rma-api-container summary {
  color: var(--wps-rma-primary);
}

.wps-rma-api-container code,
.wps-rma-api-container pre,
.wps-rma-api-container .json-response,
.wps-rma-api-container details {
  border-radius: 14px;
}

.table-responsive,
.wps-rma-shell .table-responsive {
  border: 1px solid var(--wps-rma-border);
  border-radius: 18px;
  box-shadow: none;
}

.wps-rma-shell .dataTable thead th,
.wps-rma-shell .mdc-data-table__header-cell {
  background: var(--wps-rma-surface-soft);
  color: var(--wps-rma-primary) !important;
  font-family: NunitoSans-ExtraBold, sans-serif !important;
}

.wps-rma-shell .mdc-data-table__cell,
.wps-rma-shell table td,
.wps-rma-shell table th {
  color: var(--wps-rma-ink);
}

.wps_rma_pro_class_wrap .wps-form-group__control,
.wps_rma_pro_div .wps_rma_shipping_label_setting td,
.wps_rma_pro_div .wps_rma_shipping_setting .wps_wrma_ship_validate_form_wrapper,
.wps_rma_pro_div .wps_rma_shipping_setting .wps_wrma_shipstation_details_wrapper,
.wps_rma_pro_div .wps_rma_shipping_setting .wps_wrma_validate_form_wrapper,
.wps_rma_pro_div .wps_rma_shiprocket_setting .wps_wrma_shipstation_details_wrapper,
.wps_rma_pro_div .wps_rma_shiprocket_setting .wps_wrma_validate_form_wrapper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 245, 219, 0.88) 100%) !important;
}

.wps-rma-shell__multistep-app .wpsMsfWrapper {
  min-height: 0;
}

.wps-rma-shell__multistep-app .wpsStepper {
  background: transparent;
  border: 0;
  height: auto;
  justify-content: flex-start;
  padding: 0;
}

.wps-rma-shell__multistep-app .MuiStepper-root {
  padding: 0 0 10px;
}

.wps-rma-shell__multistep-app .MuiStepIcon-root.MuiStepIcon-active,
.wps-rma-shell__multistep-app .MuiStepIcon-root.MuiStepIcon-completed {
  color: var(--wps-rma-accent);
}

.wps-rma-shell__multistep-app .wpsHeadingWrap {
  padding: 0 0 10px;
  text-align: left;
}

.wps-rma-shell__multistep-app .wpsHeadingWrap h2 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 34px;
}

.wps-rma-shell__multistep-app .wpsHeadingWrap p {
  color: var(--wps-rma-ink-soft);
  font-size: 15px;
}

.wps-rma-shell__multistep-app .wpsMsf {
  border: 1px solid var(--wps-rma-border);
  border-radius: 24px;
  box-shadow: none;
  margin: 16px 0 0;
  max-width: none;
  padding: 28px;
}

.wps-rma-shell__multistep-app .MuiFormControlLabel-root {
  align-items: center;
  border-top: 1px solid var(--wps-rma-border);
  display: flex;
  margin: 0;
  padding: 16px 0;
}

.wps-rma-shell__multistep-app .MuiFormControlLabel-root:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.wps-rma-shell__multistep-app .MuiButton-containedPrimary {
  background: var(--wps-rma-primary);
}

.wps-rma-shell__multistep-app .MuiButton-contained {
  border-radius: 14px;
  box-shadow: none;
  min-height: 46px;
  text-transform: none;
}

@media (max-width: 1200px) {
  .wps-rma-shell__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wps-rma-shell__sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wps-rma-shell {
    padding: 16px 12px 24px;
  }

  .wps-rma-shell__promo,
  .wps-rma-shell__topbar,
  .wps-rma-shell__hero,
  .wps-rma-overview__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .wps-rma-shell__hero h1,
  .wps-rma-overview__hero h2,
  .wps-rma-license-panel__content h2 {
    font-size: 32px;
  }

  .wps-form-group__label,
  .wps-form-group__control,
  .wps-form-group .wps-form-group__control {
    max-width: 100%;
  }

  .wps-rma-sidebar-card__actions,
  .wps-rma-overview__cta-actions,
  .wps-rma-shell__sidebar {
    width: 100%;
  }

  .wps-rma-shell__sidebar {
    grid-template-columns: 1fr;
  }

  .wps-rma-shell__tab-overflow-menu {
    left: 0;
    min-width: 200px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .wps-rma-shell__frame {
    border-radius: 22px;
  }

  .wps-rma-shell__topbar,
  .wps-rma-shell__layout,
  .wps-rma-shell__surface,
  .wps-rma-shell__hero {
    padding: 20px;
  }

  .wps-rma-overview__grid {
    grid-template-columns: 1fr;
  }
}


.wps-rma-report-shell {
  color: var(--wps-rma-ink);
  margin: 24px 20px 0 0;
}

.wps-rma-report-shell__hero,
.wps-rma-report-shell__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(236, 231, 245, 0.9);
  border-radius: 28px;
  box-shadow: var(--wps-rma-shadow);
}

.wps-rma-report-shell__hero {
  margin-bottom: 18px;
  padding: 30px 34px;
}

.wps-rma-report-shell__eyebrow {
  color: var(--wps-rma-accent);
  display: inline-block;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.wps-rma-report-shell__hero h1,
.wps-rma-report-shell__card-head h2 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  margin: 0;
}

.wps-rma-report-shell__hero h1 {
  font-size: 34px;
  line-height: 1.15;
}

.wps-rma-report-shell__hero p,
.wps-rma-report-shell__card-head p {
  color: var(--wps-rma-ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 860px;
}

.wps-rma-report-shell__switcher {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 18px;
}

.wps-rma-report-shell__switch {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wps-rma-border);
  border-radius: 999px;
  color: var(--wps-rma-ink-soft) !important;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 13px;
  padding: 11px 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wps-rma-report-shell__switch:hover,
.wps-rma-report-shell__switch.active {
  background: var(--wps-rma-primary);
  border-color: var(--wps-rma-primary);
  color: #fff !important;
}

.wps-rma-report-shell__card {
  margin-bottom: 22px;
  padding: 28px;
}

.wps-rma-report-shell__card-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.wps-rma-report-shell__filters,
.wps-rma-report-shell__table-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.wps-rma-report-shell__filters select,
.wps-rma-report-shell__filters input[type="text"],
.wps-rma-report-shell__filters input[type="date"],
.wps-rma-report-shell__table-controls select,
.wps-rma-report-shell__table-controls input[type="text"],
.wps-rma-report-shell__table-controls input[type="date"] {
  background: #fff;
  border: 1px solid var(--wps-rma-border);
  border-radius: 14px;
  box-shadow: none;
  color: var(--wps-rma-ink);
  min-height: 46px;
  min-width: 170px;
  padding: 10px 14px;
}

.wps-rma-report-shell__filters .button,
.wps-rma-report-shell__table-controls .button,
.wps-rma-report-shell__table-form .button,
.wps-rma-report-shell .tablenav .button,
.wps-rma-report-shell .search-box .button {
  background: #000000 !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #fff !important;
  min-height: 46px;
  padding: 10px 16px !important;
}

.wps-rma-report-shell__filters .button.button-secondary,
.wps-rma-report-shell .tablenav .button.button-secondary {
  background: #f4ecff !important;
  color: var(--wps-rma-primary) !important;
}

.wps-rma-report-shell__to-label,
.wps-rma-report-shell__table-controls label {
  color: var(--wps-rma-ink-soft);
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 13px;
}

.wps-rma-report-shell__table-wrap {
  background: #fff;
  border: 1px solid rgba(236, 231, 245, 0.92);
  border-radius: 22px;
  overflow: auto;
  padding: 16px;
}

.wps-rma-report-shell__table-form .search-box {
  float: none;
  margin: 0 0 14px;
}

.wps-rma-report-shell__table-form .search-box input[type="search"] {
  border: 1px solid var(--wps-rma-border);
  border-radius: 14px;
  min-height: 46px;
  padding: 10px 14px;
}

.wps-rma-report-shell table.widefat,
.wps-rma-report-shell .wps-rma-table-wrapper table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
  margin: 0;
  width: 100%;
}

.wps-rma-report-shell table.widefat thead th,
.wps-rma-report-shell .wps-rma-table-wrapper table thead th {
  background: #f7f3fd;
  border-bottom: 1px solid rgba(236, 231, 245, 0.95);
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  padding: 16px 14px;
}

.wps-rma-report-shell table.widefat td,
.wps-rma-report-shell table.widefat th,
.wps-rma-report-shell .wps-rma-table-wrapper table td,
.wps-rma-report-shell .wps-rma-table-wrapper table th {
  border-left: 0;
  border-right: 0;
  padding: 14px;
  vertical-align: top;
}

.wps-rma-report-shell table.widefat tbody tr:nth-child(even),
.wps-rma-report-shell .wps-rma-table-wrapper table tbody tr:nth-child(even) {
  background: #fcfbfe;
}

.wps-rma-report-shell table.widefat tbody tr:hover,
.wps-rma-report-shell .wps-rma-table-wrapper table tbody tr:hover {
  background: #f7f3fd;
}

.wps-rma-report-shell__metrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.wps-rma-report-shell__metric-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(236, 231, 245, 0.9);
  border-radius: 24px;
  box-shadow: var(--wps-rma-shadow);
  padding: 22px;
}

.wps-rma-report-shell__metric-card h3 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 18px;
  margin: 0 0 16px;
}

.wps-rma-report-shell__metric-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
}

.wps-rma-report-shell__metric-row span,
.wps-rma-report-shell__metric-list li {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
}

.wps-rma-report-shell__metric-row strong,
.wps-rma-report-shell__metric-value {
  color: var(--wps-rma-primary);
  font-family: NunitoSans-ExtraBold, sans-serif;
}

.wps-rma-report-shell__metric-value {
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
}
a.wps-rma-shell__hero-action {
    flex: 1 0 30%;
    max-width: max-content;
}
.wps-rma-report-shell__metric-list {
  margin: 0;
}

.wps-rma-report-shell__metric-list li + li {
  margin-top: 10px;
}

.wps-rma-report-shell__metric-list a {
  color: var(--wps-rma-primary);
  text-decoration: none;
}

.wps-rma-report-shell #woocommerce_complex_analytics_chart {
  max-width: 100%;
}

.wps-rma-report-shell .tablenav {
  height: auto;
  margin: 0 0 12px;
}

.wps-rma-report-shell .tablenav.top,
.wps-rma-report-shell .tablenav.bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.wps-rma-report-shell .tablenav-pages,
.wps-rma-report-shell .displaying-num,
.wps-rma-report-shell .pagination-links {
  color: var(--wps-rma-ink-soft);
}

.wps-rma-report-shell .tablenav-pages .current-page,
.wps-rma-report-shell .tablenav-pages input,
.wps-rma-report-shell .tablenav-pages a,
.wps-rma-report-shell .tablenav-pages span {
  border-radius: 10px !important;
}

.wps-rma-report-shell .column-cb,
.wps-rma-report-shell .check-column {
  width: 42px;
}

@media (max-width: 1280px) {
  .wps-rma-report-shell__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wps-rma-report-shell {
    margin-right: 0;
  }

  .wps-rma-report-shell__hero,
  .wps-rma-report-shell__card {
    padding: 22px;
  }

  .wps-rma-report-shell__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wps-rma-report-shell__switcher {
    display: flex;
  }

  .wps-rma-report-shell__switch {
    flex: 1 1 0;
    text-align: center;
  }

  .wps-rma-report-shell__metrics {
    grid-template-columns: 1fr;
  }

  .wps-rma-report-shell__filters,
  .wps-rma-report-shell__table-controls,
  .wps-rma-report-shell .tablenav.top,
  .wps-rma-report-shell .tablenav.bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .wps-rma-report-shell__filters select,
  .wps-rma-report-shell__filters input[type="text"],
  .wps-rma-report-shell__filters input[type="date"],
  .wps-rma-report-shell__table-controls select,
  .wps-rma-report-shell__table-controls input[type="text"],
  .wps-rma-report-shell__table-controls input[type="date"],
  .wps-rma-report-shell__filters .button,
  .wps-rma-report-shell__table-controls .button,
  .wps-rma-report-shell__table-form .button {
    width: 100%;
  }
}


body.woocommerce_page_wc-reports #wpfooter {
  display: none;
}

body.woocommerce_page_wc-reports #wpbody-content {
  padding-bottom: 24px;
}


.wps-rma-shell--multistep .wps-rma-shell__layout {
  grid-template-columns: minmax(0, 1fr);
}

.wps-rma-shell--multistep .wps-rma-shell__surface--setup {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app {
  max-width: 920px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .wpsMsfWrapper {
  height: auto;
  min-height: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiContainer-root,
.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiContainer-maxWidthSm {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiTypography-root {
  display: block;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiFormControl-root,
.wps-rma-shell--multistep .wps-rma-shell__multistep-app .fieldsetWrapper {
  width: 100%;
}

body.wp-admin[class*="woo_refund_and_exchange_lite_menu"] #wpfooter,
.wp-swings_page_woo_refund_and_exchange_lite_menu #wpfooter,
.wpswings_page_woo_refund_and_exchange_lite_menu #wpfooter {
  display: none;
}


.wps-rma-shell--multistep .wps-rma-shell__topbar,
.wps-rma-shell--multistep .wps-rma-shell__promo {
  display: none;
}

.wps-rma-shell--multistep .wps-rma-shell__frame {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__layout {
  padding: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__main {
  align-items: center;
  display: flex;
  justify-content: center;
}

.wps-rma-shell--multistep .wps-rma-shell__surface--setup {
  align-items: center;
  background: radial-gradient(circle at top, rgba(255, 241, 209, 0.42), rgba(252, 251, 255, 0) 42%), linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(248, 244, 255, 0.38) 100%);
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 80px);
  width: 100%;
}

.wps-rma-setup-modal {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(236, 231, 245, 0.92);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(29, 18, 55, 0.14);
  max-width: 980px;
  padding: 30px;
  position: relative;
  width: 100%;
}

.wps-rma-setup-modal__header {
  margin: 0 auto 20px;
  max-width: 720px;
  text-align: center;
}

.wps-rma-setup-modal__header h1 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.wps-rma-setup-modal__header p {
  color: var(--wps-rma-ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app {
  margin: 0 auto;
  max-width: 820px;
  width: 100%;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .wpsStepper {
  border-bottom: 0;
  justify-content: center;
  margin-bottom: 6px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiStepper-root {
  justify-content: center;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .wpsHeadingWrap {
  display: none;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .wpsMsf {
  background: #fff;
  border: 1px solid var(--wps-rma-border);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(29, 18, 55, 0.08);
  margin-top: 8px;
  padding: 30px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiFormControlLabel-label {
  align-items: center;
  color: var(--wps-rma-ink);
  display: inline-flex;
  font-family: NunitoSans-Bold, sans-serif;
  line-height: 1.55;
  min-height: 32px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiFormControlLabel-labelPlacementEnd {
  align-items: center;
  column-gap: 10px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiFormControlLabel-labelPlacementEnd .MuiSwitch-root {
  margin-right: 0;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiButton-contained {
  min-width: 110px;
}

.wps-rma-shell--multistep .wps-rma-shell__multistep-app .MuiButton-contained.Mui-disabled {
  background: #efedf4 !important;
  color: #b6b0c6 !important;
}

@media (max-width: 900px) {
  .wps-rma-shell--multistep .wps-rma-shell {
    padding: 12px;
  }

  .wps-rma-shell--multistep .wps-rma-shell__surface--setup {
    min-height: auto;
  }

  .wps-rma-setup-modal {
    border-radius: 24px;
    padding: 22px;
  }

  .wps-rma-setup-modal__header h1 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .wps-rma-setup-modal {
    padding: 18px;
  }

  .wps-rma-shell--multistep .wps-rma-shell__multistep-app .wpsMsf {
    padding: 20px;
  }
}


.wps-rma-shell--multistep .wps-rma__popup-for-pro-wrap,
.wps-rma-shell--multistep .wps-rma__popup-for-pro,
.wps-rma-shell--multistep .wps-rma__popup-for-pro-shadow {
  display: none !important;
}

.wps-rma-layout-notice {
  align-items: center;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 22px;
}

.wps-rma-layout-notice__badge {
  background: #f59e0b;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 10px 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.wps-rma-layout-notice__content {
  flex: 1 1 auto;
}

.wps-rma-layout-notice__content h3 {
  color: var(--wps-rma-ink);
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.wps-rma-layout-notice__content p {
  color: var(--wps-rma-ink-soft);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.wps-rma-layout-notice__dismiss {
  align-items: center;
  background: #000000;
  border-radius: 12px;
  color: #ffffff !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: NunitoSans-ExtraBold, sans-serif;
  font-size: 13px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
}

.wps-rma-trial-notice {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9cfe8;
  border-radius: 18px;
  box-shadow: none;
  color: #221347;
  display: flex;
  gap: 12px;
  margin: 14px 4px 18px;
  max-width: none;
  padding: 14px 24px;
  width: 100%;
}

.wps-rma-trial-notice__icon {
  align-items: center;
  background: #fff1f4;
  border-radius: 999px;
  color: #ff1f59;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.wps-rma-trial-notice__text {
  color: inherit;
  font-family: NunitoSans-Bold, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.wps-rma-trial-notice__link {
  color: #3a36ff !important;
  font-family: NunitoSans-ExtraBold, sans-serif;
}

.wps-rma-trial-notice__link:hover,
.wps-rma-trial-notice__link:focus {
  color: #2b27d9 !important;
  text-decoration: none;
}

.wps-rma-trial-notice__count {
  color: #1d2327;
}

.wps-rma-trial-notice--expired {
  border-color: #f1d0b5;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.08);
}

.wps-rma-trial-notice--expired .wps-rma-trial-notice__icon {
  color: #f59e0b;
}

@media (max-width: 900px) {
  .wps-rma-shell__hero--license {
    align-items: flex-start;
  }

  .wps-rma-expert-modal__grid,
  .wps-rma-expert-modal__checkboxes {
    grid-template-columns: minmax(0, 1fr);
  }

  .wps-rma-license-panel {
    border-radius: 24px;
    padding: 24px 16px 30px;
  }

  .wps-rma-license-panel__content {
    border-radius: 24px;
    padding: 26px 22px 30px;
  }

  .wps-rma-license-panel__content h2 {
    font-size: 32px;
  }

  .wps-rma-license-panel__button,
  .wps-rma-license-panel__button.button,
  .wps-rma-license-panel__form .submit .button-primary {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .wps-rma-layout-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 782px) {
  .wps-rma-shell__hero--license {
    padding: 22px 20px;
  }

  .wps-rma-expert-modal__dialog {
    border-radius: 22px;
    padding: 14px;
    top: 16px;
    width: calc(100% - 20px);
  }

  .wps-rma-expert-modal__header h2 {
    font-size: 30px;
  }

  .wps-rma-expert-modal__panel {
    padding: 16px;
  }

  .wps-rma-shell__hero--license h1 {
    font-size: 17px;
  }

  .wps-rma-license-panel__content h2 {
    font-size: 28px;
  }

  .wps-rma-trial-notice {
    margin: 12px 0 16px;
    max-width: none;
    padding: 14px 16px;
  }
}
