.pagination li{float:left;padding:5px;margin-left:2px;list-style-type: none !important;}
#customers {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
  font-family: "Open Sans", Sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 27px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}
#customers tr:hover {background-color: #ddd;}
#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #FF9900;
  color: white;
}
table { border-collapse: collapse; }
.inline {
  display: inline-block;
  float: right;
  margin: 20px 0px;
}
input, button{ height: 34px; }

.pagination { display: inline-block; }
.pagination a {
  font-weight:bold;
  font-size:18px;
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border:1px solid black;
}
.pagination a.active {
  background-color: pink;
}
.pagination a:hover:not(.active) {
  background-color: skyblue;
}
li{list-style-type: none !important;}

/* #user-registration.vertical .user-registration-MyAccount-navigation { width: 100% !important; } */

.in{
  font-weight: bold;
  font-size: 18px;
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid black;
}

.main-boday{ margin-top: 100px; }
.black_overlay{
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index:1001;
  -moz-opacity: 0.8;
  opacity:.80;
  filter: alpha(opacity=80);
}
.dgc{ color: #696969; }

.white_content {
  display: none;
  position: fixed;
  top: 23%;
  left: 35%;
  width: 30%;
  padding: 16px;
  color:#A9A9A9;
  background-color:white;
  z-index: 1002;
  overflow: auto;
  color: white;
}
.wpforms-field-label{ color: white; }
.black_overlay {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
}

li {
  list-style-type: none;
  color: #FF9900;
}
.first {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.last {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
.currentpage { background: #D3D3D3; }

.rowss {
  margin-top: 1%;
  clear: both;
  width: 80%;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  min-height: 191px;
  border-radius: 6px;
  overflow: hidden;
}
.col1 {
  width: 75%;
  float: left;
  padding: 5%;
  font-family: Lato;
}
.col2 {
  width: 25%;
  float: left;
  padding-left: 1%;

  padding-top: 2%;
  padding-right: 1%;
}
.head {
  font-weight: 400;
  font-size: 21px;
  margin-bottom1: 10px;
  color: #FF9900;
}
.other {
  font-family: Lato;
  font-size: 0.875rem !important;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
}

.clr1{ clear:both; }

.atag{ margin: 0 5px; }

.btn11 {
  font-family: Lato;
  font-size: 0.875rem !important;
  text-align: center;
  background-color: white;
  color: #FF9900;
  border-radius: 3px !important;
  text-decoration: none;
  border: 1px solid #FF9900;
}

/* Loading content text css */
.render_dynamic_content.loading {
  opacity: 0.5;
  position: relative;
}
.render_dynamic_content.loading::after {
  content: "Loading...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
}

.main-boday{ 
    margin-top: 50px; 
}
.saved_search_content_body {
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
  border: 1px solid lightgray;
  transition: height 0.3s ease;
  overflow: hidden;
}
.saved_search_content_body .user-registration{
  margin: 0 !important;
  background: #F6F5FA !important;
  flex: 1 1 250px;
  min-width: 250px; 
}
.saved_search_content_body .saved_search_content_main{
  flex: 2 1 600px;
  min-width: 300px;
}
.saved_search_content_main .saved_search_content{
  padding: 22px;
  clear:Both;
  min-height:450px
}

.user-registration .user-registration-MyAccount-navigation-link.user-registration-MyAccount-navigation-link--user-logout {
  margin: 80px 0px 10px 15px !important;
}

/* ====== Saved Search Table ====== */
.saved-search-table-main {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: Open Sans;
}

/* Table Base Styling */
#saved-search-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
  margin-top: 0px !important;
}

#saved-search-table,
#saved-search-table th,
#saved-search-table td,
#saved-search-table tr {
  border: none !important;       
  box-shadow: none !important;
}

/* Header Styling */
#saved-search-table thead th {
  background: #fdf1df;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  color: #333;
  border: none;
}

/* Table Rows */
#saved-search-table tbody tr {
  border: none;
  transition: background 0.2s ease;
}

#saved-search-table.dataTable.stripe tbody tr.odd {
  background: #ffffff !important;
}
#saved-search-table.dataTable.stripe tbody tr.even {
  background: #F6F5FA !important;
}

#saved-search-table tbody td:first-child {
  font-weight: 600;
}

#saved-search-table td {
  padding: 10px 10px;
  border: none;
  vertical-align: middle;
  color: #444;
}

/* Dropdown (Preferences) */
#saved-search-table select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  min-width: 100px;
  color: #374151;
}
#saved-search-table select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

/* Action Buttons (Edit/Delete) */
#saved-search-table .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 4px;
    border-radius: 6px;
    background: transparent;
    border: none; 
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 15px;
}

/* Hover effect for all */
.edit_button, .edit_button:hover, .delete_button, .delete_button:hover {
  border: none;
  background: none;
  background-color: unset !important;
  padding: 5px;
}
.run_search_button {
  background: #f59e0b;
  color: white;
  padding: 5px;
  border-radius: 5px;
}
.run_search_button:hover {
  color: white;
}

/* Delete button hover only */
#saved-search-table .action-btn.delete:hover {
  background: #ffe5e5;
  color: #d00;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* Default (Unchecked / OFF) styles */
.slider {
  position: absolute;
  cursor: pointer;
  top: -2px;
  left: 0;
  right: -2px;
  bottom: 0;
  background-color: #F6F5FA; 
  border: 1px solid #7A7A7A; 
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #7A7A7A;  
  transition: 0.4s;
  border-radius: 50%;
}
/* Checked (ON) state */
input:checked + .slider {
  background-color: #E0FFE9; 
  border: 1px solid #27A248;   
}
input:checked + .slider:before {
  transform: translateX(18px); 
  background-color: #27A248;   
}
input:focus + .slider {
  box-shadow: 0 0 2px #27A248;
}

/* Title + Criteria */
.title-with-criteria {
	display: flex;
}
.criteria-wrapper.all-criteria {
	display: grid;
  justify-content: left;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: white;
  padding: 6px 0px 6px 8px;
	width: 80%;
}
.criteria-wrapper.all-criteria .criteria{
	font-family: Open Sans;
  font-size: 14px;
	font-weight: 400;
}
.criteria-wrapper.all-criteria .criteria label{
	font-weight: 600;
}

/* Pagination */
.saved_search_bottom_section .showing_entries_div{
  color: #7A7A7A;
  font-size: 14px;
  font-family: 'Open Sans';
  padding-left: 5px;
}
.pagination1 li {
  float: left;
  padding-left: 12px;
  padding-right: 12px;
  height: 28px;
  margin: 0px 5px;
  color: #333;
  border: none;
}
.pagination1 li a{
  color: #333;
  font-size: 12px;
  font-family: 'Open Sans';
}
.pagination1 .first, .pagination1 .last {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border: 1px solid #D3D3D3;
  border-radius: 10px;
}
.pagination1 .currentpage {
  background: #F6F5FA;
  border-radius: 10px;
}

/*---------- Mobile/Responsive styles ----------*/
@media (max-width: 430px) {
  .pagination1 {
    padding: unset !important;
  }
  .pagination1 li {
    padding: 5px 8px;
    font-size: 12px;
    min-width: auto;
    margin: 0px 5px;
  }
  .criteria-wrapper.all-criteria {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .saved_search_content_body {
    flex-direction: column;
  }

  .saved_search_content_body .user-registration,
  .saved_search_content_body .saved_search_content_main {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .saved_search_content_body .user-registration {
    background: none !important;
    box-shadow: none !important;
    padding: 15px;
  }

  .user-registration .user-registration-MyAccount-navigation-link.user-registration-MyAccount-navigation-link--user-logout {
    margin: unset !important;
  }

  #saved-search-table,
  #saved-search-table thead,
  #saved-search-table tbody,
  #saved-search-table th,
  #saved-search-table td,
  #saved-search-table tr {
    display: block;
    /* width: 100%; */
  }

  /* Hide table headers (they will be shown with data-label) */
  #saved-search-table thead {
    display: none;
  }

  /* Each row looks like a card */
  #saved-search-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  /* Each cell */
  #saved-search-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border: none;
    border-bottom: 1px solid #eee;
  }

  #saved-search-table td:last-child {
    border-bottom: none;
  }

  /* Show labels from data-label attribute */
  #saved-search-table td:before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1;
    color: #333;
  }

  #saved-search-table td input, #saved-search-table td button {
    max-width: 150px;
  }
  .saved_search_bottom_section{
    display: inline-block;
    justify-content: center;
    /* padding: 10px; */
    text-align: center;
    margin-bottom: 20px;
  }
  #saved-search-table td select {
    width: 25px;
  }
  .run_search_button {
    display: none;
  }
  .run_search_button_mbv {
    display: block;
    margin-top: 5px;
  }
  .pagination_section {
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }
  .criteria-wrapper.all-criteria {
    width: 100%;
  }
}

/* Tablet (iPad, ≥768px) and up */
@media (min-width: 768px) {
  .saved_search_bottom_section {
      display: flex;
      justify-content: space-between;
      padding: 10px;
  }
  .run_search_button_mbv {
    display: none;
  }
  .run_search_button {
    display: inline-block;
  } 

  .saved_search_content_body {
    flex-direction: row;
  }
  .saved_search_content_body .user-registration {
    max-height: 580px; 
    flex: 0 0 25%;
  }
  .saved_search_content_body .saved_search_content_main {
    flex: 1 0 65%;
  }
}

/* Desktop View (≥1024px) */
@media (min-width: 1024px) {
  .saved_search_content_body .user-registration {
    max-height: 580px; 
    flex: 0 0 20%;
  }
  .saved_search_content_body .saved_search_content_main {
    flex: 1 0 75%;
  }
}