@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700,900);

.button-primary.woocommerce-save-button.wps_wpr_save_changes:focus,
.button-primary.woocommerce-save-button.wps_wpr_save_changes:hover,
.wps_wpr_object_purchase p {
  background-color: #2196f3;
  color: #fff;
}

.wps_gw_nav_tab,
.wps_wpr_contact_doc_text,
.wps_wpr_general_pro,
a.wps_wpr_premium--cta {
  text-transform: uppercase;
}

#wps_wpr_loader {
  background-color: rgba(255, 255, 255, 0.6);
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 99999;
}

.wps_wpr_object_purchase p {
  padding: 7px 10px;
  margin-top: 10px !important;
  border-radius: 4px;
  display: block;
  font-size: 15px !important;
}

#wps_wpr_loader img {
  display: block;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 40%;
}

#wps_rwpr_setting_wrapper * {
  box-sizing: border-box;
}

.wps_rwpr_settings_display_none,
.wps_wpr_cam_prim_color,
.wps_wpr_cam_sec_color {
  display: none;
}

.wps_rwpr_width_seventyfive {
  width: 75%;
}

#wps_rwpr_other_setting_giftcard_html,
.wps_rwpr_video_wrapper iframe,
.wps_rwpr_width_hundred,
.wps_wpr_premium__container,
.wps_wpr_premium__content,
.wps_wpr_video_wrapper iframe {
  width: 100%;
}

.wps_rwpr_width_ten {
  width: 10%;
}

.wps_wpr_width_height {
  height: 100px;
  width: 100px;
}

.wps_points_log_list_table_line_height {
  line-height: 2;
}

.button-primary.woocommerce-save-button.wps_wpr_save_changes {
  background: #2196f3;
  color: #fff;
  padding: 8px 25px;
  height: auto;
  text-shadow: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  font-family: Lato, sans-serif;
  text-transform: capitalize;
  border-radius: 40px;
}

#wps_rwpr_setting_wrapper
  .wps_rwpr_pro_version_wrapper
  .wps_rwpr_about_pro_version,
#wps_rwpr_setting_wrapper
  .wps_wgc_pro_version_wrapper
  .wps_wgc_about_pro_version {
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 18px;
  text-align: left;
  background-color: #f4f4f4;
  border-left: 4px solid #ef5350;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.12);
}

#wps_rwpr_setting_wrapper
  .wps_rwpr_pro_version_wrapper
  .wps_rwpr_get_it_button:hover,
#wps_rwpr_setting_wrapper
  .wps_wgc_pro_version_wrapper
  .wps_wgc_get_it_button:hover {
  color: #fff;
}

#wps_rwpr_setting_wrapper .wps_rwpr_pro_version_wrapper .wps_rwpr_get_it_now,
#wps_rwpr_setting_wrapper .wps_wgc_pro_version_wrapper .wps_wgc_get_it_now {
  text-align: center;
  margin-top: 20px;
}

#wps_rwpr_setting_wrapper {
  font-family: Lato, sans-serif;
}

.wps_rwpr_table_wrapper input[type="email"],
.wps_rwpr_table_wrapper input[type="number"],
.wps_rwpr_table_wrapper input[type="text"] {
  border: 1px solid #ddd;
  padding: 10px !important;
}

.wps_rwpr_header {
  display: flex;
  background-color: #fff;
  color: #fff;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 5px solid #2196f3;
  margin-bottom: 10px;
}

.wps_rwpr_header_content_left {
  align-items: center;
  display: flex;
  flex: 0 0 45%;
  padding: 20px 15px;
}

.wps_rwpr_header_content_right {
  flex: 0 0 55%;
  padding: 20px 15px;
}

.wps_rwpr_header_content_left .wps_rwpr_setting_title {
  padding: 0;
  color: #2196f3;
  font-size: 20px;
}

.wps_rwpr_header_content_left .notice.notice-success.is-dismissible {
  color: #000;
  margin: 0 0 0 10px;
}

.wps_rwpr_header_content_right ul {
  margin: 0;
  text-align: right;
}

.wps_rwpr_header_content_right ul li {
  display: inline-block;
  margin: 0 10px;
}

.wps_rwpr_header_content_right ul li a {
  color: #ccc;
  text-decoration: none;
}

.wps_rwpr_header_content_right ul li.wps_rwpr_header_menu_button a,
.wps_rwpr_header_content_right ul li.wps_wpr_get_pro a {
  display: inline-block;
  background-color: #2196f3;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 4px;
  color: #fff !important;
}

.wps_wgc_pro_version_image_section img {
  border: 1px solid #bababa;
  width: 100%;
}

#wps_rwpr_setting_wrapper .wps_wgc_pro_version_wrapper .wps_wgc_get_it_button {
  background-color: #ef5350;
  color: #fff;
  display: inline-block;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

#wps_rwpr_setting_wrapper
  #wps_rwpr_mail_instruction
  .inside
  .form-table
  tr:nth-child(2n),
#wps_rwpr_setting_wrapper
  .wps_rwpr_table_wrapper
  .wps_rwpr_general_setting
  tr:nth-child(odd),
#wps_rwpr_setting_wrapper
  .wps_rwpr_table_wrapper
  .wps_rwpr_product_setting
  tr:nth-child(odd) {
  background-color: #efefef;
}

#wps_rwpr_setting_wrapper
  .wps_rwpr_table_wrapper
  .wps_rwpr_general_setting
  tr
  label,
#wps_rwpr_setting_wrapper
  .wps_rwpr_table_wrapper
  .wps_rwpr_product_setting
  tr
  label {
  padding-left: 15px;
}

.wps_rwpr_other_setting_remove_logo_span {
  background-color: #ef5350;
  border-radius: 100%;
  color: #fff;
  font-size: 18px;
  height: 25px;
  line-height: 24px;
  text-align: center;
  width: 25px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.wps_rwpr_other_setting_remove_logo {
  display: inline-block;
  position: relative;
}

#wps_rwpr_other_setting_remove_logo {
  display: none;
  padding: 14px 24px;
}

#wps_rwpr_mail_instruction .hndle {
  font-size: 14px;
  padding: 8px 12px;
  margin: 0;
  line-height: 1.4;
}

#poststuff .inside {
  margin: 6px 0 0;
}

.postbox table.form-table {
  margin-bottom: 0;
}

#wps_rwpr_mail_instruction .inside .form-table tr th {
  padding: 5px 0 !important;
}

.form-table th {
  vertical-align: top;
  text-align: left;
  padding: 20px 10px 20px 0;
  width: 200px;
  line-height: 1.3;
  font-weight: 600;
}

#wps_rwpr_general_setting_giftcard_prefix {
  width: 400px !important;
}

.wps_rwpr_overview_heading,
.wps_wpr_overview_heading {
  font-size: 28px;
  font-weight: 400;
  text-align: left;
}

.wps_rwpr_table_wrapper.wps_rwpr_overview-wrapper p,
.wps_wpr_overview_content p {
  font-size: 16px;
}

#wps_rwpr_mail_instruction .inside {
  padding: 0 !important;
}

#wps_rwpr_setting_wrapper #wps_rwpr_mail_instruction .inside .form-table td,
#wps_rwpr_setting_wrapper #wps_rwpr_mail_instruction .inside .form-table th,
.wps_wpr_general_setting.mwp_wpr_settings td,
.wps_wpr_general_setting.mwp_wpr_settings th,
.wps_wpr_membership_setting td,
.wps_wpr_membership_setting th {
  padding: 10px !important;
  display: revert !important;
}

.mwp_wpr_settings td.forminp.forminp-text {
  display: revert !important;
}

#wps_rwpr_other_setting_upload_image,
.wps_wpr_repeatable_section td,
.wps_wpr_repeatable_section th {
  vertical-align: middle;
}

.wps_rwpr_body_template {
  background: #fff;
  display: flex;
  width: 100%;
}

.wps_rwpr_mobile_nav {
  background: #214460;
  color: #fff;
  display: none;
  text-align: center;
  padding: 15px;
  width: 100%;
}

.wps_rwpr_mobile_nav .dashicons {
  cursor: pointer;
  display: inline-block;
  font-size: 30px;
  height: 30px;
  width: 30px;
}

.wps_rwpr_navigator_template {
  display: block;
  flex: 0 0 20%;
}

.wps_rwpr_content_template {
  box-shadow: -2px 0 5px -1px rgba(0, 0, 0, 0.05);
  color: #555d66;
  font-size: 16px;
  flex: 0 0 80%;
  max-width: 80%;
  padding: 10px 30px 10px 40px;
  position: relative;
  line-height: 28px;
}

.wps_rwpr_tabs {
  position: relative;
}

.nav-tab {
  border: 1px solid transparent;
}

.wps_rwpr_tabs .nav-tab-active,
.wps_rwpr_tabs .nav-tab-active:focus,
.wps_rwpr_tabs .nav-tab-active:focus:active,
.wps_rwpr_tabs .nav-tab-active:hover {
  background: #2196f3;
  color: #fff !important;
  display: block;
}

.wps_gw_nav_tab {
  background-color: #fff;
  color: #2b5d89;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 22px;
  padding: 20px 10px;
  text-decoration: none;
  margin-left: 0;
  float: none;
}

.wps_rwpr_tabs .nav-tab-active:after {
  right: 0;
  border: 8px solid transparent;
  content: "";
  width: 0;
  position: absolute;
  pointer-events: none;
  border-right-color: #fff;
  top: 50%;
  margin-top: -8px;
  z-index: 2;
}

.wps_gw_nav_tab:hover {
  color: #2b5d89;
}

.wps_gw_nav_tab:focus,
.wps_gw_nav_tab:hover {
  box-shadow: none;
}

.wps_wpr_general_content,
.wps_wpr_general_label {
  padding: 13px 0;
}

.wps_wpr_general_content {
  width: calc(100% - 240px);
  margin-left: 20px;
}

.wps_wpr_general_label {
  width: 210px;
  font-weight: 600;
}

.wps_wpr_general_label label {
  width: 150px;
  display: inline-block;
  word-wrap: break-word;
}

.wps_wpr_general_row_wrap {
  box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.2);
  margin: 20px 0 40px;
}

.wps_wpr_general_row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
  align-items: center;
}

.wps_wpr_general_row:nth-child(odd),
.wps_wpr_general_setting.mwp_wpr_settings tr:nth-child(odd),
.wps_wpr_membership_setting tr:nth-child(odd) {
  background-color: #f4f4f4;
}

.wps_wpr_general_row:hover,
.wps_wpr_general_setting.mwp_wpr_settings tr:hover,
.wps_wpr_membership_setting tr:hover,
body {
  background-color: #e4f3ff;
}

.wps_wpr_general_sign_title {
  width: 100%;
  padding: 8px 20px;
  background-color: #2196f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.wps_wpr_general_sign_title::after {
  content: '\25BC';
  font-size: 12px;
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
  display: inline-block;
  flex-shrink: 0;
}

.wps_wpr_general_sign_title.wps_wpr_section_active::after {
  transform: rotate(0deg);
}

.wps_wpr_section_content {
  display: none;
}

.wps_wpr_general_pro {
  display: inline-block;
  background-color: #e9e940;
  color: #000;
  padding: 0 4px;
  border-radius: 6px;
  margin-left: 15px;
  font-size: 14px;
}

.wps_wpr_object_purchase p a {
  color: #131113 !important;
}

.wps_wpr_general_setting.mwp_wpr_settings,
.wps_wpr_membership_setting {
  border: 1px solid #ccc;
}

.wps_wpr_general_setting.mwp_wpr_settings > th,
.wps_wpr_membership_setting th {
  width: 170px;
}

.wps_wpr_membership_setting .wps_wpr_repeatable_section th {
  width: 100px;
}

.wps_wpr_repeatable_section td label {
  display: inline-block;
}

#wps_wpr_membership_level_name_0 {
  margin-right: 5px;
}

.wps_wpr_general_setting.mwp_wpr_settings table,
.wps_wpr_repeatable_section {
  border: 1px solid #ccc;
  margin-bottom: 20px;
  width: 100%;
}

#wps_wpr_add_more.wps_wpr_add_more.button,
.button-primary.woocommerce-save-button.wps_wpr_remove_button,
.button-primary.woocommerce-save-button.wps_wpr_repeat_button,
.wps_wpr_remove_thankyouorder.button {
  text-shadow: none;
  height: auto;
  padding: 2px 10px;
  display: inline-block;
  font-size: 14px;
  margin: 10px 0;
  box-shadow: none;
  color: #fff;
  background: #050505;
  border: 1px solid #050505;
}

#wps_wpr_add_more.wps_wpr_add_more.button:focus,
#wps_wpr_add_more.wps_wpr_add_more.button:hover,
.button-primary.woocommerce-save-button.wps_wpr_repeat_button:focus,
.button-primary.woocommerce-save-button.wps_wpr_repeat_button:hover,
.wps_wpr_remove_thankyouorder.button:focus,
.wps_wpr_remove_thankyouorder.button:hover {
  background-color: #2196f3;
  color: #fff;
  border-color: #2196f3;
}

.wps_wpr_membership_log {
  float: right;
}

.wps_wpr_general_setting.mwp_wpr_settings table input[type="text"] {
  width: 100% !important;
  padding: 8px !important;
  border-radius: 4px;
}

.wps_wpr_general_setting.mwp_wpr_settings table th {
  width: auto;
}

.wps_wpr_view_log_notice.wps_wpr_common_slider {
  background-color: #2196f3;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  color: #fff;
}

.wps_wpr_view_log_notice.wps_wpr_common_slider::after {
  content: "\f460";
  font-family: dashicons;
  position: absolute;
  right: 10px;
  top: 55%;
  transform: translateY(-48%);
  display: inline-block;
}

.wps_wpr_view_log_notice.wps_wpr_common_slider.active::after {
  content: "\f132";
}

a.wps_gw_nav_tab.nav-tab {
  white-space: unset;
}

@media screen and (max-width: 675px) {
  .wps_rwpr_header_content_left,
  .wps_rwpr_header_content_right {
    flex: 0 0 100%;
  }

  .wps_rwpr_header_content_left {
    padding-bottom: 0;
  }

  .wps_rwpr_header_content_left .wps_rwpr_setting_title,
  .wps_rwpr_header_content_right ul {
    text-align: center;
  }

  .wps_rwpr_header_content_left .wps_rwpr_setting_title,
  .wps_wpr_general_label label {
    width: 100%;
  }

  .wps_wpr_general_content,
  .wps_wpr_general_label {
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (max-width: 782px) {
  .wps_rwpr_mobile_nav {
    display: block;
    background-color: #2196f3;
  }

  .wps_rwpr_content_template,
  .wps_rwpr_navigator_template {
    flex: 0 0 100%;
  }

  .wps_rwpr_content_template {
    box-shadow: none;
    margin-top: 5px;
    padding: 10px 15px 40px;
  }

  .wps_rwpr_header_content_left div {
    margin: 0 auto;
  }

  .wps_rwpr_body_template {
    display: block;
  }

  .wps_rwpr_navigator_template {
    display: none;
  }

  .wps_rwpr_navigator_template.open-btn {
    display: block !important;
  }

  #wps_rwpr_setting_wrapper input[type="checkbox"]:before {
    font: 22px/1 dashicons;
  }

  .wps_wpr_membership_setting .wps_wpr_repeatable_section th,
  textarea {
    width: 100%;
  }

  #wps_wpr_membership_expiration_days_0 {
    margin-top: 10px;
  }

  input[type="checkbox"]:checked::before {
    margin: -9px;
    width: 20px;
    height: 22px;
    left: 5px !important;
    position: absolute;
    top: 5px;
  }

  .wps_rwpr_content_template .search-box {
    position: static;
  }
}

.wps_rwpr_header_content_right ul li:first-child .dashicons.dashicons-phone {
  transform: rotate(90deg);
}

.wps_wpr_email_wrapper_text {
  color: #fff;
  background-color: #7f527d;
}

.wps_wpr_email_wrapper_text h2 {
  color: #fff;
  text-align: center !important;
}

#wps_wpr_settings_wrapper
  #mainform
  .wps_wpr_email_wrapper
  .wps_wpr_email_wrapper_text
  h2 {
  text-align: left !important;
}

.wps_wpr_common_table thead th {
  padding: 0 10px;
}

.form-table.mwp_wpr_settings.wps_wpr_points_view_total {
  background-color: #2196f3;
  font-size: 16px;
  color: #fff;
}

#wps-wpr-skype-link img {
  margin-right: 5px;
  vertical-align: text-bottom;
}

#wps-wpr-skype-link {
  color: #00aaf2;
  background: #fff;
  border-radius: 4px;
  display: inline-block;
  padding: 7px 8px;
  font-weight: 700;
}

.notice-container {
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  justify-content: left;
  align-items: center;
}

.notice-image img {
  max-width: 50px;
}

.notice-content {
  margin-left: 15px;
}

div#dismiss_notice {
  margin-left: 2px;
  margin-right: 20px;
}

.wps_wpr_membership_select_all_category_common {
  margin-left: 25px !important;
}

.wps_wpr_repeat_button_wrap {
  text-align: right;
}

a.wps-wpr-go-pro {
  background: #05d5d8;
  color: #fff;
  font-weight: 700;
  padding: 2px 5px;
  border: 1px solid #05d5d8;
  border-radius: 5px;
}

.wps_wpr_premium__wrapper {
  margin: 0 auto;
  max-width: 1270px;
  width: 100%;
}

.wps_wpr_premium__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 0 40px;
}

.wps_wpr_premium__column {
  border-bottom: 4px solid #2196f3;
  box-shadow: -1px -5px 4px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  color: #555d66;
  flex: 0 0 80%;
  font-size: 16px;
  line-height: 28px;
  margin: 0 4% 0 0;
  max-width: 48%;
  padding: 10px 30px 10px 40px;
  word-wrap: break-word;
  border-radius: 4px;
}

.wps_wpr_premium__column:nth-child(2n) {
  margin-right: 0;
}

.wps_wpr_premium_upgrade {
  background: #fff;
  padding: 50px 0;
}

.wps_wpr_premium_upgrade__wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
}

.wps_wpr_premium_upgrade_btn {
  padding-left: 20px;
}

a.wps_wpr_premium--cta {
  background: #2196f3;
  border-radius: 50px;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 50px;
  text-decoration: none;
}

img.wps_wpr_dash_video_svg_img {
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
  line-height: 0;
}

@media only screen and (max-width: 767px) {
  .wps_wpr_premium__column {
    flex-direction: column;
    flex: 0 0 100%;
    margin: 0 0 80px;
    max-width: 100%;
  }

  .wps_wpr_premium__row {
    margin: 0;
  }
}

#wps_rwpr_setting_wrapper input[type="checkbox"] {
  height: 14px;
  width: 26px;
  border: none;
  border-radius: 50px;
  background: #9e9e9e;
  color: #50575e;
  clear: none;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  margin: 0 15px 0 10px;
  outline: 0;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
  -webkit-appearance: none;
  transition: border-color 0.05s ease-in-out;
  position: relative;
}

#wps_rwpr_setting_wrapper .wp-list-table input[type="checkbox"]:focus,
#wps_rwpr_setting_wrapper input[type="checkbox"]:focus {
  outline: 0;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper input[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50px;
  left: -10px;
  top: 50%;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  transition: 0.3s;
}

#wps_rwpr_setting_wrapper .wp-list-table input[type="checkbox"]:checked,
#wps_rwpr_setting_wrapper input[type="checkbox"]:checked {
  background: #2196f355;
  transition: 0.3s;
}

#wps_rwpr_setting_wrapper input[type="checkbox"]:checked::before {
  left: calc(100% - 10px) !important;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  background: #2196f3;
  margin: 0;
  clear: both;
}

#wps_rwpr_setting_wrapper input[type="checkbox"]:hover::before {
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(0, 0, 0, 0.05);
}

#wps_rwpr_setting_wrapper .wp-list-table tfoot td.check-column,
#wps_rwpr_setting_wrapper .wp-list-table thead td.check-column {
  padding-left: 10px;
  padding-top: 0;
}

#wps_rwpr_setting_wrapper .wp-list-table tbody th.check-column {
  padding-left: 10px;
  padding-top: 8px;
}

#wps_rwpr_setting_wrapper .wp-list-table input[type="checkbox"] {
  height: 20px;
  width: 20px;
  border-radius: 1px;
  background: 0 0;
  -webkit-appearance: checkbox;
  margin: 0;
}

#wps_rwpr_setting_wrapper .wp-list-table input[type="checkbox"]:before {
  content: unset;
}

.wps_wpr_points_table_second_wrappers {
  margin: 15px 0px;
  padding: 15px;
  transition: all 0.3s;
}

.wps_wpr_points_table_second_wrappers:hover {
  background-color: #e4f3ff;
}

.wps_wpr_previous_order_notice,
.wps_wpr_klaviyo_sync_notice {
  display: none;
  font-weight: 600;
}

.wps_wpr_previous_order_loader,
.wps_wpr_klaviyo_sync_loader {
  display: none;
  vertical-align: middle;
  height: 24px;
}

#wps_rwpr_setting_wrapper .wps_wpr_points_table_second_wrappers > h3 {
  background: #2196f3;
  padding: 8px 15px;
  color: #fff;
  margin: -15px -15px 0;
}

.wps_wpr_instructions_tabledata_btn {
  text-align: center;
}

.wps_wpr_previous_button_wrappers {
  position: relative;
}

.wps_wpr_previous_button_wrappers .wps_wpr_previous_order_loader {
  position: absolute;
}

.wps_wpr_previous_button_wrappers .wps_wpr_previous_order_notice {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  text-align: left;
  line-height: 1.25;
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* Gamification feature setting start */

.wps_wpr_main_gamification_wrapper section {
  padding: 0 20px;
}

.wps_wpr_main_gamification_wrapper section:nth-of-type(even) {
  background: #f4f4f4;
}

.wps_wpr_main_gamification_wrapper section:hover {
  background: #e4f3ff;
}

.wps_wpr_user_gamifications_main_wrappers h4 {
  padding: 8px 20px;
  background-color: #2196f3;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin: 15px 0 0;
}

.wps_wpr_user_gamifications_main_wrappers article {
  font-size: 16px;
  font-weight: 600;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.wps_wpr_main_gamification_wrapper select {
  padding: 5px 10px;
}

.wps_wpr_main_gamification_wrapper select,
.wps_wpr_main_gamification_wrapper .select2 {
  min-height: 30px;
  min-width: 150px;
  margin-right: 15px;
}

.wps_wpr_main_gamification_wrapper .wps_wpr_label_notice {
  font-weight: 400;
  font-size: 16px;
}

table.wps_wpr_segment_gamification_settings_wrappers {
  width: 100%;
}

table.wps_wpr_segment_gamification_settings_wrappers td,
table.wps_wpr_segment_gamification_settings_wrappers th {
  text-align: left;
  padding: 5px;
}

table.wps_wpr_segment_gamification_settings_wrappers td img {
  display: none;
}

table.wps_wpr_segment_gamification_settings_wrappers td:last-child {
  min-width: 40px;
}

#wps_rwpr_setting_wrapper
  table.wps_wpr_segment_gamification_settings_wrappers
  td
  input[type="text"],
#wps_rwpr_setting_wrapper
  table.wps_wpr_segment_gamification_settings_wrappers
  td
  input[type="number"],
#wps_rwpr_setting_wrapper
  table.wps_wpr_segment_gamification_settings_wrappers
  td
  input[type="color"] {
  width: 100%;
  max-width: 100%;
  padding: 5px 10px;
  min-height: 30px;
}

#wps_rwpr_setting_wrapper input#wps_wpr_gamification_fields_add {
  width: 100%;
  max-width: 80px;
  aspect-ratio: 1;
  font-size: 32px;
  line-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  margin: -33px auto 0;
  appearance: none;
  justify-content: center;
  background: #b3ddff;
  color: #2196f3;
  border-radius: 50%;
  position: relative;
  border: 5px solid #fff;
  cursor: pointer;
}

#wps_rwpr_setting_wrapper
  table.wps_wpr_segment_gamification_settings_wrappers
  td
  input#wps_wpr_remove_game_segment {
  font-size: 24px;
  line-height: 0;
  padding: 0;
  margin: 0;
  background: #ffc8c9;
  color: #d63638;
  border-radius: 50%;
  position: relative;
  border: 2px solid #fff;
  cursor: pointer;
  transform: rotate(45deg);
  width: 50px;
  height: 50px;
}

input#wps_wpr_save_gamification_settings {
  background: #2196f3;
  color: #fff;
  padding: 8px 25px;
  height: auto;
  text-shadow: none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  font-family: Lato, sans-serif;
  text-transform: capitalize;
  border-radius: 40px;
  line-height: 2;
  margin: 0 0 25px;
  border: 2px solid #2196f3;
  cursor: pointer;
}

#wps_rwpr_setting_wrapper
  table.wps_wpr_segment_gamification_settings_wrappers
  td
  input.wps_wpr_enter_segment_color {
  padding: 0;
  border: none;
  margin: 0;
  background: none;
  height: 45px;
}

@media screen and (max-width: 768px) {
  table.wps_wpr_segment_gamification_settings_wrappers td,
  table.wps_wpr_segment_gamification_settings_wrappers th {
    min-width: 150px;
  }

  .wps_wpr_user_gamifications_main_wrappers article {
    grid-template-columns: 1fr;
  }

  .wps_wpr_main_gamification_wrapper .wps_wpr_label_notice {
    display: block;
    margin: 0;
  }

  .wps_wpr_win_wheel_segments_data-table {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* Gamification feature setting end */

/* General Fixes in overall Dashoard start*/

#wps_rwpr_setting_wrapper input {
  margin-right: 15px;
}

#wps_rwpr_setting_wrapper input#wps_wpr_cart_points_rate,
#wps_rwpr_setting_wrapper input#wps_wpr_coupon_conversion_points {
  margin: 0;
}

.wps_rwpr_header_content_right ul li {
  margin: 5px;
}

/* Overview page */
#wps_rwpr_setting_wrapper .wps-overview__content > h3 {
  margin-bottom: 15px;
}

/* General */
label[for="wps_wpr_facebook"],
label[for="wps_wpr_twitter"],
label[for="wps_wpr_email"] {
  margin-right: 15px;
}

/* Point table */
.wps_wpr_points_table_second_wrappers table.wps_wpr_general_setting td {
  padding-left: 0;
}

/* Membership */
.wps_wpr_membership_setting.mwp_wpr_settings p.description {
  padding-left: 10px;
}

/* License Page */
.wps_rwpr_content_template .points-and-rewards-for-woocommerce-pro-license-sec {
  padding-top: 15px;
}

input.wps_wpr_days_after_user_play_again {
  min-height: 30px;
  min-width: 150px;
  margin-right: 15px;
  padding: 5px 10px;
}

@media screen and (max-width: 768px) {
  .wps_wpr_general_label {
    padding: 10px 0 0;
  }

  .wps_wpr_points_table_second_wrappers table.wps_wpr_general_setting td {
    text-align: left;
  }

  .wps_rwpr_main_template input[type="text"] {
    width: auto;
  }

  #wps_rwpr_setting_wrapper input#wps_wpr_points_on_previous_order {
    min-height: 40px;
  }

  .wps_rwpr_content_template {
    max-width: 100%;
  }
}

/* General Fixes in overall Dashoard end*/
/* General Fixes in Badge Dashoard end*/

.wps_wpr_user_badges_table_wrap {
  margin: 20px 0 0;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 300px;
}

table.wps_wpr_user_badges_table_settings_wrappers {
  width: 100%;
  text-align: left;
}

.wps_wpr_user_badges_table_settings_wrappers .wps_wpr_icon_user_badges {
  max-height: 40px;
  width: 30px;
  height: auto;
}

#wps_rwpr_setting_wrapper input.wps_wpr_add_more_btn_badge {
  border-radius: 5px;
  border: 1px solid #2196f3;
  background: white;
  color: #2196f3;
  line-height: 1;
  display: inline-block;
  min-height: 30px;
  font-size: 16px;
  margin: 10px 10px 20px;
  cursor: pointer;
}

#wps_rwpr_setting_wrapper .wps_wpr_user_badges_table_settings_wrappers input {
  margin-right: 10px;
}

#wps_rwpr_setting_wrapper input.wps_wpr_remove_user_badges {
  border-radius: 50%;
  border: 1px solid #f00;
  background: white;
  color: #f00;
  line-height: 1;
  display: inline-block;
  height: 30px;
  width: 30px;
  font-size: 20px;
  transform: rotate(45deg);
  cursor: pointer;
}

.wps_wpr_icon_user_badges_wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.wps_wpr_user_badges_table_settings_wrappers .wps_wpr_add_user_badges_img {
  border-radius: 5px;
  border: 1px solid #2196f3;
  background: #2196f3;
  color: #fff;
  line-height: 1;
  display: inline-block;
  min-height: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.wps_wpr_add_more_btn_badge:hover {
  background: #2196f3;
  color: #fff;
}

#wps_rwpr_setting_wrapper input.wps_wpr_add_more_btn_badge:hover {
  background: none;
}

select.wps_wpr_choose_badges_position {
  width: 120px;
  height: 35px;
}

input#wps_wpr_user_badges_fields_add:hover {
  background-color: #2196f3 !important;
  color: #fff;
}

h3.wps_rwpr_setting_title span {
  font-size: 14px;
  color: #969696;
  margin: 0 0 0 10px;
}

.wp-admin.wp-core-ui
  .select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #2196f3 !important;
}

.wps-offer-notice.notice.notice-warning {
  padding: 0;
  border: none;
  margin-left: 2px;
  margin-right: 20px;
}

.wps-offer-notice.notice.notice-warning a img {
  display: block;
  width: 100%;
  height: auto;
}

.wps_wpr_show_incremented_warning_msg {
  color: red;
  display: none;
  font-weight: 500;
  margin-left: 15px;
  margin-top: 5px;
}

/* ========= css for dummy html ========= */
.wps_wpr_reset_user_loader,
.wps_wpr_export_user_loader,
.wps_wpr_update_user_loader {
  display: none;
}

/* Restrict user from points table */

.wps_wpr_wrapper_toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.wps_wpr_wrapper_toggle input {
  display: none !important;
}

.wps_wpr_sliders {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.wps_wpr_sliders.wps_wpr_rounds {
  border-radius: 34px;
}

.wps_wpr_wrapper_toggle input:checked + .wps_wpr_sliders {
  background-color: #2196f3;
}

.wps_wpr_sliders:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.wps_wpr_wrapper_toggle input:checked + .wps_wpr_sliders:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input#wps_wpr_reset_user_points {
  background-color: #d22e2e;
  border: 0;
}

.wps_sample_export img {
  max-width: 30px;
  margin-left: 20px;
  vertical-align: middle;
}

.wps_wpr_doc_video_wrapper {
  display: flex;
  justify-content: space-between;
}

.wps_wpr_doc_video_wrapper a:nth-of-type(1) {
  margin-right: 2px;
}

/* General Fixes in Badge Dashoard end*/

/* Import Popup start */

.wps_wpr_export_points_table_main_wrap {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
}

.wps_wpr_export_shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.wps_wpr_export_points_table_in {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px 15px;
  border-radius: 5px;
}

.wps_wpr_export_points_table_in h4 {
  margin: 0 0 15px;
}

.wps_wpr_export_points_table_in label {
  margin: 0 10px 0 0;
  cursor: pointer;
}

#wps_rwpr_setting_wrapper
  .wps_wpr_export_points_table_in
  label
  input[type="radio"] {
  margin: 0 5px 0 0;
}

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

.wps_wpr_export_close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px;
  line-height: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wps_wpr_confirm_import_option_wrap {
  margin: 20px 0 0;
}

.wps_wpr_confirm_import_option_wrap input[type="button"] {
  margin: 0;
}

.wps_wpr_radion_button_notice {
  color: red;
  display: none;
  font-weight: 500;
  margin: 10px 0 0;
}

/* Import Popup End */

/* Referral CSS */
span.wps_wpr_all_referral_name {
  display: inline-block;
}

span.wps_wpr_all_referral_view {
  display: none;
}

span.wps_wpr_all_referral_name:hover ~ span.wps_wpr_all_referral_view,
span.wps_wpr_all_referral_view:hover {
  display: inline-block;
}

/* User Report CSS */
.wps_wpr_user_reports {
  margin: 20px 0 40px;
  overflow: auto;
}

.wps_wpr_user_reports table td,
.wps_wpr_user_reports table th {
  border: 1px solid #ccc;
  text-align: left;
  padding: 5px;
  font-size: 14px;
}

.wps_wpr_user_reports table {
  width: 100%;
  border-collapse: collapse;
}

.wps_wpr_user_reports table th {
  background: #f2f2f2;
}

/** Floating button (Save Settings)  **/

.wps_rwpr_content_template .submit {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #fff;
  margin-left: -15px;
  padding-left: 15px;
}

.wps_wpr_preview_whatsapp_template_img {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  z-index: 99999;
}

/* campaign css  */

#wps_wpr_select_page_for_campaign + .select2-container {
  width: 100% !important;
  max-width: 400px;
  margin-right: 5px;
}

#wps_wpr_enter_campaign_image_url {
  max-width: 600px;
  width: 100%;
}

/* Centered Image */
.wps_wpr_preview_whatsapp_template_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

article.wps_wpr_general_row input[type="text"],
article.wps_wpr_general_row input[type="number"] {
  max-width: 220px;
  width: 100%;
  min-height: 40px;
}

#wps_rwpr_setting_wrapper .wps_wpr_instructions_tabledata > p,
#wps_rwpr_setting_wrapper .wps_wpr_previous_button_wrappers > label,
#wps_rwpr_setting_wrapper .wps_wpr_previous_button_wrappers > input {
  margin: 0 0 10px;
}

@media screen and (max-width: 768px) {
  #wps_rwpr_setting_wrapper .wps_wpr_instructions_tabledata > p,
  #wps_rwpr_setting_wrapper .wps_wpr_previous_button_wrappers > label,
  #wps_rwpr_setting_wrapper .wps_wpr_previous_button_wrappers > input {
    margin: 0 0 10px;
    display: inline-block;
    width: 100%;
    max-width: 100%;
  }
}

/*  ++++++++ Campaign CSS +++++++++  */
:root {
  --popup-primary: #2196f3;
}
.wps-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s linear;
}

.wps-popup.popup--active {
  opacity: 1;
  z-index: 999999;
  pointer-events: unset;
}

.wps-popup_shadow {
  background: rgba(255, 255, 255, 0.8);
  filter: blur(2px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.wps-popup_main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 50px));
  background: #fff;
  border: 2px solid #dcdcdc;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05), 0 0 25px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  width: calc(100% - 30px);
  max-height: 600px;
  height: calc(100% - 30px);
  transition: all 0.3s linear;
}

.wps-popup.popup--active .wps-popup_main {
  transform: translate(-50%, -50%);
}

.wps-popup.popup--active .wps-popup_main:hover {
  border-color: var(--popup-primary);
}

.wps-popup_m-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  line-height: 24px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  font-weight: 600;
  opacity: 0.5;
  transition: 0.2s all linear;
}

.wps-popup_m-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.wps-popup_m-header .h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 20px;
}

.wps-popup_m-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  left: 15px;
  position: absolute;
  width: 185px;
  top: 65px;
  bottom: 15px;
  border-right: 1px solid #f1f1f1;
  overflow: auto;
}

.wps-popup_m-sidebar span {
  cursor: pointer;
  padding: 5px 10px;
  background: #f8f8f8;
  margin: 0 15px 0 0;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  transition: all 0.3s linear;
}

.wps-popup_m-sidebar span:hover {
  color: var(--popup-primary);
  border-color: var(--popup-primary);
}

.wps-popup_m-sidebar span.active {
  color: white;
  background: var(--popup-primary);
  border-color: var(--popup-primary);
}

.wps-popup_mcb-img img {
  width: 100%;
  height: 136px;
  object-fit: cover;
}

.wps-popup_m-content {
  display: none;
  gap: 20px;
  flex-wrap: wrap;
  position: absolute;
  overflow: auto;
  left: 220px;
  right: 15px;
  bottom: 15px;
  top: 65px;
}

.wps-popup_mcb-img {
  flex: 1 0 45%;
  max-width: 50%;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.wps-popup_m-content.active_tab {
  display: flex;
}

.wps-popup_mcb-img .h3 {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.wps-popup_mcb-img .wps_wpr_apply_banner_img {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  right: 5px;
  background: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.25;
  opacity: 0;
  transition: all 0.2s linear;
}

.wps-popup_mcb-img .wps_wpr_apply_banner_img:hover,
.wps-popup_mcb-img.button--active .wps_wpr_apply_banner_img {
  opacity: 0.9;
  color: var(--popup-primary);
  font-weight: 600;
}

button.button.wps_wpr_remove_quiz {
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #2196f3;
  background: white;
  color: #2196f3;
  line-height: 1;
  display: inline-block;
  min-height: 30px;
  font-size: 16px;
  cursor: pointer;
}

button#wps_wpr_add_quiz,
.wps_wpr_view_campaign_existing_template,
#wps_wpr_add_social_share_campaign,
#wps_social_share_main_wrap .wps_wpr_remove_campaign {
  border-radius: 5px;
  border: 1px solid #2196f3;
  background: white;
  color: #2196f3;
  line-height: 1;
  display: inline-block;
  min-height: 30px;
  font-size: 16px;
  margin: 10px 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease; /* smooth hover effect */
}

#wps_social_share_main_wrap .wps_wpr_remove_campaign {
  margin: 0;
}

.social_share_main_wrap .wps_wpr_general_row {
  overflow: auto;
}

button#wps_wpr_add_quiz:hover,
.wps_wpr_view_campaign_existing_template:hover,
#wps_wpr_add_social_share_campaign:hover,
.wps_wpr_remove_campaign:hover {
  background-color: #2196f3 !important;
  color: #fff !important;
}

#wps_wpr_add_social_share_campaign {
  margin-left: 15px;
}

.wps_wpr_social_campaign_main_wrap.wps_wpr_general_content {
  margin-left: 5px;
}

.wps_wpr_enable_user_badges_notices.wps_wpr_label_notice.share_notices {
  padding: 0 15px 15px;
}

.social_share_main_wrap .wps-error-msg {
  padding-left: 15px;
}

button.button.wps_wpr_remove_quiz:hover {
  background-color: #2196f3 !important;
  color: #fff !important;
  border: none;
}

.wps-error-field {
    border: 1px solid red !important;
    background: #ffecec;
}

.wps-error-msg {
    color: red;
    margin: 10px 0;
    font-weight: 500;
}

.wps-campaign-actions {
    margin-top: 10px;
}

.wps_wpr_social_campaign_main_wrap {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
.wps_wpr_social_campaign_main_wrap .wps_wpr_general_label {
  padding: 0;
}
.wps_wpr_social_campaign_main_wrap .wps_wpr_general_label select {
  min-height: 40px;
}

@media screen and (max-width: 540px) {
  .wps-popup_m-content {
    left: 170px;
  }
  .wps-popup_m-sidebar {
    width: 140px;
    top: 65px;
  }
  .wps-popup_mcb-img {
    flex: 1 0 90%;
    max-width: 100%;
  }
}

/* RMA style redesign: scoped overrides */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap {
  --wps-rma-bg: #f4f4f9;
  --wps-rma-surface: #ffffff;
  --wps-rma-soft: #f6f4ff;
  --wps-rma-border: #e5e3ef;
  --wps-rma-text: #221a45;
  --wps-rma-muted: #726e84;
  --wps-rma-primary: #27154a;
  --wps-rma-accent: #f6a318;
  --wps-rma-danger-bg: #fff4f5;
  --wps-rma-shadow: 0 8px 24px rgba(26, 16, 60, 0.08);
  font-family: "Lato", sans-serif;
  background: var(--wps-rma-bg);
  padding: 16px 14px 24px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strips {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip {
  border-radius: 14px;
  border: 1px solid var(--wps-rma-border);
  background: var(--wps-rma-surface);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--highlight {
  background: #fff7e9;
  border-color: #f1d8a8;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_badge {
  background: var(--wps-rma-accent);
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 999px;
  padding: 5px 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_text {
  flex: 1;
  color: var(--wps-rma-text);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_text p {
  margin: 4px 0 0;
  color: var(--wps-rma-muted);
  font-size: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_dismiss {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_status_chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  color: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_status_chip.is-pro {
  background: var(--wps-rma-primary);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_status_chip.is-lite {
  background: #64748b;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--status p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--alert p {
  margin: 0;
  color: var(--wps-rma-text);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--alert {
  background: var(--wps-rma-danger-bg);
  border-color: #ffd9dc;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header {
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  border-bottom-width: 1px;
  background: linear-gradient(180deg, #2d1954 0%, #241244 100%);
  margin: 0 0 12px;
  padding: 6px 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_left,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right {
  padding: 6px 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_left .wps_rwpr_setting_title {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_left .wps_rwpr_setting_title span {
  color: #d6d2ea;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right ul li {
  margin: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right ul li.wps_wpr_get_pro a {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  font-size: 12px;
  padding: 6px 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_main_template {
  background: var(--wps-rma-surface);
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_body_template {
  display: block;
  background: var(--wps-rma-surface);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_mobile_nav {
  display: none;
  align-items: center;
  gap: 8px;
  background: #efeef6;
  color: var(--wps-rma-text);
  border-bottom: 1px solid var(--wps-rma-border);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  display: block;
  border-bottom: 1px solid var(--wps-rma-border);
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs {
  display: inline-flex;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
  border: 0;
  margin: 0;
  background: transparent;
  color: #222;
  text-transform: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 12px 14px;
  border-bottom: 3px solid transparent;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:focus,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:hover {
  background: transparent;
  color: #111 !important;
  border-bottom-color: var(--wps-rma-accent);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active::after {
  content: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dashboard_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 16px;
  padding: 16px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_content_template {
  box-shadow: none;
  max-width: 100%;
  padding: 0;
  background: transparent;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading {
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  background: var(--wps-rma-soft);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_heading_kicker {
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--wps-rma-accent);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
  margin: 3px 0;
  color: var(--wps-rma-text);
  font-size: 36px;
  line-height: 1.1;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading p {
  margin: 0;
  color: var(--wps-rma-muted);
  font-size: 13px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dark_button,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  background: #050505;
  border: 1px solid #050505;
  color: #fff;
  border-radius: 999px;
  box-shadow: none;
  text-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes:focus {
  background: #1f1f1f;
  border-color: #1f1f1f;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_right_sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card {
  border: 1px solid var(--wps-rma-border);
  border-radius: 14px;
  background: var(--wps-rma-surface);
  padding: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card h4 {
  margin: 0 0 10px;
  color: var(--wps-rma-text);
  font-size: 24px;
  line-height: 1.2;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card p {
  margin: 0 0 10px;
  color: var(--wps-rma-muted);
  font-size: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card a {
  display: block;
  text-decoration: none;
  color: var(--wps-rma-text);
  border: 1px solid var(--wps-rma-border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card--soft {
  background: #f9f5ea;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_contact_button {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_table,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_main_gamification_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_user_gamifications_main_wrappers,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .points-and-rewards-for-woocommerce-pro-license-sec,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_in,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_update_points_table_in {
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  background: var(--wps-rma-surface);
  box-shadow: var(--wps-rma-shadow);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row_wrap {
  border: 1px solid var(--wps-rma-border);
  border-radius: 16px;
  box-shadow: none;
  margin: 0 0 16px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_sign_title,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_user_gamifications_main_wrappers h4,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3 {
  background: #e8f2ff;
  color: #1869c8;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #d8e7fb;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row {
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #efedf6;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_main_gamification_wrapper section:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers:hover {
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row:last-child {
  border-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label {
  width: 240px;
  color: var(--wps-rma-text);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content {
  width: calc(100% - 260px);
  margin-left: 20px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="email"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap textarea,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap select {
  border: 1px solid var(--wps-rma-border);
  border-radius: 10px;
  min-height: 38px;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .form-table,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table {
  border-color: var(--wps-rma-border);
  border-radius: 14px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table thead th {
  background: #f7f5fd;
  color: var(--wps-rma-text);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .submit {
  position: sticky;
  bottom: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 38%);
  margin: 0;
  padding: 18px 0 6px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .notice,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .notice.notice-success.is-dismissible {
  border-radius: 10px;
  border-left-color: #0ea5e9;
}

@media screen and (max-width: 1220px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dashboard_layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_right_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_mobile_nav {
    display: flex;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
    display: none;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template.open-btn {
    display: block !important;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
    display: block;
    padding: 8px;
    white-space: normal;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs a {
    display: block;
    width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
    border-radius: 8px;
    border: 1px solid var(--wps-rma-border);
    margin-bottom: 6px;
    border-bottom-width: 1px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:hover {
    background: #efeafc;
    border-color: #d7cdf7;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading {
    flex-direction: column;
    align-items: flex-start;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
    font-size: 28px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content {
    width: 100%;
    margin-left: 0;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_right_sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 640px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_left,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header_content_right ul {
    justify-content: flex-start;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip {
    flex-wrap: wrap;
  }
}

/* Exact RMA visual pass */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap {
  --rma-bg: #f4f4fa;
  --rma-card: #ffffff;
  --rma-line: #e9e8f2;
  --rma-text: #261f45;
  --rma-subtle: #807b96;
  --rma-yellow: #f5a623;
  --rma-purple: #241145;
  --rma-light-purple: #f6f4ff;
  --rma-blue-strip: #e7f6ff;
  background: var(--rma-bg);
  padding: 14px 10px 22px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strips {
  gap: 10px;
  margin-bottom: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip {
  border-radius: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid #e7e3d7;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--highlight {
  background: #fff8ea;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_badge {
  background: var(--rma-yellow);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 5px 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_text strong {
  font-size: 14px;
  color: var(--rma-text);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_text p {
  font-size: 11px;
  color: var(--rma-subtle);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_dismiss {
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--status {
  background: var(--rma-purple);
  border-color: #2f1a59;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--status p {
  color: #fff;
  opacity: 0.92;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_status_chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--alert {
  background: #fff;
  border-color: var(--rma-line);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--alert .dashicons {
  color: #ff4d68;
  font-size: 16px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_header {
  display: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_main_template {
  border: 1px solid var(--rma-line);
  border-radius: 18px;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  border-bottom: 1px solid var(--rma-line);
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  padding: 0 12px;
  min-height: 54px;
  gap: 2px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_version_tag {
  color: #a09cb3;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  padding-right: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
  font-size: 12px;
  color: #1e1b2a;
  font-weight: 700;
  padding: 16px 10px 13px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:focus,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:hover {
  border-bottom-color: var(--rma-yellow);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dashboard_layout {
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 14px;
  padding: 12px;
  background: var(--rma-bg);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_content_template {
  border: 1px solid var(--rma-line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading {
  margin-bottom: 12px;
  background: var(--rma-light-purple);
  border: 1px solid var(--rma-line);
  border-radius: 14px;
  padding: 16px 18px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_heading_kicker {
  color: var(--rma-yellow);
  font-size: 10px;
  letter-spacing: 1px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
  font-size: 46px;
  font-weight: 800;
  margin: 2px 0 4px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading p {
  font-size: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dark_button {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card {
  border-radius: 14px;
  border: 1px solid var(--rma-line);
  padding: 14px 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card h4 {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card a {
  border-radius: 9px;
  font-size: 11px;
  min-height: 32px;
  display: flex;
  align-items: center;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card--soft {
  background: #f5f1e6;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row_wrap,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_table {
  border: 1px solid var(--rma-line);
  border-radius: 14px;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_sign_title {
  background: var(--rma-bg);
  color: var(--rma-text) !important;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row {
  padding: 20px 18px;
  border-bottom: 1px solid #f0eef7;
  min-height: 78px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label {
  width: 300px;
  font-size: 13px;
  font-weight: 600;
  color: #312b4f;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label label {
  width: auto;
  max-width: 280px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content {
  width: calc(100% - 320px);
  margin-left: 20px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  background: #000;
  border-color: #000;
  border-radius: 999px;
  min-height: 34px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="email"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap textarea,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap select {
  border: 1px solid #e8e6f1;
  border-radius: 9px;
  min-height: 40px;
  font-size: 12px;
  color: #2c2742;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap textarea {
  min-height: 96px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .submit {
  padding: 14px 0 0;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="checkbox"] {
  width: 40px;
  height: 22px;
  border-radius: 20px;
  margin-right: 8px;
  background: #d3d8e5;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="checkbox"]::before {
  width: 16px;
  height: 16px;
  left: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="checkbox"]:checked {
  background: rgba(245, 166, 35, 0.34);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="checkbox"]:checked::before {
  left: calc(100% - 19px) !important;
  background: #f5a623;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table input[type="checkbox"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: transparent;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table input[type="checkbox"]::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]::before {
  content: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_user_gamifications_main_wrappers h4 {
  background: var(--rma-blue-strip);
  color: #2b85c8;
  border-radius: 12px 12px 0 0;
}

@media screen and (max-width: 900px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dashboard_layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_mobile_nav {
    display: flex;
    min-height: 44px;
    border-radius: 12px 12px 0 0;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
    display: none;
    border-top: 1px solid var(--rma-line);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template.open-btn {
    display: block !important;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
    display: block;
    min-height: auto;
    padding: 8px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_version_tag {
    margin: 0 0 8px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs {
    display: block;
    margin-bottom: 4px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    padding: 10px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content {
    width: 100%;
    margin-left: 0;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
    font-size: 30px;
  }
}

/* Tabs wrap + larger dashboard settings typography */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  white-space: normal;
  overflow-x: visible;
  flex-wrap: wrap;
  align-items: flex-end;
  row-gap: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_version_tag {
  align-self: center;
  margin-bottom: 6px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs {
  margin-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
  font-size: 13px;
  padding: 12px 12px 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
  font-size: 52px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading p {
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_sign_title {
  font-size: 20px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_label {
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content label,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .description {
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="email"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap textarea,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap select {
  font-size: 13px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices {
  margin: 0 0 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices .notice {
  margin: 0 0 8px;
  border-radius: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_license_notices {
  margin: 0 0 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_license_notices .notice {
  margin: 0;
  border-radius: 12px;
}

/* RMA notice parity */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices .notice.notice-success {
  border-radius: 0;
  border-left: 4px solid #15b357;
  background: #fff;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices .notice p {
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-thirty-days-notify.notice.notice-warning {
  position: relative;
  border-radius: 18px;
  border: 1px solid #d8d2ea;
  background: #fff;
  padding: 18px 20px 18px 68px;
  margin: 0;
  color: #211640;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-thirty-days-notify::before {
  content: "\f463";
  font-family: dashicons;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffe9ef;
  color: #ff4b74;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-thirty-days-notify
  p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-thirty-days-notify
  strong {
  font-weight: 700;
  color: #261a48;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-thirty-days-notify
  a {
  color: #1676cc;
  text-decoration: none;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap
  .wps_rma_license_notices
  #points-and-rewards-for-woocommerce-pro-day-count {
  color: #1a1a1a;
}

/* Dashboard shadow layer */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_main_template {
  box-shadow: 0 10px 30px rgba(25, 16, 52, 0.08);
  border: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices .notice,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_license_notices .notice,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_content_template,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card {
  box-shadow: 0 8px 22px rgba(26, 17, 56, 0.06);
}

/* Border reduction pass (RMA-like minimal lines) */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_side_card,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_top_notices .notice,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_license_notices .notice,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_content_template {
  border-color: #eceaf4;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_content_template {
  border-width: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_dashboard_layout {
  gap: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_table,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row_wrap,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_main_gamification_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_user_gamifications_main_wrappers,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .points-and-rewards-for-woocommerce-pro-license-sec,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_api_details_main_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_rest_api_response {
  border: 0 !important;
  box-shadow: none !important;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row_wrap {
  border-radius: 14px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row {
  border-bottom: 1px solid #f1eff7;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_row:last-child {
  border-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_sign_title,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_user_gamifications_main_wrappers h4 {
  border: 0;
  border-bottom: 1px solid #deedf8;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .form-table {
  border: 0;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table thead th {
  background: #f7f6fc;
  border-bottom: 1px solid #eceaf4;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap input[type="email"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap textarea,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap select {
  border: 1px solid #eceaf4;
  box-shadow: none;
}

/* Floating Save Changes button */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap {
  padding-bottom: 110px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  position: fixed;
  right: 32px;
  bottom: 24px;
  z-index: 1000;
  box-shadow: 0 12px 24px rgba(17, 10, 39, 0.24);
}

@media (max-width: 782px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
    right: 16px;
    bottom: 16px;
  }
}

/* Version badge in top pro strip + left floating save button */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_notice_strip--status {
  display: flex;
  align-items: center;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_plugin_version_top {
  margin-left: auto;
  color: #d3cee7;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  left: 32px;
  right: auto;
}

@media (max-width: 782px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_plugin_version_top {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
    left: 16px;
    right: auto;
  }
}

/* Fix floating save button visibility with WP sidebar offset */
body.wp-admin #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  left: calc(160px + 24px) !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
}

body.wp-admin.folded #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
  left: calc(36px + 24px) !important;
}

@media (max-width: 960px) {
  body.wp-admin #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .button-primary.woocommerce-save-button.wps_wpr_save_changes {
    left: 16px !important;
  }
}

/* Fix tab overlap on scroll: disable sticky-sidebar behavior for top tabs */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template .inner-wrapper-sticky,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template .sticky-sidebar,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template .inner-wrapper-sticky {
  width: auto !important;
  max-width: 100% !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  z-index: 1;
}

/* More tabs dropdown */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  overflow: visible;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs {
  position: relative;
  margin-left: auto;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_caret {
  font-size: 10px;
  line-height: 1;
  color: #6f6b86;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border: 1px solid #d8d4e7;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(21, 12, 43, 0.14);
  padding: 12px;
  z-index: 20;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs.is-open .wps_rma_more_menu {
  display: block;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_link {
  display: block;
  padding: 10px 10px;
  color: #1f1d2f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_link:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_link:focus {
  background: #f4f1ff;
  color: #1f1d2f;
  outline: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_link.nav-tab-active {
  background: #efe9ff;
  color: #1f1d2f;
}

@media (max-width: 782px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs {
    margin-left: 0;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_menu {
    left: 0;
    right: auto;
    min-width: 230px;
    max-width: 94vw;
  }
}

/* Move More tab next to visible tabs (not docked to far right) */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  justify-content: flex-start;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs {
  margin-left: 0;
}

/* Uniform settings heading typography across all tabs */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.2px;
  margin: 2px 0 4px !important;
  color: var(--rma-text) !important;
}

@media (max-width: 782px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_section_heading h2 {
    font-size: 30px !important;
  }
}

/* Points Table tab visual refinement (no functionality changes) */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container {
  background: #ffffff;
  border: 1px solid #e8e4f2;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 24px rgba(25, 16, 52, 0.06);
  margin: 18px 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container > h3 {
  margin: -18px -18px 14px;
  padding: 12px 16px;
  border-radius: 16px 16px 0 0;
  background: var(--rma-bg);
  color: var(--rma-text) !important;
  font-size: 29px;
  font-weight: 800;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_instructions_tabledata p {
  color: #54506a;
  font-size: 20px;
  line-height: 1.55;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers input[type="date"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container input[type="date"] {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #e4dfef;
  background: #fff;
  padding: 8px 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .button,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .button-primary,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container .button,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container .button-primary,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table .button,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table .button-primary {
  border-radius: 999px;
  min-height: 36px;
  padding: 8px 16px;
  border-color: transparent;
  font-weight: 700;
  transition: all 0.2s ease;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .button-primary,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container .button-primary,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table .button-primary {
  background: #171126;
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 17, 38, 0.22);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .button-primary:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container .button-primary:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table .button-primary:hover {
  background: #292041;
  transform: translateY(-1px);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table {
  border: 1px solid #e8e4f2;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 14px;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table thead th,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table tfoot th {
  background: #f5f3fb;
  color: #2b2450;
  font-weight: 700;
  border-bottom: 1px solid #e7e3f3;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table tbody tr:nth-child(odd) {
  background: #fcfbff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wp-list-table tbody tr:hover {
  background: #f2f7ff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .tablenav.top,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .tablenav.bottom {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 12px 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .tablenav .actions select,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .tablenav .actions input,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .search-box input[type="search"] {
  border-radius: 10px;
  border: 1px solid #e2deee;
  min-height: 34px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .search-box .button {
  border-radius: 10px;
  min-height: 34px;
}

/* Points Table typography balance */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container > h3 {
  font-size: 30px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_instructions_tabledata p {
  font-size: 20px;
}

/* Points Table final readable sizing */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers > h3,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container > h3 {
  font-size: 26px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_import_user.container p,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_instructions_tabledata p {
  font-size: 15px;
}

/* Widen only full-width instruction rows (e.g., previous orders section). */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_instructions_tabledata[colspan] {
  width: 100%;
}

/* Keep action-button cells visible in pro sections (Reset / Update). */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_instructions_tabledata_btn {
  width: 220px;
  min-width: 180px;
  white-space: normal;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_button_to_assign_points {
  width: 100%;
  max-width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_previous_button_wrappers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_previous_button_wrappers input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_previous_button_wrappers input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers .wps_wpr_previous_button_wrappers input[type="date"] {
  min-width: 180px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers #wps_wpr_previous_order_point_value {
  width: 140px;
  min-width: 120px;
}

/* Membership tab layout refresh */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings {
  border: none;
  background: transparent;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings > tbody > tr.wps_wpr_membership_row {
  border-radius: 12px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  margin: 0 0 12px;
  overflow: hidden;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings > tbody > tr.wps_wpr_membership_row > th.wps-wpr-titledesc {
  display: flex;
  margin: 0;
  padding: 14px 16px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings > tbody > tr.wps_wpr_membership_row > td.wps_wpr_general_content {
  margin: 0;
  padding: 14px 16px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings .wps_wpr_membership_log {
  border: 1px solid #cfd9ec;
  border-radius: 6px;
  float: right;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  text-decoration: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeat_button_wrap {
  margin: 12px 0 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeat_button_wrap .wps_wpr_repeat_button {
  border-radius: 8px;
  font-weight: 600;
  margin: 0;
  min-height: 36px;
  padding: 6px 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .parent_of_div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeat {
  background: #fff;
  border: 1px solid #d8deea;
  border-radius: 12px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section {
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr {
  border-top: 1px solid #edf1f8;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr:first-child {
  border-top: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr > th,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr > .titledesc {
  align-items: center;
  background: #f8faff;
  border-right: 1px solid #edf1f8;
  display: flex;
  margin: 0;
  padding: 12px 10px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr > td {
  margin: 0;
  padding: 12px 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section select {
  max-width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section .select2-container {
  max-width: 100%;
  min-width: 220px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section .wps_wpr_remove_button {
  border-radius: 6px;
  margin-left: 8px;
  padding: 6px 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section .wps_wpr_select_product {
  color: #5c6578;
  display: inline-block;
  margin-top: 6px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_membership_select_all_category_common {
  margin-right: 6px;
}

@media only screen and (max-width: 960px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings > tbody > tr.wps_wpr_membership_row,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr {
    grid-template-columns: minmax(0, 1fr);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting.mwp_wpr_settings > tbody > tr.wps_wpr_membership_row > th.wps-wpr-titledesc,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr > th,
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_membership_setting .wps_wpr_repeatable_section > tbody > tr > .titledesc {
    border-right: none;
    border-bottom: 1px solid #edf1f8;
    padding-bottom: 10px;
    width: 100%;
  }
}

/* Assign Product Points tab layout refresh */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel {
  border: 1px solid #d8deea;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_general_row_wrap {
  margin: 0;
  border: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_general_sign_title {
 font-size: 15px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--rma-bg);
  color: var(--rma-text) !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: 0;
  margin: 0;
  min-height: 82px;
  padding: 0;
  border-bottom: 1px solid #ebedf5;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row:last-child {
  border-bottom: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .wps_wpr_general_label {
  align-items: center;
  background: #f8faff;
  border-right: 1px solid #ebedf5;
  display: flex;
  margin: 0;
  min-height: 100%;
  padding: 14px 18px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .wps_wpr_general_label label {
  font-size: 13px;
  font-weight: 700;
  color: #2d264d;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .wps_wpr_general_content {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0;
  min-height: 100%;
  padding: 14px 18px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .woocommerce-help-tip {
  margin-right: 4px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row input[type="number"] {
  min-width: 150px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notice {
  margin: 14px 0 10px;
  color: #5e6077;
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting.mwp_wpr_settings {
  border: 1px solid #d8deea;
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting.mwp_wpr_settings th {
  background: #f7f8fc;
  border-bottom: 1px solid #e8ebf4;
  color: #2c2850;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting.mwp_wpr_settings td {
  border-bottom: 1px solid #eef1f8;
  padding: 12px 14px;
  vertical-align: middle;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting.mwp_wpr_settings tr:last-child td {
  border-bottom: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting .wps_wpr_new_woo_ver_style_text {
  min-width: 180px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting .wps_wpr_submit_per_category {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  min-height: 34px;
  padding: 6px 14px;
}

@media only screen and (max-width: 960px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row {
    grid-template-columns: minmax(0, 1fr);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .wps_wpr_general_label {
    border-right: none;
    border-bottom: 1px solid #ebedf5;
    width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel .wps_wpr_assign_row .wps_wpr_general_content {
    width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_pro_points_setting.mwp_wpr_settings {
    display: block;
    overflow-x: auto;
  }
}

/* Order Total Points tab layout refresh */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_general_setting.mwp_wpr_settings {
  border: 1px solid #d8deea;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row {
  border-bottom: 1px solid #ebedf5;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  margin: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row:last-child {
  border-bottom: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row > th.wps-wpr-titledesc {
  align-items: center;
  background: #f8faff;
  border-right: 1px solid #ebedf5;
  display: flex;
  margin: 0;
  padding: 14px 16px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row > td.forminp {
  margin: 0;
  padding: 14px 16px;
  width: 100%;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_ranges_table {
  border: 1px solid #d8deea;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_ranges_table thead th {
  background: #f7f8fc;
  border-bottom: 1px solid #e8ebf4;
  color: #2c2850;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_ranges_tbody > .wps_wpr_order_total_range_row > td {
  border-bottom: 1px solid #eef1f8;
  padding: 10px 12px;
  vertical-align: middle;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_ranges_tbody > .wps_wpr_order_total_range_row:last-child > td {
  border-bottom: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_thankyouorder_minimum,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_thankyouorder_maximum,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_thankyouorder_current_type {
  min-height: 40px;
  min-width: 120px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_remove_thankyouorder {
  border-radius: 999px;
  font-weight: 600;
  margin: 0;
  min-height: 34px;
  padding: 6px 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_add_more {
  border-radius: 8px;
  font-weight: 600;
  margin: 10px 0 0;
  min-height: 34px;
  padding: 6px 14px;
}

@media only screen and (max-width: 960px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row {
    grid-template-columns: minmax(0, 1fr);
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row > th.wps-wpr-titledesc {
    border-right: none;
    border-bottom: 1px solid #ebedf5;
    width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_row > td.forminp {
    width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_order_total_panel .wps_wpr_order_total_ranges_table {
    display: block;
    overflow-x: auto;
  }
}

/* Gamification tab layout refresh */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel {
  border: 1px solid #d9deea;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel > h4 {
  margin: 0;
  padding: 14px 20px;
  background: var(--rma-bg);
  color: #257ec3;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .wps_wpr_doc_video {
  display: inline-flex;
  gap: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .wps_wpr_gamifications_settings_heading.wps_wpr_general_sign_title {
  justify-content: flex-start !important;
  gap: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .wps_wpr_gamifications_settings_heading .wps_wpr_doc_video {
  margin-left: auto;
  margin-right: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .wps_wpr_gamifications_settings_heading.wps_wpr_general_sign_title::after {
  margin-left: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .wps_wpr_doc_video > .button {
  min-height: 32px;
  border: 1px solid #d19dd6;
  color: #000;
  border-radius: 6px;
  background: #f8fcff;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_settings_panel {
  padding: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row_wrap {
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid #eceff6;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row_wrap:nth-of-type(even) {
  background: #f8faff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row {
  margin: 0;
  min-height: 80px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row > label {
  color: #2d2950;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_enable_gamification_setting_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_select_icon_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_select_win_wheel_wrapper,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_play_again_wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row .wps_wpr_label_notice {
  color: #5a6374;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel select,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel input[type="number"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel input[type="text"] {
  min-height: 40px;
  border: 1px solid #dde3ef;
  border-radius: 10px;
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel .select2-container {
  min-width: 220px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_panel select:not([multiple]):not(.select2-hidden-accessible) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #66748b 50%),
    linear-gradient(135deg, #66748b 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 1px),
    calc(100% - 11px) calc(50% + 1px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_panel {
  padding: 0;
  border-top: 1px solid #eceff6;
  margin-top: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_panel h4 {
  margin: 0;
  padding: 12px 20px;
  border: 0;
  background: var(--rma-bg);
  color: #257ec3;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table_wrap {
  border: 0;
  border-radius: 0;
  border-top: 0;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table {
  border-collapse: separate;
  border-spacing: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table thead th {
  padding: 11px 10px;
  border-bottom: 1px solid #e8ebf3;
  color: #3f495b;
  font-size: 14px;
  font-weight: 700;
  background: #fbfcff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table tbody td {
  padding: 10px;
  border-bottom: 1px solid #eef1f8;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table tbody tr:last-child td {
  border-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table tbody tr:nth-child(even) {
  background: #f9fafe;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table td input[type="color"] {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #dde3ef;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap #wps_wpr_gamification_fields_add {
  margin: 14px auto 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #b7ddff;
  color: #2078c1;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(17, 77, 130, 0.16);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table #wps_wpr_remove_game_segment {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #ffd4d8;
  background: #fff1f3;
  color: #cf2949;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap #wps_wpr_save_gamification_settings.wps_wpr_gamification_save_btn {
  margin: 4px 20px 20px;
  min-height: 40px;
  border: 1px solid #050505;
  border-radius: 10px;
  background: #050505;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 24px;
  box-shadow: none;
}

@media only screen and (max-width: 960px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_setting_row > label {
    max-width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_gamification_segments_table_wrap {
    overflow-x: auto;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap #wps_wpr_save_gamification_settings.wps_wpr_gamification_save_btn {
    width: calc(100% - 40px);
    text-align: center;
  }
}

/* Badges tab layout refresh */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel {
  border: 1px solid #d9deea;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_badges_heading_bar {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #ddeaf7;
  /* background: #cfe7f8; */
  color: #257ec3;
  font-size: 18px;
  font-weight: 800;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_doc_video {
  display: inline-flex;
  gap: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_badges_heading_bar.wps_wpr_general_sign_title {
  justify-content: flex-start;
  gap: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_badges_heading_bar .wps_wpr_doc_video {
  margin-left: auto;
  margin-right: 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_badges_heading_bar.wps_wpr_general_sign_title::after {
  margin-left: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_doc_video > .button {
  min-height: 32px;
  border: 1px solid #dda7dd;
  color: #000;
  border-radius: 6px;
  background: #f8fcff;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e9ecf5;
  border-radius: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_badges_setting_row {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid #eceff6;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_badges_setting_row:nth-child(even) {
  background: #f9fbff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_badges_setting_row:last-child {
  border-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_general_label {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #2d2950;
  font-weight: 700;
  display: flex;
  align-items: center;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_general_content {
  width: 100%;
  margin-left: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_label_notice {
  margin: 0;
  color: #5a6374;
  font-size: 14px;
  line-height: 1.5;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_choose_badges_position {
  min-height: 40px;
  min-width: 120px;
  border: 1px solid #dde3ef;
  border-radius: 10px;
  font-size: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel {
  margin: 10px 0 0;
  border: 0;
  border-radius: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel .wps_wpr_badges_create_heading {
  margin: 0;
  padding: 14px 20px;
  /* background: #cfe7f8; */
  color: #257ec3;
  border-bottom: 1px solid #ddeaf7;
  font-size: 18px;
  font-weight: 800;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel .wps_wpr_user_badges_table_wrap {
  margin: 0;
  padding: 16px 20px;
  display: block;
  overflow-x: auto;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9deea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table th {
  background: #f7f8fc;
  border-bottom: 1px solid #e8ebf4;
  color: #2c2850;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table td {
  border-bottom: 1px solid #eef1f8;
  padding: 10px 14px;
  vertical-align: middle;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table tr:last-child td {
  border-bottom: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table td input[type="text"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table td input[type="number"] {
  min-height: 40px;
  border: 1px solid #dde3ef;
  border-radius: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table .wps_wpr_icon_user_badges_wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table .wps_wpr_icon_user_badges {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table .wps_wpr_add_user_badges_img {
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #050505;
  border: 1px solid #050505;
  color: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_table .wps_wpr_remove_user_badges {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #ff5d6f;
  background: #fff;
  color: #ff334d;
  padding: 0;
  line-height: 1;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel .wps_wpr_show_incremented_warning_msg,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel .wps_wpr_pro_plugin_notices {
  margin: 0 20px 12px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_create_panel .wps_wpr_badges_add_more {
  margin: 0 20px 20px;
  min-height: 34px;
  border: 1px solid #2e92e1;
  border-radius: 8px;
  color: #2e92e1;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

@media only screen and (max-width: 960px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_config_panel .wps_wpr_badges_setting_row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_doc_video_wrapper {
    display: block;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_badges_panel .wps_wpr_doc_video {
    margin-top: 10px;
  }
}

/* Tabs style synced to PAR dashboard reference */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  background: #ececf2;
  border-bottom: 1px solid #dfdde8;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  padding: 0 16px;
  min-height: 56px;
  gap: 4px;
  white-space: nowrap;
  overflow-x: auto;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs {
  display: inline-flex;
  align-items: stretch;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  margin: 0;
  background: transparent;
  color: #2e2b3c;
  text-transform: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab:focus {
  color: #27233a;
  background: transparent;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:focus,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active:hover {
  color: #232037 !important;
  background: transparent;
  border-bottom-color: #f29a05;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs .nav-tab-active::after {
  content: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs {
  margin-left: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_caret {
  color: #716d86;
  font-size: 10px;
}

@media screen and (max-width: 900px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
    white-space: normal;
    overflow-x: visible;
    padding: 8px;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_tabs {
    display: block;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_gw_nav_tab {
    min-height: 42px;
    border: 1px solid #ddd9e8;
    border-radius: 8px;
    padding: 10px;
  }
}

/* Compact switch styling for row-level settings checkboxes */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"],
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 20px;
  min-width: 34px;
  border: 1px solid #c8cedd;
  border-radius: 999px;
  background: #d8deea;
  margin: 0;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(13, 22, 45, 0.14);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:hover,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:hover {
  border-color: #b9c1d4;
  background: #d1d9e8;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:focus,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:focus,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:focus {
  outline: none;
  border-color: #f0aa2e;
  box-shadow: 0 0 0 3px rgba(242, 160, 28, 0.22);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]::before {
  content: "";
  position: absolute;
  left: 1px !important;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  transform: translateX(0);
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(20, 20, 28, 0.26);
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:checked,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:checked,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #f7bf58 0%, #f2a21c 100%);
  border-color: #e6a63c;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:checked::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:checked::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:checked::before {
  transform: translateX(14px);
  left: 1px !important;
  top: 1px;
  background: #fff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:disabled,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:disabled,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #e9edf5;
  border-color: #d2d8e5;
  box-shadow: none;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section input[type="checkbox"]:disabled::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_segment_gamification_settings_wrappers input[type="checkbox"]:disabled::before,
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel input[type="checkbox"]:disabled::before {
  background: #f7f9fc;
  box-shadow: none;
}

/* Notifications tab layout */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_overview_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edf6ff 0%, #f9fcff 100%);
  border: 1px solid #d9ebff;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_overview_card h3 {
  margin: 0 0 8px;
  color: #114f8f;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_overview_card p {
  margin: 0;
  color: #2e5578;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_status {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_status_label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #597a9b;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_status_badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_status_badge.is-enabled {
  background: #d8f7e6;
  color: #15623b;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_status_badge.is-disabled {
  background: #fde5e5;
  color: #8c2e2e;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens {
  min-width: 300px;
  padding: 14px;
  border: 1px solid #d5e6f6;
  background: #fff;
  border-radius: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens_title {
  display: block;
  margin: 0 0 8px;
  color: #3d5f82;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens li {
  margin: 0;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens code {
  display: inline-block;
  border-radius: 6px;
  background: #eff5ff;
  color: #173f6e;
  padding: 4px 8px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_card h4 {
  margin: 0 0 12px;
  color: #1e3957;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e7edf4;
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
  color: #16477d;
  background: #f9fbfe;
  font-weight: 600;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_links a:hover {
  background: #edf6ff;
  border-color: #beddfa;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_jump_links a span {
  color: #5d7289;
  font-size: 12px;
  white-space: nowrap;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notifications_table .wps_wpr_notification_section_wrap {
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #e7edf4;
  background: #fff;
  overflow: hidden;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notifications_table .wps_wpr_general_sign_title {
  position: sticky;
  top: 32px;
  z-index: 1;
  margin: 0;
  border-bottom: 1px solid #dbe6f2;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notifications_table .wps_wpr_general_row {
  padding: 16px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_field_hint {
  display: block;
  margin: 0 0 10px;
  color: #4c5f73;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_overview_card {
    grid-template-columns: 1fr;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notification_tokens {
    min-width: 100%;
  }

  #wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_notifications_table .wps_wpr_general_sign_title {
    position: static;
  }
}

/* Urgent fix: prevent "More" tabs dropdown from rendering beneath settings sections */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rwpr_navigator_template {
  position: relative !important;
  z-index: 9999 !important;
  overflow: visible !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .hubwoo-navigations {
  overflow: visible !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_tabs {
  position: relative;
  z-index: 10000;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_rma_more_menu {
  z-index: 10001;
}

/* Ensure dropdowns are visually distinct from text inputs across settings tabs */
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_general_content select:not([multiple]):not(.select2-hidden-accessible),
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_repeatable_section select:not([multiple]):not(.select2-hidden-accessible),
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_points_table_second_wrappers select:not([multiple]):not(.select2-hidden-accessible),
#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .wps_wpr_assign_points_panel select:not([multiple]):not(.select2-hidden-accessible) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #65748b 50%),
    linear-gradient(135deg, #65748b 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 1px),
    calc(100% - 11px) calc(50% + 1px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px !important;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 24px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
  top: 0;
  width: 14px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #65748b transparent transparent transparent;
  border-width: 6px 5px 0 5px;
  margin-left: -5px;
  margin-top: -2px;
}

#wps_rwpr_setting_wrapper.wps-rma-admin-wrap .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #65748b transparent;
  border-width: 0 5px 6px 5px;
}
