/**
 * Home / front page styles.
 * Hero uses course.css; this file adds enrolled courses list and account section.
 *
 * @package Aimade_Fun
 */

/* Enrolled courses list */
.aimadefun-enrolled-courses {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}

.aimadefun-enrolled-courses li {
	margin: 0;
}

.aimadefun-home-page-content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.aimadefun-course-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--white, #fff);
	border: 2px solid var(--border, #e5e7eb);
	border-radius: var(--radius-xl, 12px);
	text-decoration: none;
	color: var(--text, #1f2937);
	font-weight: 700;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
}
.aimadefun-course-link:hover {
	border-color: var(--brand, #683fa0);
	box-shadow: var(--shadow-lg, 0 10px 25px rgba(104, 63, 160, 0.15));
	transform: translateY(-2px);
	color: var(--text, #1f2937);
}

.aimadefun-course-link__title {
	flex: 1;
	font-family: "Fredoka One", cursive;
	font-size: 1rem;
}

.aimadefun-course-link__arrow {
	color: var(--brand, #683fa0);
	font-size: 1.25rem;
}

.aimadefun-no-courses {
	margin: 0 0 2.5rem;
	font-weight: 700;
	color: var(--text-light, #6b7280);
}

/* Account management section */
.aimadefun-account-section-label {
	margin-top: 0.5rem;
}

.aimadefun-account-wrap {
	margin: 0 auto 3rem;
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--border, #e5e7eb);
	border-radius: var(--radius-lg, 8px);
	background: var(--white, #fff);
}

.aimadefun-account-wrap .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.aimadefun-account-wrap .woocommerce-MyAccount-navigation li {
	margin: 0;
	width: 100%;
}

.aimadefun-account-wrap .woocommerce-MyAccount-navigation a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border-radius: var(--radius-md, 12px);
	padding: 12px 16px;
	text-decoration: none;
	color: var(--brand-dark, #4b247a);
	font-weight: 700;
}

.aimadefun-account-wrap .woocommerce-MyAccount-navigation a:hover {
	background: var(--brand-light, #f6eeff);
}

.aimadefun-account-wrap .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--brand, #683fa0);
	color: #fff;
}

.aimadefun-account-wrap .woocommerce-MyAccount-content a {
	color: var(--brand, #683fa0);
}

.aimadefun-account-wrap .woocommerce-button,
.aimadefun-account-wrap button.button,
.aimadefun-account-wrap a.button {
	background: #683FA0;
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
a.button {
    background: #683FA0;
    color: #fff;
    border-style: none;
    border-radius: 50px 50px 50px 50px;
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    text-decoration: none; white-space:nowrap;
}
@media (max-width:768px){
	.flex-container {
		flex-wrap:wrap;
		gap :10px;
		margin-bottom:20px;
	}
}

