.buyleadbtn {
  color: #fff !important;
  padding: 11px 8px;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  min-width: 120px;
  text-align: center;
  font-weight: 600;
  position: relative;
  background: #333333 !important;
  border-radius: 12px;
}
.detailleadbtn {
  color: #fff !important;
  background: #000 !important;
  padding: 8px 15px;
  border-radius: 0;
  font-size: 13px;
  display: inline-block;
  text-decoration: none;
  min-width: 160px;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.nav-tabs .active a {
  background: #000;
  color: #fff;
}

.detailleadbtn:hover {
  color: #fff;
  text-decoration: none;
}

.leads_container {
  padding: 1%;
}
.leads_container table th {
  background: #000;
  color: #fff;
}
.leaddet_container h2 {
  font-size: 25px;
  font-weight: bold;
  margin-top: 2%;
  margin-bottom: 2%;
}

.buyleadbtn:hover,
.buyleadbtn:focus,
.buyleadbtn:active {
  color: #fff !important;
  background: #000 !important;
  text-decoration: none;
}
.paymentoptt {
  color: #fff !important;
  background: #000 !important;
  padding: 13px 20px;
  border-radius: 0;
  text-decoration: none;
  min-width: 120px;
  text-align: center;
  font-weight: 600;
  position: relative;
}
.paymentoptt:hover,
.paymentoptt:focus,
.paymentoptt:active {
  color: #fff !important;
  background: #000 !important;
  border-radius: 0;
  text-decoration: none;
  padding: 13px 20px;
}

.paymentttl {
  margin-bottom: 20px;
}

#card-element {
  margin-top: 20px;
}

.psuccess {
  text-align: center;
  font-weight: bold;
  color: green;
}
.perror {
  text-align: center;
  font-weight: bold;
  color: #f00;
}

.stripebtn,
.paypalbtn {
  color: #fff !important;
  background: #000 !important;
  padding: 8px 15px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border-color: #dfdfdf !important;
  margin-top: 20px;
  display: inline-block;
  font-weight: 600;
}

.ghax_stripe_form input[type='text'],
.ghax_stripe_form input[type='email'] {
  border: none;
  line-height: 1;
  padding: 14px 16px;
  background: #e5e5e5;
  width: 100%;
}
#payment-form {
  background: #fff;
  display: inline-block;
  width: 100%;
  margin-top: 40px;
}
.ghax_paypal_form .form-group,
.form-group {
  margin: 0 0 20px;
}
.ghax_paypal_form .form-group label,
.form-group label {
  display: block;
  margin: 0 0 5px;
}

.ghax_paypal_form input[type='text'],
.ghax_paypal_form input[type='email'],
.ghax_paypal_form select {
  border: none;
  line-height: 1;
  padding: 14px 16px;
  background: #e5e5e5;
  width: 100%;
}
.lead-main-wrap input[type='text'],
.lead-main-wrap input[type='email'],
.lead-main-wrap select {
  width: 100%;
  height: 50px;
  font-size: 16px;
  border-radius: 10px;
  border: 2px solid #dfdfdf !important;
  display: block !important;
  max-width: inherit !important;
  padding: 0 15px !important;
  height: 52px !important;
}
.leadssrt table td {
  font-size: 15px;
  vertical-align: middle;
  border: none;
  padding: 0 0 0 14px;
}
.leadssrt table th {
  font-size: 15px;
  vertical-align: middle;
  border: none;
  text-align: left;
}
/* leadssrt h2 base — polished in "Frontend UI Polish" section */

.payment_options_container {
  padding: 40px 20px 0 0;
}

.top-hdr-info {
  padding: 25px 20px;
  margin: 0 2% 10px 0;
  float: left;
  width: 74%;
  background: #333333;
  border-radius: 12px;
  color: #fff;
}
.top-hdr-info ul {
  margin: 0 0 0 15px;
  padding: 0;
  list-style: none;
  float: left;
}
/* .price {
  padding: 25px 20px;
  float: right;
  background: #734a9d;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #f3f3f3;
  width: 24%;
  display: inline-block;
} */

.payment_options_form {
  padding-bottom: 20px;
}
.payment_options_form h5 {
  text-transform: capitalize;
  border-bottom: 2px solid #ccc;
  padding: 0 0 10px;
  margin: 30px 0 20px;
  font-style: normal;
  font-weight: 600;
  font-size: 20px !important;
  letter-spacing: 0.005em;
  color: #333 !important;
  display: inline-block;
  width: 100%;
}
input.sel {
  width: 80px !important;
  text-align: center;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  padding: 10px 20px !important;
  border-radius: 0 !important;
  font-weight: 600;
}

.buyleadbtn.loading {
  background-image: url(../img/loading.gif) !important;
  background-repeat: no-repeat !important;
  background-size: 25px !important;
  background-position: 90% center !important;
}

/*===================************+===================*/

.leadssrt {
  max-width: 1140px;
  margin: auto;
}
.leadssrt .button-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-direction: row-reverse;
}
.leadssrt .button-wrap .cart-btn-top {
  padding: 0;
}
.leadssrt .button-wrap .input-btn-top label {
  font-weight: 600;
  margin-right: 15px;
}

/* ==================================== new css ==================================== */

/* filter-holder base — polished version below in "Frontend UI Polish" section */
.filter-holder .view-cart-holder {
  margin-left: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.col-md-6 {
  max-width: 50%;
  flex: 0 0 50%;
}
.form-holder {
  padding: 15px;
}
.filter-holder label {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 11px;
  padding-left: 3px;
  display: block;
  width: 100%;
}
.custom-input {
  width: 100%;
  font-size: 18px;
  display: block !important;
  max-width: inherit !important;
  padding: 0 15px !important;
  height: 52px !important;
  border: inherit !important;
  background: #f3f3f3 !important;
  border-radius: 10px !important;
}
.custom-build .form-group input[type='text'],
.custom-build .form-group input[type='number'] {
  width: 100%;
  height: 50px;
  font-size: 15px;
  border-radius: 30px !important;
  border: 2px solid #dfdfdf !important;
  display: block !important;
  max-width: inherit !important;
}
.custom-build select[multiple] {
  height: 300px !imporatnt;
  padding: 15px !important;
}
.settingcontainer.custom-build {
  border: 1px solid #000 !important;
}
.custom-build select[multiple] option {
  padding: 3px 0;
  font-size: 16px;
}
.form-group select {
  width: 100%;
  height: 50px;
  font-size: 15px;
  border-radius: 30px !important;
  border: 2px solid #dfdfdf !important;
  display: block !important;
  max-width: inherit !important;
}
.mdc-layout-grid:first-child {
  display: none;
}
.range-holder .price-input {
  width: 100%;
  display: flex;
  margin-bottom: 20px;
  opacity: 0;
  visibility: hidden;
}
.slider-holder {
  position: relative;
  top: -40px;
}
.reset:hover {
  color: #000 !important;
}
.custom-build a:active,
.custom-build a:hover,
.custom-build a:focus {
  color: #fff !important;
}
.range-holder .price-input .field {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}
.range-holder .field input {
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 19px;
  margin-left: 12px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
}
.range-holder input[type='number']::-webkit-outer-spin-button,
.range-holder input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.range-holder .price-input .separator {
  width: 130px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}
.range-holder .slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.range-holder .slider .progress {
  height: 100%;
  left: 25%;
  right: 25%;
  position: absolute;
  border-radius: 5px;
  background: #000;
}
.range-holder .range-input {
  position: relative;
}
.range-holder .range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.range-holder input[type='range']::-webkit-slider-thumb {
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #dfdfdf;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
.range-holder input[type='range']::-moz-range-thumb {
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: #dfdfdf;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
.reset-holder {
  margin-top: 22px;
  text-align: right;
}

/* .reset {
    text-decoration: none;
    background: #dfdfdf;
    color: #000;
    display: inline-block;
    padding: 6px 17px;
    border-radius: 30px;
} */

a.reset:hover {
  color: #fff;
}
a.view-cart {
  text-decoration: none;
  padding: 18px 40px;
  background: #7e4399;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  border-radius: 30px;
  margin-top: 15px;
}
/* mdc-data-table thead/tfoot/cell — polished in "Frontend UI Polish" section */
.mdc-data-table__table tfoot {
  display: none !important;
}
.col-md-4 {
  width: 33%;
}
.leaddatacontainer .form-group {
  width: 50%;
}
.leaddatacontainer .custom-input {
  width: 100% !important;
  font-size: 15px !important;
}

.btn {
  width: auto;
  display: inline-block !important;
  padding: 16px 41px !important;
  font-size: 16px;
  border-radius: 30px !important;
  cursor: pointer;
  background: #000;
  color: #fff;
  font-weight: 400;
  border: none;
}
.leaddatacontainer .form-group-wrap {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.button-back {
  width: 100%;
  display: inline-block !important;
  max-width: 160px;
  padding: 18px 10px !important;
  font-size: 16px;
  border-radius: 30px !important;
  cursor: pointer;
  text-decoration: none;
  background: #000;
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-weight: 400 !important;
}
.success {
  text-align: center;
  font-size: 23px;
  color: #000;
  background: #8481210d;
  padding: 15px;
  border: 1px solid #00800069;
  max-width: 710px;
  margin: 20px auto;
}
.leaddatacontainer form.row {
  margin-top: 30px;
}
.top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.leaddatacontainer .top-head a.button-back {
  min-width: 180px;
}
.leaddat th,
.leaddat td {
  padding: 15px 10px;
  text-align: left;
}

.leaddat th {
  width: 24%;
}
.label.mb-2 {
  margin-bottom: 30px;
}
input.custom-input::placeholder {
  font-size: 15px;
}

/* =========== slider css =========== */

[slider] {
  position: relative;
  height: 14px;
  border-radius: 10px;
  text-align: left;
  margin: 45px 0 10px 0;
}

[slider] > div {
  position: absolute;
  left: 13px;
  right: 15px;
  height: 14px;
}

[slider] > div > [inverse-left] {
  position: absolute;
  left: 0;
  height: 10px;
  border-radius: 10px;
  background-color: #ccc;
  margin: 0 7px;
}

[slider] > div > [inverse-right] {
  position: absolute;
  right: 0;
  height: 10px;
  border-radius: 10px;
  background-color: #ccc;
  margin: 0 7px;
}

[slider] > div > [range] {
  position: absolute;
  left: 0;
  height: 10px;
  border-radius: 14px;
  background-color: #000;
}

[slider] > div > [thumb] {
  position: absolute;
  top: -7px;
  z-index: 10;
  height: 18px;
  width: 18px;
  text-align: left;
  margin-left: -7px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(115, 74, 157, 0.4);
  background-color: #734a9d;
  border-radius: 50%;
  outline: none;
}

[slider] > input[type='range'] {
  position: absolute;
  pointer-events: none;
  -webkit-appearance: none;
  z-index: 9999;
  height: 11px;
  top: -2px;
  width: 97%;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
  left: 2%;
}

div[slider] > input[type='range']::-ms-track {
  -webkit-appearance: none;
  background: transparent;
  color: transparent;
}

div[slider] > input[type='range']::-moz-range-track {
  -moz-appearance: none;
  background: transparent;
  color: transparent;
}

div[slider] > input[type='range']:focus::-webkit-slider-runnable-track {
  background: transparent;
  border: transparent;
}

div[slider] > input[type='range']:focus {
  outline: none;
}

div[slider] > input[type='range']::-ms-thumb {
  pointer-events: all;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0 none;
  background: transparent;
}

div[slider] > input[type='range']::-moz-range-thumb {
  pointer-events: all;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0 none;
  background: transparent;
}

div[slider] > input[type='range']::-webkit-slider-thumb {
  pointer-events: all;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0 none;
  background: transparent;
  -webkit-appearance: none;
}

div[slider] > input[type='range']::-ms-fill-lower {
  background: transparent;
  border: 0 none;
}

div[slider] > input[type='range']::-ms-fill-upper {
  background: transparent;
  border: 0 none;
}

div[slider] > input[type='range']::-ms-tooltip {
  display: none;
}

[slider] > div > [sign] {
  opacity: 1;
  position: absolute;
  margin-left: -7px;
  top: -30px;
  z-index: 3;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

[slider] > div > [sign]:after {
  position: absolute;
  content: '';
  left: 0;
  border-radius: 16px;
  top: 19px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top-style: solid;
}

[slider] > div > [sign] > span {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: #000;
  position: relative;
  z-index: 10;
}

[slider]:hover > div > [sign] {
  opacity: 1;
}
.filter-left-wrap .row {
  align-items: self-end;
}
/* leadssrt h2 — polished version in "Frontend UI Polish" section */
.entry-header h1 {
  text-align: center;
}
.lead-main-wrap {
  /* max-width: 700px; */
  margin: auto;
}
.top-hdr-info ul {
  clear: both;
  margin: 10px !important;
}

.payment_options_container .paymentttl {
  font-size: 21px;
  margin-right: 20px;
}
/* ==================================== new css ==================================== */

.head-lead .col-md-6.logo2 {
  text-align: right;
  display: inline-block;
  font-weight: 600;
}

.head-lead .col-md-6.logo2 img {
  margin: 12px 6px 12px 0px;
}

a.leadaddtocart.buyleadbtn {
  background: #734a9d !important;
  display: inline-block;
  /* height: 37px; */
  line-height: 18px;
  width: 133px;
  margin: 10px 0;
}

a.added.buyleadbtn {
  background: #734a9d !important;
  display: inline-block;
  /* height: 37px; */
  line-height: 18px;
  width: 133px;
  margin: 10px 10px 10px 0;
}
a.remove_cart.buyleadbtn {
  display: inline-block;
  /* height: 37px; */
  line-height: 18px;
  width: 133px;
  margin: 10px 0px 0px 0px;
}

.buyleadbtn {
  line-height: 1em !important;
  text-decoration: none !important;
}
.top-hdr-info ul li {
  font-size: 16px;
  line-height: 28px;
}
input.button-back.add_buyer_note {
  color: #000;
}

/* .container {
  width: 1140px !important;
  margin: auto;
  padding: 0 !important;
} */
div#leads_notifications {
  background: #fff !important;
  padding: 28px;
  border-radius: 10px;
  display: inline-block;
  width: 100%;
}
div#leads_notifications select {
  width: 50%;
  float: left;
  margin-right: 15px;
}
div#leads_notifications input.btn.btn-primary {
  float: left;
  border-radius: 10px !important;
}
div#leads_notifications h5 {
  font-size: 16px;
  font-weight: 600;
}
div#wp-buyer_note-editor-container {
  border: none;
  margin: 10px 0;
}
.top-hdr-info p {
  float: left;
  margin: 0 !important;
}

.payment_options_form .ghax_paypal_form .form-group {
  width: 31%;
  float: left;
  margin: 0 18px 0 0px;
}

.payment_options_form .ghax_paypal_form .form-group:nth-child(6),
.payment_options_form .ghax_paypal_form .form-group:nth-child(8),
.payment_options_form .ghax_paypal_form .form-group:nth-child(7),
.payment_options_form .ghax_paypal_form .form-group:nth-child(9) {
  width: 23%;
  float: left;
}

.payment_options_form .ghax_paypal_form .form-group:nth-child(8) input {
  float: left;
}

.payment_options_form .ghax_paypal_form .form-group input {
  border: 0 !important;
}

.payment_options_form .ghax_paypal_form .form-group select {
  border: 0 !important;
}

.payment_options_form .ghax_paypal_form .paypalbtn {
  width: auto;
  display: inline-block !important;
  padding: 24px 40px !important;
  font-size: 16px;
  border-radius: 13px !important;
  cursor: pointer;
  font-weight: 400;
  line-height: 4px;
  background: #333 !important;
}
.payment_options_container {
  width: 100%;
  float: left;
}
.payment_options_container .paymentttl {
  float: left;
  width: 22%;
  margin: -8px 0 0 0;
  display: inline-block;
}
#paypalopt {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
#stripeout {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
#stripeout {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  margin-left: -7px;
  background: #734a9d !important;
}
.maindiv {
  display: inline-block;
  width: 100%;
  margin-top: 40px;
}
.maindiv label {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  margin-bottom: 11px;
  display: block;
  width: 100%;
}
.maindiv input {
  background: #f3f3f3 !important;
  border-radius: 10px !important;
}

.maindiv select {
  background: #f3f3f3 !important;
  border-radius: 10px !important;
}
.maindiv input.sel {
  margin: 0 15px 0 0px;
}
#payment-form .form-group {
  width: 31%;
  float: left;
  margin: 0 18px 0 0px;
}

#payment-form label {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  margin-bottom: 11px;
  display: block;
  width: 100%;
}

#payment-form input {
  border: none !important;
  background: #f3f3f3 !important;
}
.CardField.CardField--ltr {
  background: #f3f3f3 !important;
}
.price span {
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 36px;
  letter-spacing: 0.005em;
  color: #ffffff;
}

/* pagination prev/next — polished in "Frontend UI Polish" section */

.mdc-data-table__table thead th {
  font-style: normal;
  font-weight: 600;
  font-size: 16px !important;
  line-height: 16px;
  color: #333333 !important;
  font-style: normal;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 16px;
}
div.dataTables_wrapper
  table.mdc-data-table__table
  thead
  tr
  th.sorting_asc:before,
div.dataTables_wrapper
  table.mdc-data-table__table
  thead
  tr
  th.sorting_desc:after {
  opacity: 1 !important;
  color: #734a9d;
}

div.dataTables_wrapper table.mdc-data-table__table thead tr th.sorting:after {
  opacity: 1 !important;
  color: #734a9d;
}

.mdc-data-table__table tfoot {
  display: none;
}

.dataTable th {
  position: relative !important;
}

.dataTable th:after {
  content: '▾' !important;
  bottom: 30% !important;
  position: absolute !important;
  right: 5px !important;
}

.dataTable th:before {
  content: '▴' !important;
  bottom: 40% !important;
  position: absolute !important;
  color: #734a9d;
  right: 5px !important;
}

/* paginate_button.current — polished in "Frontend UI Polish" section */

.lead-main-wrap .price {
  display: inline-block;
  background: #734a9d;
  color: #fff;
  padding: 40px;
  border-radius: 12px;
}

.payment_options_container a {
  text-decoration: none !important;
}

form#payment-form .form-group {
  margin-bottom: 10px;
}

/* =========== Frontend UI Polish =========== */

/* -- Filter section card -- */
.filter-holder {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px 10px 10px;
  margin-bottom: 24px;
  margin-top: 18px;
}

.filter-holder label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.custom-input {
  background: #f7f7f8 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px !important;
  height: 46px !important;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-input:focus {
  border-color: #734a9d !important;
  box-shadow: 0 0 0 3px rgba(115,74,157,0.10) !important;
  outline: none;
}

/* -- Slider label text -- */
[slider] > div > [sign] > span {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

/* -- DataTables wrapper styling -- */
#leadstbl_wrapper,
div.dataTables_wrapper {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px 24px;
  margin-top: 4px;
}

/* DataTables top controls row */
div.dataTables_wrapper .dataTables_length,
div.dataTables_wrapper .dataTables_filter {
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
}

div.dataTables_wrapper .dataTables_length label,
div.dataTables_wrapper .dataTables_filter label {
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

div.dataTables_wrapper .dataTables_length select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  background: #f7f7f8;
  margin: 0 6px;
  min-width: 60px;
  height: auto;
}

div.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  background: #f7f7f8 !important;
  margin-left: 8px;
  width: 200px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

div.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #734a9d !important;
  box-shadow: 0 0 0 3px rgba(115,74,157,0.10) !important;
  outline: none;
}

/* DataTables info text */
div.dataTables_wrapper .dataTables_info {
  font-size: 13px;
  color: #888;
  padding-top: 12px;
}

/* DataTables pagination */
div.dataTables_wrapper .dataTables_paginate {
  padding-top: 12px;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  margin: 0 3px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #555 !important;
  background: #fff !important;
  transition: all 0.15s;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f5f0fa !important;
  border-color: #734a9d !important;
  color: #734a9d !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.current,
#leadstbl_wrapper .dataTables_paginate .paginate_button.current {
  background: #734a9d !important;
  border-color: #734a9d !important;
  color: #fff !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.4;
  cursor: default;
}

/* -- Table header -- */
.mdc-data-table__table thead,
.leadssrt table thead {
  background: #f9f7fb !important;
}

.mdc-data-table__table thead th,
.leadssrt table thead th {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #555 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 20px !important;
  border-bottom: 2px solid #e8e8e8 !important;
}

/* -- Table cells -- */
div.dataTables_wrapper .mdc-data-table__cell,
.leadssrt table td {
  padding: 18px 20px !important;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0 !important;
}

/* Alternating row tint */
.leadssrt table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.leadssrt table tbody tr:hover {
  background-color: #f5f0fa;
}

/* -- Purchase buttons -- */
a.leadaddtocart.buyleadbtn {
  background: #734a9d !important;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
}

a.leadaddtocart.buyleadbtn:hover {
  background: #5f3c82 !important;
  transform: translateY(-1px);
}

a.added.buyleadbtn {
  background: #734a9d !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

a.remove_cart.buyleadbtn {
  background: #555 !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}

a.remove_cart.buyleadbtn:hover {
  background: #333 !important;
}

/* -- View Cart button -- */
.cart-btn-top .buyleadbtn {
  background: #333 !important;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}

.cart-btn-top .buyleadbtn:hover {
  background: #111 !important;
  transform: translateY(-1px);
}

/* -- Price strikethrough -- */
.leadssrt table td del {
  color: #aaa;
  font-size: 13px;
}

/* -- Custom field info labels -- */
.leadtrail-cfields strong,
.leadtrail-cfields b {
  color: #555;
  font-weight: 600;
  font-size: 13px;
}

/* -- Page heading -- */
.leadssrt h2 {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px;
}

/* =========== Responsive: Table horizontal scroll (desktop only) =========== */
@media screen and (min-width: 768px) {
  .leadssrt {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .leadssrt table {
    min-width: 700px;
  }
}

/* Discount price strikethrough */
.leadssrt table td del {
  color: #999;
  margin-right: 4px;
}

/* =========== Responsive Styles =========== */

/* ---- Mobile card layout for lead tables (767px and below) ---- */
@media screen and (max-width: 767px) {

  /* Layout */
  .col-md-4 {
    width: 100% !important;
  }

  .col-md-6 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .row {
    flex-direction: column;
  }

  .leads_container {
    padding: 2%;
  }

  .leadssrt {
    overflow-x: visible !important;
    padding: 0;
  }

  /* ---- Force table out of table layout ---- */
  .leadssrt table,
  .leadssrt table.mdc-data-table__table,
  .leadssrt .mdc-data-table__table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    border: none !important;
  }

  .leadssrt table thead,
  .leadssrt .mdc-data-table__table thead {
    display: none !important;
  }

  .leadssrt table tfoot,
  .leadssrt .mdc-data-table__table tfoot {
    display: none !important;
  }

  .leadssrt table tbody,
  .leadssrt .mdc-data-table__table tbody {
    display: block !important;
  }

  /* ---- Each row becomes a card ---- */
  .leadssrt table tbody tr,
  .leadssrt .mdc-data-table__table tbody tr {
    display: block !important;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }

  /* ---- Each cell becomes a row inside the card ---- */
  .leadssrt table tbody tr td,
  .leadssrt table tbody tr td.mdc-data-table__cell,
  .leadssrt .mdc-data-table__table tbody tr td,
  div.dataTables_wrapper .leadssrt table tbody tr td,
  div.dataTables_wrapper .mdc-data-table__cell {
    display: flex !important;
    align-items: center;
    padding: 7px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-break: break-word;
    background: transparent !important;
    width: 100% !important;
    float: none !important;
    text-align: left !important;
  }

  /* Hidden cells must stay hidden */
  .leadssrt table tbody tr td[style*="display:none"],
  .leadssrt table tbody tr td[style*="display: none"] {
    display: none !important;
  }

  /* ---- data-label pseudo-element ---- */
  .leadssrt table tbody tr td::before,
  div.dataTables_wrapper .mdc-data-table__cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    margin-right: 12px;
    flex-shrink: 0;
    min-width: 100px;
    font-size: 14px;
  }

  /* Last cell (Purchase button) — no label, centered */
  .leadssrt table tbody tr td:last-child {
    border-bottom: none !important;
    padding-top: 12px !important;
    justify-content: flex-end;
  }

  .leadssrt table tbody tr td:last-child::before {
    display: none;
  }

  /* ---- Card buttons ---- */
  a.leadaddtocart.buyleadbtn,
  a.added.buyleadbtn,
  a.remove_cart.buyleadbtn,
  a.directbuy.buyleadbtn {
    display: inline-block;
    padding: 11px 22px;
    font-size: 15px;
    border-radius: 12px;
    min-width: 130px;
    text-align: center;
    margin: 4px 4px 4px 0;
  }

  .detailleadbtn {
    min-width: 100%;
    margin: 5px 0;
  }

  /* Custom field info stacking */
  .leadtrail-cfields {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* ---- Filters ---- */
  .filter-holder {
    padding: 10px;
    margin-top: 10px;
  }

  .filter-holder .col-md-4 {
    width: 100% !important;
  }

  .form-holder {
    padding: 6px 0;
  }

  .custom-input {
    font-size: 16px;
    height: 46px !important;
  }

  /* Price slider touch targets */
  [slider] input[type="range"] {
    height: 22px;
  }

  [slider] > div > [thumb] {
    height: 20px;
    width: 20px;
    top: -14px;
  }

  a.view-cart {
    padding: 14px 25px;
    font-size: 16px;
  }

  /* ---- DataTables controls ---- */
  .dataTables_paginate {
    text-align: center !important;
    margin-top: 15px;
  }

  .dataTables_info {
    text-align: center !important;
    margin-bottom: 10px;
  }

  .dataTables_length,
  .dataTables_filter {
    text-align: center !important;
    margin-bottom: 10px;
  }

  .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 5px;
  }

  /* ---- Payment page ---- */
  .top-hdr-info {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  .top-hdr-info ul {
    float: none;
  }

  .top-hdr-info p {
    float: none;
  }

  .lead-main-wrap .price {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    padding: 25px;
  }

  .payment_options_container {
    float: none;
    padding: 20px 0 0 0;
  }

  .payment_options_container .paymentttl {
    float: none;
    width: 100%;
    margin-bottom: 15px;
    display: block;
  }

  .payment_options_form .ghax_paypal_form .form-group,
  .payment_options_form .ghax_paypal_form .form-group:nth-child(6),
  .payment_options_form .ghax_paypal_form .form-group:nth-child(7),
  .payment_options_form .ghax_paypal_form .form-group:nth-child(8),
  .payment_options_form .ghax_paypal_form .form-group:nth-child(9) {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
  }

  #payment-form .form-group {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
  }

  .paymentoptt {
    padding: 10px 15px;
    font-size: 14px;
    min-width: auto;
  }

  .payment_options_form .ghax_paypal_form .paypalbtn {
    padding: 18px 30px !important;
    width: 100%;
    font-size: 15px;
  }

  .stripebtn,
  .paypalbtn {
    width: 100%;
    text-align: center;
  }

  /* Buy button base */
  .buyleadbtn {
    min-width: 100px;
    font-size: 14px;
    padding: 12px 8px;
  }

  /* ---- Lead detail page ---- */
  .top-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }

  .leaddatacontainer .form-group {
    width: 100%;
  }

  .leaddatacontainer .top-head a.button-back {
    min-width: 140px;
  }

  .button-back {
    padding: 14px 10px !important;
    font-size: 14px;
  }

  .leaddat th {
    width: 35%;
  }

  .lead-main-wrap input[type='text'],
  .lead-main-wrap input[type='email'],
  .lead-main-wrap select {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .price span {
    font-size: 28px;
    line-height: 28px;
  }

  .success {
    font-size: 18px;
    padding: 12px;
  }

  .psuccess,
  .perror {
    font-size: 15px;
    padding: 10px;
  }

  .leaddet_container h2 {
    font-size: 20px;
  }

  input.sel {
    width: 60px !important;
  }

  /* Notification settings */
  div#leads_notifications select {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }

  div#leads_notifications input.btn.btn-primary {
    float: none;
    width: 100%;
  }

  /* Discount tier settings rows */
  .lt-tier-row {
    flex-wrap: wrap !important;
  }

  /* Lead detail table card layout */
  .leaddat {
    display: block;
  }

  .leaddat tr {
    display: block;
    margin-bottom: 8px;
  }

  .leaddat th,
  .leaddat td {
    display: block;
    width: 100%;
    padding: 8px 10px;
  }

  .leaddat th {
    background: #f3f3f3;
    font-weight: 600;
  }
}
