.member-dashboard {
	color: #1f2933;
}

.wz-auth-shell {
	background: #f4f7fb;
	color: #1f2933;
}

.wz-auth-media::before {
	background: linear-gradient(135deg, #0b333f 0%, #123f4d 48%, #312a1e 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.wz-auth-media-card {
	color: #fff;
	max-width: 460px;
	text-align: center;
	width: calc(100% - 64px);
}

.wz-auth-media-card > div {
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
	margin: 0 auto 24px;
}

.wz-auth-media-card h2 {
	color: #fff;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.18;
	margin: 0 0 12px;
}

.wz-auth-media-card p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 420px;
}

.wz-auth-panel {
	box-shadow: -18px 0 45px rgba(15, 35, 54, 0.08);
}

.wz-auth-eyebrow {
	color: #f7733c;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.wz-auth-panel h4 {
	color: #0b333f !important;
	font-size: 28px;
	font-weight: 800 !important;
	line-height: 1.2;
}

.wz-auth-subtitle {
	color: #64748b;
	font-size: 14px;
	line-height: 1.65;
	margin: 0 0 28px;
}

.wz-auth-form .form-group {
	margin-bottom: 18px;
}

.wz-auth-form label {
	color: #334155 !important;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 7px;
}

.wz-auth-form .form-control {
	background: #f8fafc;
	border: 1px solid #d8e0ea;
	border-radius: 8px;
	box-shadow: none;
	color: #1f2933;
	font-size: 15px;
	height: 46px;
	padding: 10px 13px;
}

.wz-auth-form .form-control:focus {
	background: #fff;
	border-color: #f7733c;
	box-shadow: 0 0 0 3px rgba(247, 115, 60, 0.16);
}

.wz-auth-form .btn {
	border-radius: 8px;
	font-weight: 800;
	height: auto;
	letter-spacing: 0;
	margin: 0;
	min-height: 46px;
	padding: 11px 20px;
	text-transform: none;
	width: 100%;
}

.wz-auth-form .btn-primary {
	background: #f7733c !important;
	border-color: #f7733c !important;
}

.wz-auth-form .btn-primary:hover,
.wz-auth-form .btn-primary:focus {
	background: #0b333f !important;
	border-color: #0b333f !important;
}

.wz-auth-switch {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 14px;
	text-align: center;
}

.wz-auth-switch label {
	margin: 0;
}

.wz-auth-form a {
	color: #f7733c;
	font-weight: 800;
}

.wz-auth-form a:hover,
.wz-auth-form a:focus {
	color: #0b333f;
}

.wz-auth-terms {
	margin-left: 0;
	margin-right: 0;
}

.wz-auth-terms .form-check {
	padding-left: 0;
}

.wz-auth-terms .col-sm-12 {
	padding-left: 0;
	padding-right: 0;
}

.wz-auth-terms .form-check-label {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #334155 !important;
	display: flex;
	gap: 10px;
	line-height: 1.6;
	margin: 0 !important;
	padding: 13px 14px;
	position: relative;
}

.wz-auth-terms .form-check-input {
	flex: 0 0 auto;
	height: 16px;
	margin-left: 0;
	margin-top: 0;
	position: static;
	width: 16px;
}

.wz-auth-terms .form-check-label span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	white-space: nowrap;
}

.wz-auth-terms .form-check-label a {
	white-space: nowrap;
}

.wz-auth-terms .invalid-feedback {
	margin-left: 0;
	margin-top: 6px;
}

.wz-auth-form .alert {
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.wz-auth-help {
	color: #64748b;
	display: block;
	font-size: 12px;
	line-height: 1.5;
	margin-top: 7px;
}

.wz-account-type-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

.wz-account-type-option {
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	gap: 10px;
	margin: 0 !important;
	padding: 12px;
	transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.wz-account-type-option input {
	flex: 0 0 auto;
	margin-top: 4px;
}

.wz-account-type-option b {
	color: #0b333f;
	display: block;
	font-size: 14px;
	line-height: 1.25;
}

.wz-account-type-option small {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	margin-top: 3px;
}

.wz-account-type-option:has(input:checked) {
	background: rgba(247, 115, 60, 0.08);
	border-color: rgba(247, 115, 60, 0.55);
	box-shadow: 0 0 0 3px rgba(247, 115, 60, 0.10);
}

.wz-referral-toggle {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #0b333f;
	cursor: pointer;
	display: flex;
	font-weight: 800;
	gap: 9px;
	min-height: 44px;
	justify-content: center;
	padding: 10px 14px;
	width: 100%;
}

.wz-referral-toggle i {
	color: #f7733c;
}

.wz-referral-toggle:hover,
.wz-referral-toggle:focus {
	background: rgba(247, 115, 60, 0.08);
	border-color: rgba(247, 115, 60, 0.55);
	outline: none;
}

.member-hero {
	background: #0b333f;
	border-radius: 8px;
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 28px;
}

.member-hero h1 {
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 8px;
}

.member-hero p {
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	max-width: 680px;
}

.member-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.member-hero-actions .btn {
	border-radius: 6px;
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
}

.member-quick-actions {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 20px;
}

.member-quick-action {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(15, 35, 54, 0.08);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 35, 54, 0.05);
	color: #1f2933;
	display: flex;
	font-weight: 700;
	gap: 10px;
	min-height: 58px;
	padding: 14px 16px;
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.member-quick-action i {
	align-items: center;
	background: rgba(247, 115, 60, 0.12);
	border-radius: 8px;
	color: #f7733c;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.member-quick-action:hover,
.member-quick-action:focus {
	border-color: rgba(247, 115, 60, 0.38);
	box-shadow: 0 12px 26px rgba(15, 35, 54, 0.10);
	color: #0b333f;
	text-decoration: none;
	transform: translateY(-2px);
}

.member-stat-card,
.member-panel {
	background: #fff;
	border: 1px solid rgba(15, 35, 54, 0.08);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 35, 54, 0.06);
	height: 100%;
	padding: 20px;
}

.member-stat-card span {
	color: #718096;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.member-stat-card strong {
	color: #0b333f;
	display: block;
	font-size: 28px;
	line-height: 1.1;
	margin-top: 8px;
}

.member-stat-card p {
	color: #718096;
	line-height: 1.6;
	margin: 8px 0 0;
}

.member-focus-card {
	display: flex;
	flex-direction: column;
	min-height: 230px;
	position: relative;
}

.member-stat-icon {
	align-items: center;
	background: #0b333f;
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	font-size: 18px;
	height: 42px;
	justify-content: center;
	margin-bottom: 16px;
	width: 42px;
}

.member-focus-card a {
	color: #f7733c;
	font-size: 13px;
	font-weight: 800;
	margin-top: auto;
	text-transform: uppercase;
}

.member-focus-card a:hover,
.member-focus-card a:focus {
	color: #0b333f;
}

.member-section-title {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 22px 0 12px;
}

.member-section-title h2 {
	color: #1f2933;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.member-panel h3 {
	color: #1f2933;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
}

.member-panel-head {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.member-panel-head span {
	color: #718096;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.member-panel-head h3 {
	color: #0b333f;
	font-size: 18px;
	margin: 3px 0 0;
}

.member-panel-head strong {
	color: #f7733c;
	font-size: 24px;
	line-height: 1;
}

.member-panel p {
	color: #718096;
	margin-bottom: 14px;
}

.member-progress {
	background: #edf2f7;
	border-radius: 999px;
	height: 8px;
	margin-bottom: 18px;
	overflow: hidden;
}

.member-progress span {
	background: #f7733c;
	display: block;
	height: 100%;
}

.member-checklist {
	display: grid;
	gap: 10px;
}

.member-checklist a {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #1f2933;
	display: flex;
	font-weight: 700;
	gap: 10px;
	padding: 11px 12px;
	text-decoration: none;
}

.member-checklist a i {
	align-items: center;
	background: rgba(247, 115, 60, 0.12);
	border-radius: 50%;
	color: #f7733c;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.member-checklist a.is-done {
	background: rgba(14, 159, 110, 0.08);
	border-color: rgba(14, 159, 110, 0.22);
}

.member-checklist a.is-done i {
	background: #0e9f6e;
	color: #fff;
}

.member-activity-list {
	display: grid;
	gap: 12px;
}

.member-activity-item {
	align-items: center;
	display: flex;
	gap: 12px;
}

.member-activity-item > i {
	align-items: center;
	background: #0b333f;
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.member-activity-item b {
	color: #1f2933;
	display: block;
	font-size: 14px;
}

.member-activity-item span {
	color: #718096;
	display: block;
	font-size: 13px;
	line-height: 1.45;
}

.member-empty-guidance {
	align-items: center;
	display: flex;
	flex-direction: column;
	min-height: 220px;
	justify-content: center;
	text-align: center;
}

.member-empty-guidance > i {
	align-items: center;
	background: rgba(247, 115, 60, 0.12);
	border-radius: 14px;
	color: #f7733c;
	display: inline-flex;
	font-size: 24px;
	height: 56px;
	justify-content: center;
	margin-bottom: 16px;
	width: 56px;
}

.member-empty-guidance h3 {
	color: #0b333f;
	font-size: 20px;
	margin-bottom: 8px;
}

.member-empty-guidance p {
	max-width: 560px;
	margin-bottom: 0;
}

.member-empty-state {
	align-items: center;
	background: #fff;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #718096;
	display: flex;
	min-height: 150px;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

/* Shared polish for legacy member list/form pages. Most of these pages
   render the same Bootstrap card/header pattern, so this keeps the upgrade
   broad without rewriting every module template at once. */
.main-content.bgc-grey-100 {
	background: #f4f7fb !important;
	color: #1f2933;
}

.main-content.bgc-grey-100 #mainContent {
	padding: 24px;
}

.main-content.bgc-grey-100 #mainContent > .row {
	margin-left: 0;
	margin-right: 0;
}

.main-content.bgc-grey-100 .masonry-item {
	margin-bottom: 18px;
}

.main-content.bgc-grey-100 .masonry-item > .bgc-white.p-20,
.main-content.bgc-grey-100 .masonry-item > .bgc-white.p-20.bd,
.main-content.bgc-grey-100 .layers.bgc-white.p-20,
.main-content.bgc-grey-100 .layers.bd.bgc-white.p-20 {
	border: 1px solid rgba(15, 35, 54, 0.08) !important;
	border-radius: 8px !important;
	box-shadow: 0 6px 18px rgba(15, 35, 54, 0.05);
	padding: 22px !important;
}

.main-content.bgc-grey-100 h6.c-grey-900,
.main-content.bgc-grey-100 .member-section-title h2 {
	color: #0b333f !important;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0;
}

.main-content.bgc-grey-100 h6.c-grey-900 + .mT-10,
.main-content.bgc-grey-100 h6.c-grey-900 + .mT-30 {
	color: #64748b;
	font-size: 14px;
	line-height: 1.6;
}

.main-content.bgc-grey-100 .form-row {
	align-items: center;
}

.main-content.bgc-grey-100 .form-group {
	margin-bottom: 14px;
}

.main-content.bgc-grey-100 label.text-normal,
.main-content.bgc-grey-100 .custom-control-label {
	color: #334155 !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.main-content.bgc-grey-100 .form-control {
	background: #f8fafc;
	border: 1px solid #d8e0ea;
	border-radius: 8px;
	box-shadow: none;
	color: #1f2933;
	min-height: 42px;
}

.main-content.bgc-grey-100 .form-control:focus {
	background: #fff;
	border-color: #f7733c;
	box-shadow: 0 0 0 3px rgba(247, 115, 60, 0.14);
}

.main-content.bgc-grey-100 .btn {
	border-radius: 7px;
	font-weight: 700;
	margin: 0 6px 8px 0;
	text-transform: none;
	white-space: normal;
}

.main-content.bgc-grey-100 .btn-primary,
.main-content.bgc-grey-100 .btn-danger {
	background: #f7733c !important;
	border-color: #f7733c !important;
}

.main-content.bgc-grey-100 .btn-primary:hover,
.main-content.bgc-grey-100 .btn-primary:focus,
.main-content.bgc-grey-100 .btn-danger:hover,
.main-content.bgc-grey-100 .btn-danger:focus {
	background: #0b333f !important;
	border-color: #0b333f !important;
}

.main-content.bgc-grey-100 .card-columns {
	column-count: 1 !important;
	display: grid !important;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.main-content.bgc-grey-100 .card-columns .card {
	border: 1px solid rgba(15, 35, 54, 0.08);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 35, 54, 0.05);
	display: inline-flex;
	flex-direction: column;
	margin: 0 !important;
	min-height: 0 !important;
	overflow: hidden;
	width: 100%;
}

.main-content.bgc-grey-100 .card-columns .card > .p-20,
.main-content.bgc-grey-100 .card-columns .card > .p-2 {
	padding: 20px !important;
}

.main-content.bgc-grey-100 .card-title {
	color: #0b333f;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 10px;
	overflow-wrap: anywhere;
}

.main-content.bgc-grey-100 .card-text {
	color: #64748b;
	font-size: 14px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.main-content.bgc-grey-100 .card-text small {
	display: inline-block;
	margin-right: 10px;
}

.main-content.bgc-grey-100 .rounded-circle,
.main-content.bgc-grey-100 .img-logo {
	border: 1px solid #e2e8f0;
	object-fit: cover;
}

.main-content.bgc-grey-100 .card[style*="min-height: 78vh"],
.main-content.bgc-grey-100 .card[style*="min-height: 30vh"] {
	min-height: 260px !important;
}

.main-content.bgc-grey-100 .card[style*="min-height"] .card-body[style*="position: absolute"] {
	align-items: center;
	display: flex;
	inset: auto !important;
	justify-content: center;
	min-height: 220px;
	padding: 28px !important;
	position: static !important;
	text-align: center;
	transform: none !important;
}

.main-content.bgc-grey-100 .card[style*="min-height"] .card-body h5 {
	color: #64748b;
	font-size: 16px;
	font-weight: 800;
	margin: 0;
}

.main-content.bgc-grey-100 .email-app {
	border: 1px solid rgba(15, 35, 54, 0.08);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 35, 54, 0.05);
	overflow: hidden;
}

.main-content.bgc-grey-100 .email-side-nav,
.main-content.bgc-grey-100 .email-wrapper {
	background: #fff;
}

.main-content.bgc-grey-100 .email-side-nav .nav-link {
	border-radius: 8px;
	font-weight: 700;
	margin-bottom: 4px;
}

.main-content.bgc-grey-100 .email-side-nav .nav-link:hover,
.main-content.bgc-grey-100 .email-side-nav .nav-link.active {
	background: rgba(247, 115, 60, 0.10);
	color: #0b333f !important;
}

@media (max-width: 767px) {
	.wz-auth-shell {
		display: block !important;
		min-height: 100vh;
	}

	.wz-auth-panel {
		box-shadow: none;
		max-width: none !important;
		min-height: 100vh;
		padding: 28px 20px 44px !important;
	}

	.wz-auth-panel h4 {
		font-size: 25px;
	}

	.member-hero {
		flex-direction: column;
		padding: 22px;
	}

	.member-quick-actions {
		grid-template-columns: 1fr;
	}

	.member-hero-actions {
		justify-content: flex-start;
	}

	.main-content.bgc-grey-100 #mainContent {
		padding: 16px;
	}

	.main-content.bgc-grey-100 .card-columns {
		grid-template-columns: 1fr;
	}

	.main-content.bgc-grey-100 .masonry-item[style*="padding"] {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.main-content.bgc-grey-100 .form-row {
		display: block;
	}

	.wz-auth-terms .form-check-label {
		align-items: flex-start;
	}

	.wz-auth-terms .form-check-input {
		margin-top: 3px;
	}

	.wz-auth-terms .form-check-label span {
		white-space: normal;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.member-quick-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.main-content.bgc-grey-100 .card-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
