/*
Theme Name: The7 Child
Theme URI:  https://the7.io/
Description: Official child theme for The7 WordPress theme.
Author: Dream-Theme
Author URI: https://dream-theme.com/
Template: dt-the7
Version: 1.0.0
Text Domain: dt-the7-child
*/

/* = Custom CSS starts here
----------------------------------------- */
/* --- Clean login form design --- */
#user-registration {
  margin: 0 auto;
}

#login-error-top {
  position: relative;
  padding: 1rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem 4px;
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
  max-width: 500px;
  margin: 0px auto;
  margin-bottom: 20px;
  line-height: 1.4;
}
div#login-error-top {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 111;
}

#user-registration .ur-frontend-form,
.custom-registration-container,
.cstm-my-acc-form .woocommerce-ResetPassword {
  /* padding: 40px 35px;
  border-radius: 10px;
  background: rgb(255 255 255 / 15%);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  width: 100%;
  margin: 0 auto;
  max-width: 500px; */
  padding: 0;
  background: unset;
}

#reg_email-error,
#reg_password-error,
#reg_confirm_password-error {
  position: absolute;
  left: 0px;
  bottom: -16px;
  line-height: 1;
  font-size: 12px !important;
  margin: 0 !important;
}

.custom-registration-form>div {
  margin-bottom: 18px !important;
}

.custom-registration-form .btn-wrap {
  margin: 0 !important;
}

#user-registration .ur-frontend-form label,
.custom-registration-container label,
.cstm-my-acc-form .woocommerce-form-login label,
.cstm-my-acc-form .woocommerce-form-login .form-row label.woocommerce-form__label,
.cstm-my-acc-form .woocommerce-ResetPassword label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
  display: inline-block;
}

#user-registration .ur-frontend-form input[type="text"],
#user-registration .ur-frontend-form input[type="password"],
.custom-registration-container input,
.cstm-my-acc-form .woocommerce-form-login input,
.cstm-my-acc-form .woocommerce-ResetPassword input {
  width: 100%;
  padding: 12px 14px 12px 28px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  font-size: 15px !important;
  color: #333;
  min-height: auto !important;
  height: auto !important;
  transition: all 0.3s ease;
  background: #fafafa;
  margin: 0 !important;
}

.cstm-my-acc-form .woocommerce-form-login p br,
.cstm-my-acc-form .woocommerce-ResetPassword p br {
  display: none;
}

#user-registration .ur-frontend-form input[type="text"]:focus,
#user-registration .ur-frontend-form input[type="password"]:focus,
.custom-registration-container input:focus,
.cstm-my-acc-form .woocommerce-form-login input:focus,
.cstm-my-acc-form .woocommerce-ResetPassword input:focus {
  border-color: #0073e6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
  outline: none;
}

.cstm-my-acc-form .woocommerce-form-login .form-row label.woocommerce-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cstm-my-acc-form .woocommerce-form-login .form-row label.woocommerce-form__label input.woocommerce-form__input {
  width: 14px !important;
  height: 14px !important;
}

.cstm-my-acc-form .woocommerce-form-login .woocommerce-form__label-for-checkbox br {
  display: none;
}

#user-registration .user-registration-form__label-for-checkbox {
  font-size: 14px;
  color: #555;
}

#user-registration .user-registration-form__input-checkbox {
  margin-right: 6px;
  accent-color: #0073e6;
}

#user-registration .user-registration-LostPassword a {
  color: #0073e6;
  text-decoration: none;
  font-size: 14px;
}

.btn-wrap p {
  font-size: 14px;
  text-align: center;
  margin: 20px 0 0;
}

.btn-wrap a {
  color: #0073e6;
  text-decoration: none;
  margin-right: 5px;
}

.woocommerce-LostPassword.lost_password {
  font-size: 14px;
  text-align: center;
  margin: 0 0 !important;
  color: #0073e6;
}

#user-registration .user-registration-LostPassword a:hover,
.btn-wrap a:hover,
.woocommerce-LostPassword.lost_password:hover {
  text-decoration: underline;
}

#user-registration .user-registration-Button,
.reg-btn,
.cstm-my-acc-form .form-row button.woocommerce-button,
.cstm-my-acc-form .woocommerce-ResetPassword .form-row button.woocommerce-Button {
  width: 100% !important;
  padding: 12px !important;
  border: none !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 00px !important;
  background: #0068ff;
  line-height: 1.2 !important;
  text-align: center;
}

#user-registration .user-registration-Button:hover,
.reg-btn:hover,
.cstm-my-acc-form .form-row button.woocommerce-button:hover,
.cstm-my-acc-form .woocommerce-ResetPassword .form-row button.woocommerce-Button:hover {
  background: #005bb5;
}

#user-registration .user-registration-register {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

#user-registration .user-registration-register a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.back-button {
  padding: 12px 20px;
  border: 2px solid #0169ff;
  border-radius: 4px;
  color: #0368ff;
  line-height: 1;
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.back-button:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f053";
  display: inline-block;
  margin-right: 6px;
}

.back-button:hover {
  background: #0368ff;
  color: #fff;
  text-decoration: none !important;
}

.back-button:active {
  background: #005bb5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.woocommerce-Button.button, .button.primary {
  border-radius: 4px !important;
}


#user-registration .user-registration-register a:hover {
  text-decoration: underline;
}

.custom-registration-form>div>div {
  position: relative;
}

.user-registration-form span.input-wrapper:after,
.user-registration-ResetPassword .ur-input-with-icon:after,
.custom-registration-form>div>div:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #475cb2;
}

.user-registration-ResetPassword .ur-input-with-icon {
  display: inline-block !important;
  width: 100%;
}

.user-registration-ResetPassword .ur-input-with-icon svg {
  display: none;
}

.user-registration-ResetPassword .ur-input-with-icon:after {
  content: "\f007";
}

.user-registration-form label[for='username']+span.input-wrapper:after,
.custom-registration-form .reg_email::after {
  content: "\f007";
}

.user-registration-form label[for='password']+span.input-wrapper:after,
.custom-registration-form .reg_password::after {
  content: "\f023";
}

.ur-frontend-form .ur-form-row .ur-form-grid .user-registration-form-row input.input-text {
  background: transparent !important;
  border: 1px solid #475cb2 !important;
  padding-left: 30px !important;
}

.user-registration-page footer>div,
.woocommerce-account footer>div,
.page-id-20591 footer>div {
  margin: 0;
}

.user-registration-page .user-registration-form h2,
.custom-registration-form h2,
.cstm-my-acc-form .woocommerce-form-login h2 {
  font-size: 30px;
}
a.button.primary.dt-add-transaction {
  z-index: 111;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 250px;
  background: rgba(255, 255, 255, 0.15);
  /* Transparent white */
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  /* Glass effect */
  -webkit-backdrop-filter: blur(10px);
  /* For Safari */
  padding: 20px;
  height: 100vh;
  /* top: 133px; */
  z-index: 999;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* Soft depth */
  border-radius: 8px;
  /* Optional, for rounded edge look */
  position: relative;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  height: Auto !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li br {
  display: none;
}

/* Base style for My Account navigation links */
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  padding: 12px 15px 12px 35px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
  color: #333;
  transition: 0.2s;
  height: auto !important;
  margin: 0 !important;
  position: relative;
  display: block;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:before {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  /* works for FA 7 too */
  font-weight: 900;
  font-size: 14px;
  color: #333;
  transition: 0.2s;
}

/* Dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a:before {
  content: "\f015";
  /* fa-house */
}

/* Orders */
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a:before {
  content: "\f291";
  /* fa-box-open */
}

/* Downloads */
.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a:before {
  content: "\f019";
  /* fa-download */
}

/* Addresses */
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a:before {
  content: "\f3c5";
  /* fa-location-dot */
}

/* Account Details */
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a:before {
  content: "\f007";
  /* fa-user */
}

/* Payment Methods */
.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a:before {
  content: "\f09d";
  /* fa-credit-card */
}

/* Transactions */
.woocommerce-account .woocommerce-MyAccount-navigation-link--transaction a:before {
  content: "\f543";
  /* fa-receipt */
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--prop-firms a:before{
  content: "\f570";
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--support a:before{
  content: "\f590";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--rewards a:before {
  content: "\f091";
  /* fa-receipt */
}

/* Logout */
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:before {
  content: "\f2f5";
  /* fa-right-from-bracket */
}

/* Optional: hover effect */
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover:before {
  color: #0073aa;
  /* WooCommerce blue or your theme’s accent */
}
.woocommerce-account .woocommerce-MyAccount-navigation li a + ul.sub-menu {
  margin-top: 10px !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a + ul.sub-menu li a:before{
  content: "\f192";
}

/* Hover and active styles */
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: #0068ff !important;
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:before,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover:before {
  color: #fff;
}
label.error {
  color: red;
  font-size: 12px;
  line-height: 1 !important;
  display: flex;
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 0px 30px 30px 30px;
  width: calc(100% - 250px) !important;
}
.dataTables_wrapper{
  overflow: auto;
}
table#dt-reward-history {
  min-width: 660px;
}

.woocommerce-MyAccount-navigation-link--dashboard {}

.dataTables_wrapper .dataTables_length select {
  padding: 4px 20px 4px 4px !important;
}

.ts-btn-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ts-btn-wrap button,
.dt-add-transaction {
  padding: 12px !important;
  border: none !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 00px !important;
  background: #0068ff;
  line-height: 1.2 !important;
  text-align: center;
}

.ts-btn-wrap button:hover,
.dt-add-transaction:hover {
  background: #005bb5;
}

.ts-btn-wrap button.button-primary {
  background: #0068ff;
}

.ts-btn-wrap button.button-primary:hover {
  background: #475cb2;
}
.button.button-primary {
  border-radius: 4px !important;
  padding: 12px 20px;
  font-size: 14px;
}
.button.button-primary:hover{
  background: #475cb2 !important; 
}

.ts-btn-wrap br,
.transaction-row br {
  display: none;
}

.transaction-actions p:empty,
.transactions-rows-wrap p:empty {
  display: none;
}

#add-multi-transaction-form h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.cstm-card-wrap form br {
  display: none;
}

.transaction-row, .cstm-card-wrap {
  padding: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 20px;
}

.remove-row.button {
  background-color: red !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  color: #fff !important;
  padding: 0 !important;
  line-height: 1 !important;
  border-radius: 4px !important;
}
.remove-row.button:hover{
  transform: rotate(90deg);
}

.dataTables_paginate {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 5px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  font-size: 14px;
  line-height: 1;
  color: #000 !important;
}

.dataTables_paginate span {
  color: #fff;
}

.dataTables_paginate .paginate_button.current {
  background: #0169ff !important;
  color: #fff !important;
  border: 0 !important;
  outline: none !important;
}

@media (max-width: 575px) {
  .custom-registration-form .btn-wrap {
    flex-wrap: wrap;
  }

  #user-registration .ur-frontend-form {
    padding: 30px 20px;
  }

  #user-registration .user-registration-before-login-btn {
    flex-wrap: wrap;
    justify-content: center !important;
  }
}

.woocommerce-MyAccount-content p:empty,
.woocommerce-MyAccount-content p br {
  display: none;
}

/* Dashboard Cards Styling */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 0 20px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 104, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 104, 255, 0.15);
}

.dashboard-cards .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-cards .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 104, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.dashboard-cards .card-icon i {
  color: #0068ff;
  font-size: 24px;
}

.dashboard-cards .card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.dashboard-cards .card-value {
  font-size: 22px;
  font-weight: 700;
  color: #0068ff;
  margin-bottom: 10px;
}

.dashboard-cards .card-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.dashboard-cards ul li a {
  color: #666;
  font-size: 14px;

}

.dashboard-cards .progress-container {
  margin-top: 20px;
}

.dashboard-cards .progress-bar {
  height: 8px;
  background: rgba(0, 104, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.dashboard-cards .progress-fill {
  height: 100%;
  background: #0068ff;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.dashboard-cards .progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.dashboard-cards .progress-text li a .#0068ff p:empty {
  display: none;
}

.dashboard-cards .quicklinks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-cards .quicklinks br {
  display: none;
}

.dashboard-cards .quicklinks li {
  margin-bottom: 10px;
}

.dashboard-cards .quicklinks li a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-cards .quicklinks li a i {
  background-color: #0068ff1a;
  color: #0068ff;
  width: 34px;
  height: 34px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* margin-right: 10px; */
}

.form-row.cstm-lost-pass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-row.cstm-lost-pass-row label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  margin: 0;
}

p:empty {
  display: none;
}

.cstm-tab .wa-tabs {
  background: rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  z-index: 999;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: relative;
  display: inline-flex;
}

.cstm-tab .wa-tabs p:empty {
  display: none !important;
}

.cstm-tab .wa-tabs .wa-tab {
  padding: 12px 15px 12px 15px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
  color: #333;
  font-weight: 400;
  transition: 0.3s;
  margin: 0 !important;
  position: relative;
  display: block;
}

.cstm-tab .wa-tabs .wa-tab.active {
  background: #0068ff !important;
  color: #fff;
}

.cstm-tab .wa-tab-content, .reward-learn-more-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  z-index: 999;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: relative;
  scroll-margin-top: 150px;
}

.cstm-tab .wa-tab-content .wa-form p {
  padding: 0;
}

.cstm-tab .wa-tab-content label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
  display: inline-block;
}

.cstm-tab .wa-tab-content input,
.cstm-tab .wa-tab-content select,
.cstm-tab .wa-tab-content textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  font-size: 15px !important;
  color: #333;
  min-height: auto !important;
  height: auto !important;
  transition: all 0.3s ease;
  background: #fafafa;
  margin: 0 !important;
}

.cstm-tab .wa-tab-content .error {
  color: red;
  font-size: 14px;
}


/* RS Rewards Card Styles */
.rs-rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.rs-reward-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
}

.rs-reward-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 104, 255, 0.15);
  border-color: #0068ff;
}

.rs-reward-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8faff 0%, #e6f0ff 100%);
}

.rs-reward-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: center;
}

.rs-reward-card:hover .rs-reward-image {
  transform: scale(1.05);
}

.rs-reward-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #f8faff 0%, #e6f0ff 100%);
  color: #0068ff;
  padding: 20px;
}

.rs-placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.rs-placeholder-text {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #333;
}

.rs-reward-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0068ff;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rs-reward-content {
  padding: 20px;
}

.rs-reward-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.rs-reward-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 42px;
}

.rs-reward-value {
  font-size: 20px;
  font-weight: 700;
  color: #0068ff;
  margin-bottom: 16px;
}

.rs-reward-actions {
  display: flex;
  gap: 8px;
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 2px solid;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.rs-btn-primary {
  background: #0068ff;
  border-color: #0068ff;
  color: white !important;
  flex: 1;
  justify-content: center;
}

.rs-btn-primary:hover {
  background: #0052cc;
  border-color: #0052cc;
  transform: translateY(-1px);
  text-decoration: none;
}

.rs-btn-outline {
  background: transparent;
  border-color: #ddd;
  color: #666;
  flex: 1;
  justify-content: center;
}

.rs-btn-outline:hover {
  border-color: #0068ff;
  color: #0068ff;
  transform: translateY(-1px);
}

.rs-btn-icon {
  font-size: 16px;
}

/* Pagination Styles */
.rs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.rs-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rs-page:hover {
  border-color: #0068ff;
  color: #0068ff;
}

.rs-page.active {
  background: #0068ff;
  border-color: #0068ff;
  color: white;
}

.rs-page-prev,
.rs-page-next {
  background: #f8f9fa;
  border-color: #e0e0e0;
}

.rs-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #999;
  font-weight: 600;
}

/* Loading and State Styles */
.rs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
}

.rs-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e6f0ff;
  border-top: 3px solid #0068ff;
  border-radius: 50%;
  animation: rs-spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes rs-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.rs-error,
.rs-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 20px 0;
}

/* Modal Styles - Left-Right Layout */
.rs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.rs-modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: rs-modal-appear 0.3s ease-out;
  position: relative;
  overflow-y: auto;
}

@keyframes rs-modal-appear {
  from {
      opacity: 0;
      transform: scale(0.9) translateY(20px);
  }
  to {
      opacity: 1;
      transform: scale(1) translateY(0);
  }
}

.rs-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  border-radius: 8px;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.rs-modal-close:hover {
  background: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.rs-modal-body {
  display: flex;
  height: 100%;
  max-height: 90vh;
}

.rs-modal-left {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #f8faff 0%, #e6f0ff 100%);
  position: relative;
}

.rs-modal-image-container {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-modal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #0068ff;
  padding: 40px;
  text-align: center;
}

.rs-modal-placeholder-icon {
  font-size: 80px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.rs-modal-placeholder-text {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.rs-modal-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #0068ff;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}

.rs-modal-right {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
}

.rs-modal-content {
  padding: 40px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rs-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
}

.rs-modal-section {
  margin-bottom: 24px;
}

.rs-modal-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rs-modal-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.rs-modal-details {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: #f8faff;
  border-radius: 12px;
  border: 1px solid #e6f0ff;
}

.rs-modal-detail {
  flex: 1;
}

.rs-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rs-detail-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rs-detail-value {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.rs-detail-value-highlight {
  color: #0068ff;
  font-size: 20px;
}

.rs-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.rs-btn-large {
  padding: 14px 24px;
  font-size: 16px;
  flex: 1;
}

/* SweetAlert Customization */
.rs-swal-popup {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}
div:where(.swal2-container) {
  z-index: 999999 !important;
}
input#dateRangeFilter {
  background: transparent !important;
  border: 1px solid #a9a9a9 !important;
  z-index: 1111111;
}



ul.prop-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform 0.25s ease;
  height: 100%;
}
.offer-card:hover { transform: translateY(-4px); }

.offer-banner {
  background: linear-gradient(90deg, #8757ff, #3a8dff);
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  text-align: center;
}
.offer-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.offer-body {
  padding: 24px;
  text-align: center;
}
.offer-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
  background: #f2f5ff;
  border-radius: 12px;
}
.offer-title {
  font-size: 24px;
  margin: 6px 0 4px;
}
.offer-category {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: capitalize;
}
.offer-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.tag {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tag-blue {
  background: #e8f0ff;
  color: #0a58ff;
  border-color: #cfe0ff;
  line-height: 1;
  display: inline-flex;
}
.tag-yellow {
  background: #fff6cf;
  color: #b88400;
  border-color: #ffe9a3;
}
.offer-details {
  color: #4b5563;
  font-size: 14px;
  margin: 12px 0 20px;
}
.discount-box {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 20px;
  text-align: left;
  border: 1px solid #e6e9f0;
}
.discount-box label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #818aa0;
  margin-bottom: 6px;
}
.discount-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 16px;
}
.copy-btn {
  background: #f0f4ff;
  border: 1px solid #dbe0ea;
  color: #1f3a93;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.cta-wrapper {
  padding: 0 24px 24px;
}
.cta-btn {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(90deg, #007bff, #00b2ff);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 14px 0;
  transition: 0.3s ease;
}
.cta-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}
.toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #101828;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cta-wrapper br {
  display: none;
}
.cta-wrapper .button.primary {
  padding: 19px 20px;
  font-size: 16px;
}
.notice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e0f2ff;
  border: 1px dashed #d0d7de;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}
.notice-box p {
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin-bottom: 0px;
}

.notice-box i {
  color: #374151;
  font-size: 16px;
}

.notice-box strong {
  font-weight: 600;
}
.cstm-login-btn a[data-level="1"] {
  display: none !important;
}
.horizontal-menu-wrap ul.dt-nav-menu-horizontal {
  align-items: center;
}
.cstm-login-btn .elementor-button-link {
  color: #fff !important;
}
.cstm-login-btn .elementor-button-link:after{
  display: none;
}

@media (max-width: 420px) {
  .offer-body { padding: 18px; }
  .cta-wrapper { padding: 0 18px 18px; }
}
p.woocommerce-other-links a {
  display: inline-flex;
  margin-right: 10px;
  text-decoration: none;
}
.woocommerce-other-links {
  display: flex;
  margin-top: 6px;
}

/* ul.prop-form-row {
  padding: 0;
  margin: -10px;
  display: flex;
  flex-wrap: wrap;
}

ul.prop-form-row > li {
  padding: 10px;
  width: calc(100% / 2);
  list-style: none; 
  display: flex;
}


.prop-form-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  text-align: center;
}

.prop-form-card .prop-banner {
  background: linear-gradient(90deg, #a046ff, #0068ff);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
}

.prop-form-card .prop-content {
  padding: 20px;
}

.prop-form-card .prop-logo {
  width: 100%;
  max-width: 170px;
  margin-bottom: 10px;
  max-height: 80px;
  object-fit: contain;
}


.prop-form-card .prop-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 10px 0;
}

.prop-form-card .prop-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.prop-form-card .badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.prop-form-card .badge.blue {
  background: #0068ff;
}

.prop-form-card .badge.yellow {
  background: #f6c343;
  color: #000;
}

.prop-form-card .prop-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 4px;
}

.prop-form-card .prop-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.prop-form-card .discount-box {
  background: #eaf3ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: 15px;
}

.prop-form-card .discount-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.prop-form-card .discount-code {
  font-weight: 700;
  color: #000;
  background: #c8e0ff;
  padding: 4px 8px;
  border-radius: 4px;
}

.prop-form-card .copy-btn {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.prop-form-card .deal-btn {
  display: inline-block;
  background: linear-gradient(90deg, #0068ff, #6c63ff);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.prop-form-card .deal-btn:hover {
  opacity: 0.9;
} */

.atf-message {
  display: none;
  padding: 12px;
  margin: 12px 0;
  border-radius: 6px;
}

.transaction-row-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: start;
  padding-right: 40px;
}

.transaction-col-6 {
  flex: 1;
  min-width: 160px;
}

.transaction-row-inner .form-field {
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.required {
  color: red;
}

.hidden-label {
  visibility: hidden;
}

.remove-row-field {
  width: 60px;
  text-align: center;
}

.transaction-row-inner input,
.transaction-row-inner select {
  width: 100%;
  padding: 6px;
}

.ts-btn-wrap {
  margin-top: 20px;
}

/* Specific width adjustments for certain fields */
.transaction-col-6:nth-child(3) {
  min-width: 170px;
}

.transaction-col-6:nth-child(5) {
  min-width: 160px;
}

.transaction-remove-row {
  position: absolute;
  right: 0;
  top: 27px;
}

.cstm-form-layout-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -140px;
}
.cstm-form-layout {
  display: flex;
  max-width: 1000px;
  width: 100%;
  margin: auto;
  border-radius: 10px;
  background: rgb(255 255 255 / 15%);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  overflow: hidden;
}
.cstm-form-layout .form-left-col, .cstm-form-layout .form-right-col {
  width: 50%;
}
.form-right-col img {
  height: 100%;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: flex;
}
.cstm-form-layout .form-left-col {
  padding: 40px;
}



.support-view-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.support-view-wrap .button {
  display: inline-flex;
  align-items: center;
  background-color: #0068ff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 104, 255, 0.2);
}

.support-view-wrap .button:hover {
  background-color: #0051cc;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}

.support-view-wrap .button.button-primary {
  background-color: #0068ff;
  color: white;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 25px;
}

.support-view-wrap .button.button-primary:hover {
  background-color: #0051cc;
  transform: translateY(-1px);
}

.support-view-wrap h2 {
  color: #1a1a1a;
  font-size: 28px;
  margin: 20px 0 15px 0;
  font-weight: 700;
}

.support-view-wrap h3 {
  color: #1a1a1a;
  font-size: 22px;
  margin: 25px 0 15px 0;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 2px solid #0068ff;
}

.support-view-wrap .ticket-body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-radius: 16px;
  border-left: 4px solid #0068ff;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.support-view-wrap .ticket-body strong {
  color: #1a1a1a;
  font-size: 16px;
  display: block;
  margin-bottom: 12px;
}

.support-view-wrap .ticket-body p {
  margin: 10px 0;
  color: #555;
  line-height: 1.7;
}

.support-view-wrap .ticket-meta {
  background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #d1e9ff;
  margin: 20px 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.support-view-wrap .ticket-meta strong {
  color: #0068ff;
  font-weight: 600;
}

.support-view-wrap hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0068ff 50%, transparent 100%);
  margin: 40px 0;
  opacity: 0.3;
}

.support-view-wrap .ticket-replies {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
    border-radius: 12px;
    border: 1px solid #d1e9ff;
    max-width: 100%;
}
.support-view-wrap .ticket-meta br {
  display: none;
}
.rs-action-link.rs-view-link, .rs-learn-more-link {
  padding: 7px 10px;
  font-size: 12px;
  color: #fff;
  background: #0169ff;
  border-radius: 4px;
}
.rs-action-link.rs-view-link:hover, .rs-learn-more-link:hover {
  color: #fff;
}
.add-support-form-wrap{
  max-width: 100% !important;
}



.ticket-replies {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 15px;
  max-width: 700px;
  margin: 0 auto 25px;
  font-family: 'Inter', sans-serif;
}

/* Common chat bubble styling */
.reply-item {
  position: relative;
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  animation: fadeInUp 0.35s ease;
}

/* ===== Admin Message (Left Side) ===== */
.cstm-chat-Admin {
  align-self: flex-start;
  background: linear-gradient(135deg, #f7faff, #eaf2ff);
  color: #333;
  border-top-left-radius: 6px;
}

/* Tail for admin bubble */
.cstm-chat-Admin::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: #eaf2ff;
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: -1px 1px 3px rgba(0,0,0,0.05);
  z-index: -1;
}

/* ===== User Message (Right Side) ===== */
.cstm-chat-User {
  align-self: flex-end;
  background: linear-gradient(135deg, #0068ff, #1a82ff);
  color: #fff;
  border-top-right-radius: 6px;
}

/* Tail for user bubble */
.cstm-chat-User::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #0068ff, #1a82ff);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 1px 1px 3px rgba(0,0,0,0.05);
  z-index: -1;
}

/* Timestamp */
.reply-item small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.8;
}

/* Adjust timestamp color per role */
.cstm-chat-User small {
  color: rgba(255,255,255,0.85);
}
.cstm-chat-Admin small {
  color: #666;
}

/* Placeholder when no replies */
.no-replies-placeholder {
  text-align: center;
  color: #777;
  font-style: italic;
  margin-top: 10px;
}

/* Subtle fade-up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Admin Reply - Left Side */
.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")) {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-self: flex-start;
  max-width: 75%;
}

.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply"))::before {
  content: "💬";
  position: absolute;
  left: -30px;
  top: 0;
  font-size: 16px;
  background: #0068ff;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 104, 255, 0.3);
}

.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")) > p:first-child {
  background: #0068ff;
  color: white !important;
  padding: 12px 20px;
  margin: 0 !important;
  border-radius: 18px 18px 18px 4px;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 104, 255, 0.2);
}

.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")) > p:first-child::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #0068ff;
  border-left: 0;
  margin-bottom: 8px;
}

.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")) > p:last-child {
  margin: 8px 0 0 15px !important;
  color: #666 !important;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")) > p:last-child::before {
  content: "🕒";
  font-size: 10px;
}

/* User Reply - Right Side */
.support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-self: flex-end;
  max-width: 75%;
}

.support-view-wrap .reply-item:has(p:first-child:contains("User Reply"))::before {
  content: "👤";
  position: absolute;
  right: -30px;
  top: 0;
  font-size: 16px;
  background: #059669;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) > p:first-child {
  background: #059669;
  color: white !important;
  padding: 12px 20px;
  margin: 0 !important;
  border-radius: 18px 18px 4px 18px;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) > p:first-child::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #059669;
  border-right: 0;
  margin-bottom: 8px;
}

.support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) > p:last-child {
  margin: 8px 15px 0 0 !important;
  color: #666 !important;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) > p:last-child::before {
  content: "🕒";
  font-size: 10px;
}

.support-view-wrap form {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px;
  border-radius: 16px;
  margin-top: 20px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.support-view-wrap textarea {
  width: 100% !important;
  padding: 20px !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
  transition: all 0.3s ease;
  background: white;
  min-height: 120px;
}

.support-view-wrap textarea:focus {
  outline: none;
  border-color: #0068ff !important;
  box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.1);
  transform: translateY(-1px);
}

.support-view-wrap input[type="hidden"] {
  display: none;
}

.support-view-wrap br {
  margin-bottom: 10px;
}

/* Animation for new messages */
.support-view-wrap .reply-item {
  animation: slideInUp 0.4s ease-out;
  isolation: isolate;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
span.sidebar-toggle {
  display: none;
}
table#dt-supports{
  min-width: 700px;
}
table#dt-supports th, table#dt-supports td {
  width: unset !important;
}
table#dt-transactions {
  min-width: 700px;
}

/* Responsive design */
@media (max-width: 991px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: fixed;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    transform: translateX(-100%);
    z-index: 99999;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation.open {
    transform: translateX(0);
  }
  span.sidebar-toggle {
    position: fixed;
    cursor: pointer;
    left: 0;
    top: 77px;
    z-index: 11111;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0px 10px 10px 0px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
span.sidebar-toggle.active {
  transform: translateX(250px);
  background: #0169ff;
  color: #fff;
}
span.sidebar-toggle.active i {
  transform: rotate(180deg);
}
.woocommerce-account .woocommerce-MyAccount-content{
  width: 100% !important;
}
header.elementor-location-header .elementor-element.the7-e-sticky-overlap-yes.the7-e-sticky-row-yes.the7-e-sticky-effect-yes.e-flex.e-con.e-parent.e-lazyloaded.the7-e-sticky.the7-e-sticky-active {
  min-height: unset;
}

header.elementor-location-header .cstm-header-mob {
  min-height: 60px !important;
}
.cstm-form-layout .form-left-col, .cstm-form-layout .form-right-col{
  width: 100%;
}
.cstm-form-layout .form-right-col{
  display: none;
}
}
@media (max-width: 768px) {
  .transaction-actions {
    flex-direction: column;
}
.support-actions {
  flex-direction: column;
}
  .support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply")),
  .support-view-wrap .reply-item:has(p:first-child:contains("User Reply")) {
    max-width: 85%;
  }
  
  .support-view-wrap .reply-item:has(p:first-child:contains("Admin Reply"))::before,
  .support-view-wrap .reply-item:has(p:first-child:contains("User Reply"))::before {
    display: none;
  }
  ul.prop-form-row > li{
    width: 100%;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .rs-rewards-grid {
      grid-template-columns: 1fr;
      gap: 16px;
  }
  
  .rs-modal-body {
      flex-direction: column;
      max-height: 95vh;
  }
  
  .rs-modal-left {
      flex: 0 0 200px;
      overflow: hidden;
  }
  
  .rs-modal-right {
      flex: 1;
  }
  
  .rs-modal-content {
      padding: 24px;
  }
  
  .rs-modal-details {
      flex-direction: column;
      gap: 16px;
      padding: 20px;
  }
  
  .rs-modal-actions {
      flex-direction: column;
  }
  
  .rs-pagination {
      flex-wrap: wrap;
      gap: 4px;
  }
  
  .rs-page {
      min-width: 36px;
      height: 36px;
      font-size: 14px;
  }
  
  .rs-modal-title {
      font-size: 24px;
  }
}

@media (max-width: 480px) {
  .rs-reward-actions {
      flex-direction: column;
  }
  
  .rs-modal-content {
      padding: 20px;
  }
  
  .rs-modal-left {
      flex: 0 0 160px;
  }
  
  .rs-modal-title {
      font-size: 20px;
      margin-bottom: 16px;
  }
  
  .rs-modal-details {
      padding: 16px;
      gap: 12px;
  }
  
  .rs-detail-value {
      font-size: 16px;
  }
  
  .rs-detail-value-highlight {
      font-size: 18px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
}