@import "variables.css";

.btn-primary {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: #fff !important;
}

.btn-primary:hover {
	background-color: var(--color-primary-dark) !important;
	border-color: var(--color-primary-dark) !important;
}

.btn-outline-primary {
	color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
}

.btn-outline-primary:hover {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: #fff !important;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

/* Layout */
.container {
	max-width: 1240px !important;
}

.section {
	padding: 5rem 0;
}

.section.bg-subtle {
	background-color: #F3EEFF22;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 2.5rem;
}

.section-head.center {
	justify-content: center;
	text-align: center;
}

.section-head h2 {
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--color-secondary);
	letter-spacing: -0.02em;
	margin-bottom: 0.25rem;
}

.section-head p {
	color: var(--color-text-muted);
	font-size: 1rem;
}

.see-all-link {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.see-all-link:hover {
	opacity: 0.75;
}

/* Header & Navbar */
.main-header {
	top: 0;
	z-index: 1030;
	transition: all 0.3s ease;
}

.navbar-brand span {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.nav-link {
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--color-text-muted) !important;
	transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
	color: var(--color-secondary) !important;
}

.nav-link.active {
	font-weight: 700;
}

.btn-nav-primary {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
	display: inline-block;
}

/* Mitra Refresh Button */
.btn-refresh-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: var(--color-bg-light);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	transition: all 0.3s ease;
	padding: 0;
	cursor: pointer;
}

.btn-refresh-icon:hover {
	opacity: 0.8;
	background: var(--color-primary-light);
}

/* Home Page */
.hero {
	background: var(--gradient-brand);
	padding: 6rem 0 7rem;
	position: relative;
	overflow: hidden;
}

.hero-content {
	max-width: 700px;
	position: relative;
	z-index: 2;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.375rem 1rem;
	border-radius: 100px;
	margin-bottom: 1.75rem;
	backdrop-filter: blur(8px);
}

.hero h1 {
	font-size: 3.25rem;
	font-weight: 900;
	color: var(--color-white);
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 1.25rem;
}

.hero-highlight {
	color: rgba(255, 255, 255, 0.85);
}

.hero p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.125rem;
	max-width: 520px;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero-search {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-lg);
	padding: 0.625rem 0.625rem 0.625rem 1.5rem;
	max-width: 800px;
}

.hero-search-input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: var(--color-white);
	font-size: 1rem;
	font-family: inherit;
	height: 52px;
}

.hero-search-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	padding: 0.875rem 2rem;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
	font-family: inherit;
	white-space: nowrap;
	min-height: 52px;
}

.hero-search-btn:hover {
	background: var(--color-primary-dark);
}

.hero-shapes .shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.07;
	background: white;
}

.shape-1 {
	width: 500px;
	height: 500px;
	right: -100px;
	top: -100px;
}

.shape-2 {
	width: 300px;
	height: 300px;
	right: 150px;
	bottom: -80px;
}

.shape-3 {
	width: 150px;
	height: 150px;
	right: 450px;
	top: 100px;
}

/* Stats Bar */
.stats-bar {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: 1.5rem 0;
}

.stat-item {
	padding: 1rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 1.25rem;
	background: var(--color-white);
	transition: transform 0.2s ease;
	width: 100%;
}

@media (max-width: 991px) {
	.stat-item {
		padding: 1.25rem 0.5rem;
		border-radius: var(--radius);
	}

	.stats-grid>div {
		display: flex;
		justify-content: center;
	}

	.stat-item {
		max-width: 180px;
		/* Force a consistent width to align blocks */
		margin: 0 auto;
	}
}

.stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	opacity: 0.9;
	width: 42px;
	/* Fixed width to align text perfectly */
	flex-shrink: 0;
}

.stat-info {
	display: flex;
	flex-direction: column;
	text-align: left;
	gap: 0.125rem;
	line-height: 1.2;
}

.stat-number {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-primary);
	letter-spacing: -0.03em;
	line-height: 1;
}

.stat-label {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	font-weight: 500;
	white-space: nowrap;
}

/* Category Cards */

.category-card-link {
	text-decoration: none;
}

.cat-card {
	background: linear-gradient(135deg, var(--cat-from), var(--cat-to));
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	color: white;
	transition: transform 0.25s, box-shadow 0.25s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.cat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.cat-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
	display: block;
}

.cat-card h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.cat-card p {
	font-size: 0.8125rem;
	opacity: 0.8;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0;
}

/* Product Cards */

.product-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.product-img {
	height: 148px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.product-img-badge {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	background: var(--color-primary);
	color: white;
	font-size: 0.725rem;
	font-weight: 700;
	padding: 0.3rem 0.875rem;
	border-radius: 100px;
	/* Pill shape */
	text-transform: uppercase;
	letter-spacing: 0.04em;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.1);
	line-height: 1;
}

.product-body {
	padding: 1.25rem;
}

.product-body h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin-bottom: 0.5rem;
	line-height: 1.3;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-desc {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.55;
	margin-bottom: 1rem;
	min-height: 3.1em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--color-bg);
	padding-top: 0.875rem;
	gap: 0.75rem;
	margin-top: auto;
}

.price-tag {
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-primary);
}

.btn-detail {
	background: var(--color-primary);
	color: white;
	border: none;
	padding: 0.45rem 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, transform 0.1s;
	font-family: inherit;
	white-space: nowrap;
}

.btn-detail:hover {
	background: var(--color-primary-dark);
	transform: translateY(-1px);
}

/* Why Us */
.why-grid {
	margin-top: 1rem;
}

.why-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	padding: 2rem;
	border: 1px solid var(--color-border);
	text-align: center;
	transition: box-shadow 0.2s;
}

.why-card:hover {
	box-shadow: var(--shadow);
}

.why-icon {
	width: 52px;
	height: 52px;
	background: var(--color-primary-light);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	color: var(--color-primary);
}

.why-card h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin-bottom: 0.75rem;
}

.why-card p {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

/* CTA Section */
.cta-section {
	padding-bottom: 5rem;
}

.cta-box {
	background: var(--gradient-hero);
	border-radius: var(--radius-xl);
	padding: 4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	position: relative;
	overflow: hidden;
}

.cta-box::before {
	content: '';
	position: absolute;
	width: 350px;
	height: 350px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 50%;
	right: -80px;
	top: -80px;
}

.cta-text {
	color: white;
	position: relative;
}

.cta-text h2 {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.cta-text p {
	opacity: 0.8;
	font-size: 1rem;
	max-width: 480px;
}

.btn-cta {
	background: white;
	color: var(--color-primary);
	padding: 0.875rem 2rem;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s, box-shadow 0.2s;
	display: inline-block;
	position: relative;
	z-index: 1;
}

.btn-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Auth & Forms */
.form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.375rem;
}

.form-input {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.9375rem;
	background: white;
	outline: none;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.form-error {
	font-size: 0.8125rem;
	color: var(--color-error);
	margin-top: 0.3rem;
}

.btn-primary {
	background: var(--gradient-primary);
	color: white !important;
	border: none;
	padding: 0.625rem 1.5rem;
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
	font-family: inherit;
	font-size: 0.9375rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
	filter: brightness(1.05);
}

.btn-primary:active {
	transform: translateY(1px);
	box-shadow: 0 2px 6px rgba(30, 64, 175, 0.2);
	filter: brightness(0.95);
}

.category-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.25rem;
	border-radius: 100px;
	font-weight: 600;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--color-border);
	background: var(--color-white);
	color: var(--color-text-muted);
	box-shadow: var(--shadow-sm);
	white-space: nowrap;
}

.category-pill:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.category-pill.active {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	color: white !important;
	border-color: transparent;
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.category-pill.active:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

.category-pill.btn-login-nav:hover {
	background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* Profile Dropdown Styling */
.nav-profile-dropdown .dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 15px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 50px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.nav-profile-dropdown .dropdown-toggle:hover {
	background: #f1f5f9;
	border-color: var(--color-primary);
}

.nav-profile-avatar {
	width: 32px;
	height: 32px;
	background: var(--color-primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}

.nav-profile-info .name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-dark);
	display: block;
}

.nav-profile-info .role {
	font-size: 0.7rem;
	color: var(--color-text-muted);
	display: block;
	line-height: 1;
}

.dropdown-menu-premium {
	border: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	border-radius: 15px;
	padding: 10px;
	margin-top: 10px !important;
	min-width: 220px;
}

.dropdown-item-premium {
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text-dark);
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.2s ease;
}

.dropdown-item-premium:hover {
	background: #f8fafc;
	color: var(--color-primary);
	transform: translateX(5px);
}

.dropdown-item-premium svg {
	width: 18px;
	height: 18px;
	opacity: 0.7;
}

.dropdown-item-premium:hover svg {
	opacity: 1;
	color: var(--color-primary);
}

.dropdown-divider-premium {
	margin: 8px 0;
	border-top: 1px solid #f1f5f9;
}

.category-pill:active {
	transform: translateY(1px);
}

.btn-secondary {
	background: var(--color-primary-light);
	color: var(--color-primary);
	padding: 0.625rem 1.5rem;
	border-radius: var(--radius);
	font-weight: 600;
	border: 1px solid var(--color-primary-light);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-secondary:hover {
	background: white;
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.card {
	background: white;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 2rem;
}

.alert-error {
	background: #FEF2F2;
	border: 1px solid #FECACA;
	color: var(--color-error);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
}

.text-primary {
	color: var(--color-primary);
}

.text-muted {
	color: var(--color-text-muted);
}

/* FOOTER */
.main-footer {
	background: var(--color-dark);
	color: var(--footer-text);
	padding: 4.5rem 0 2rem;
}

.footer-brand .brand {
	color: white;
	font-size: 1.375rem;
	margin-bottom: 1.25rem;
	display: inline-flex;
}

.footer-brand p {
	font-size: 0.875rem;
	line-height: 1.7;
}

.footer-col h4 {
	color: white;
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: white;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 0.875rem;
}

.footer-contact-item:hover {
	color: var(--color-primary-light);
	transform: translateX(4px);
}

.footer-contact-icon {
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-primary-light);
	transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
	background: var(--color-primary);
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.5rem;
	text-align: center;
	font-size: 0.8125rem;
}

/* Mitra Listing */
.products-page {
	min-height: 80vh;
	padding-bottom: 5rem;
}

.search-icon {
	color: var(--color-text-muted);
	flex-shrink: 0;
}


.btn-clear-filter {
	color: var(--color-text-muted);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	padding: 0.5rem 0.75rem;
	white-space: nowrap;
	transition: color 0.2s;
}

.btn-clear-filter:hover {
	color: var(--color-error);
}

.products-layout {
	padding-top: 2rem;
}

/* Sidebar */

@media (min-width: 992px) {
	.products-sidebar {
		align-self: flex-start;
		position: sticky;
		top: 160px;
		z-index: 1010;
		margin-bottom: 2rem;
		height: fit-content;
	}
}

.offcanvas-lg.offcanvas-start {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-filter-mobile {
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	background: transparent;
	transition: all 0.2s;
}

.btn-filter-mobile:hover,
.btn-filter-mobile:active {
	background: var(--color-primary-light);
	color: var(--color-primary);
}

.sidebar-title {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.sidebar-category-list {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.sidebar-cat-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--color-text-muted);
	font-weight: 500;
	font-size: 0.9375rem;
	transition: all 0.15s;
}

.sidebar-cat-item:hover {
	background: var(--color-primary-light);
	color: var(--color-primary);
}

.sidebar-cat-item.active {
	background: var(--color-primary-light);
	color: var(--color-primary);
	font-weight: 600;
}

.sidebar-cat-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--color-border);
	flex-shrink: 0;
}

.sidebar-cat-item.active .sidebar-cat-dot {
	background: var(--color-primary);
}

.sidebar-cat-count {
	margin-left: auto;
	font-size: 0.75rem;
	background: var(--color-bg);
	color: var(--color-text-muted);
	padding: 0.1rem 0.5rem;
	border-radius: 100px;
}

.sidebar-divider {
	height: 1px;
	background: var(--color-border);
	margin: 1.5rem 0;
}

.sidebar-info-box {
	background: var(--color-primary-light);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
}

.sidebar-info-box p {
	font-size: 0.8125rem;
	color: var(--color-secondary);
	margin-bottom: 0.625rem;
	line-height: 1.5;
}

.sidebar-info-box a {
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

/* Products Content */
.products-result-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.result-sort {
	font-size: 0.875rem;
	font-weight: 500;
	background: white;
	border: 1px solid var(--color-border);
	padding: 0.375rem 0.875rem;
	border-radius: var(--radius-sm);
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 6rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.empty-icon {
	margin-bottom: 2rem;
	opacity: 0.8;
}

.empty-state h3 {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-secondary);
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.empty-state p {
	color: var(--color-text-muted);
	font-size: 1rem;
	max-width: 440px;
	line-height: 1.6;
}

.empty-state a {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--color-primary-light);
	transition: all 0.2s;
}

.empty-state a:hover {
	color: var(--color-primary-dark);
	border-bottom-color: var(--color-primary);
}

/* MITRA HERO BANNER */
.mitra-hero {
	background: var(--gradient-brand);
	padding: 3.5rem 0;
}

.mitra-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.mitra-hero-label {
	display: inline-block;
	background: rgba(30, 64, 175, 0.3);
	border: 1px solid rgba(30, 64, 175, 0.4);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.3rem 0.875rem;
	border-radius: 100px;
	margin-bottom: 1rem;
	display: block;
}

.mitra-hero-text h1 {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--color-white);
	letter-spacing: -0.025em;
	margin-bottom: 0.75rem;
}

.mitra-hero-text p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9375rem;
	max-width: 480px;
	line-height: 1.65;
}

.mitra-hero-stats {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 2rem;
	border-radius: var(--radius-lg);
	flex-shrink: 0;
}

.mstat-item {
	text-align: center;
}

.mstat-item strong {
	display: block;
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--color-white);
	letter-spacing: -0.03em;
}

.mstat-item span {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	white-space: nowrap;
}

.mstat-divider {
	width: 1px;
	height: 40px;
	background: rgba(255, 255, 255, 0.12);
}

/* FAQ & Contact */
.page-hero-sm {
	background: var(--gradient-brand);
	padding: 3rem 0;
	text-align: center;
}

.page-hero-sm h1 {
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-white);
	margin-bottom: 0.5rem;
}

.page-hero-sm p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1rem;
}

.faq-contact-page {
	padding: 4rem 0 6rem;
}

.sub-section-head {
	margin-bottom: 2.5rem;
}

.sub-section-head h2 {
	font-size: 1.625rem;
	font-weight: 800;
	color: var(--color-secondary);
	letter-spacing: -0.02em;
	margin-bottom: 0.375rem;
}

.sub-section-head p {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq-item {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.2s;
}

.faq-item[open] {
	box-shadow: var(--shadow);
	border-color: var(--color-primary);
}

.faq-item summary {
	padding: 1.125rem 1.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-secondary);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '+';
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--color-primary);
	transition: transform 0.2s;
	flex-shrink: 0;
	margin-left: 1rem;
}

.faq-item[open] summary::after {
	content: '−';
}

.faq-body {
	padding: 0 1.5rem 1.25rem;
	border-top: 1px solid var(--color-border);
}

.faq-body p {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
	padding-top: 1rem;
}

.faq-contact-divider {
	height: 1px;
	background: var(--color-border);
	margin: 4rem 0;
}


.contact-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: box-shadow 0.2s;
}

.contact-card:hover {
	box-shadow: var(--shadow);
}

.contact-icon {
	width: 52px;
	height: 52px;
	background: var(--color-primary-light);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--color-primary);
}

.contact-card h4 {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin-bottom: 0.25rem;
}

.contact-card p {
	color: var(--color-text);
	font-size: 0.9375rem;
}

.contact-form {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem;
}

.contact-form h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin-bottom: 1.5rem;
}

.form-group {
	margin-bottom: 1.25rem;
}

/* Animations & Skeleton */
.skeleton-card {
	background: #f0f0f0;
	background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

.fade-in-up {
	animation: fadeInUp 0.35s ease forwards;
	opacity: 0;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cursor-pagination-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	background: white;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.cursor-pagination-btn:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: var(--color-primary-light);
}

.cursor-pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Auth Pages */
.auth-page {
	min-height: 100vh;
}

.auth-left {
	background: var(--gradient-hero);
	padding: 3.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--color-white);
	position: relative;
	overflow: hidden;
	min-height: 100vh;
}

.auth-left::before {
	content: '';
	position: absolute;
	top: 5%;
	left: -10%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.2) 0%, rgba(30, 64, 175, 0) 70%);
}

.auth-left::after {
	content: '';
	position: absolute;
	bottom: -5%;
	right: -10%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, rgba(30, 64, 175, 0) 70%);
}

.auth-brand {
	position: relative;
	z-index: 1;
}

.auth-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 0.5rem;
	text-decoration: none;
	color: inherit;
}

.auth-tagline {
	font-size: 0.875rem;
	opacity: 0.75;
}

.auth-hero {
	position: relative;
	z-index: 1;
}

.auth-hero h1 {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1.25rem;
	letter-spacing: -0.02em;
}

.auth-hero h1 span {
	opacity: 0.85;
	display: block;
	font-size: 1.75rem;
	font-weight: 600;
}

.auth-hero p {
	font-size: 1rem;
	opacity: 0.8;
	line-height: 1.7;
	margin-bottom: 2.5rem;
}

.auth-features {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.auth-features li {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	font-size: 0.9375rem;
	opacity: 0.9;
}

.auth-right {
	background-color: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	min-height: 100vh;
}

.auth-card-scene {
	width: 100%;
	max-width: 580px;
	perspective: 2000px;
	margin: 1.5rem 0;
}

.auth-card-inner {
	position: relative;
	width: 100%;
	transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform-style: preserve-3d;
}

.auth-card-scene.is-flipped .auth-card-inner {
	transform: rotateY(180deg);
}

.auth-card-front,
.auth-card-back {
	width: 100%;
	backface-visibility: hidden;
	background-color: var(--color-white);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-lg);
	padding: 2.5rem 3rem;
}

.auth-card-back {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	transform: rotateY(180deg);
	display: flex;
	flex-direction: column;
}

.auth-card-scene.is-flipped .auth-card-front {
	visibility: hidden;
	transition: visibility 0.4s;
}

.auth-card-scene:not(.is-flipped) .auth-card-back {
	visibility: hidden;
	transition: visibility 0.4s;
}

/* Role Switch */
.role-toggle-container {
	background: #eaedf7;
	padding: 0.4rem;
	border-radius: 100px;
	display: flex;
	margin-bottom: 0.5rem;
	position: relative;
	z-index: 10;
	border: 1px solid rgba(0, 0, 0, 0.03);
}

.role-toggle-btn {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.75rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-text-muted);
	border-radius: 100px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	white-space: nowrap;
}

.role-toggle-btn.active {
	background: var(--color-white);
	color: var(--color-primary);
	box-shadow: 0 4px 15px rgba(108, 92, 231, 0.15);
}

.auth-card-header {
	margin-bottom: 2.25rem;
}

.auth-card-header h2 {
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--color-secondary);
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.auth-card-header p {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.auth-footer {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.auth-footer a {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: none;
}

/* Register */
.auth-page.is-register {
	flex-direction: row-reverse;
}

.input-password-wrap {
	position: relative;
}

.input-password-wrap .form-input {
	padding-right: 3rem;
}

.toggle-password {
	position: absolute;
	right: 0.875rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--color-text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
}

.toggle-password:hover {
	color: var(--color-primary);
}

@media (max-width: 991px) {
	.auth-left {
		width: 40%;
		padding: 2.5rem;
	}

	.auth-card {
		padding: 2.5rem;
	}
}

@media (max-width: 768px) {

	.auth-page,
	.auth-page.is-register {
		flex-direction: column;
	}

	.auth-left {
		width: 100%;
		min-height: auto;
		padding: 3rem 2rem;
	}

	.auth-right {
		padding: 2rem 1.5rem;
	}

	.auth-card {
		padding: 2rem;
	}
}

.hover-primary:hover {
	color: var(--color-primary) !important;
}

.auth-footer hr {
	border-top: 1px solid var(--color-border);
	opacity: 0.1;
}


/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.125rem;
	}

	.hero {
		padding: 4rem 0 5rem;
	}

	.hero-search {
		flex-wrap: wrap;
		padding: 0.75rem;
		gap: 0.5rem;
	}

	.hero-search-input {
		width: 100%;
	}

	.cta-box {
		flex-direction: column;
		padding: 2.5rem;
	}

	.mitra-hero-inner {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}

	.mitra-hero-stats {
		flex-direction: column;
		width: 100%;
		gap: 1rem;
		padding: 1.5rem;
	}

	.mstat-divider {
		display: none;
	}

	.mitra-hero-text p {
		margin-left: auto;
		margin-right: auto;
	}
}

/* PRELOADER */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.fade-out {
	opacity: 0;
	visibility: hidden;
}

.loader {
	width: 50px;
	height: 50px;
	border: 5px solid transparent;
	border-top-color: var(--color-primary);
	border-bottom-color: var(--color-primary);
	border-radius: 50%;
	animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.login-page {
	min-height: 100vh;
	display: flex;
}

.login-left {
	width: 45%;
	background: var(--gradient-hero);
	padding: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.login-left::before {
	content: '';
	position: absolute;
	top: 5%;
	left: -10%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.2) 0%, rgba(30, 64, 175, 0) 70%);
}

.brand-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.login-hero h1 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 1rem;
}

.login-right {
	flex: 1;
	background-color: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-card {
	background-color: white;
	border-radius: 1.25rem;
	box-shadow: 0 8px 40px rgba(45, 53, 97, 0.1);
	padding: 2.5rem;
	width: 100%;
	max-width: 440px;
}

.form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	outline: none;
	transition: all 0.2s;
}

.form-input:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-login {
	width: 100%;
	padding: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.nav-login-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.25rem;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: inherit;
}

.nav-login-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary-light);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.4s ease;
	border: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.nav-login-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nav-login-text .label {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 2px;
}

.nav-login-text .action {
	font-size: 0.9375rem;
	color: var(--color-secondary);
	font-weight: 700;
	line-height: 1;
	position: relative;
	display: inline-block;
}

.nav-login-text .action::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-primary);
	transition: width 0.3s ease;
}

/* Hover States */
.nav-login-link:hover .nav-login-icon {
	background: var(--color-primary);
	color: white;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.nav-login-link:hover .action {
	color: var(--color-primary);
}

.nav-login-link:hover .action::after {
	width: 100%;
}

.nav-login-link:hover {
	transform: translateX(3px);
}

@media (max-width: 991px) {
	.nav-login-link {
		padding: 0.5rem 0;
	}
}

.hover-up:hover {
	transform: translateY(-2px);
	transition: transform 0.3s ease;
}

.nav-profile-dropdown .dropdown-toggle::after {
	display: none !important;
}

.dropdown-item-premium:active {
	background-color: var(--color-primary);
	color: white;
}

.dropdown-menu-premium {
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Register Utils */
.btn-toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: none;
	color: #9ca3af;
	padding: 0;
	line-height: 0;
	transition: color 0.2s;
}

.btn-toggle-password:hover {
	color: var(--color-primary);
}

.position-relative .is-invalid {
	background-image: none !important;
	padding-right: 2.5rem !important;
}

.password-checklist {
	padding-left: 0;
}

.password-checklist li {
	transition: all 0.3s ease;
}

.password-checklist li .check-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	transition: all 0.3s ease;
}

.password-checklist li.valid {
	color: #10b981 !important;
}

.password-checklist li.valid .check-icon {
	background: #10b981;
	color: white;
}

.password-checklist li.invalid-active {
	color: #ef4444;
}

.password-checklist li.invalid-active .check-icon {
	background: #fee2e2;
	color: #ef4444;
}

.auth-card-inner {
	padding: 1.5rem !important;
}

.auth-card-header {
	margin-bottom: 1.25rem !important;
}

.form-group {
	margin-bottom: 0.75rem !important;
}

/* Toast */
.toast {
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-bottom: 12px;
	animation: toastSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toastSlideIn {
	from {
		transform: translateX(100%) scale(0.9);
		opacity: 0;
	}

	to {
		transform: translateX(0) scale(1);
		opacity: 1;
	}
}

.toast-body {
	padding: 0.75rem 1rem;
}

.toast-icon-wrapper {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.25rem;
}

.toast-success .toast-icon-wrapper {
	background: #ecfdf5;
	color: #10b981;
}

.toast-error .toast-icon-wrapper {
	background: #fef2f2;
	color: #ef4444;
}

.toast-warning .toast-icon-wrapper {
	background: #fffbeb;
	color: #f59e0b;
}

.toast-message-content {
	margin-left: 12px;
}

.toast-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 2px;
}

.toast-desc {
	font-size: 0.8rem;
	color: #64748b;
	font-weight: 500;
}


/* Product Detail */
.product-main-img-wrapper {
	transition: transform 0.3s ease;
}

.product-main-img-wrapper:hover img {
	transform: scale(1.02);
}

.product-main-img-wrapper img {
	transition: transform 0.5s ease;
}

.product-thumbnails .thumb-item {
	opacity: 0.7;
	transition: all 0.2s ease;
}

.product-thumbnails .thumb-item:hover,
.product-thumbnails .thumb-item.active {
	opacity: 1;
}

.checkout-sticky-card {
	transition: box-shadow 0.3s ease;
}

.checkout-sticky-card:hover {
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.price-display {
	background: linear-gradient(135deg, #F8F9FF 0%, #F1F5F9 100%) !important;
}

.nav-tabs .nav-link {
	padding-bottom: 1rem;
	margin-right: 1.5rem;
}

.description-text {
	line-height: 1.8;
	color: #4A5568 !important;
}

.detail-info-item {
	border: 1px solid rgba(0, 0, 0, 0.03);
	transition: background 0.2s;
}

.detail-info-item:hover {
	background: #EBF4FF !important;
}

.success-icon {
	animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
	from {
		transform: scale(0);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

@media (max-width: 991px) {
	.checkout-sticky-card {
		background: white;
		margin-top: 2rem;
		position: relative !important;
		top: 0 !important;
	}
}

/* Product Detail Utils */
.product-detail-page {
	background-color: #F8F9FE;
	overflow-x: hidden;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: "•";
	color: #cbd5e0;
}

.breadcrumb-item a {
	color: var(--color-text-muted);
}

.thumb-item {
	cursor: pointer;
	border: 3px solid transparent;
	transition: all 0.2s;
	border-radius: 12px;
}

.thumb-item.active {
	border-color: var(--color-primary);
}

.nav-tabs .nav-link {
	color: var(--color-text-muted);
	transition: all 0.2s;
	font-size: 1.1rem;
	position: relative;
}

.nav-tabs .nav-link.active {
	color: var(--color-secondary) !important;
}

.nav-tabs .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 30px;
	height: 4px;
	background: var(--color-primary);
	border-radius: 10px;
}

.checkout-sticky-card {
	background: white;
	border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.product-card-hover {
	transition: transform 0.2s, box-shadow 0.2s;
}

.product-card-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.detail-info-item {
	padding: 1rem;
	background: #f1f5f9;
	border-radius: 1rem;
	height: 100%;
}

.event-system-card {
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.event-system-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.event-system-card:has(input[type="radio"]:checked) {
	border-color: var(--color-primary);
	background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.event-system-card:has(input[type="radio"]:checked) .es-check {
	background: var(--color-primary);
	border-color: var(--color-primary) !important;
	color: white;
}

.event-system-card:has(input[type="radio"]:checked) .es-check .bi-check-lg {
	display: block !important;
}

/* OTP */
.btn-resend-link {
	background: none;
	border: none;
	padding: 0;
	color: var(--color-primary);
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.btn-resend-link:disabled {
	color: var(--color-text-muted);
	cursor: not-allowed;
	opacity: 0.7;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Horizontal Scroll */
.horizontal-scroll-wrapper {
	position: relative;
}

.systems-scroll-container {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 1.5rem;
	padding: 1.25rem 0 3rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.systems-scroll-container::-webkit-scrollbar {
	display: none;
}

.system-scroll-item {
	flex: 0 0 100%;
	scroll-snap-align: start;
	height: auto;
	display: flex;
}

@media (min-width: 1200px) {
	.system-scroll-item {
		flex: 0 0 calc(25% - 1.125rem);
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.system-scroll-item {
		flex: 0 0 calc(50% - 0.75rem);
	}
}

@media (max-width: 991px) and (min-width: 576px) {
	.system-scroll-item {
		flex: 0 0 calc(50% - 0.75rem);
	}
}

@media (max-width: 575px) {
	.system-scroll-item {
		flex: 0 0 calc(100% - 1rem);
		/* Slight offset to show next item */
	}
}

/* Recommendations Horizontal Scroll (Mitra Page) */
.rec-scroll-wrapper {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 1.5rem;
	padding: 1rem 0 2rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE/Edge */
}

.rec-scroll-wrapper::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

.rec-scroll-item {
	flex: 0 0 100%;
	scroll-snap-align: start;
	height: auto;
	display: flex;
}

@media (min-width: 1200px) {
	.rec-scroll-item {
		flex: 0 0 calc(33.333% - 1rem);
		/* 3 items per view */
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.rec-scroll-item {
		flex: 0 0 calc(50% - 0.75rem);
		/* 2 items per view */
	}
}

@media (max-width: 991px) and (min-width: 576px) {
	.rec-scroll-item {
		flex: 0 0 calc(50% - 0.75rem);
		/* 2 items per view */
	}
}

@media (max-width: 575px) {
	.rec-scroll-item {
		flex: 0 0 calc(85% - 0.5rem);
		/* Show part of next item */
	}
}

.system-scroll-item .product-card {
	width: 100%;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

.system-scroll-item .product-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.system-scroll-item .product-foot {
	margin-top: auto;
}

.btn-load-more-horizontal {
	flex: 0 0 180px;
	height: 100%;
	min-height: 300px;
	background: white;
	border: 2px dashed var(--color-border);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: var(--color-primary);
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: center;
	padding: 2rem;
	font-weight: 700;
	line-height: 1.3;
}

.btn-load-more-horizontal:hover {
	border-color: var(--color-primary);
	background: var(--color-primary-light);
	transform: translateY(-5px);
}

.load-more-icon {
	width: 48px;
	height: 48px;
	background: var(--color-primary-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

.scroll-action-area {
	display: flex;
	align-items: center;
	padding-bottom: 2.5rem;
}

/* Scroll Dots */
.scroll-dots {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 1rem;
	padding: 0 1rem;
}

.scroll-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d1d5db;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: none;
	padding: 0;
	opacity: 0.6;
}

.scroll-dot.active {
	background: var(--color-primary);
	width: 24px;
	border-radius: 100px;
	opacity: 1;
}

/* Role Selection Styles */
.role-option-wrapper {
	cursor: pointer;
	display: block;
	height: 100%;
}

.role-option-card {
	background: #fcfcfc;
	border: 2px solid #f1f5f9;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-icon-circle {
	width: 72px;
	height: 72px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px !important;
}

.circle-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
	box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-svg {
	position: relative;
	z-index: 1;
	color: #7c3aed;
	width: 32px;
	height: 32px;
	transition: all 0.4s ease;
}

/* Checked State */
.role-radio:checked+.role-option-card {
	background: #fff;
	border-color: #7c3aed;
	box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.1), 0 10px 10px -5px rgba(124, 58, 237, 0.04);
}

.role-radio:checked+.role-option-card .circle-bg {
	background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
	box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.role-radio:checked+.role-option-card .role-svg {
	color: #fff;
	transform: scale(1.1);
}

.role-radio:checked+.role-option-card h5 {
	color: #7c3aed;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.category-button {
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid #e2e8f0;
	color: #64748b;
	background: #fff;
}

.category-radio:checked+.category-button {
	background: #f5f3ff;
	border-color: #7c3aed;
	color: #7c3aed;
}

.category-button:hover {
	background: #f8fafc;
}

.btn-primary {
	background: #7c3aed;
	border-color: #7c3aed;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: #6d28d9;
	border-color: #6d28d9;
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
}

@media (max-width: 576px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Checkout Modal */
.checkout-modal-content {
	background: #ffffff;
	border-radius: 1.5rem;
	overflow: hidden;
	position: relative;
	border: none;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close-btn {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 1060;
	background: #F1F5F9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	color: #64748B;
}

.modal-close-btn:hover {
	background: #E2E8F0;
	color: var(--color-secondary);
	transform: rotate(90deg);
}

.system-event-layout {
	display: flex;
	height: 550px;
	background: #fff;
}

.system-event-sidebar {
	width: 320px;
	background: #F8FAFC;
	border-right: 1px solid #E2E8F0;
	display: flex;
	flex-direction: column;
}

.sidebar-header {
	padding: 1.75rem 1.5rem;
	background: #fff;
	border-bottom: 1px solid #F1F5F9;
}

.sidebar-header h5 {
	color: var(--color-secondary);
	letter-spacing: -0.01em;
}

.sidebar-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	scrollbar-width: thin;
	scrollbar-color: #CBD5E1 #F1F5F9;
}

.sidebar-scroll::-webkit-scrollbar {
	width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
	background: #F1F5F9;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
	background: #CBD5E1;
	border-radius: 10px;
}

.system-event-item {
	padding: 1rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 1rem;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 0.875rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.system-event-item .icon-box {
	width: 48px;
	height: 48px;
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	transition: all 0.3s;
	background: linear-gradient(135deg, var(--color-secondary) 0%, #111827 100%);
	color: #fff;
	box-shadow: 0 4px 10px rgba(27, 11, 59, 0.2);
}

.system-event-item:hover {
	background: #fff;
	border-color: #E2E8F0;
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.system-event-item.active {
	background: #fff;
	border-color: var(--color-primary);
	box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.15);
}

.system-event-item.active .icon-box {
	transform: scale(1.05);
}

.system-event-detail {
	flex: 1;
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.detail-content {
	flex: 1;
	overflow-y: auto;
	padding: 3rem;
	background: #fff;
}

.recommendation-icon-box {
	width: 64px;
	height: 64px;
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 2rem;
	background: linear-gradient(135deg, var(--color-secondary) 0%, #111827 100%);
	color: #fff;
	box-shadow: 0 10px 20px -5px rgba(27, 11, 59, 0.4);
}

.detail-price-display {
	padding: 0.75rem 0;
	margin-bottom: 2rem;
}

.detail-price-display .currency {
	font-size: 1rem;
	font-weight: 700;
	color: #94A3B8;
	margin-right: 0.25rem;
}

.detail-price-display .amount {
	font-size: 2rem;
	font-weight: 900;
	color: var(--color-primary);
	letter-spacing: -0.02em;
}

.detail-desc {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #475569;
}

.detail-footer {
	padding: 2rem 2.5rem;
	border-top: 1px solid #F1F5F9;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	text-align: center;
}

.detail-footer .grow {
	width: 100%;
}

.detail-footer .d-flex {
	width: 100%;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
}

.detail-footer .btn {
	padding: 1.125rem 2rem;
	font-size: 1rem;
	width: 100%;
	max-width: 500px;
}

.icon-box-lg {
	width: 64px;
	height: 64px;
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 2rem;
	background: linear-gradient(135deg, var(--color-secondary) 0%, #111827 100%);
	color: #fff;
	box-shadow: 0 10px 20px -5px rgba(27, 11, 59, 0.4);
}

.badge-premium {
	background: #F3EEFF;
	color: var(--color-primary);
	padding: 0.35rem 0.85rem;
	border-radius: 100px;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: inline-block;
	margin-bottom: 1rem;
}

.price-premium-card {
	padding: 1.5rem 2.25rem;
	background: #fff;
	border-radius: 1.5rem;
	border: 1px solid #F1F5F9;
	display: inline-block;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.price-premium-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--color-primary);
}

.price-premium-card {
	background: #fff;
	border: 1px solid #F1F5F9;
	border-left: 4px solid var(--color-primary);
	padding: 0.75rem 1.25rem;
	border-radius: 0.75rem;
	display: inline-flex;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	align-items: baseline;
	gap: 0.5rem;
}

.price-premium-card .amount {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--color-primary);
	letter-spacing: -0.01em;
}

.price-premium-card .currency {
	font-size: 0.75rem;
	font-weight: 700;
	color: #94A3B8;
	text-transform: uppercase;
}

.detail-desc {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #475569;
	margin-bottom: 0;
}

.empty-detail-state {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #94A3B8;
}

.loader-item {
	border: 2px dashed #E2E8F0;
	padding: 2rem;
	text-align: center;
	border-radius: 1rem;
	color: #94A3B8;
}

/* Animations */
@keyframes fadeInUpModal {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeInUpModal 0.4s ease forwards;
}

/* Responsiveness */
@media (max-width: 991.98px) {
	.system-event-layout {
		flex-direction: column;
		height: auto;
		max-height: 80vh;
		overflow-y: auto;
	}

	.system-event-sidebar {
		width: 100%;
		height: auto;
		max-height: 300px;
		overflow-y: auto;
		border-right: none;
		border-bottom: 1px solid #F1F5F9;
		flex-shrink: 0;
	}

	.system-event-detail {
		min-height: 300px;
		overflow-y: visible;
	}

	.detail-content {
		padding: 1.5rem;
	}

	.detail-footer {
		padding: 1.5rem;
	}

	.detail-footer h6 {
		font-size: 0.95rem;
	}

	.detail-footer .btn {
		max-width: 100%;
	}
}

@media (max-width: 575.98px) {
	.checkout-modal-content {
		border-radius: 1rem;
	}

	.sidebar-header {
		padding: 1.25rem 1rem;
	}

	.sidebar-header h5 {
		font-size: 1.15rem;
	}

	.detail-content {
		padding: 1.5rem 1rem;
	}

	.price-display {
		font-size: 1.75rem;
	}

	.detail-footer {
		padding: 1.25rem 1rem;
	}

	.detail-footer .btn {
		padding: 0.875rem 1.5rem;
		font-size: 0.9rem;
	}
}

/* Landing Chat */
.bg-purple-light {
	background-color: rgba(30, 64, 175, 0.05) !important;
}

.text-purple {
	color: #2563EB !important;
}

.bg-purple {
	background: var(--gradient-brand) !important;
}

.border-purple {
	border-color: var(--color-primary) !important;
}

.border-purple-subtle {
	border-color: rgba(64, 123, 255, 0.2) !important;
}

.shadow-purple {
	box-shadow: 0 4px 14px 0 rgba(64, 123, 255, 0.3);
}

.grow {
	flex-grow: 1 !important;
}

.shrink-0 {
	flex-shrink: 0 !important;
}

.chat-item:hover {
	background-color: #f8f8f8 !important;
}

.transition-all {
	transition: all 0.2s ease !important;
}

.chat-item.active {
	background-color: var(--color-primary-light) !important;
	border-left: 4px solid var(--color-primary) !important;
}

#chat-messages::-webkit-scrollbar {
	width: 5px;
}

#chat-messages::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 5px;
}

#chat-messages:hover::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
	.chat-sidebar {
		position: absolute;
		width: 100% !important;
		height: 100%;
		left: 0;
		top: 0;
	}

	.chat-sidebar.closed {
		transform: translateX(-100%);
	}

	.chat-window {
		width: 100%;
	}
}

.h-52px {
	height: 52px !important;
}

/* Location Search */
.location-search-container {
	position: relative;
	display: block;
	z-index: 1060;
}

.location-search-toggle {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.25rem;
	background: #FFFFFF;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
	height: 52px;
	width: 100%;
}

.location-search-toggle:hover {
	border-color: #D1D5DB;
	background-color: var(--color-white);
}

.location-search-container.active .location-search-toggle {
	border-color: var(--color-border);
}

.location-search-toggle i {
	color: var(--color-primary);
	font-size: 1.125rem;
}

.location-label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.location-arrow {
	font-size: 0.75rem;
	transition: transform 0.3s ease;
	color: var(--color-text-muted);
}

.location-search-container.active .location-arrow {
	transform: rotate(180deg);
}

.location-dropdown {
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	width: 320px;
	background: white;
	border-radius: var(--radius);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	z-index: 2000;
	display: none;
	overflow: visible;
	border: 1px solid var(--color-border);
}

.location-dropdown.show {
	display: block !important;
}

.location-dropdown-search-wrap {
	padding: 1.25rem 1.25rem 1rem;
	border-bottom: 1px solid var(--color-border);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 5;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.location-dropdown-search-wrap .input-group {
	background: #f8fafc;
	border-radius: 12px;
	padding: 4px 10px;
	border: 2px solid var(--color-border);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
}

.location-dropdown-search-wrap .input-group:focus-within {
	border-color: #94a3b8;
	background: #fff;
}

.location-dropdown-search-wrap .input-group-text,
.location-dropdown-search-wrap .form-control {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0.5rem 0.25rem !important;
	height: auto !important;
}

.location-dropdown-search-wrap i {
	color: #94a3b8;
	font-size: 0.875rem;
}

.location-current {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	transition: background 0.2s;
	border-bottom: 1px solid var(--color-border);
}

.location-current:hover {
	background: #f8fafc;
}

.location-current-icon {
	width: 32px;
	height: 32px;
	background: #F3EEFF;
	color: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
}

.location-current-info {
	display: flex;
	flex-direction: column;
}

.location-current-title {
	font-weight: 700;
	color: var(--color-primary);
	font-size: 0.875rem;
}

.location-current-subtitle {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

.location-recent-header {
	padding: 0.75rem 1.25rem 0.25rem;
	font-size: 0.65rem;
	font-weight: 800;
	color: var(--color-text-muted);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.location-list {
	max-height: 250px;
	overflow-y: auto;
}

.location-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.25rem;
	cursor: pointer;
	transition: background 0.2s;
}

.location-item:hover {
	background: #f8fafc;
}

.location-item-icon {
	color: #94a3b8;
	font-size: 1rem;
}

.location-item-name {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text);
}

.products-topbar {
	overflow: visible !important;
	position: sticky;
	top: 52px;
	z-index: 1020;
	transition: top 0.3s ease;
}

@media (min-width: 992px) {
	.products-topbar {
		top: 72px;
	}
}

.mitra-location-search .location-search-toggle {
	border-radius: var(--radius) !important;
	border-right: 1px solid var(--color-border) !important;
}

@media (max-width: 767px) {
	.location-search-container {
		min-width: 100%;
	}

	.location-label {
		max-width: none;
	}

	.mitra-location-search .location-arrow {
		display: block;
	}
}

.products-topbar .input-group {
	border-radius: var(--radius);
	transition: all 0.2s ease;
	border: 1px solid var(--color-border);
}

.products-topbar .input-group:focus-within {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.sidebar-sort-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sort-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	border-radius: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	background: transparent;
	border: 1px solid transparent;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.sort-item:hover {
	background: rgba(30, 64, 175, 0.05);
	color: var(--color-primary);
}

.sort-item.active {
	background: rgba(var(--color-primary-rgb), 0.1);
	color: var(--color-primary);
	font-weight: 600;
	border-color: rgba(var(--color-primary-rgb), 0.1);
}

.sort-checkbox {
	width: 18px;
	height: 18px;
	border: 2px solid #ddd;
	border-radius: 4px;
	position: relative;
	transition: all 0.2s ease;
	background: #fff;
}

.sort-item.active .sort-checkbox {
	background: var(--color-primary);
	border-color: var(--color-primary);
}

.sort-item.active .sort-checkbox::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.price-range-inputs .form-control {
	border-radius: 0.5rem;
	font-size: 0.8rem;
	padding: 0.4rem 0.6rem;
}

.price-range-inputs .btn-primary {
	border-radius: 0.5rem;
	letter-spacing: 0.5px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

input[type=number] {
	-moz-appearance: textfield;
	appearance: textfield;
}

#price-range-form {
	display: none;
}

/* CK Editor & User Content Styles */
.ck-content ul,
.ck-content ol {
	padding-left: 2rem;
	margin-bottom: 1.5rem;
}

.ck-content li {
	margin-bottom: 0.5rem;
}

.ck-content blockquote {
	border-left: 4px solid #ddd;
	padding-left: 1rem;
	font-style: italic;
	margin: 1.5rem 0;
}

.ck-content a {
	color: var(--color-primary);
	text-decoration: underline;
}

/* Related Products */
.related-section-hidden {
	display: none !important;
}

/* Preview Alert Header */
.preview-alert {
	background-color: var(--color-primary-light);
	border: none;
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	margin-bottom: 2rem;
	box-shadow: var(--shadow-sm);
}

.preview-icon-box {
	width: 44px;
	height: 44px;
	background: white;
	color: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(var(--color-primary-rgb), 0.1);
}

.preview-alert-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin: 0;
}

.preview-alert-text {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	opacity: 0.9;
	margin: 0.125rem 0 0;
}

.btn-preview-edit {
	margin-left: auto;
	background: var(--color-primary);
	color: white !important;
	padding: 0.5rem 1.25rem;
	border-radius: 100px;
	font-weight: 700;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-preview-edit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
	filter: brightness(1.05);
}

/* Utilities & Animations */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.bi-spin {
	display: inline-block;
	animation: spin 1s linear infinite;
}

.skeleton-loading {
	position: relative;
	overflow: hidden;
	background-color: #f6f7f8;
	border: 1px solid var(--color-border);
}

.skeleton-loading::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg,
			rgba(255, 255, 255, 0) 0,
			rgba(255, 255, 255, 0.2) 20%,
			rgba(255, 255, 255, 0.5) 60%,
			rgba(255, 255, 255, 0));
	animation: shimmer 2s infinite;
}

@keyframes shimmer {
	100% {
		transform: translateX(100%);
	}
}

.skel-color {
	background-color: #e2e8f0;
	opacity: 0.6;
}

.skel-text {
	height: 12px;
	border-radius: 4px;
}

.skel-text-h {
	height: 20px;
	border-radius: 4px;
}

.skel-btn {
	border-radius: var(--radius-sm);
}

/* Profile Page */
.profile-hero {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	background: linear-gradient(150deg, var(--color-dark) 0%, var(--color-secondary) 100%);
	border-radius: 20px;
	padding: 2rem 2.5rem;
	color: white;
	box-shadow: 0 8px 24px rgba(18, 14, 46, 0.18);
}

.profile-avatar-circle {
	position: relative;
	width: 90px;
	height: 90px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 3px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.profile-avatar-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-avatar-initial {
	font-size: 2rem;
	font-weight: 700;
	color: white;
	line-height: 1;
	user-select: none;
}

.avatar-upload-btn {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid white;
	background: var(--color-primary, #7c3aed);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.65rem;
	z-index: 2;
	transition: all 0.2s;
}

.avatar-upload-btn:hover {
	transform: scale(1.12);
}

.profile-hero-name {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.3rem;
}

.profile-hero-role {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 0.2rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #e9d5ff;
}

.profile-card {
	background: white;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 2px 16px rgba(60, 20, 120, 0.07);
	border: 1px solid #ede9fe;
}

.profile-card-header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #f0ebff;
}

.profile-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	flex-shrink: 0;
	background: #ede9fe;
	color: var(--color-primary, #7c3aed);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.profile-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin: 0;
}

.profile-card-subtitle {
	font-size: 0.78rem;
	color: #9ca3af;
	margin: 0.1rem 0 0;
}

.profile-readonly-field {
	background: #faf9ff;
	border-radius: 10px;
	padding: 0.9rem 1rem;
	border: 1px solid #ede9fe;
}

.profile-field-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-primary, #7c3aed);
	font-weight: 600;
	display: block;
	margin-bottom: 0.3rem;
}

.profile-field-value {
	font-size: 0.92rem;
	color: var(--color-secondary);
	font-weight: 500;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.badge-verified {
	font-size: 0.68rem;
	background: #dcfce7;
	color: #16a34a;
	border-radius: 20px;
	padding: 0.12rem 0.55rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
}

@media (max-width: 576px) {
	.profile-hero {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
		gap: 1rem;
	}

	.profile-card {
		padding: 1.25rem;
	}
}

/* ============================================================
   Profile Page
   ============================================================ */
.profile-hero {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	background: var(--gradient-brand);
	border-radius: 20px;
	padding: 2rem 2.5rem;
	color: white;
	box-shadow: 0 8px 24px rgba(18, 14, 46, 0.18);
}

.profile-avatar-circle {
	position: relative;
	width: 90px;
	height: 90px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 3px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.profile-avatar-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-avatar-initial {
	font-size: 2rem;
	font-weight: 700;
	color: white;
	line-height: 1;
	user-select: none;
}

.avatar-upload-btn {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid white;
	background: var(--color-primary, #7c3aed);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.65rem;
	z-index: 2;
	transition: all 0.2s;
}

.avatar-upload-btn:hover {
	transform: scale(1.12);
}

.profile-hero-name {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.3rem;
}

.profile-hero-role {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 0.2rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #e9d5ff;
}

.profile-card {
	background: white;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 2px 16px rgba(60, 20, 120, 0.07);
	border: 1px solid #ede9fe;
}

.profile-card-header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #f0ebff;
}

.profile-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	flex-shrink: 0;
	background: #ede9fe;
	color: var(--color-primary, #7c3aed);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.profile-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-secondary);
	margin: 0;
}

.profile-card-subtitle {
	font-size: 0.78rem;
	color: #9ca3af;
	margin: 0.1rem 0 0;
}

.profile-readonly-field {
	background: #faf9ff;
	border-radius: 10px;
	padding: 0.9rem 1rem;
	border: 1px solid #ede9fe;
}

.profile-field-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-primary, #7c3aed);
	font-weight: 600;
	display: block;
	margin-bottom: 0.3rem;
}

.profile-field-value {
	font-size: 0.92rem;
	color: var(--color-secondary);
	font-weight: 500;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.badge-verified {
	font-size: 0.68rem;
	background: #dcfce7;
	color: #16a34a;
	border-radius: 20px;
	padding: 0.12rem 0.55rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
}

@media (max-width: 576px) {
	.profile-hero {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
		gap: 1rem;
	}

	.profile-card {
		padding: 1.25rem;
	}
}

/* Mitra Onboarding Focused Layout */
.onboarding-page-focused {
	background: var(--gradient-hero) !important;
	overflow-y: auto;
}

.onboarding-page-focused .auth-card {
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4) !important;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.category-item {
	display: flex;
}

.category-radio:checked+.category-button {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: white !important;
	box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.1);
}

.category-button {
	cursor: pointer;
	border: 1.5px solid #e2e8f0;
	transition: all 0.2s ease;
	color: #475569;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.75rem;
	height: 100%;
	width: 100%;
	min-height: 48px;
	font-size: 0.825rem;
	line-height: 1.2;
	text-align: center;
}

.category-button:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: rgba(30, 64, 175, 0.04);
}

/* Validation Support for Category Buttons */
.category-radio.is-invalid+.category-button {
	border-color: #dc3545 !important;
	background-color: rgba(220, 53, 69, 0.02);
}

.text-danger-custom {
	color: #dc3545;
	margin-left: 2px;
}

/* Ensure validation messages show for non-standard grid layouts */
.form-group:has(.category-radio.is-invalid) .invalid-feedback.error-category_id {
	display: block !important;
}

/* Force display of non-empty feedback for cases where sibling selector fails */
.form-group .invalid-feedback:not(:empty) {
	display: block !important;
}

/* YouTube Lazy Load & Player */
.yt-lazy-container {
	cursor: pointer;
	position: relative;
	background: #000;
}

.yt-thumbnail {
	transition: opacity 0.2s;
}

.yt-lazy-container:hover .yt-thumbnail {
	opacity: 0.8;
}

.yt-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.2s, transform 0.2s;
	pointer-events: none;
}

.yt-lazy-container:hover .yt-play-btn {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.1);
}

.share-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px 10px;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: #fff;
	border: 1px solid #f0f0f0;
}

.share-icon-box {
	width: 50px;
	height: 50px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.share-name {
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #4b5563;
}

.share-card.whatsapp:hover {
	background: #e7f7ef;
	border-color: #25d366;
}

.share-card.whatsapp .share-icon-box {
	background: #e7f7ef;
	color: #25d366;
}

.share-card.whatsapp:hover .share-icon-box {
	transform: scale(1.1);
	background: #25d366;
	color: #fff;
}

.share-card.facebook:hover {
	background: #e7f0ff;
	border-color: #1877f2;
}

.share-card.facebook .share-icon-box {
	background: #e7f0ff;
	color: #1877f2;
}

.share-card.facebook:hover .share-icon-box {
	transform: scale(1.1);
	background: #1877f2;
	color: #fff;
}

.share-card.twitter:hover {
	background: #f1f1f1;
	border-color: #000;
}

.share-card.twitter .share-icon-box {
	background: #f1f1f1;
	color: #000;
}

.share-card.twitter:hover .share-icon-box {
	transform: scale(1.1);
	background: #000;
	color: #fff;
}

.share-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.copy-url-wrapper {
	position: relative;
	z-index: 1;
}

.ls-1 {
	letter-spacing: 1.5px;
}

.report-option-item .btn-check:checked+label {
	border-color: var(--color-primary) !important;
	background-color: var(--color-primary-light) !important;
}

.report-option-item .btn-check:checked+label i {
	opacity: 1;
}
.otp-input-wa {
    height: 70px;
    font-size: 2rem;
    letter-spacing: 0.8rem;
    border-radius: 16px;
    border: 2px solid #dee2e6;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.otp-input-wa:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}
@media (max-width: 480px) {
    .otp-input-wa {
        height: 60px;
        font-size: 1.5rem;
        letter-spacing: 0.4rem;
        padding-left: 0.4rem;
    }
}

.h-48px { height: 48px; }
.fs-075rem { font-size: 0.75rem; }
