/* staging 9 */
* {
  margin: 0;
  padding: 0;
}

body.woocommerce-account {
  background-color: #edf1f4;
  /* padding: 40px; */
  font-family: "Instrument Sans";
}

/* for header css */

.woocommerce-account .elementor-16263 {
  background-color: #fff;
}

.woocommerce-account body,
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-account h4,
.woocommerce-account h5,
.woocommerce-account h6,
.woocommerce-account p,
.woocommerce-account a,
.woocommerce-account span,
.woocommerce-account button {
  font-family: instrument sans !important;
  margin: 0;
}

/* Parent Container */
.woocommerce-myaccount {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.entry-header {
  display: none;
}

/* Main Content */
.dashboard-main {
  flex-grow: 1;
}

.subscription-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subscription-status {
  background-color: #f1f5ec;
  color: #047857;
  border: 1px solid #047857;
  border-radius: 90px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  font-size: 14px !important;
  font-weight: 500;
}

.subscription-status span {
  background: #047857;
  height: 8px;
  width: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 4px;
}

.subscription-status.active span {
  background-color: #047857;
}

.subscription-status.active {
  color: #047857;
  background-color: #f1f5ec;
  border-color: #047857;
}

.subscription-status.pending span {
  background-color: #434343;
}

.subscription-status.pending {
  color: #434343;
  border-color: #434343;
  background-color: #57575733;
}

.subscription-status.on-hold span {
  background-color: #f9c108;
}

.subscription-status.on-hold {
  color: #f9c108;
  border-color: #f9c108;
  background-color: #fdf0c596;
}

.subscription-status.cancelled span {
  background-color: #dc0505;
}

.subscription-status.cancelled {
  color: #dc0505;
  border-color: #dc0505;
  background-color: #f8c3bf7a;
}

/* Greeting Section */
.dashboard-main h2 {
  font-size: 24px;
  font-weight: bold;
}

.dashboard-main p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #06021f;
}

.link {
  color: #047857;
  text-decoration: underline;
}

.link:hover {
  color: #047857;
  text-decoration: underline;
}

.hide {
  display: none;
  transition: transform 0.3s ease-in-out;
}

/* Cards Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.dashboard_content_wrap {
  display: flex;
  gap: 20px;
}

.account-info .dashboard_content_wrap span {
  font-weight: 400;
  color: #06021F;
}

/* .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr; 
    gap: 20px;
    align-items: start;
} */
.myAccount-orders {
  grid-column: span 2;

}

.account-info {
  grid-column: span 1;
}

.left-column {
  display: grid;
  grid-template-rows: auto;
  gap: 20px;
}

.left-column-tab {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

/* Right Column: Help Center + Account Information */
.right-column {
  display: flex;
  flex-direction: column;
  /* Stack items vertically */
  gap: 20px;
}

.sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards */
.dashboard-box {
  background: white;
  padding: 24px;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  min-height: 229px;
  position: relative;
  gap: 10px;
  height: fit-content;
}

.dashboard-box p span {
  color: #047857;
}

.dashboard-box h3 {
  font-size: 24px;
}

.subscription,
.refer,
.help,
.account-info {
  /* min-height: 229px; */
}

.view-subscription-card {
  min-height: 249px;
}

/* Subscription Active Badge */
.subscription-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #1ea97c;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

#copied-text {
  color: #047857;
  margin-right: 3rem;
  margin-top: -1.3rem;
  justify-content: right;
  font-size: 12px;
}

/* Order section */
/* .orders-container {
    width: 100%;
    overflow-x: auto;
} */

/* Account Details css */
.account-details {
  font-weight: 500;
}

.my-account h4,
.my-account h2 {
  margin-bottom: 8px;
}

.account-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}


.action-buttons {
  display: flex;
  gap: 8px;
}

.password-change {
  justify-content: flex-start;
  height: fit-content;
}

.password-change h4,
.about-you h4 {
  margin-bottom: 24px;
}

.action-buttons button {
  display: flex;
  align-items: center;
  margin: auto;
  gap: 4px;
  padding: 4px 12px;
  border: none;
  background: #f3f3f3;
  border-radius: 40px;
  color: #333239;
  font-weight: 500;
}

.action-buttons button:hover {
  background-color: #f3f3f3;
  color: #333239;
}

.account-details-form input {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 1rem;
  font-weight: 500 !important;
  color: #333239;
  border-color: #d9d9d9;
}

.account-details-form label {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #06021f;
}

.account-details-form label,
.account-details-form input,
.account-details-form button {
  display: block;
}

.account-details-form button {
  margin-top: 10px;
}

.profile-picture {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.profile-picture img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.account-details-form .btn-save,
.swal2-actions .swal2-confirm,
.account-details-form .btn-change {
  background: #047857;
  color: #fff;
  /* padding: 10px 24px 8px 24px; */
  border-radius: 10px;
  border: none;
  display: inline-flex;
  gap: 8px;
  font-family: "Instrument Sans";
  padding: 12px 24px !important;
  font-weight: 600;
}

.btn-save svg {
  height: 20px;
  width: auto;
}

.btn-save:hover,
.btn-change:hover {
  background-color: #047857;
}

.help-center,
.account-info {
  background: white;
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
}

/* Quick Links */
.quick-links {
  font-size: 14px;
}

.quick-links a {
  color: #1ea97c;
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
}

.quick-links a:hover {
  text-decoration: underline;
}

.copy {
  margin-left: 10px;
  cursor: pointer;
}

/* .dashboard-box p:nth-child(3){
    display: inline-flex;
    gap: 8px;
    align-items: center;
} */

.my-subscription-table {
  margin-top: 24px;
}

.myAccount-button {
  display: inline-flex;
  padding: 10px 24px 10px 24px;
  border: 1px solid #9a9a9a;
  border-radius: 10px;
  background: white;
  color: #047857;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  gap: 10px;
  line-height: 1;
  align-items: center;
}

.view_subscription_card {
  color: #181d18;
  width: fit-content;
  border-color: #516350;
  padding: 12px 24px;
  border-radius: 8px;

}

h3.view_subscription_heading {
  font-size: 18px;
  font-weight: 600;

}

.myAccount-button:hover {
  background: #047857;
  color: #fff;
}

.cancel-sub-custom:hover {
  color: #dc0505;
  border-color: #dc0505;
  background-color: #f8c3bf7a;
}

.my-account-woocommerce-MyAccount-navigation {
  width: 100%;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  /* margin-right: 20px;
  float: left; */
  max-height: fit-content;
  max-width: 260px;
}

.my-account-woocommerce-MyAccount-navigation li {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #000;
}

.my-account-woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  left: 7px;
}

.my-account-woocommerce-MyAccount-navigation ul li {
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.my-account-woocommerce-MyAccount-navigation ul li a {
  text-transform: capitalize;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  height: 48px;

}

.my-account-woocommerce-MyAccount-navigation ul li:hover {
  background: #f1f5ec;
  color: #047857;
  border: 1px solid #04785766;
  border-radius: 8px;
}

.my-account-woocommerce-MyAccount-navigation ul li.is-active {
  background: #f1f5ec;
  color: #047857;
  border: 1px solid #04785766;
  border-radius: 8px;
}

.my-account-woocommerce-MyAccount-navigation ul li.is-active a:hover {
  color: #047857 !important;
}

.my-account-woocommerce-MyAccount-navigation ul li.is-active a {
  /* background: #F1F5EC; */
  color: #047857;
  /* border: 1px solid #04785766; */
  font-size: 16px;
  font-weight: 600 !important;
}

.my-account-woocommerce-MyAccount-navigation ul li.is-active a .navigation-svg {
  color: #047857;
  font-weight: 600;
}

.my-account-dropdown {
  color: #047857 !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  position: relative !important;
}

.navigation-svg {
  margin-right: 8px;
}

.my-account-woocommerce-MyAccount-navigation .icon {
  margin-right: 10px;
}

.vertical-hr {
  color: #9d9d9d !important;
  font-size: 16px;
  font-weight: 400;
  margin: auto 5px;
}

.my-subscription-table {
  margin-top: 24px;
}

/* Order table css */
.custom-table {
  background-color: #fff;
  padding: 24px;
  border-radius: 1rem;
}

.custom-table table {
  margin-top: 24px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
}

.custom-table h5 {
  font-weight: 600;
}

.custom-table .woocommerce-Price-amount bdi {
  font-size: 14px;
}

table td,
table th {
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 0.8rem;
  color: #111928;
  vertical-align: middle !important;
}

table thead th {
  background-color: #f9fafb !important;
  font-weight: 600;
}

table tbody tr:last-child td,
table tbody tr:last-child th {
  border-bottom: none !important;
}

/* Override bootstrap table css */
.custom-table tbody tr:nth-of-type(odd),
.custom-table tbody tr {
  background-color: transparent !important;
}

.status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.status.pending {
  color: #f9c108;
  background-color: #f9c10833;
}

.status.completed {
  background-color: #04785733;
  color: #047857;
}

.status.processing {
  background-color: #ffe6a5;
  color: #a67c00;
}

.status.cancel {
  background-color: #dc050533;
  color: #dc0505;
  float: none;
  font-weight: 600;
}

.woocommerce-view-order-button {
  background-color: #fff !important;
  color: #111928 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  padding: 0 !important;
}

.woocommerce-view-order-button::after {
  content: none !important;
  display: none !important;
}

.woocommerce-view-order-button svg {
  margin-right: 2px;
  margin-bottom: 5px;
}

/* Refer a friend css */
.referral-section {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  margin-top: 24px;
}

.share-refer {
  margin-top: 24px;
}

.unset-min-height {
  min-height: unset;
}

.referral-code {
  display: flex;
  justify-content: space-between;
  border-radius: 8px;
  padding: 16px 12px;
  background-color: #f2f2f2;
  color: #000;
  max-height: 48px;
  overflow: hidden;
  align-items: center;
}

.referral-code span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  max-width: 200px;
  /* margin-bottom: -4px; */
  display: flex;
  align-items: center;
}

.referral-code span:last-child {
  align-items: center;
}

.referral-btn {
  background-color: #047857;
  color: #fff;
  border-radius: 10px;
  padding: 10px 24px;
  margin-top: 10px;
}

.referral-btn:hover {
  background-color: #047857;
  color: #fff;
}

.share-refer h6 {
  font-weight: 500;
}

.icons {
  display: flex;
  /* justify-content: space-between; */
  gap: 12px;
}

.icons span {
  height: 48px;
  width: 48px;
  border-radius: 48px;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icons span a {
  display: flex;
  align-items: center;
}

/* Adding css in page.php in */
.woocommerce-account main {
  max-width: 1700px !important;
  padding: 0 10px;
  margin: auto;
}

.woocommerce:has(.custom-my-account-content) {
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 24px;
  /* padding: 0,10px; */
  justify-items: end;
}

.custom-my-account-content {
  width: 100% !important;
}

.custom-my-account-content p {
  font-size: 16px;
  color: #06021f;
  font-weight: 400;
  line-height: 24px;
}

/* Dropdown Menu */
.my-account-dropdown {
  display: none;
}

.dropdown-toggle {
  width: 100%;
  background: #fff;
  color: "#047857";
  /* padding: 10px; */
  /* border: 1px solid #ddd; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
}

.dashboard-box.share-refer {
  gap: 16px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10;
  top: 50px;
  border-top: none;
}

.dropdown-menu.active {
  display: block;
  width: 98%;
}

.dropdown-item {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-card {
  display: none;
}

.card-head {
  display: flex;
}

.card {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px !important;
  padding: 12px;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}

.rotate-icon.open {
  transform: rotate(180deg);
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: black;
}

.custom-table-card {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.no_subscriptions,
.woocommerce-info {
  background: #047857 !important;
}

.subscription-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-top: 24px;
  gap: 24px;
}

.subscription-product-quantity {
  font-weight: 700;
}

.change-delivery-date {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-subscription-plan {
  color: #047857;
  font-weight: 600;
}

.account-details-form label {
  margin-bottom: 6px;
}

.rude-dog-nav {
  width: 100%;
  max-width: 260px;
  min-width: 260px;
  padding: 24px;
  border-radius: 16px;
}

.dashboard-box form {
  margin-bottom: 0;
}

.swal2-container .swal2-popup.swal2-modal {
  border-radius: 10px !important;
}

/* Apply your site’s font family to all SweetAlert2 popups */
.swal2-popup,
.swal2-title,
.swal2-content,
.swal2-confirm,
.swal2-cancel {
  font-family: inherit !important;
  /* inherits the same font as your website */
}

@media (max-width: 1200px) {
  .profile-picture {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .account-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .my-account-woocommerce-MyAccount-navigation {
    padding: 14px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-box h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .custom-table table {
    display: none !important;
  }

  .custom-card {
    display: block;
  }
}

@media screen and (max-width: 992px) {

  /* .dashboard-grid{
        grid-template-columns: 1fr;
    } */
  .subscription-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .woocommerce:has(.custom-my-account-content) {
    display: block !important;
  }

  .my-account-woocommerce-MyAccount-navigation ul {
    display: none;
  }

  .my-account-dropdown {
    background-color: #ffffff !important;
  }

  .woocommerce-MyAccount-content.custom-my-account-content {
    padding: 10px 15px;
  }

  .my-account-woocommerce-MyAccount-navigation {
    padding: 10px 15px;
    background-color: #edf2fa;
    margin-bottom: 20px;
    float: unset;

  }

  .my-account-woocommerce-MyAccount-navigation,
  .my-account-woocommerce-MyAccount-navigation {
    display: none;
  }

  .my-account-dropdown {
    display: block;
  }

  .profile-picture {
    grid-template-columns: 1fr 2fr 4fr;
  }

  .account-sections {
    grid-template-columns: auto;
    gap: 23px;
  }

  .left-column-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dashboard-grid {
    display: flex;
    flex-direction: column;
  }

  .dashboard-box {
    width: 100%;
    padding: 16px;
  }

  .subscription {
    order: 1;
  }

  .refer {
    order: 2;
  }

  .help {
    order: 3;
  }

  .account-info {
    order: 4;
  }

  .myAccount-orders {
    order: 5;
  }

  .left-column,
  .right-column,
  .referal_cont {
    width: 100%;
  }

  .referral-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dashboard-grid h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .myAccount-button {
    font-size: 14px;
  }

  .woocommerce-MyAccount-content h2 {
    font-size: 24px;
    font-weight: 600;
  }
}

@media (max-width: 576px) {
  .profile-picture {
    grid-template-columns: 4fr 2fr 4fr;
  }
}

@media (max-width: 389.98px) {
  .card {
    padding: 2px;
  }

  .custom-my-account-content p {
    font-size: 14px;
  }
}
