@charset "UTF-8";

/* -------------------------------------------------------------------------
 * LearnPress profile (/lp-profile/) — guest login/register screen and the
 * member dashboard (nav + statistics + course tables).
 * Scoped through body.learnpress-profile so nothing else is affected.
 * ---------------------------------------------------------------------- */

body.learnpress-profile .site-content {
	padding-top: 34px;
	padding-bottom: 72px;
}

body.learnpress-profile .site-main article > .entry-content {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Page hero -------------------------------------------------------------- */
body.learnpress-profile h1.entry-title {
	position: relative;
	margin: 0 !important;
	padding: 34px 38px !important;
	overflow: hidden;
	border-radius: 22px !important;
	background-image: linear-gradient(135deg, #0F172A 0%, #172554 100%) !important;
	color: #FFFFFF !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	letter-spacing: 0;
}

body.learnpress-profile h1.entry-title::before {
	content: "👤";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.1);
	font-size: 20px;
	vertical-align: middle;
}

body.learnpress-profile h1.entry-title::after {
	content: "تابع لقاءاتك المسجلة، واستعرض طلباتك، وحدّث بياناتك من مكان واحد.";
	display: block;
	margin-top: 10px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.9;
	color: #CBD5E1;
}

/* =========================================================================
 * Guest: login + register
 * ====================================================================== */
body.learnpress-profile .lp-user-profile.guest > .lp-content-area {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	align-items: start;
	width: 100% !important;
	padding: 0 !important;
}

body.learnpress-profile .lp-user-profile.guest .learn-press-form {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 30px 28px 32px !important;
	background-color: #FFFFFF !important;
	border: 1px solid #E2E8F0 !important;
	border-radius: 20px !important;
	box-shadow: 0 26px 60px -50px rgba(15, 23, 42, 0.65);
}

body.learnpress-profile .learn-press-form-login {
	border-top: 4px solid #D97706 !important;
}

body.learnpress-profile .learn-press-form-register {
	border-top: 4px solid #1E3A8A !important;
	background-image: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 45%) !important;
}

body.learnpress-profile .learn-press-form > h3 {
	margin: 0 0 20px !important;
	padding: 0 0 14px !important;
	border-bottom: 1px solid #F1F5F9;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	color: #0F172A !important;
	text-transform: none !important;
}

body.learnpress-profile .learn-press-form form {
	margin: 0 !important;
}

body.learnpress-profile .learn-press-form ul.form-fields {
	margin: 0 0 16px !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.learnpress-profile .learn-press-form li.form-field {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.learnpress-profile .learn-press-form label {
	display: block;
	margin: 0 0 8px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.6 !important;
	color: #0F172A !important;
}

body.learnpress-profile .learn-press-form input[type="text"],
body.learnpress-profile .learn-press-form input[type="email"],
body.learnpress-profile .learn-press-form input[type="password"],
body.learnpress-profile .learn-press-form input[type="tel"],
body.learnpress-profile .learn-press-form select,
body.learnpress-profile .learn-press-form textarea {
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #E2E8F0 !important;
	border-radius: 12px !important;
	background-color: #F8FAFC !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #0F172A !important;
	outline: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.learnpress-profile .learn-press-form textarea {
	height: auto !important;
	min-height: 100px;
	padding: 14px 16px !important;
}

body.learnpress-profile .learn-press-form input:focus,
body.learnpress-profile .learn-press-form select:focus,
body.learnpress-profile .learn-press-form textarea:focus {
	border-color: #D97706 !important;
	background-color: #FFFFFF !important;
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12) !important;
}

body.learnpress-profile .learn-press-form input::placeholder {
	color: #94A3B8;
}

/* Remember-me row */
body.learnpress-profile .learn-press-form form > p {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 13px !important;
}

body.learnpress-profile .learn-press-form form > p label {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	cursor: pointer;
}

body.learnpress-profile .learn-press-form input[type="checkbox"] {
	width: 17px !important;
	height: 17px !important;
	margin: 0 !important;
	accent-color: #D97706;
	cursor: pointer;
}

/* Submit */
body.learnpress-profile .learn-press-form button,
body.learnpress-profile .learn-press-form input[type="submit"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 50px;
	margin: 0 !important;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
	background-color: #D97706 !important;
	color: #FFFFFF !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-transform: none !important;
	box-shadow: 0 14px 28px -18px rgba(217, 119, 6, 0.95);
	cursor: pointer;
	transition: background-image 0.2s ease, transform 0.2s ease;
}

body.learnpress-profile .learn-press-form button:hover,
body.learnpress-profile .learn-press-form input[type="submit"]:hover {
	background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
	transform: translateY(-2px);
}

body.learnpress-profile .learn-press-form form > p:last-child {
	margin: 16px 0 0 !important;
	text-align: center;
}

body.learnpress-profile .learn-press-form form > p:last-child a {
	color: #B45309 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.learnpress-profile .learn-press-form form > p:last-child a:hover {
	color: #92400E !important;
	text-decoration: underline !important;
}

/* =========================================================================
 * Member: header + nav + content
 * ====================================================================== */
body.learnpress-profile .lp-user-profile:not(.guest) > .lp-content-area {
	display: grid !important;
	grid-template-columns: 280px minmax(0, 1fr) !important;
	gap: 22px 24px !important;
	align-items: start;
	width: 100% !important;
	padding: 0 !important;
}

body.learnpress-profile .lp-user-profile:not(.guest) .wrapper-profile-header {
	grid-column: 1 / -1;
	width: 100% !important;
}

body.learnpress-profile .lp-user-profile:not(.guest) aside {
	grid-column: 1;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.learnpress-profile .lp-user-profile:not(.guest) article.lp-profile-content {
	grid-column: 2;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 26px 28px !important;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 18px;
	box-shadow: 0 18px 44px -44px rgba(15, 23, 42, 0.6);
	font-size: 14px;
	line-height: 1.9;
	color: #334155;
}

/* Profile header card */
body.learnpress-profile .wrapper-profile-header .lp-profile-content-area {
	display: flex !important;
	align-items: center;
	gap: 20px;
	width: 100% !important;
	padding: 24px 28px !important;
	overflow: hidden;
	border-radius: 20px;
	background-image: linear-gradient(135deg, #0F172A 0%, #172554 100%);
}

body.learnpress-profile .lp-profile-left {
	float: none !important;
	width: auto !important;
}

body.learnpress-profile .user-avatar {
	width: 84px !important;
	height: 84px !important;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.28);
	border-radius: 50% !important;
	background-color: #1E293B;
}

body.learnpress-profile .user-avatar img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
	object-fit: cover;
}

body.learnpress-profile .lp-btn-to-edit-avatar {
	display: inline-block;
	margin-top: 6px;
	color: #FCD34D !important;
	font-size: 10.5px;
	font-weight: 700;
	text-decoration: none;
}

body.learnpress-profile .lp-profile-right {
	float: none !important;
	width: auto !important;
	flex: 1 1 auto;
	min-width: 0;
}

body.learnpress-profile .lp-profile-username {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	color: #FFFFFF !important;
	text-transform: none !important;
}

/* Navigation */
body.learnpress-profile .profile-nav {
	padding: 12px !important;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 18px;
	box-shadow: 0 18px 44px -44px rgba(15, 23, 42, 0.6);
}

body.learnpress-profile ul.lp-profile-nav-tabs {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
	width: auto !important;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li > a {
	display: flex !important;
	align-items: center;
	gap: 11px;
	padding: 12px 14px !important;
	border-radius: 12px;
	background-color: transparent !important;
	color: #475569 !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li > a i {
	width: 18px;
	font-size: 15px;
	line-height: 1;
	text-align: center;
	color: #94A3B8;
	transition: color 0.2s ease;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li > a:hover {
	background-color: #F8FAFC !important;
	color: #B45309 !important;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li > a:hover i {
	color: #D97706;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.active > a {
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF !important;
	box-shadow: 0 12px 24px -16px rgba(217, 119, 6, 0.9);
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.active > a i {
	color: #FFFFFF;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.logout {
	margin-top: 6px !important;
	padding-top: 10px !important;
	border-top: 1px solid #F1F5F9 !important;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.logout > a {
	color: #B91C1C !important;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.logout > a i {
	color: #DC2626;
}

body.learnpress-profile ul.lp-profile-nav-tabs > li.logout > a:hover {
	background-color: #FEF2F2 !important;
}

/* Nested sections (settings) */
body.learnpress-profile ul.profile-tab-sections {
	margin: 4px 0 6px !important;
	padding: 0 12px 0 0 !important;
	list-style: none !important;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-right: 2px solid #F1F5F9;
}

body.learnpress-profile ul.profile-tab-sections > li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.learnpress-profile ul.profile-tab-sections > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px !important;
	border-radius: 9px;
	color: #64748B !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

body.learnpress-profile ul.profile-tab-sections > li > a i {
	font-size: 12px;
	color: #94A3B8;
}

body.learnpress-profile ul.profile-tab-sections > li > a:hover,
body.learnpress-profile ul.profile-tab-sections > li.active > a {
	background-color: #FFFBEB !important;
	color: #B45309 !important;
}

/* Content panel */
body.learnpress-profile article.lp-profile-content {
	padding: 26px 28px !important;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 18px;
	box-shadow: 0 18px 44px -44px rgba(15, 23, 42, 0.6);
	font-size: 14px;
	line-height: 1.9;
	color: #334155;
}

body.learnpress-profile .learn-press-subtab-content,
body.learnpress-profile .learn-press-profile-course__tab,
body.learnpress-profile .learn-press-profile-course__statistic {
	margin: 0 !important;
	padding: 0 !important;
}

/* Statistics ------------------------------------------------------------- */
body.learnpress-profile .dashboard-statistic__row {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 12px !important;
	width: 100%;
	margin: 0 !important;
}

body.learnpress-profile .statistic-box {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	width: auto !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	background-color: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
}

body.learnpress-profile .statistic-box__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	border-radius: 12px;
	background-image: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
	color: #B45309;
	font-size: 17px;
}

body.learnpress-profile .statistic-box__text {
	display: flex !important;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.learnpress-profile .statistic-box__text label {
	margin: 0 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	color: #64748B !important;
}

body.learnpress-profile .statistic-box__text__number {
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #0F172A;
}

/* Course filters --------------------------------------------------------- */
body.learnpress-profile .learn-press-tabs {
	margin: 22px 0 16px !important;
	padding: 0 !important;
	border-bottom: 1px solid #F1F5F9;
}

body.learnpress-profile ul.learn-press-filters {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 0 14px !important;
	list-style: none !important;
}

body.learnpress-profile ul.learn-press-filters > li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
}

body.learnpress-profile ul.learn-press-filters a {
	display: inline-flex !important;
	align-items: center;
	padding: 8px 17px !important;
	border: 1px solid #E2E8F0;
	border-radius: 999px;
	background-color: #FFFFFF !important;
	color: #475569 !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.learnpress-profile ul.learn-press-filters a:hover {
	border-color: #FCD34D;
	background-color: #FFFBEB !important;
	color: #B45309 !important;
}

body.learnpress-profile ul.learn-press-filters a.active {
	border-color: transparent;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF !important;
}

/* Course table ----------------------------------------------------------- */
body.learnpress-profile .lp_profile_course_progress {
	width: 100% !important;
	margin: 0 !important;
	border: 1px solid #E2E8F0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 14px !important;
	overflow: hidden;
	background-color: #FFFFFF;
}

body.learnpress-profile .lp_profile_course_progress th {
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid #E2E8F0 !important;
	background-color: #F8FAFC !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	color: #475569 !important;
	text-align: right !important;
	text-transform: none !important;
}

body.learnpress-profile .lp_profile_course_progress td {
	padding: 12px 14px !important;
	border: 0 !important;
	border-top: 1px solid #F1F5F9 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.7 !important;
	color: #334155 !important;
	text-align: right !important;
	vertical-align: middle;
}

body.learnpress-profile .lp_profile_course_progress tr:first-child td,
body.learnpress-profile .lp_profile_course_progress tbody tr:first-child td {
	border-top: 0 !important;
}

body.learnpress-profile .lp_profile_course_progress tbody tr:hover td {
	background-color: #F8FAFC;
}

body.learnpress-profile .lp_profile_course_progress .course-img {
	width: 92px;
	overflow: hidden;
	border-radius: 10px;
}

body.learnpress-profile .lp_profile_course_progress .course-img img {
	display: block;
	width: 92px !important;
	height: 58px !important;
	border-radius: 10px !important;
	object-fit: cover;
}

body.learnpress-profile .lp_profile_course_progress .course-title {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #0F172A !important;
	text-decoration: none !important;
}

body.learnpress-profile .lp_profile_course_progress a {
	text-decoration: none !important;
}

body.learnpress-profile .lp_profile_course_progress a:hover .course-title {
	color: #B45309 !important;
}

/* Empty state */
body.learnpress-profile .lp-ajax-message {
	margin: 0 !important;
	padding: 26px 20px !important;
	border: 1px dashed #CBD5E1;
	border-radius: 14px;
	background-color: #F8FAFC;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.8 !important;
	color: #64748B !important;
	text-align: center;
}

/* Settings forms inside the profile content */
body.learnpress-profile article.lp-profile-content form .form-field {
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.learnpress-profile article.lp-profile-content h3,
body.learnpress-profile article.lp-profile-content h2 {
	margin: 0 0 18px !important;
	padding: 0 0 14px !important;
	border-bottom: 1px solid #F1F5F9;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	color: #0F172A !important;
	text-transform: none !important;
}

body.learnpress-profile article.lp-profile-content .lp-avatar-preview,
body.learnpress-profile article.lp-profile-content .lp-cover-image-preview {
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	background-color: #F8FAFC;
}

body.learnpress-profile .lp-avatar-upload,
body.learnpress-profile .lp-cover-image-upload {
	margin-bottom: 16px;
}

/* Inner section nav (settings) -------------------------------------------- */
body.learnpress-profile article.lp-profile-content .learn-press-tabs {
	margin: 0 0 20px !important;
	padding: 0 !important;
	border-bottom: 1px solid #F1F5F9;
}

body.learnpress-profile article.lp-profile-content .learn-press-tabs__nav {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 0 14px !important;
	list-style: none !important;
}

body.learnpress-profile article.lp-profile-content .learn-press-tabs__nav li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
}

body.learnpress-profile article.lp-profile-content .learn-press-tabs__nav li a {
	display: inline-flex !important;
	align-items: center;
	padding: 8px 17px !important;
	border: 1px solid #E2E8F0;
	border-radius: 999px;
	background-color: #FFFFFF !important;
	color: #475569 !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.learnpress-profile article.lp-profile-content .learn-press-tabs__nav li a:hover {
	border-color: #FCD34D;
	background-color: #FFFBEB !important;
	color: #B45309 !important;
}

body.learnpress-profile article.lp-profile-content .learn-press-tabs__nav li.active a {
	border-color: transparent;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF !important;
}

/* Order recovery block --------------------------------------------------- */
body.learnpress-profile .recover-order {
	margin: 18px 0 0 !important;
	padding: 18px 20px;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	background-color: #F8FAFC;
}

body.learnpress-profile .recover-order__title {
	margin: 0 0 4px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #0F172A !important;
}

body.learnpress-profile .recover-order__description {
	margin: 0 0 12px !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	line-height: 1.8 !important;
	color: #64748B !important;
}

body.learnpress-profile .recover-order form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 !important;
}

body.learnpress-profile .recover-order input[type="text"] {
	flex: 1 1 220px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #E2E8F0;
	border-radius: 11px;
	background-color: #FFFFFF;
	font-family: inherit;
	font-size: 13px;
	color: #0F172A;
	outline: none;
}

body.learnpress-profile .recover-order input[type="text"]:focus {
	border-color: #D97706;
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

body.learnpress-profile .recover-order button {
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 11px;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

/* Responsive ------------------------------------------------------------- */
@media (min-width: 901px) {
	/* LearnPress keeps the settings sections collapsed; show them while the
	   settings tab is the current one so the sections stay one click away. */
	body.learnpress-profile .profile-tab-sections,
	body.learnpress-profile li.settings.active .profile-tab-sections {
		display: block !important;
	}
}

@media (max-width: 1180px) {
	body.learnpress-profile .lp-user-profile:not(.guest) > .lp-content-area {
		grid-template-columns: 240px minmax(0, 1fr) !important;
		gap: 18px !important;
	}

	body.learnpress-profile .dashboard-statistic__row {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	body.learnpress-profile .lp-user-profile.guest > .lp-content-area {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}

	body.learnpress-profile .lp-user-profile:not(.guest) > .lp-content-area {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}

	body.learnpress-profile .lp-user-profile:not(.guest) .wrapper-profile-header,
	body.learnpress-profile .lp-user-profile:not(.guest) aside,
	body.learnpress-profile .lp-user-profile:not(.guest) article.lp-profile-content {
		grid-column: 1 / -1;
	}

	/* Nav becomes a scrollable chip row */
	body.learnpress-profile .profile-nav {
		padding: 10px !important;
	}

	body.learnpress-profile ul.lp-profile-nav-tabs {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 8px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.learnpress-profile ul.lp-profile-nav-tabs::-webkit-scrollbar {
		display: none;
	}

	body.learnpress-profile ul.lp-profile-nav-tabs > li {
		flex: 0 0 auto;
	}

	body.learnpress-profile ul.lp-profile-nav-tabs > li > a {
		white-space: nowrap;
		background-color: #F8FAFC !important;
	}

	body.learnpress-profile ul.lp-profile-nav-tabs > li.logout {
		margin-top: 0 !important;
		padding-top: 0 !important;
		border-top: 0 !important;
	}

	body.learnpress-profile ul.profile-tab-sections {
		display: none;
	}

	body.learnpress-profile .dashboard-statistic__row {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.learnpress-profile h1.entry-title {
		padding: 26px 24px !important;
		font-size: 26px !important;
	}

	body.learnpress-profile article.lp-profile-content {
		padding: 20px 18px !important;
	}
}

@media (max-width: 640px) {
	body.learnpress-profile .dashboard-statistic__row {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.learnpress-profile .learn-press-form {
		padding: 22px 18px 24px !important;
	}

	body.learnpress-profile .wrapper-profile-header .lp-profile-content-area {
		padding: 18px 18px !important;
		flex-direction: column;
		text-align: center;
	}

	body.learnpress-profile .lp-profile-username {
		font-size: 20px !important;
	}

	body.learnpress-profile h1.entry-title {
		font-size: 22px !important;
	}

	/* Course table turns into stacked rows */
	body.learnpress-profile .lp_profile_course_progress thead {
		display: none;
	}

	body.learnpress-profile .lp_profile_course_progress tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		padding: 14px;
		border-top: 1px solid #F1F5F9;
	}

	body.learnpress-profile .lp_profile_course_progress tbody tr:first-child {
		border-top: 0;
	}

	body.learnpress-profile .lp_profile_course_progress td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 0 !important;
		border: 0 !important;
	}

	body.learnpress-profile .lp_profile_course_progress td:first-child {
		justify-content: flex-start;
	}

	body.learnpress-profile .lp_profile_course_progress .course-img,
	body.learnpress-profile .lp_profile_course_progress .course-img img {
		width: 100% !important;
	}

	body.learnpress-profile .lp_profile_course_progress .course-img img {
		height: 150px !important;
	}
}
