/*
Theme Name: RVB Builders
Theme URI: https://rvbbuilders.com
Description: Child theme for Astra customized for RVB Builders
Author: Your Name or Company
Template: astra
Version: 1.0.0
*/

/* @import "tailwindcss"; */

/* style.css - Tailwind input file */

/* @tailwind base;
@tailwind components;
@tailwind utilities; */

#hide-it{
    display: none;
}

/** Header **/
.site-header {
    /* background: #504026; */
      background-image: linear-gradient(to right, #0e0603, #5e3627);
}
.home .site-header, .page-id-1810 .site-header {
    background: none;
}
.main-navigation .menu-link {
    background: #18181973;
    margin: 10px 8px;
    padding: 8px 20px !important;
    line-height: normal;
    border-radius: 30px;
}
/** Home Page **/
div#three-col-section {
    background-color: var(--e-global-color-astglobalcolor4);
}
#three-col-section-inner {
    background-color: var(--e-global-color-astglobalcolor4);
    --column-gap: 50px;
    --border-radius: 24px 24px 24px 24px;
    box-shadow: 0px 8px 28px 0px rgba(0, 0, 0, 0.07);
    --margin-top: -85px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 34px;
    --padding-bottom: 34px;
    --padding-left: 50px;
    --padding-right: 50px;
    --z-index: 2;
}

#stats-counter {
    padding: 30px;
    background-color: #ff6600; /* example background */
    color: white;
}

#stats-counter > .elementor-element {
    padding: 20px;
}

#stats-counter > .elementor-element:nth-child(n+4) {
     border-top: 1px solid white;  /* upper border on 2nd, 3rd, 4th boxes */
}

/* Optional: Space between icon, number, and text */
.elementor-icon-box-wrapper {
    align-items: center;
}

#stats-container .elementor-icon-box-title {
    margin: 5px 0;
}

#stats-counter > .elementor-element:nth-child(3), #stats-counter > .elementor-element:nth-child(6) {
    border-right: none;
}

/** Homepage Page end **/

/**Content Pages **/
#page .site-content {
       padding-top: 150px;
}
.home #page .site-content, .page-id-1810 #page .site-content {
       padding-top:0;
}

/** Buttons **/

#btn_1 a{
    box-shadow: -15px 20px 50px 0px rgb(255 87 34 / 38%);
    border-radius: 28px;
}

/** Footer **/
.site-footer {
    background-image: linear-gradient(#0e0603, #1c0e09);
}
.site-footer, .site-footer a {
    color: #ccc;
}
.site-footer h2 {
    color: #ccc;
}
.ast-footer-copyright p {
    color: #ccc;
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-top-color: #ccc;
    max-width: 1200px;
    margin: 0 auto;
}
/** Footer Contact Card **/
.contact-card {
      /* background-color: var(--ast-global-color-0); */
      color: #fff;
    
}
.contact-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-icon {
    background-color: var(--e-global-color-astglobalcolor1);
    color: #000;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}
.contact-icon svg {
    width: 24px;
    height: 24px;
}
.contact-info p {
    margin: 0;
    line-height: 1.4;
}
.contact-info p:first-child {
    font-weight: bold;
}
.contact-info p:last-child {
    font-size: 14px;
    color: #cccccc;
}

.footer-area-privacy-link {
    display: flex;
    justify-content: right;
    gap: 8px;
}
/** Stats Section **/
#stats-counter {
    background: #ff6900;
    color: #FFFFFFB8;
}
#stats-container{
    border-right: 1px solid #FFFFFFB8;
}
div#stats-counter {
    border-radius: 20px;
    box-shadow: -13px 20px 70px 0px rgb(255 87 34 / 39%);
    /* animation-timing-function: cubic-bezier(.165,.84,.44,1); */
    /* box-shadow: -5px -5px 30px 5px red, 5px 5px 30px 5px blue; */
    margin-top: 64px;
    margin-bottom: 84px;
}

/** Join Us Section footer**/
 .join-section {
       /* outer orange */
    }

    .join-container {
      background-color: #f9d7a7; /* inner beige */
      border-radius: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 40px;
      max-width: 1200px;
      width: 100%;
    }

    .join-left {
      flex: 1;
      padding-right: 30px;
    }

    .join-left h4 {
      font-size: 14px;
      margin: 0 0 10px 0;
      font-weight: 600;
      color: #03312E;
    }

    .join-left h2 {
      font-size: 24px;
      font-weight: 800;
      color: #03312E;
      margin: 0;
      line-height: 1.4;
    }

    .join-right {
      flex: 1;
      text-align: left;
    }

    .join-right p {
      font-size: 14px;
      color: #03312E;
      margin-bottom: 20px;
    }

    .join-btn {
      background-color: #f96443;
      color: #fff;
      font-weight: bold;
      border: none;
      padding: 20px 30px;
      border-radius: 50px;
      cursor: pointer;
      transition: 0.3s;
      box-shadow: -15px 20px 50px #ff572261;
    }

    .join-btn:hover {
      background-color: #e25433;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .join-container {
        flex-direction: column;
        text-align: center;
      }
      .join-left, .join-right {
        padding: 0;
      }
      .join-right {
        margin-top: 20px;
      }
    }

    /** Membership Dashboard **/
   /* .membership-dashboard {
  display: flex;
  gap: 20px;
}

.dashboard-sidebar {
  width: 200px;
  background: #f7f7f7;
  padding: 15px;
  border-radius: 8px;
}

.dashboard-sidebar ul {
  list-style: none;
  padding: 0;
}

.dashboard-sidebar ul li {
  margin: 10px 0;
}

.dashboard-sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.dashboard-content {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
} */


/* -------- Membership Dashboard Inspired by Eleget Dashboard -------- */

/* Root container */
.membership-dashboard {
  display: flex;
  min-height: 90vh;
  font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #444;
  padding: 20px;
  box-sizing: border-box;
  gap: 20px;
  width: 100%;
}

/* -------------------- Sidebar -------------------- */
.dashboard-sidebar {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgb(255 111 0 / 0.1);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* Sidebar logo */
.dashboard-sidebar::before {
  content: 'Membership';
  font-weight: 700;
  font-size: 1.85rem;
  color: #ff6f00;
  margin-bottom: 35px;
  letter-spacing: 1.2px;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

/* Sidebar nav list */
.dashboard-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Sidebar list items */
.dashboard-sidebar ul li {
  /* Transform each li to a button style */
}

/* Sidebar links - button style */
.dashboard-sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  background-color: transparent;
  user-select: none;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  box-shadow: 0 0 0 transparent;
}

/* Active and hover state for sidebar links */
.dashboard-sidebar ul li a:hover,
.dashboard-sidebar ul li a.active {
  background-color: #ff6f00;
  color: white;
  box-shadow: 0 8px 20px rgb(255 111 0 / 0.3);
  font-weight: 700;
}

/* -------------------- Content Area -------------------- */
.dashboard-content {
  flex: 1 1 auto;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.05);
  padding: 30px 40px;
  overflow-y: auto;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Tab content blocks */
.tab-content {
  display: none;
  animation: fadeInTab 0.35s ease forwards;
}

/* Show active tab */
.tab-content.active {
  display: block;
}

/* Subheading style */
.tab-content > h2 {
  font-weight: 700;
  font-size: 1.7rem;
  color: #222;
  margin-bottom: 20px;
  user-select: none;
}

/* Search bar styled like reference */
.search-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.search-wrapper input[type="search"] {
  width: 240px;
  padding: 10px 15px;
  border: 1.8px solid #eee;
  border-radius: 30px;
  transition: border-color 0.25s ease;
  font-size: 1rem;
  font-weight: 500;
  outline-offset: 2px;
  outline-color: #ff6f00;
}

.search-wrapper input[type="search"]:focus {
  border-color: #ff6f00;
}

.search-wrapper button {
  background: none;
  border: none;
  margin-left: -36px;
  cursor: pointer;
  font-size: 1.15rem;
  color: #ff6f00;
  user-select: none;
}

.search-wrapper button:focus {
  outline: none;
  color: #ff3d00;
}

/* Styled tables for Top Selling Product */
.top-selling-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  font-size: 0.95rem;
}

.top-selling-table thead tr {
  background-color: #fff;
}

.top-selling-table thead th {
  text-align: left;
  padding: 12px 18px;
  color: #666;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

.top-selling-table tbody tr {
  background-color: #fff;
  box-shadow: 0 6px 15px rgb(255 111 0 / 0.07);
  border-radius: 15px;
  transition: transform 0.25s ease;
}

/* Rounded corners for table rows */
.top-selling-table tbody tr td:first-child {
  padding-left: 18px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.top-selling-table tbody tr td:last-child {
  padding-right: 18px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.top-selling-table tbody tr:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgb(255 111 0 / 0.12);
}

.top-selling-table tbody td {
  padding: 14px 14px;
  vertical-align: middle;
  color: #444;
  font-weight: 500;
}

/* Product with icon and description */
.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-info .product-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ff6f00; /* placeholder orange circle */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: white;
  font-size: 1.4rem;
  user-select: none;
  flex-shrink: 0;
}

.product-info .product-text {
  display: flex;
  flex-direction: column;
}

.product-info .product-name {
  font-weight: 700;
  color: #222;
  font-size: 1rem;
  user-select: text;
}

.product-info .product-desc {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 400;
  user-select: text;
}

/* Pagination at bottom of tables */
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-top: 10px;
  user-select: none;
}

.pagination button,
.pagination span {
  padding: 7px 14px;
  border-radius: 50%;
  background-color: #fff;
  border: 1.8px solid #ff6f00;
  color: #ff6f00;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.pagination button.disabled {
  border-color: #eee;
  color: #eee;
  cursor: default;
}

.pagination span.current {
  background-color: #ff6f00;
  color: #fff;
  cursor: default;
}

/* Right sidebar style: for extra info (like New Customers and Buyers Profile) */
.dashboard-sidebar-extra {
  position: relative; /* allow dropdown menus etc */
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Panels on right */
.panel {
  background: #fff;
  border-radius: 18px;
  padding: 20px 25px;
  box-shadow: 0 6px 16px rgb(255 111 0 / 0.08);
  user-select: none;
}

/* Panel Title */
.panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #333;
  user-select: text;
}

/* List style for New Customers */
.new-customers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
}

.new-customers-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}

.new-customers-list li:last-child {
  border-bottom: none;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.customer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  user-select: none;
}

.customer-details {
  display: flex;
  flex-direction: column;
}

.customer-name {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  user-select: text;
}

.customer-location {
  font-size: 0.8rem;
  color: #aaa;
}

.customer-action button {
  background-color: #ff6f00;
  border: none;
  border-radius: 50%;
  color: white;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.customer-action button:hover {
  background-color: #ff3d00;
}

/* Buyers Profile Pie Chart placeholder styling */
.buyers-profile-chart {
  width: 100%;
  height: 200px;
  /* The actual chart will be injected here via JS or SVG */
}

/* Color legend matching the reference colors */
.color-legend {
  display: flex;
  gap: 22px;
  justify-content: space-around;
  margin-top: 16px;
}

.color-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  user-select: none;
  font-weight: 600;
}

.color-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.color-legend-dot.orange { background-color: #ff6f00; }
.color-legend-dot.green { background-color: #4cd964; }
.color-legend-dot.red { background-color: #ff3d00; }

/* ------------------ Animations -------------------- */
@keyframes fadeInTab {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------- Responsive --------- */
@media (max-width: 1100px) {
  .membership-dashboard {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    padding: 20px 25px;
    margin-bottom: 30px;
  }

  .dashboard-sidebar-extra {
    flex: 1 1 100%;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .dashboard-content {
    padding: 25px 25px;
    min-height: auto;
    flex: 1 1 100%;
  }
  .membership-dashboard {
    padding: 0px;
  }
}

@media (max-width: 720px) {

  .dashboard-sidebar ul {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-sidebar ul li a {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  /* Stack right panels vertically */
  .dashboard-sidebar-extra {
    flex-direction: column;
    gap: 20px;
  }
}

.pmpro-account #page .site-content {
    background: rgb(255, 244, 234);
}

/** Menu **/
.logged-in .ast-header-button-1
 {
    display: none;
}
a.my-account-btn, .logout-btn {
    color: #ffffff;
    background: var(--ast-global-color-0);
    border-color: var(--ast-global-color-0);
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 26px;
    padding-right: 26px;
    box-shadow: -15px 20px 50px 0px rgb(255 87 34 / 38%);
}
a.my-account-btn:hover, a.my-account-btn:focus, .logout-btn:hover, .logout-btn:focus {
    color: #ffffff;
    background-color: var(--ast-global-color-1);
    border-color: var(--ast-global-color-1);
}

/** Home page styles */
@media (max-width: 720px) {
  #stats-counter > .elementor-element {
      flex: 0 0 31.66%;
  }
  div#stats-counter {
    width: 91%;
    padding: 0;
    justify-content: center;
  }
  #stats-counter > .elementor-element {
      padding: 10px;
  }

  #stats-container .elementor-icon-box-wrapper {
      text-align: center;
  }
  #stats-container .elementor-icon {
      font-size: 28px;
  }

  /** Mobile Menu **/
  .main-navigation ul#ast-hf-mobile-menu {
      background: #e7d1b2;
  }
  .main-navigation a.menu-link {
      background: none !important;
      border-radius: 0px !important;
      width: 90% !important;
  }
}