/* WooCommerce Login/Register */

.login-register-container {
	display: flex;
	margin: 29px 43px 0;
	min-height: 90vh;
}

@media (max-width: 1440px) {
	.login-register-container {
		margin: 0 20px;
	}
}

/* Sign up section */
.signup-section {
	flex: 1;
	background: #0F3A27;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 60px 40px;
	text-align: center;
}

.signup-content h1 {
	color: #b2d851;
	font-size: 2.8rem;
	font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 2px;
}

.signup-content p {
	color: #b2d851;
	font-size: 1.1rem;
	margin-bottom: 40px;
	opacity: 0.9;
	line-height: 1.5;
}

/* Login section */
.login-section {
	flex: 1;
	padding: 60px 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: #fff;
}

.login-content h2 {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-weight: 500;
}

.form-group input {
	width: 100%!important;
}

.remember-me {
	display: flex;
	align-items: center;
	margin: 20px 0;
}

.remember-me input[type="checkbox"] {
	margin-right: 10px;
}

.forgot-password {
	text-align: center;
	margin-top: 20px;
}

.forgot-password a {
	color: #0f3a27;
	text-decoration: none;
}

.forgot-password a:hover {
	text-decoration: underline;
}

.show-password-input {
	display: none;
}

/* Register form (initially hidden) */
.register-form {
	display: none;
}

.register-form.active {
	display: block;
}

.login-form.hidden {
	display: none;
}

.toggle-link {
	color: #0f3a27;
	cursor: pointer;
}

.toggle-link:hover {
	color: #0f3a27;
	text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
	.login-register-container {
		flex-direction: column;
	}
	
	.signup-section {
		order: 1;
		min-height: 300px;
		padding: 40px 20px;
	}
	
	.signup-content h1 {
		font-size: 2rem;
	}
	
	.login-section {
		order: 2;
		padding: 40px 20px;
	}
	
	.login-content h2 {
		font-size: 1.8rem;
	}
}

/* End WooCommerce Login/Register */

/* WooCommerce My Account Dashboard */

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

.woocommerce-account .woocommerce-MyAccount-content {
	width: 100%;
	padding: 0;
	margin: 0;
}

.custom-dashboard-wrapper {
	margin: 0 auto;
	padding: 50px 0 40px;
}

.dashboard-header {
	text-align: center;
	margin-bottom: 60px;
}

.dashboard-title {
	color: #1a5f4a;
	font-size: 2.5rem!important;
	font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 1px;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
}

.dashboard-card {
	position: relative;
	background: #0f3a27;
	border-radius: 15px;
	padding: 40px 30px;
	color: #9ee5a8;
	box-shadow: 0 10px 30px rgba(26, 95, 74, 0.3);
	transition: all 0.3s ease;
	overflow: hidden;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dashboard-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(26, 95, 74, 0.4);
}

.dashboard-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
	pointer-events: none;
}

.card-content {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
}

.card-content h2 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 1px;
	color: #b2d851;
}

.card-icon {
	color: rgba(178, 216, 81, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
}

.card-icon svg {
	width: 50px;
	height: 50px;
}

.card-link {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	text-decoration: none;
}

.dashboard-logout {
	text-align: center;
	margin-top: 2rem;
}

@media (max-width: 768px) {
	.custom-dashboard-wrapper {
		padding: 30px 15px;
	}

	.dashboard-title {
		font-size: 2rem!important;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		max-width: 400px;
	}

	.dashboard-card {
		padding: 30px 20px;
		min-height: 150px;
	}

	.card-content h2 {
		font-size: 1.3rem;
	}

	.card-icon svg {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 480px) {
	.dashboard-title {
		font-size: 1.6rem!important;
		line-height: 1.2;
	}

	.dashboard-card {
		padding: 25px 15px;
		min-height: 130px;
	}

	.card-content h2 {
		font-size: 1.1rem;
		margin-bottom: 15px;
	}

	.card-icon svg {
		width: 35px;
		height: 35px;
	}
}

/* Override any default WooCommerce styles that might interfere
.woocommerce-account .woocommerce-MyAccount-content p:first-child {
	display: none; /* Hide the default welcome message
} */

/* End WooCommerce My Account Dashboard */

/* WooCommerce My Account Pages */

/* Account Pages Wrapper */
.custom-account-wrapper {
	background-color: #F4F6F4;
	min-height: 100vh;
	margin-top: 29px;
}

/* Header Navigation Bar */
.account-header-nav {
	background: #0f3a27;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	box-shadow: 0 4px 15px rgba(26, 95, 74, 0.3);
}

.account-header-nav .nav-item {
	flex: 1;
	text-align: center;
	padding: 25px 20px;
	color: #b2d851;
	text-decoration: none;
	font-family: 'Rubik', sans-serif;
	font-weight: bold;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	border-right: 1px solid rgba(158, 229, 168, 0.3);
	position: relative;
}

.account-header-nav .nav-item:last-child {
	border-right: none;
}

.account-header-nav .nav-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: #88e1e5;
	transform: translateY(-2px);
}

.account-header-nav .nav-item.active {
	background-color: rgba(255, 255, 255, 0.2);
	color: #88e1e5;
}

.account-header-nav .nav-item.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: #b2d851;
	border-radius: 2px 2px 0 0;
}

/* Account Content Area */
.account-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	background-color: white;
	min-height: calc(100vh - 90px);
}

.content-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 3px solid #0f3a27;
}

/* Orders Table Styling */
.account-orders-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	border-radius: 8px;
	overflow: hidden;
}

.account-orders-table thead {
	background: #0f3a27;
}

.account-orders-table thead th {
	color: #fff;
	padding: 15px 20px;
	font-weight: bold;
	text-align: left;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
}

.account-orders-table tbody tr {
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s ease;
}

.account-orders-table tbody tr:hover {
	background-color: #f8f9fa;
}

.account-orders-table tbody td {
	padding: 15px 20px;
	color: #333;
	vertical-align: middle;
}

.account-orders-table .woocommerce-orders-table__cell-order-number a {
	color: #1a5f4a;
	font-weight: bold;
	text-decoration: none;
}

.account-orders-table .woocommerce-orders-table__cell-order-number a:hover {
	text-decoration: underline;
}

.account-orders-table .button {
	background-color: #1a5f4a;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 0.9rem;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s ease;
}

.account-orders-table .button:hover {
	background-color: #2d8a6b;
}

.woocommerce-message, .woocommerce-info {
	border-top: none;
}

.woocommerce-message::before, .woocommerce-info::before {
	display: none;
}

/* Address Management Styling */
.woocommerce-Address-title .edit {
	background-color: #88e1e5;
	color: #0f3a27;
	border-radius: 5px;
	text-transform: uppercase;
	font-family: 'Rubik', sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	margin-top: 2px;
	transition: background-color 0.3s ease;
}

.woocommerce-Address-title .edit:hover {
	background-color: #0f3a27;
	color: #fff;
}

/* End WooCommerce My Account Pages */

/* WooCommerce Lost/Reset Password Page */

.woocommerce-lost-password-wrapper {
	padding: 100px 20px;
	text-align: center;
}

.woocommerce-lost-password-wrapper .woocommerce-ResetPassword {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 0 1rem;
}

.woocommerce-lost-password-wrapper .woocommerce-form-row, .woocommerce-lost-password-wrapper .form-row-first, .woocommerce-lost-password-wrapper .form-row {
	float: none !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	width: 100% !important;
	margin: 0 0 1rem;
	box-sizing: border-box;
}

.woocommerce-lost-password-wrapper .woocommerce-form-row label {
	display: block;
	width: 100%;
	max-width: 420px;
	text-align: center;
	margin: 0 0 .5rem;
}

.woocommerce-lost-password-wrapper input#user_login, .woocommerce-lost-password-wrapper input.woocommerce-Input, .woocommerce-lost-password-wrapper .woocommerce-Input--text {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: .65rem .8rem;
	font-size: 1rem;
}

.woocommerce-lost-password-wrapper .woocommerce-form-row .woocommerce-Button, .woocommerce-lost-password-wrapper button.woocommerce-Button {
	display: inline-block;
	margin: .5rem auto 0;
	min-width: 180px;
	text-align: center;
}

.woocommerce-lost-password-wrapper .clear {
	display: none;
}

.custom-reset-password-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 70vh;
}

.woocommerce-ResetPassword input.input-text {
	width: 100%;
	padding: 10px 12px;
}

.woocommerce form.lost_reset_password {
	text-align: center;
}

.woocommerce-lost-password .entry-content .woocommerce p {
	padding: 0 20px;
	text-align: center;
}

/* End WooCommerce Lost/Reset Password Page */

/* Other */

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	font-size: 16px;
}

/* End Other */

/* Responsive */

@media (max-width: 1024px) {
	.account-content {
		padding: 30px 15px;
	}

	.form-row-wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.edit-address-form .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.account-header-nav {
		flex-wrap: wrap;
	}

	.account-header-nav .nav-item {
		flex: 1 1 50%;
		padding: 20px 15px;
		font-size: 0.95rem;
		border-right: none;
		border-bottom: 1px solid rgba(158, 229, 168, 0.3);
	}

	.account-header-nav .nav-item:nth-child(2), .account-header-nav .nav-item:nth-child(4) {
		border-right: 1px solid rgba(158, 229, 168, 0.3);
	}

	.content-header h1 {
		font-size: 1.8rem;
	}

	.account-orders-table {
		font-size: 0.85rem;
	}

	.account-orders-table thead th,	.account-orders-table tbody td {
		padding: 10px 12px;
	}

	.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.account-header-nav .nav-item {
		flex: 1 1 100%;
		font-size: 0.9rem;
		padding: 18px 10px;
	}

	.account-header-nav .nav-item:nth-child(2),	.account-header-nav .nav-item:nth-child(4) {
		border-right: none;
	}

	.content-header h1 {
		font-size: 1.5rem;
	}

	.account-orders-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* End Responsive */