/* ==========================================================================
   Customer Dashboard Styles — modernized, responsive, uses --primary-color
   Only targets classes inside .user-dashbord / .dashboard-section
   ========================================================================== */

/* ── Section wrapper ────────────────────────────────────────────────────── */
.user-dashbord {
	padding: 80px 0;
}
.dashboard-section {
	/* courses pages use this wrapper instead */
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.user-sidebar {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	padding: 16px 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.user-sidebar .links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.user-sidebar .links li {
	border-bottom: 1px solid #f0f0f0;
	transition: all .25s ease;
}
.user-sidebar .links li:last-child {
	border-bottom: none;
}
.user-sidebar .links li:last-child a {
	padding-bottom: 0;
}
.user-sidebar .links li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 6px;
	color: #555;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	transition: all .25s ease;
}
.user-sidebar .links li a i {
	width: 20px;
	text-align: center;
	font-size: 14px;
	color: #999;
	transition: color .25s ease;
}
.user-sidebar .links li a.active,
.user-sidebar .links li:hover > a {
	color: var(--primary-color);
	background: rgba(140, 40, 142, .06);
}
.user-sidebar .links li a.active i,
.user-sidebar .links li:hover > a i {
	color: var(--primary-color);
}

/* ── Content cards (account-info, order-details) ────────────────────────── */
.order-details,
.account-info {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.user-dashbord .title {
	padding-bottom: 14px;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}
.user-dashbord .title h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--heading-color, #030A15);
	margin: 0;
}
.user-dashbord .main-info {
	overflow: hidden;
}
.user-dashbord .main-info h5 {
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--heading-color, #030A15);
}
.user-dashbord .main-info ul.list {
	float: left;
	width: 30%;
	list-style: none;
	padding: 0;
	margin: 0;
}
.user-dashbord .main-info ul.list li {
	line-height: 30px;
	font-size: 14px;
}
.user-dashbord .main-info ul.list li p {
	margin-bottom: 7px;
}
.user-dashbord .main-info ul.list li p span {
	font-weight: 500;
	margin-right: 20px;
}

/* ── Stat card boxes ────────────────────────────────────────────────────── */
.card-box {
	padding: 28px 22px;
	background: var(--primary-color);
	border-radius: 12px;
	position: relative;
	overflow: hidden;
}
.card-box:after {
	position: absolute;
	bottom: -30px;
	right: 0;
	font-family: "Font Awesome 5 Pro";
	font-size: 90px;
	font-weight: 600;
	color: #fff;
	opacity: .12;
}
.card-box.box-1:after { content: '\f15c'; }
.card-box.box-2:after { content: '\f0c0'; }
.card-box.box-3:after { content: '\f02e'; font-weight: 400; }
.card-box.box-1 { background: linear-gradient(135deg, #6963FF, #8b5cf6); }
.card-box.box-2 { background: linear-gradient(135deg, #07BFA7, #34d399); }
.card-box.box-3 { background: linear-gradient(135deg, #EC7424, #f59e0b); }
.card-box .card-info h5 {
	color: #fff;
	margin-bottom: 10px;
}
.card-box .card-info p {
	color: #fff;
}

/* ── Progress steps ─────────────────────────────────────────────────────── */
.progress-area-step {
	margin-bottom: 60px;
	display: block;
	overflow: hidden;
}
.progress-steps li {
	width: 25%;
	float: left;
	text-align: center;
	position: relative;
}
.progress-steps li .icon {
	height: 30px;
	width: 30px;
	text-align: center;
	margin: auto;
	background: #efefef;
	border-radius: 50%;
	line-height: 30px;
	font-size: 14px;
	font-weight: 700;
	color: #000;
	position: relative;
}
.progress-steps li.active .icon {
	background: var(--primary-color);
	color: #fff;
}
.progress-steps li:first-child:after { display: none; }
.progress-steps li:after {
	position: absolute;
	content: "";
	height: 3px;
	width: calc(100% - 30px);
	background: #efefef;
	top: 14px;
	z-index: 0;
	right: calc(50% + 15px);
}
.progress-steps li .progress-title {
	padding-top: 10px;
}

/* ── Tables ──────────────────────────────────────────────────────────────── */
.main-table .dataTables_wrapper .row:last-child,
.main-table .dataTables_wrapper .row:first-child {
	margin-bottom: 20px;
	align-items: center;
}
.main-table .dataTables_wrapper .row:last-child {
	margin-top: 16px;
}
.main-table table.dataTable,
.user-dashbord table.dataTable {
	border-collapse: collapse !important;
}
.main-table table.dataTable thead th,
.user-dashbord table.dataTable thead th {
	background: #f8f9fa;
	color: #444;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .3px;
	border-bottom: 2px solid #eaeaea !important;
	padding: 12px 14px;
}
.main-table table.dataTable tbody td,
.user-dashbord table.dataTable tbody td {
	padding: 12px 14px;
	vertical-align: middle;
	border-bottom: 1px solid #f0f0f0;
	color: #555;
	font-size: 14px;
}
.main-table table.dataTable tbody tr:hover,
.user-dashbord table.dataTable tbody tr:hover {
	background: rgba(140, 40, 142, .03);
}
.main-table table.dataTable tbody td a {
	color: var(--primary-color);
	font-weight: 500;
}
.main-table .dataTables_wrapper input[type="search"] {
	height: 38px;
	outline: none;
	border-radius: 8px;
	border: 1px solid #ddd;
	padding: 0 12px;
	font-size: 13px;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.main-table .dataTables_wrapper input[type="search"]:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(140, 40, 142, .1);
}
.main-table .dataTables_wrapper select {
	border-radius: 6px;
	border: 1px solid #ddd;
	padding: 4px 8px;
	font-size: 13px;
}
.main-table .dataTables_wrapper .dataTables_length label,
.main-table .dataTables_wrapper .dataTables_filter label {
	font-size: 13px;
	color: #666;
	font-weight: 500;
}
.main-table .dataTables_wrapper .dataTables_info {
	font-size: 13px;
	color: #888;
	padding-top: 10px;
}
.main-table .dataTables_wrapper td span.pending {
	padding: 4px 12px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 20px;
	line-height: 18px;
	font-size: 12px;
	font-weight: 500;
	display: inline-block;
}
.main-table .dataTables_wrapper td a.btn {
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	background: transparent;
	font-size: 12px;
	line-height: 18px;
	border-radius: 6px;
	padding: 5px 14px;
	font-weight: 500;
	transition: all .25s ease;
}
.main-table .dataTables_wrapper td a.btn:hover {
	background: var(--primary-color);
	border-color: transparent;
	color: #fff;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
	border: none;
	padding: 0;
	margin-left: 3px;
	margin-right: 3px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	border: none;
	background: transparent;
	background-color: transparent;
}
.paginate_button .page-link {
	border: 1px solid #e1e1e1;
	color: #333;
	outline: none;
	box-shadow: none;
	border-radius: 6px;
	font-size: 13px;
	padding: 6px 12px;
}
.paginate_button.active .page-link {
	background-color: var(--primary-color) !important;
	border-color: transparent;
	color: #fff;
}
.paginate_button .page-link:hover {
	box-shadow: none;
	border-radius: 6px;
	color: #fff;
	background-color: var(--primary-color) !important;
}
/* DataTables responsive: expand/collapse icon */
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
	top: 50%;
	transform: translateY(-50%);
	background: var(--primary-color);
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
	width: 20px;
	height: 20px;
	line-height: 20px;
	font-size: 11px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
	background: #e74c3c;
}
/* DataTables responsive: child row (expanded details) */
table.dataTable>tbody>tr.child ul.dtr-details {
	width: 100%;
}
table.dataTable>tbody>tr.child ul.dtr-details li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}
table.dataTable>tbody>tr.child ul.dtr-details li:last-child {
	border-bottom: none;
}
table.dataTable>tbody>tr.child ul.dtr-details li .dtr-title {
	font-weight: 600;
	color: #444;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .3px;
}
table.dataTable>tbody>tr.child ul.dtr-details li .dtr-data {
	color: #555;
	font-size: 13px;
	text-align: right;
}

/* ── Order/booking details pages ─────────────────────────────────────────── */
.view-order-page .order-info h3 {
	margin-bottom: 15px;
	font-size: 17px;
}
.order-info-area {
	margin-bottom: 40px;
}
.order-info-area .prinit {
	float: right;
}
.order-info-area .prinit .btn {
	background: var(--primary-color);
	color: #fff;
	border-radius: 8px;
}
.order-info-area .prinit .btn i {
	margin-right: 10px;
}
.billing-add-area {
	margin-bottom: 40px;
}
.billing-add-area .main-info ul.list {
	width: 100%;
}
.product-list h5 {
	margin-bottom: 15px;
}
.payment-information h5 {
	margin-bottom: 15px;
}
.payment-information p {
	line-height: normal;
	font-size: 14px;
}

/* ── Edit profile / form areas ───────────────────────────────────────────── */
.edit-info-area {
	margin-top: 30px;
	overflow: hidden;
}
.edit-info-area input {
	margin-bottom: 0;
}
.edit-info-area .form-group label {
	font-size: 14px;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
}
.edit-info-area .form-group label span {
	color: var(--danger);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.user-dashbord .btn,
.dashboard-section .btn {
	background: var(--primary-color);
	color: #fff;
	text-transform: capitalize;
	outline: none;
	border-radius: 8px;
	font-weight: 500;
	transition: all .25s ease;
}
.user-dashbord .btn:hover,
.user-dashbord .btn:focus,
.dashboard-section .btn:hover,
.dashboard-section .btn:focus {
	color: #fff;
	filter: brightness(1.1);
	box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.product-list table tr td b {
	line-height: 30px;
}
.product-list table tr td span {
	margin-left: 10px;
}
.product-list table tr td span.color {
	display: inline-block;
	width: 15px;
	height: 15px;
	background: #222;
	border-radius: 3px;
}

/* ── Form controls ───────────────────────────────────────────────────────── */
.form_control {
	display: inline-block;
	width: 100%;
	height: 48px;
	padding-left: 16px;
	border: 1px solid #ddd;
	outline: 0;
	border-radius: 8px;
	margin-bottom: 18px;
	font-size: 14px;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.form_control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(140, 40, 142, .1);
}
textarea.form_control {
	min-height: 140px;
	padding-top: 12px;
}

/* ── File upload / avatar area ───────────────────────────────────────────── */
.edit-info-area .upload-img {
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.edit-info-area .upload-img .img-box {
	max-width: 100px;
	height: 100px;
}
.edit-info-area .upload-img .img-box img {
	width: 100%;
	border-radius: 50%;
}
.file-upload-area .upload-file {
	position: relative;
	cursor: pointer;
}
.file-upload-area .upload-file input {
	width: 150px;
	height: 40px;
	display: inline-block;
	opacity: 0;
	cursor: pointer;
}
.file-upload-area .upload-file span {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 40px;
	background: var(--primary-color);
	z-index: -1;
	cursor: pointer;
	text-align: center;
	line-height: 40px;
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
}
.edit-info-area .nice-select {
	width: 100%;
	height: 48px;
	border-color: #ddd;
	border-radius: 8px;
	line-height: 48px;
	margin-bottom: 18px;
}
.edit-info-area .nice-select .list {
	width: 100%;
}

/* ── Radio / Checkbox ────────────────────────────────────────────────────── */
.single_radio,
.single_checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.single_radio span,
.single_checkbox span {
	display: inline-block;
	margin-left: 30px;
	line-height: 22px;
}
.single_input {
	display: none;
}
.single_input:checked + .single_input_label:after {
	opacity: 1;
}
.single_input:checked + .single_input_label:before {
	border-color: var(--primary-color);
}
.single_input_label {
	display: inline-flex;
	position: relative;
	cursor: pointer;
	margin-bottom: 0;
}
.single_radio .single_input_label:after,
.single_radio .single_input_label:before {
	border-radius: 50%;
}
.single_radio .single_input_label:after {
	content: '';
	width: 14px;
	height: 14px;
	line-height: 20px;
	top: 3px;
	left: 3px;
}
.single_input_label:before {
	position: absolute;
	content: '';
	width: 20px;
	height: 20px;
	top: 0;
	left: 0;
	display: inline-block;
	border: 1px solid #ddd;
	box-sizing: border-box;
}
.single_input_label:after {
	position: absolute;
	top: 0;
	left: 0;
	content: '\f00c';
	font-family: 'Font Awesome 5 Pro';
	font-weight: 900;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	width: 20px;
	height: 20px;
	display: block;
	overflow: hidden;
	opacity: 0;
	transition: .2s opacity;
}
.sigle_input_check:before {
	border-color: #ddd;
}
.sigle_input_check:after {
	background: var(--primary-color);
	color: #fff;
	border-color: #ddd;
}

/* ── Dashboard-section specific (courses pages) ─────────────────────────── */
.dashboard-section .dashboard-content .card {
	border: 1px solid #eaeaea;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.dashboard-section .dashboard-content .card-header {
	background: #fafafa;
	border-bottom: 1px solid #eee;
	padding: 16px 20px;
}
.dashboard-section .dashboard-content .card-body {
	padding: 20px;
}

/* ── Mobile account info card (dashboard index only) ─────────────────────── */
.dashboard-mobile-info {
	display: flex;
	flex-direction: column;
}
.mobile-info-row {
	display: flex;
	flex-direction: column;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}
.mobile-info-row:last-child {
	border-bottom: none;
}
.mobile-info-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #999;
	font-weight: 600;
	margin-bottom: 3px;
}
.mobile-info-label i {
	width: 16px;
	text-align: center;
	margin-right: 4px;
	color: var(--primary-color);
}
.mobile-info-value {
	font-size: 14px;
	color: #333;
	word-break: break-word;
}


/* ==========================================================================
   Responsive — Tablets (≤ 991px)
   ========================================================================== */
@media only screen and (max-width: 991px) {
	.user-dashbord {
		padding: 60px 0;
	}

	/* Sidebar: horizontal wrapped nav on tablets */
	.user-sidebar {
		padding: 6px 10px;
		margin-bottom: 25px;
	}
	.user-sidebar .links {
		display: flex;
		flex-wrap: wrap;
		gap: 2px;
	}
	.user-sidebar .links li {
		border-bottom: none;
	}
	.user-sidebar .links li a {
		padding: 9px 14px;
		font-size: 13px;
		white-space: nowrap;
		border-radius: 6px;
		border-bottom: 2px solid transparent;
	}
	.user-sidebar .links li a.active {
		border-bottom-color: var(--primary-color);
		background: rgba(140, 40, 142, .06);
	}

	.card-box .card-info h5 {
		font-size: 18px;
	}
	.card-box:after {
		font-size: 80px;
	}
}


/* ==========================================================================
   Responsive — Phones (≤ 767px)
   ========================================================================== */
@media only screen and (max-width: 767px) {
	.user-dashbord {
		padding: 30px 0 40px;
	}

	/* ── Sidebar: horizontal scrollable nav ─────────────────────────── */
	.user-sidebar {
		padding: 0;
		border: none;
		margin-bottom: 20px;
		background: #f8f9fa;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 1px 6px rgba(0,0,0,.06);
	}
	.user-sidebar .links {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 0;
		padding: 0;
		margin: 0;
	}
	.user-sidebar .links::-webkit-scrollbar {
		display: none;
	}
	.user-sidebar .links li {
		border-bottom: none;
		flex-shrink: 0;
	}
	.user-sidebar .links li a {
		padding: 10px 15px;
		font-size: 12px;
		white-space: nowrap;
		border-radius: 0;
		border-bottom: 2px solid transparent;
	}
	.user-sidebar .links li a.active {
		border-bottom-color: var(--primary-color);
		background: rgba(140, 40, 142, .06);
	}
	.user-sidebar .links li a i {
		font-size: 13px;
	}

	/* ── Content boxes ──────────────────────────────────────────────── */
	.account-info,
	.order-details {
		padding: 16px;
		border-radius: 10px;
	}
	.user-dashbord .title {
		padding-bottom: 10px;
		margin-bottom: 14px;
	}
	.user-dashbord .title h4 {
		font-size: 16px;
	}

	/* ── Account info: stack label/value lists ──────────────────────── */
	.user-dashbord .main-info ul.list {
		float: none !important;
		width: 100% !important;
	}
	.billing-add-area .main-info ul.list {
		width: 100%;
	}

	/* ── Table → Card layout on mobile ─────────────────────────────── */

	/* Hide table header — cards don't need column headers */
	.main-table table.dataTable > thead {
		display: none !important;
	}

	/* Block-level table container */
	.main-table table.dataTable {
		display: block !important;
		width: 100% !important;
		border: none !important;
	}
	.main-table table.dataTable > tbody {
		display: block !important;
	}

	/* --- Each row = a card --- */
	.main-table table.dataTable > tbody > tr[role="row"] {
		display: block !important;
		background: #fff !important;
		border: 1px solid #eaeaea !important;
		border-radius: 12px !important;
		padding: 16px !important;
		margin-bottom: 14px !important;
		box-shadow: 0 2px 10px rgba(0,0,0,.04) !important;
	}
	/* Remove striped row coloring */
	.main-table table.dataTable > tbody > tr[role="row"]:nth-child(odd),
	.main-table table.dataTable > tbody > tr[role="row"]:nth-child(even) {
		background: #fff !important;
	}

	/* --- Each cell = stacked block inside card --- */
	.main-table table.dataTable > tbody > tr[role="row"] > td {
		display: block !important;
		width: auto !important;
		border: none !important;
		padding: 4px 0 !important;
		white-space: normal !important;
		text-align: left !important;
		padding-left: 0 !important;
		font-size: 13px;
		color: #555;
		line-height: 1.5;
	}

	/* First cell = card title (event name / order number / etc.) */
	.main-table table.dataTable > tbody > tr[role="row"] > td:first-child {
		font-size: 15px !important;
		font-weight: 600 !important;
		color: #333 !important;
		padding-bottom: 10px !important;
		margin-bottom: 8px;
		border-bottom: 1px solid #f0f0f0 !important;
	}
	.main-table table.dataTable > tbody > tr[role="row"] > td:first-child a {
		font-weight: 600;
		color: var(--primary-color);
	}

	/* Last cell = action button, styled as card footer */
	.main-table table.dataTable > tbody > tr[role="row"] > td:last-child {
		padding-top: 10px !important;
		margin-top: 6px;
		border-top: 1px solid #f0f0f0 !important;
	}
	.main-table table.dataTable > tbody > tr[role="row"] > td:last-child a.btn {
		display: block !important;
		text-align: center;
		padding: 9px 16px !important;
		border-radius: 8px !important;
		font-weight: 600;
		font-size: 13px !important;
		background: var(--primary-color) !important;
		color: #fff !important;
		border: none !important;
	}

	/* --- Disable DataTables responsive expand/collapse --- */
	table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child {
		padding-left: 0 !important;
	}
	table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before {
		display: none !important;
	}
	/* Hide child rows — all data is visible in the card */
	.main-table table.dataTable > tbody > tr.child {
		display: none !important;
	}

	/* --- DataTables controls: compact layout --- */
	.main-table .dataTables_wrapper .row:first-child {
		margin-bottom: 12px;
	}
	.main-table .dataTables_wrapper .row:last-child {
		margin-top: 12px;
	}
	div.dataTables_wrapper div.dataTables_length {
		display: none;
	}
	div.dataTables_wrapper div.dataTables_filter {
		float: none;
		text-align: left;
		margin-bottom: 8px;
		padding: 0 !important;
	}
	div.dataTables_wrapper div.dataTables_filter label {
		font-size: 13px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		width: 100%;
		font-weight: 500;
		color: #666;
	}
	div.dataTables_wrapper div.dataTables_filter input {
		width: 100% !important;
		max-width: 100%;
		margin-left: 0 !important;
		height: 40px;
		border-radius: 10px;
		border: 1px solid #ddd;
		padding: 0 14px;
		font-size: 14px;
	}
	div.dataTables_wrapper div.dataTables_filter input:focus {
		border-color: var(--primary-color);
		box-shadow: 0 0 0 3px rgba(140, 40, 142, .08);
		outline: none;
	}
	div.dataTables_wrapper div.dataTables_info {
		float: none;
		text-align: center;
		font-size: 12px;
		color: #999;
		padding-top: 8px;
	}
	div.dataTables_wrapper div.dataTables_paginate {
		float: none;
	}
	div.dataTables_wrapper div.dataTables_paginate ul.pagination {
		justify-content: center;
		margin-top: 10px;
		flex-wrap: wrap;
		gap: 4px;
	}
	.paginate_button .page-link {
		padding: 5px 10px;
		font-size: 12px;
	}

	/* --- Non-DataTable tables (booking/order details) --- */
	.table-responsiv,
	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ── Order details ──────────────────────────────────────────────── */
	.order-info-area .prinit {
		float: none;
		margin-top: 16px;
	}
	.view-order-page .order-info h3 {
		font-size: 15px;
	}

	/* ── Progress steps: vertical layout ────────────────────────────── */
	.progress-steps li:first-child::after {
		display: block;
	}
	.progress-steps li::after {
		width: 3px;
		height: calc(100% - 30px);
		top: 30px;
		left: 15px;
	}
	.progress-steps li:last-child:after {
		display: none;
	}
	.progress-steps li .progress-title {
		padding-left: 20px;
	}
	.progress-steps li {
		display: flex;
		width: 100%;
		float: unset;
		text-align: left;
		padding-bottom: 20px;
	}
	.progress-steps li .icon {
		margin: 0;
	}
	.billing-add-area .main-info {
		margin-bottom: 30px;
	}

	/* ── Card boxes ─────────────────────────────────────────────────── */
	.card-box:after {
		font-size: 70px;
	}

	/* ── Spacing adjustments ────────────────────────────────────────── */
	.user-dashbord .row.mb-5 {
		margin-bottom: 1.25rem !important;
	}
	.user-dashbord .row.mt-4 {
		margin-top: 1rem !important;
	}

	/* ── Edit profile form ──────────────────────────────────────────── */
	.edit-info-area {
		margin-top: 20px;
	}
	.form_control {
		height: 44px;
		padding-left: 14px;
		font-size: 14px;
		margin-bottom: 14px;
	}
	textarea.form_control {
		min-height: 120px;
	}
	.edit-info-area .upload-img {
		margin-bottom: 25px;
	}

	/* ── Page banner (only inside dashboard context) ────────────────── */
	.page-banner + .user-dashbord {
		/* already handled by section padding above */
	}

	/* ── Dashboard-section (courses) mobile ─────────────────────────── */
	.dashboard-section .dashboard-content .card-header {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start !important;
		padding: 14px 16px;
	}
	.dashboard-section .dashboard-content .card-body {
		padding: 14px;
	}

	/* ── Billing info columns stack ─────────────────────────────────── */
	.billing-add-area .row > [class*="col-md"] {
		margin-bottom: 20px;
	}
}

/* ==========================================================================
   Responsive — Very small phones (≤ 480px)
   ========================================================================== */
@media only screen and (max-width: 480px) {
	.user-dashbord {
		padding: 20px 0 30px;
	}
	.account-info,
	.order-details {
		padding: 14px;
	}
	.user-dashbord .title h4 {
		font-size: 15px;
	}
	.user-sidebar .links li a {
		padding: 9px 12px;
		font-size: 11px;
	}
	.main-table table,
	.user-dashbord table {
		font-size: 12px;
	}
}


/* ==========================================================================
   Support Ticket Styles
   ========================================================================== */
.support-ticket-area {
	margin-top: 30px;
	overflow: hidden;
}
.note-editor .note-toolbar .note-btn-group .note-btn.btn-light {
	color: #212529;
}
.dashboard-area .user-profile-details .account-info .main-info {
	padding-bottom: 25px;
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 20px;
}
.main-info .subject {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.dashboard-area .user-profile-details .account-info .main-info .subject h5 {
	padding-top: 5px;
}
.dashboard-area .user-profile-details .account-info .main-info .subject div .date-time {
	font-size: 75%;
	font-weight: 700;
	margin-inline-start: 10px;
}
.dashboard-area .user-profile-details .account-info .main-info .attachment a i {
	margin-inline-end: 10px;
}
.messages {
	max-height: 600px;
	overflow-y: auto;
	border-radius: 8px;
}
.messages::-webkit-scrollbar {
	width: 5px;
}
.messages::-webkit-scrollbar-thumb {
	background: #6c757d;
	border-radius: 20px;
}
.single-message {
	background: #f7f7f7;
	border-radius: 10px;
	padding: 18px 24px;
	margin-bottom: 16px;
	max-width: 98%;
}
.single-message:last-child {
	margin-bottom: 0;
}
.single-message .user-details {
	display: flex;
	align-items: flex-start;
}
.single-message .user-details img {
	width: 100%;
}
.single-message .user-img {
	overflow: hidden;
	width: 55px;
	min-width: 55px;
	margin-inline-end: 20px;
	border-radius: 50%;
	border: 4px solid #fff;
}
.single-message .user-infos span {
	display: block;
	color: #666;
	font-weight: 400;
}
.single-message .user-infos span.badge {
	color: #fff;
}
.single-message .user-infos span.type {
	margin: 6px 0;
}
.single-message .message {
	margin-top: 10px;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}
.single-message .reply-download-btn {
	margin-top: 10px;
	display: inline-block;
	color: var(--primary-color);
	font-weight: 600;
}
.single-message .reply-download-btn i {
	margin-inline-end: 7px;
}

/* ── Support ticket mobile ───────────────────────────────────────────────── */
@media only screen and (max-width: 767px) {
	.single-message {
		padding: 14px 16px;
	}
	.single-message .user-img {
		width: 40px;
		min-width: 40px;
		margin-inline-end: 12px;
	}
	.single-message .user-details {
		flex-wrap: wrap;
	}
}
