.clubland-my-account {
	display: flex;
	flex-wrap: wrap;
	background: #fff;
}

.clubland-my-account-header {
	text-align: center;
	padding: 0 !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	width: 100% !important;
	height: 100% !important;
}

.clubland-my-account-header img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid var(--club-color-0, #135335);
}

.clubland-my-account-header h2 {
	font-size: 22px;
	margin: 10px 0 0;
}

.clubland-my-account-nav {
	flex: 0 0 250px;
	background: #f6f7f7;
	padding: 16px;
}

.clubland-my-account-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.clubland-my-account-nav li {
	margin-bottom: 6px;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.clubland-my-account-nav li:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clubland-my-account-nav li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	text-decoration: none;
	color: #333;
	background: #fff;
	border-radius: 12px;
	transition: all 0.3s ease;
	font-weight: 500;
	border: 2px solid transparent;
}

.clubland-my-account-nav li a:hover {
	background: #f8f9fa;
	border-color: var(--club-color-0, #135335) !important;
	color: var(--club-color-0, #135335) !important;
}

.clubland-my-account-nav li.is-active a {
	font-weight: 700;
	background: var(--club-color-0, #135335) !important;
	color: #fff !important;
	border-color: var(--club-color-0, #135335) !important;
}

.clubland-my-account-nav li.is-active a::before {
	color: #fff;
}

.clubland-my-account-content {
	flex: 1;
	padding: 20px;
}

/* Section dividers - modern approach */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--orders {
	margin-top: 16px;
	position: relative;
}

.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--orders::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 16px;
	right: 16px;
	height: 1px;
	background: linear-gradient(to right, transparent, #ddd, transparent);
}

.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--payment-methods {
	margin-top: 16px;
	position: relative;
}

.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--payment-methods::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 16px;
	right: 16px;
	height: 1px;
	background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Enhanced mobile experience - 2 column layout */
@media(max-width: 767px) {

	.clubland-my-account-nav {
	width: 100%;
	padding: 8px;
	}

	.clubland-my-account-nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 12px;
	}

	.clubland-my-account-nav li {
	margin-bottom: 0;
	}

	.clubland-my-account-nav li a {
	padding: 6px 8px;
	font-size: 12px;
	gap: 4px;
	border-radius: 8px;
	flex-direction: column;
	text-align: center;
	height: 60px;
	justify-content: center;
	line-height: 1.1;
	overflow: hidden;
	word-wrap: break-word;
	hyphens: auto;
	}

	.clubland-my-account-nav li a::before {
	font-size: 1.1em !important;
	width: 16px;
	height: 16px;
	line-height: 16px;
	margin-bottom: 2px;
	flex-shrink: 0;
	}



	/* Remove section dividers on mobile since grid layout handles organization */
	.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--orders,
	.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--payment-methods {
	margin-top: 0;
	}

	.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--orders::before,
	.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--payment-methods::before {
	display: none;
	}

	/* Make social login and logout single column and compact */
	.clubland-social-login-buttons {
	margin-top: 8px;
	padding-top: 8px;
	}

	.clubland-social-login-buttons .nsl-button {
	margin-bottom: 4px !important;
	padding: 8px !important;
	font-size: 12px !important;
	}

	.clubland-logout-button {
	margin-top: 8px;
	padding-top: 8px;
	}

	.clubland-logout-button .logout-button {
	padding: 8px;
	font-size: 13px;
	}

	/* Reduce header height on mobile */
	.clubland-my-account-header {
	padding: 10px 0 !important;
	}

	.clubland-my-account-header img {
	width: 80px;
	height: 80px;
	}

	.clubland-my-account-header h2 {
	font-size: 18px;
	margin: 5px 0 0;
	}
}

/* Mobile spacer fix for post-26 */
@media(max-width: 767px) {

	.post-26 .wp-block-spacer {
	height: 5px !important;
	}
}

/* Icon styling improvements */
.clubland-my-account-nav .woocommerce-MyAccount-navigation-link a::before {
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	border-radius: 6px;
	background: rgba(128, 128, 128, 0.1);
	transition: all 0.3s ease;
}

.clubland-my-account-nav li:hover a::before {
	background: var(--club-color-0, #135335) !important;
	color: #fff !important;
	transform: scale(1.1);
}



/* Add bell icon to Notifications menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--notifications a::before {
	content: '\f16d'; /* Dashicons bell icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add person icon to Personal Information menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--edit-account a::before {
	content: '\f12e'; /* Dashicons person icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add heart icon to Favourites menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--favourites a::before {
	content: '\f487'; /* Dashicons heart icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add membership icon to Subscriptions menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--subscriptions a::before {
	content: '\f155'; /* Dashicons groups icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add cart icon to Orders menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--orders a::before {
	content: '\f174'; /* Dashicons cart icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add credit card icon to Payment Methods menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--payment-methods a::before {
	content: '\f526'; /* Dashicons icon f526 */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add phone icon to Contact menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--contact a::before {
	content: '\f525'; /* Dashicons phone icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Add calendar icon for events menu item */
.clubland-my-account-nav li.woocommerce-MyAccount-navigation-link--events a::before {
	content: '\f524'; /* Dashicons calendar icon */
	font-family: Dashicons, monospace;
	font-size: 1.2em;
}

/* Enhanced social login buttons styling */
.clubland-social-login-buttons {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e0e0e0;
}

.clubland-social-login-buttons .nsl-container {
	margin: 0 !important;
}

.clubland-social-login-buttons .nsl-button {
	border-radius: 8px !important;
	margin-bottom: 6px !important;
	transition: all 0.3s ease !important;
}

.clubland-social-login-buttons .nsl-button:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced logout button styling */
.clubland-logout-button {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

.clubland-logout-button .logout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px;
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.clubland-logout-button .logout-button:hover {
	background: #c82333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Additional polish for better user experience */
.clubland-my-account-nav li a:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

.clubland-my-account-nav li.is-active a:focus {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Smooth animations for better performance */
* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.clubland-my-account-nav li,
.clubland-my-account-nav li a,
.clubland-my-account-nav li a::before {
	will-change: transform;
}
