/* Shrink the specific avatar image widget in the header */
.elementor-684 .elementor-element.elementor-element-69fa8f3.elementor-widget-image img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
}
/* Logout link styling to match dropdown text */
.header-logout-link {
  font-size: 10px;
  font-weight: 600;
  color: #1E3557;
  text-decoration: none;
  padding: 0;
  margin: 0;
  display: inline;
}

/* Hover color */
.header-logout-link:hover {
  color: #D3A33C;
}
/* Fix My Account layout */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 40px;
}

/* Left navigation menu */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 220px;
}

/* Menu list styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

/* Menu items */
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
}

/* Menu links */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: #1E3557;
}

/* Hover effect */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #1E3557;
    color: white;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
}
/* Center and constrain My Account page width */
.woocommerce-account .site-main {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* Improve left navigation width */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 240px;
}

/* Improve spacing between menu and content */
.woocommerce-account .woocommerce {
    gap: 50px;
}
/* Constrain the actual My Account content area */
.woocommerce-account .entry-content,
.woocommerce-account .ast-container,
.woocommerce-account .site-content > .ast-container,
.woocommerce-account .woocommerce {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Make the account area use a practical two-column layout */
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 32px !important;
  align-items: start !important;
}

/* Keep content from stretching awkwardly */
.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0 !important;
  max-width: 900px !important;
}
/* Fix width of My Account page in Astra */
.woocommerce-account .ast-container {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Improve layout spacing */
.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    gap: 40px !important;
}

/* Prevent content stretching too wide */
.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 800px !important;
}
/* Hide WooCommerce default My Account menu */
.woocommerce-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

/* Let the content take the full usable width */
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  max-width: 1000px !important;
}

/* Remove the 2-column layout and make it a single clean column */
.woocommerce-account .woocommerce {
  display: block !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Tighten the overall page width a bit */
.woocommerce-account .ast-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
/* Tighten MemberPress account content width */
.mepr-account-content {
    max-width: 700px;
}

/* Keep the whole account area centered */
.mepr-account-container {
    max-width: 1100px;
    margin: auto;
}
/* Tighten MemberPress account page layout */
.mepr-account-container,
.mepr-account-welcome-message,
.mepr-account-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mepr-account-nav {
  width: 240px;
}

.mepr-account-content {
  max-width: 720px;
}

/* Reduce oversized whitespace */
.mepr-account-row,
.mepr-account-body,
.mepr-account-wrapper {
  align-items: flex-start;
}

/* Make profile card/buttons feel tighter */
.mepr-account-content .mp_wrapper,
.mepr-account-content .mepr-profile-box {
  max-width: 720px;
}
/* Control MemberPress account layout width */
.mepr-account-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Left navigation width */
#mepr-account-nav {
  width: 240px;
}

/* Content column width */
.mepr-account-content {
  max-width: 700px;
}

/* Reduce extra whitespace */
.mepr-account-body {
  align-items: flex-start;
}
.dashboard-card {
  transition: all 0.25s ease;
}

.dashboard-card {
  transition: all 0.25s ease;
  cursor: pointer;
}

.dashboard-card {
  transition: all 0.25s ease;
}

.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}
.dashboard-logout-button{
    display:inline-block;
    padding:12px 22px;
    background:#1E3557;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition: all 0.2s ease;
}

.dashboard-logout-button:hover{
    background:#1E3557;
    color:#D3A33C;
}
/* MemberPress Account Page Layout */

.mepr-account-container {
max-width: 1200px;
margin: auto;
padding: 40px 20px;
}

/* Left navigation panel */

#mepr-account-nav {
background:#1E3557;
padding:20px;
border-radius:8px;
}

#mepr-account-nav li a {
color:#ffffff;
padding:10px 14px;
display:block;
border-radius:4px;
font-weight:500;
}

#mepr-account-nav li a:hover {
background:#D3A33C;
color:#1E3557;
}

/* Active menu item */

#mepr-account-nav li.mepr-active-nav-tab a {
background:#D3A33C;
color:#1E3557;
font-weight:600;
}

/* Right content area */

.mepr-account-body {
background:#FFFFFF;
padding:30px;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}
/* FORCE MemberPress left menu colors */
#mepr-account-nav,
.mepr-account-nav,
.mepr-account-container #mepr-account-nav {
  background: #1E3557; 
	width: 180px;
	padding: 10px;
		!important;
  border-radius: 8px !important;
  padding: 20px !important;
}

/* Force all menu links to normal state */
#mepr-account-nav ul li a,
#mepr-account-nav ul li a:link,
#mepr-account-nav ul li a:visited {
  background: transparent !important;
  color: #FFFFFF !important;
  display: block !important;
  padding: 1px 12px;
	list-style: none;
	margin-bottom: 2px;
	font-size: 20px;
	!important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

/* Active item */
#mepr-account-nav ul li.mepr-active-nav-tab a,
#mepr-account-nav ul li.current-menu-item a,
#mepr-account-nav ul li.current_page_item a,
#mepr-account-nav ul li.active a {
  background: #D3A33C !important;
  color: #FFFFFF !important;
}

/* Hover item */
#mepr-account-nav ul li a:hover,
#mepr-account-nav ul li a:focus {
  background: #D3A33C !important;
  color: #1E3557 !important;
}

/* Kill any odd list styling */
#mepr-account-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mepr-account-nav ul li {
  list-style: none !important;
  margin: 0 0 10px 0 !important;
}
/* Put MemberPress nav and content side by side */
.elementor-shortcode {
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px !important;
}

/* Left column: nav wrapper */
.elementor-shortcode > .mp_wrapper:first-child {
  flex: 0 0 220px !important;
  max-width: 220px !important;
}

/* Right column: content wrapper */
.elementor-shortcode > .mp_wrapper:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Nav itself fills its wrapper */
#mepr-account-nav {
  width: 100% !important;
  margin: 0 !important;
}
/* Hide Coaching tab in MemberPress account nav */
#mepr-account-nav a[href*="action=coaching"],
#mepr-account-nav .mepr-nav-item a[href*="coaching"] {
  display: none !important;
}
/* Hide MemberPress left menu on the account page */
.elementor-shortcode {
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px !important;
}

/* Hide the first mp_wrapper (left menu column) */
.elementor-shortcode > .mp_wrapper:first-child {
  display: none !important;
}

/* Let the second mp_wrapper (content area) fill the space */
.elementor-shortcode > .mp_wrapper:last-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
}
.account-title-shortcode .elementor-shortcode {
  font-size: 40px !important;
  font-weight: 700 !important;
  color: #D3A33C !important;
  line-height: 1.2 !important;
  margin: 0 0 10px 0 !important;
}
.account-description .elementor-shortcode {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}
/* Clean MemberPress panel styling */
.mp_wrapper {
  background: transparent !important;
  border: none !important;
}

/* Tables inside account area */
.mp_wrapper table {
  background: #1E3557;
  border-radius: 6px;
  overflow: hidden;
}

/* Table headers */
.mp_wrapper table th {
  background: #1E3557;
  color: #ffffff;
  font-weight: 600;
}

/* Table rows */
.mp_wrapper table td {
  background: #ffffff;
  color: #333333;
}

/* Buttons inside account pages */
.mp_wrapper .mepr-btn,
.mp_wrapper button,
.mp_wrapper input[type="submit"] {
  background: #D3A33C;
  border: none;
  color: #1E3557;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 16px;
}

.mp_wrapper .mepr-btn:hover {
  background: #c8952f;
}
/* MemberPress form fields */
.mp_wrapper input,
.mp_wrapper select {
  border-radius: 4px;
  border: 1px solid #d8dbe2;
  padding: 6px 8px;
}
.account-breadcrumb {
  font-size: 14px;
  color: #d8dbe2;
  margin-bottom: 10px;
}

.account-breadcrumb a {
  color: #D3A33C;
  text-decoration: none;
}

.account-breadcrumb a:hover {
  text-decoration: underline;
}

.account-breadcrumb span {
  margin: 0 6px;
}
/* Step 2: make Member Directory names visible */
.wp-block-memberpress-directory-directory-user-name,
.wp-block-memberpress-directory-directory-user-name .directory-user-name-link,
.wp-block-memberpress-directory-directory-user-name .directory-user-name-text {
  color: #ffffff !important;
}

.wp-block-memberpress-directory-directory-user-name .directory-user-name-link:hover,
.wp-block-memberpress-directory-directory-user-name .directory-user-name-link:focus {
  color: #D3A33C !important;
}
/* Step 3: tighten member directory cards */

.user-template-item {
    padding: 1rem !important;
}

.mpdir-user-template {
    padding: 1rem !important;
}

.mpdir-user-template__details {
    margin-top: 10px !important;
}
/* Step 3b: enforce uniform directory card height */

.mpdir-user-template {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Step 4: improve directory grid layout */

.user-template-item {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

@media (max-width: 1024px) {
    .user-template-item {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
}

@media (max-width: 640px) {
    .user-template-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
/* Step 4b: force 3-column directory grid */
.directory-user-template,
.wp-block-memberpress-directory-directory-user-template,
[data-user-template-initialized="true"] {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.user-template-item {
    max-width: none !important;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .directory-user-template,
    .wp-block-memberpress-directory-directory-user-template,
    [data-user-template-initialized="true"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .directory-user-template,
    .wp-block-memberpress-directory-directory-user-template,
    [data-user-template-initialized="true"] {
        grid-template-columns: 1fr !important;
    }
}

/* Step 10a revised: style the dynamic profile link as a button */
a.mpdir-button.mpdir-button--profile {
    display: inline-block !important;
    padding: 10px 18px !important;
    background: #1E3557 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border: 1px solid #1E3557 !important;
}

a.mpdir-button.mpdir-button--profile:hover,
a.mpdir-button.mpdir-button--profile:focus {
    background: #D3A33C !important;
    border-color: #D3A33C !important;
    color: #ffffff !important;
}

/* Step 10b: replace URL text with a proper label */

a.mpdir-button.mpdir-button--profile {
    font-size: 0 !important; /* hides the URL text */
}

a.mpdir-button.mpdir-button--profile::after {
    content: "Edit Photo & Intro";
    font-size: 14px;
}
/* Step 10c: hide the copy profile URL icon */
.mpdir-copy-icon {
    display: none !important;
}
/* Step 12: enforce minimum directory card size */
li.user-template-item {
    min-height: 260px;
}
/* Reduce member name size */
.wp-block-memberpress-directory-directory-user-name,
.wp-block-memberpress-directory-directory-user-name .directory-user-name-link,
.wp-block-memberpress-directory-directory-user-name .directory-user-name-text {
    font-size: 0.99em !important;
    line-height: 1.2 !important;
}
/* MemberPress Save Profile button */
.mp_wrapper .mepr-submit,
.mp_wrapper input[type="submit"] {
    background-color: #1E3557;
    color: #FFFFFF;
    font-size: 16px;
    border-radius: 6px;
    padding: 10px 18px;
}
/* MemberPress welcome message */
#mepr-account-welcome-message p {
    color: #1E3557;
    font-size: 22px;
    font-weight: 600;
}
/* Hide default MemberPress welcome message */
#mepr-account-welcome-message {
    display: none;
}
/* Set product color to White in Cart
 */
.woocommerce-cart table.shop_table td.product-name,
.woocommerce-cart table.shop_table td.product-name a,
.woocommerce-checkout table.shop_table td.product-name,
.woocommerce-checkout table.shop_table td.product-name a {
    color: #ffffff !important;
}

.woocommerce-cart table.shop_table td.product-name a:hover,
.woocommerce-checkout table.shop_table td.product-name a:hover {
    color: #d3a33c !important;
}
/* Checkout Form Fields - Fix Readability */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #1E3557 !important;
    border-radius: 4px;
}

/* Placeholder text */
.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
    color: #777777 !important;
}

/* Focus state */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #D3A33C !important;
    outline: none;
}

/* Labels */
.woocommerce form .form-row label {
    color: #ffffff !important;
    font-weight: 500;
}

/* Required asterisk */
.woocommerce form .form-row .required {
    color: #D3A33C !important;
}