/* EP Membership — Frontend Styles */

/* Auth forms use existing .auth-form class from S2L theme */
/* These styles supplement the theme defaults */

.auth-error {
	background: #fee;
	border: 1px solid #e55;
	color: #c33;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}
.auth-error a { color: #c33; text-decoration: underline; }

.auth-success {
	background: #efe;
	border: 1px solid #5b5;
	color: #363;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}

.auth-message {
	text-align: center;
	padding: 24px;
}

.auth-links {
	text-align: center;
	font-size: 14px;
	margin-top: 12px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}
.checkbox-label input[type="checkbox"] {
	margin-top: 3px;
}

/* Member Profile */
.member-profile { max-width: 640px; }

.profile-section {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}
.profile-section:last-child { border-bottom: none; }
.profile-section h3 { margin-bottom: 16px; }

/* Enrolled courses */
.enrolled-course {
	margin-bottom: 16px;
	padding: 12px 0;
}
.enrolled-course .course-info { margin-bottom: 8px; }
.enrolled-course .course-info a { text-decoration: none; }
.enrolled-course .course-info a:hover { text-decoration: underline; }

.course-status.completed {
	display: inline-block;
	background: #5b5;
	color: #fff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
	margin-left: 8px;
	vertical-align: middle;
}

.progress-bar-wrap {
	background: #eee;
	border-radius: 4px;
	height: 8px;
	overflow: hidden;
	margin-bottom: 4px;
}
.progress-bar {
	background: #4a9;
	height: 100%;
	border-radius: 4px;
	transition: width 0.3s ease;
}
.progress-text {
	font-size: 12px;
	color: #888;
}

/* Member Dashboard */
.member-dashboard { padding: 16px 0; }
.dashboard-welcome { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.dashboard-courses { margin-bottom: 16px; }
.dashboard-course { margin-bottom: 12px; }
.dashboard-course a { text-decoration: none; }
.dashboard-links a { margin-right: 12px; }

/* Login Gate */
.login-gate {
	text-align: center;
	padding: 24px;
	background: #f8f8f8;
	border-radius: 8px;
}

/* Suite brand colour — scoped to the auth forms only, so other theme
   .btn-primary buttons are untouched. var() with no fallback is a no-op
   until a brand is set, so the buttons keep inheriting the theme. */
.auth-form .btn.btn-primary{background:var(--ep-brand);color:var(--ep-brand-ink);border-color:var(--ep-brand)}
.auth-form .btn.btn-primary:hover{background:var(--ep-brand-hover);border-color:var(--ep-brand-hover)}
