/* Mulish Regular */
/* @font-face {
	font-family: 'Mulish';
	src: url('../fonts/mulish.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
} */

/* Saira Regular */
/* @font-face {
	font-family: 'Saira';
	src: url('../fonts/saira.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
} */

/* Sarabun Regular */
/* @font-face {
	font-family: 'Sarabun';
	src: url('../fonts/sarabun.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
} */

html {
	scroll-behavior: smooth;
	scrollbar-width: thin;
}

/* Customize scrollbar width for WebKit browsers */
::-webkit-scrollbar {
	width: 12px;
	/* Adjust this value as needed */
}

::-webkit-scrollbar-thumb {
	background-color: #888;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}


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

body {
	font-family: "Mulish", sans-serif;
}

/* =============== Header (Desktop) =============== */
header {
	width: 100vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 63px;
	padding: 40px 0;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #fff;
	z-index: 1000;
	border-bottom: 1px solid #f4f4f4;
	transition: transform 0.3s ease-in-out;
}

/* Ensure background covers full width */
.hdr-container {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1648px;
	margin: 0 auto;
	padding: 10px 0;
}

.hdr-logo img {
	width: 140px;
	height: auto;
}

.hdr-nav {
	display: flex;
	align-items: center;
	gap: 50px;
}

.hdr-nav-link {
	font-size: 20px;
	font-weight: 500;
	color: #656d70;
	text-decoration: none;
	transition: color 0.3s;
}

.hdr-nav-link:hover {
	color: #000;
}

.hdr-search {
	position: relative;
	display: flex;
	align-items: center;
}

.hdr-search-input {
	width: 520px;
	height: 32px;
	/* Using a slightly modified border-radius as in one duplicate */
	border-radius: 5px 15px 15px 5px;
	border: 1px solid #dadada;
	background-color: #9eb0b30d;
	padding-left: 10px;
	padding-right: 40px;
	/* Space for search icon */
}

.hdr-search img {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
}

/* Modifier for header hide on scroll */
.hdr-hidden {
	transform: translateY(-5%);
}

/* Icons and Buttons */
.hdr-icons-groups {
	display: flex;
	gap: 40px;
	align-items: center;
}

.hdr-icons-groups .hdr-icon img {
	width: 24px;
	height: 24px;
}

.hdr-auth-buttons {
	display: flex;
	gap: 24px;
}

.hdr-auth-buttons a {
	height: 32px;
	border-radius: 5px;
	border: 1px solid #e8e8e8;
	background-color: transparent;
	font-weight: 400;
	font-size: 18px;
	padding: 2px 10px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	text-decoration: none;
	color: #656D70;
}

.hdr-auth-buttons a:hover {
	background-color: #f0f0f0;
}

/* =============== Desktop Profile Menu =============== */
.hdr-profile-menu {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.hdr-profile-menu:hover {
	background-color: #f7f7f7;
}

.hdr-profile-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hdr-profile-icon {
	font-size: 22px;
}

.hdr-username {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.hdr-dropdown-arrow {
	font-size: 12px;
	color: #999;
}

.hdr-dropdown-menu {
	position: absolute;
	top: 110%;
	right: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	width: 250px;
	padding: 15px;
	display: none;
	z-index: 1000;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.hdr-dropdown-menu.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.hdr-dropdown-name {
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 16px;
	color: #222;
}

.hdr-dropdown-email {
	font-size: 13px;
	color: #666;
	margin-bottom: 12px;
}

.hdr-dropdown-item {
	display: block;
	padding: 10px 12px;
	text-decoration: none;
	color: #444;
	border-radius: 5px;
	transition: background 0.2s;
}

.hdr-dropdown-item:hover {
	background: #f0f0f0;
}

.hdr-logout {
	color: #e74c3c;
	font-weight: bold;
}

/* =============== Mobile Menu Toggle =============== */
.hdr-mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.hdr-mobile-menu-toggle span {
	width: 25px;
	height: 3px;
	background-color: #000;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Hamburger animation */
.hdr-mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hdr-mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.hdr-mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* =============== Mobile Navigation Menu =============== */
.hdr-mobile-nav {
	display: none;
	flex-direction: column;
	background-color: #fff;
	position: fixed;
	top: 63px;
	left: 0;
	width: 100%;
	height: calc(100% - 63px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
	overflow-y: auto;
	transition: transform 0.3s ease;
	transform: translateY(-100%);
	z-index: 999;
}

.hdr-mobile-nav.active {
	display: flex;
	transform: translateY(0);
}

.hdr-mobile-nav-link {
	padding: 15px 0;
	font-size: 18px;
	color: #656d70;
	text-decoration: none;
	border-bottom: 1px solid #e0e0e0;
	transition: color 0.3s;
}

.hdr-mobile-nav-link:hover {
	color: #000;
}

/* =============== Mobile Search =============== */
.hdr-mobile-search {
	position: relative;
	margin: 20px 0;
}

.hdr-mobile-search-input {
	width: 100%;
	height: 40px;
	border-radius: 20px;
	border: 1px solid #dadada;
	background-color: #9eb0b30d;
	padding-left: 15px;
	padding-right: 50px;
	font-size: 16px;
}

.hdr-mobile-search img {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	cursor: pointer;
}

/* =============== Mobile Authentication Buttons =============== */
.hdr-mobile-auth-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}

.hdr-mobile-auth-buttons button {
	width: 100%;
	height: 45px;
	border-radius: 5px;
	border: 1px solid #e8e8e8;
	background-color: transparent;
	font-weight: 400;
	font-size: 18px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}

.hdr-mobile-auth-buttons button:hover {
	background-color: #f0f0f0;
}

/* =============== Mobile Profile Menu =============== */
.hdr-mobile-nav .hdr-profile-menu {
	margin: 20px 0;
	position: relative;
}

.hdr-mobile-nav .hdr-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	width: 237px;
	padding: 10px;
	display: none;
	z-index: 1000;
}

.hdr-mobile-nav .hdr-dropdown-menu.active {
	display: block;
}

.hdr-profile-pic {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ddd;
}

.hdr-header-dropdown-arrow {
	font-size: 12px;
}

.hdr-dropdown-name {
	font-weight: bold;
	margin-bottom: 5px;
}

.hdr-dropdown-email {
	font-size: 12px;
	color: #666;
	margin-bottom: 10px;
}

.hdr-dropdown-item {
	display: block;
	padding: 8px 10px;
	text-decoration: none;
	color: #333;
	border-radius: 5px;
	transition: background 0.2s;
}

.hdr-dropdown-item:hover {
	background: #f4f4f4;
}

.hdr-logout {
	color: red;
	font-weight: bold;
}

.hdr-balance {
	margin-top: 10px;
	text-align: center;
}

.hdr-pro {
	color: green;
	font-weight: bold;
}

.hdr-free {
	color: #666;
}

.hdr-top-up {
	background: #007bff;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
}

.hdr-icon-gap {
	margin-right: 0.5rem;
	/* Adjust as needed */
}

/* Desktop language selector */
.hdr-language-selector {
	position: relative;
	display: inline-block;
	margin-left: 15px;
}

.hdr-language-selector select {
	padding: 8px 40px 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.hdr-language-selector:hover select,
.hdr-language-selector:focus select {
	border-color: #ccc;
}

.hdr-language-selector::after {
	content: '\25BC';
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	pointer-events: none;
	color: #333;
}

/* Mobile language selector styling */
.hdr-mobile-language-selector {
	margin-top: 10px;
	text-align: center;
}

.hdr-mobile-language-selector select {
	width: 90%;
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Optional: Adjust dropdown arrow for mobile if needed */
.hdr-mobile-language-selector::after {
	content: '\25BC';
	position: absolute;
	right: 10%;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #333;
}


.lgn-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.lgn-card {
	background: #FCFCFC;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	width: 450px;
	text-align: center;
}

.lgn-title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 20px;
	color: #333;
	font-family: 'Saira', sans-serif;
}

.lgn-form-group {
	margin-bottom: 15px;
	text-align: left;
}

.lgn-form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'Saira', sans-serif;
}

.lgn-forgot {
	display: block;
	text-align: right;
	font-size: 14px;
	color: #007bff;
	text-decoration: none;
	margin-bottom: 15px;
	font-family: 'Saira', sans-serif;
}

.lgn-forgot:hover {
	text-decoration: underline;
}

.lgn-social {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.lgn-social-btn {
	flex: 1;
	padding: 8px;
	border-radius: 4px;
	font-size: 14px;
	border: 1px solid #ced4da;
	cursor: pointer;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	font-family: 'Saira', sans-serif;
}

.lgn-social-btn img {
	width: 18px;
	margin-right: 8px;
}

.lgn-social-btn:last-child {
	margin-right: 0;
}

.lgn-container .lgn-card .lgn-btn {
	background-color: #38A7EA;
	color: white;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
	margin-top: 15px;
}

.lgn-container .lgn-card .lgn-btn:hover {
	background-color: #007bff;
}

.restpasschkemail-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.restpasschkemail-card {
	background: #FCFCFC;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	width: 450px;
	text-align: center;
}

.restpasschkemail-title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 15px;
	color: #333;
}

.restpasschkemail-box {
	background: #F8F9FA;
	border-radius: 6px;
	padding: 15px;
	font-size: 14px;
	color: #333;
	margin-bottom: 20px;
	text-align: left;
	line-height: 1.5;
}

.restpasschkemail-box strong {
	font-weight: bold;
}

.restpasschkemail-btn {
	background-color: #38A7EA;
	color: white;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
	margin-bottom: 10px;
}

.restpasschkemail-btn:hover {
	background-color: #007bff;
}

.restpasschkemail-back {
	display: block;
	font-size: 14px;
	color: #007bff;
	text-decoration: none;
	font-weight: bold;
}

.restpasschkemail-back:hover {
	text-decoration: underline;
}

.restpass-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.restpass-card {
	background: #FCFCFC;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	width: 400px;
	text-align: center;
}

.restpass-title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 10px;
	color: #333;
	font-family: 'Saira', sans-serif;
}

.restpass-description {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 20px;
	font-family: 'Saira', sans-serif;
}

.restpass-form-group {
	margin-bottom: 15px;
	text-align: left;
}

.restpass-form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'Saira', sans-serif;
}

.restpass-btn {
	background-color: #38A7EA;
	color: white;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
	font-family: 'Saira', sans-serif;
}

.restpass-btn:hover {
	background-color: #007bff;
}

.restpass-back {
	display: block;
	margin-top: 15px;
	font-size: 14px;
	color: #007bff;
	text-decoration: none;
	font-weight: bold;
	font-family: 'Saira', sans-serif;
}

.restpass-back:hover {
	text-decoration: underline;
}

.restpassform-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.restpassform-card {
	background: #FCFCFC;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	width: 400px;
	text-align: center;
}

.restpassform-title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 10px;
	color: #333;
	font-family: 'Saira', sans-serif;
}

.restpassform-description {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 20px;
	font-family: 'Saira', sans-serif;
}

.restpassform-form-group {
	margin-bottom: 15px;
	text-align: left;
}

.restpassform-form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'Saira', sans-serif;
}

.restpassform-btn {
	background-color: #38A7EA;
	color: white;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
	font-family: 'Saira', sans-serif;
}

.restpassform-btn:hover {
	background-color: #007bff;
}

.restpassform-back {
	display: block;
	margin-top: 15px;
	font-size: 14px;
	color: #007bff;
	text-decoration: none;
	font-weight: bold;
	font-family: 'Saira', sans-serif;
}

.restpassform-back:hover {
	text-decoration: underline;
}

.reg-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
}

.reg-card {
	background: #FCFCFC;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
	width: 510px;
	text-align: center;
	margin-top: 5%;
}

.reg-title {
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #333333;
	font-family: 'Saira', sans-serif;
}

.form-group {
	margin-bottom: 15px;
}

.form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 16px;
	font-family: 'Saira', sans-serif;
}

.reg-container .reg-card .reg-btn {
	background-color: #38A7EA;
	color: white;
	padding: 10px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	margin-top: 20px;
	width: 100%;
}

.reg-container .reg-card .reg-btn:hover {
	background-color: #007bff;
}

.reg-social-login {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	justify-content: center;
}

.reg-social-btn {
	flex: 1;
	padding: 10px;
	border-radius: 4px;
	font-size: 14px;
	border: 1px solid #7B7B7B;
	cursor: pointer;
	color: #7B7B7B;
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reg-social-btn img {
	width: 20px;
	margin-right: 8px;
}

.reg-terms-text {
	font-size: 12px;
	color: #7B7B7B;
	margin-top: 20px;
}

.reg-terms-text a {
	color: #007bff;
	text-decoration: none;
}

.reg-terms-text a:hover {
	text-decoration: underline;
}

.reg-login-link {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	color: #007bff;
	text-decoration: none;
}

.reg-login-link:hover {
	text-decoration: underline;
}

.reg-error-mg {
	color: red;
	font-size: 14px;
	margin-top: 5px;
	display: block;
	text-align: left;
}

.reg-social-register {
	display: flex;
	gap: 10px;
	margin-top: 40px;
}

.reg-social-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

.reg-btn-base {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 16px;
	border: none;
	color: white;
	cursor: pointer;
}

.reg-google-btn,
.reg-facebook-btn {
	flex: 1;
	padding: 10px 0;
	border-radius: 4px;
	font-size: 16px;
	border: 1px solid #7B7B7B;
	cursor: pointer;
	color: #7B7B7B;
	font-family: 'Saira', sans-serif;
}

.reg-google-btn {
	background-color: #FFFFFF;
}

.reg-google-btn:hover {
	background-color: #FFFFFF;
}

.reg-facebook-btn {
	background-color: #FFFFFF;
}

.reg-facebook-btn:hover {
	background-color: #FFFFFF;
}

/* Tablet View */
@media(max-width: 1024px) {
	.hdr-search-input {
		width: 300px;
	}

	.hdr-icons-groups {
		gap: 20px;
		margin-left: 40px;
	}

	.hdr-auth-buttons {
		gap: 16px;
		margin-left: 40px;
	}

	header .hdr-profile-menu {
		display: none !important;
	}

	.hdr-hidden {
		transform: translateX(-50%) translateY(-61%);
	}
}

/* Mobile View */
@media(max-width: 768px) {

	/* Recenter header for mobile; full width with no transform */
	header {
		width: 100%;
		max-width: 100%;
		left: 0;
		transform: none;
		flex-wrap: wrap;
		height: auto;
		padding: 10px 20px;
		top: 0;
	}

	/* Hide desktop-only elements on mobile */
	.hdr-nav,
	.hdr-search,
	.hdr-auth-buttons,
	header>.hdr-profile-menu {
		display: none;
	}

	/* Show Mobile Menu Toggle */
	.hdr-mobile-menu-toggle {
		display: flex;
	}

	/* Adjust Mobile Navigation Menu */
	.hdr-mobile-nav {
		width: 100%;
		height: 100%;
		transform: translateY(-100%);
	}

	.hdr-mobile-nav.active {
		transform: translateY(0);
	}

	.hdr-mobile-nav-link {
		padding: 15px 0;
		font-size: 20px;
		border-bottom: 1px solid #e0e0e0;
	}

	.hdr-mobile-search-input {
		height: 45px;
		border-radius: 25px;
		padding-left: 20px;
		padding-right: 60px;
		font-size: 18px;
	}

	.hdr-mobile-search img {
		width: 15px;
		height: 15px;
	}

	.hdr-mobile-auth-buttons button {
		height: 50px;
		font-size: 20px;
	}

	.hdr-hidden {
		transform: translateX(0) translateY(0);
	}

	.hdr-language-selector {
		display: none;
	}

	.hdr-mobile-language-selector {
		display: block;
		margin: 10px auto;
	}

	.lgn-card {
		width: 90%;
		padding: 20px;
	}

	.restpasschkemail-card {
		width: 90%;
		padding: 20px;
	}

	.restpass-card {
		width: 90%;
		padding: 20px;
	}

	.restpassform-card {
		width: 90%;
		padding: 20px;
	}

	.reg-card {
		width: 90%;
		padding: 20px;
	}

	.reg-title {
		font-size: 20px;
	}
}

@media (max-width: 576px) {
	.restpasschkemail-card {
		width: 95%;
		padding: 15px;
	}

	.restpass-card {
		width: 95%;
		padding: 15px;
	}

	.restpassform-card {
		width: 95%;
		padding: 15px;
	}

	.reg-card {
		width: 95%;
		padding: 15px;
	}
}

/* your existing grid setup */
.threeDeModelsPage-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

/* empty‐state overrides the grid with flex centering */
.threeDeModelsPage-container.empty-state {
	display: flex;
	align-items: center;
	justify-content: center;
	/* ensure it fills most of the viewport so your animation really centers */
	min-height: 60vh;
}

/* styling for the empty animation + text */
.no-models {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.no-models p {
	margin-top: 1rem;
	color: #555;
	font-size: 1.25rem;
	max-width: 300px;
	line-height: 1.4;
}


.account_space-option.vertical-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10px;
	text-align: center;
}

.indicator-image {

	object-fit: contain;
	margin-bottom: 5px;
}

.indicator-checkbox {
	margin-top: 5px;
	transform: scale(1.2);
}

.color-circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-top: 10px;
	display: inline-block;
	transition: transform 0.3s ease-in-out;
}

/* Base Wrapper */
.account_wrapper {
	background-color: #EEF1F0;
	padding: 20px;
	margin-top: 3%;
}

.account_models-layout-container {
	max-width: 1648px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 10px 0;
}

/* Main Content */
.account_models-main-content {
	background-color: #FFFFFF;
	border-radius: 6px;
	padding: 25px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	flex-grow: 1;
	min-width: 0;

}

.account_models-main-content h2 {
	font-family: 'Saira', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0;
	text-align: center;
	color: #4E7C91;
}

/* Form Group Styles */
.account_models-form-group {
	margin-bottom: 1.5rem;
}

.account_form-row {
	display: flex;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.account_form-col--30 {
	flex: 0 0 34%;
	max-width: 34%;
	padding: 0.5rem;
	box-sizing: border-box;
}

.account_form-col--40 {
	flex: 0 0 65%;
	max-width: 65%;
	padding: 0.5rem;
	box-sizing: border-box;
}

.account_form-col--40 input,
.account_form-col--40 select {
	width: 100%;
	height: 49px;
	border-radius: 30px;
	border: 1px solid #1DD0AF;
	box-sizing: border-box;
	font-family: 'Saira', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 100%;
	letter-spacing: 0;
	padding: 0 20px;
}

.account_form-col--40 input:focus,
.account_form-col--40 select:focus {
	outline: none;
	border-color: #1DD0AF;
	box-shadow: 0 0 0 2px rgba(29, 208, 175, 0.2);
}

.account_form-col--30 label {
	font-family: 'Saira', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0;
	color: #000000;
}

/* .account_form-col--30 label, span {
	  color: #D80000;
	}
	.account_models-preview-column label span{
	   color: #D80000;
	} */
/* Horizontal rule styling */
.account_models-line {
	width: 100%;
	max-width: 1240px;
	height: 2px;
	background-color: rgba(0, 0, 0, 0.1);
	margin: 30px auto;
}

/* Preview row container */
.account_preview-row .account_models-form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 auto;
	max-width: 1240px;
}

.account_models-preview-column {
	flex: 1;
	box-sizing: border-box;
	padding: 10px;
	min-width: 200px;
}

.account_models-preview-column label {
	display: flex;
	font-family: 'Saira', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #000000;
	margin-bottom: 10px;
}

.account_models-info-list,
.account_models-preview-ul {
	list-style-type: disc;
	margin: 0;
	padding-left: 20px;
	font-family: 'Saira', sans-serif;
	font-size: 16px;
	color: #333;
}

.account_models-preview-ul span {
	font-weight: 600;
}

.account_models-button-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.account_models-button-container.inline {
	flex-direction: row;
	align-items: center;
}

.account_models-button-container.inline .account_models-preview-ul {
	margin-left: 20px;
}

.account_models-add-btn {
	display: inline-block;
	background-color: #1DD0AF;
	color: #FFFFFF;
	font-family: 'Saira', sans-serif;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 30px;
	cursor: pointer;
	text-decoration: none;
	border: none;
	width: 105px;
	text-align: center;
	color: #ffffff !important;
	justify-content: center;
}

.account_models-add-btn:hover {
	background-color: #17b59a;
}

.account_upload-preview {
	margin-top: 10px;
	max-width: 100%;
}

.account_progress-container {
	margin-top: 10px;
	width: 100%;
	background-color: #f3f3f3;
	border-radius: 20px;
	overflow: hidden;
}

.account_progress-bar {
	height: 20px;
	width: 0;
	background-color: #1DD0AF;
	border-radius: 20px;
	text-align: center;
	color: white;
	line-height: 20px;
	transition: width 0.3s ease;
}

/* Spaces, Formats, Renders, etc. checkboxes */
.account_spaces-checkbox-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.account_spaces-label {
	display: none;
}

.account_spaces-widget {
	display: flex;
	gap: 15px;
	text-align: center;
}

.account_space-option {
	display: flex;
	font-family: 'Saira', sans-serif;
	font-size: 16px;
	color: #333;
}

.account_space-option input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	cursor: pointer;
	border: 2px solid #1DD0AF;
	border-radius: 3px;
	outline: none;
	background-color: #fff;
}

.account_space-option input[type="checkbox"]:checked {
	background-color: #1DD0AF;
	border-color: #1DD0AF;
}

.account_space-option label {
	font-family: 'Sarabun', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #7F619F !important;
}

.account_spaces-errors {
	color: red;
	margin-top: 5px;
}

/* MAIN CATEGORIES NAV – 5 columns, extra gap */
.main-categories-nav {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin: 20px 0;
	font-family: 'Saira', sans-serif;
}

.account_main-category-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #6B4B3E;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	padding-left: 20px;
}

.account_main-category-btn::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #6B4B3E;
	transform: translateY(-50%);
}

.account_main-category-btn:hover {
	color: #1DD0AF;
}

.account_main-category-btn:hover::before {
	border-top-color: #1DD0AF;
}

/* Modal Styles */
.account_modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.account_modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 20px;
	border-radius: 6px;
	width: 80%;
	max-width: 1200px;
	position: relative;
}

.account_modal-close {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 26px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
}

.account_modal-close:hover {
	color: #666;
}

/* Modal Body – 5 columns */
#accountModalBody {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.account_modal-column {
	border: none;
	border-radius: 4px;
	padding: 0;
}

.account_cat-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.account_cat-item label {
	font-weight: 700;
}

.account_subcat-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
	margin-left: 20px;
}

.account_cat-item input[type="checkbox"],
.account_subcat-item input[type="checkbox"] {
	appearance: none;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	border: 2px solid #1DD0AF;
	border-radius: 3px;
	cursor: pointer;
	outline: none;
	background-color: #fff;
}

.account_cat-item input[type="checkbox"]:checked,
.account_subcat-item input[type="checkbox"]:checked {
	background-color: #1DD0AF;
	border-color: #1DD0AF;
}

.account_cat-item label,
.account_subcat-item label {
	font-family: 'Sarabun', sans-serif;
	font-size: 16px;
	color: #000;
}

/* SELECT2 CUSTOM STYLES */
.select2-container--default .select2-selection--multiple {
	background-color: #fff;
	border: 1px solid #1DD0AF;
	border-radius: 30px;
	min-height: 49px;
	display: flex;
	align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #fff;
	margin-right: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #1DD0AF;
	border: none;
	color: #fff;
	margin-top: 6px;
	margin-right: 6px;
	padding: 3px 10px;
	border-radius: 16px;
	font-family: 'Saira', sans-serif;
	font-size: 14px;
}

.select2-container--default .select2-search__field::placeholder {
	color: #999;
}

.select2-container .select2-search--inline .select2-search__field {
	margin-left: 10px;
}

#model3_d_lightMap {
	display: flex;
	gap: 5px;
	align-items: center;
	flex-wrap: wrap;
}

#price-radio-wrapper .price-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding-top: 5px;
}

#price-radio-wrapper .price-radio-group label {
	font-family: 'Sarabun', sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: #004D47;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-right: 12px;
}

#model3_d_modelPrice {
	display: flex;
	gap: 10px;
}

#model3_d_lightMap label {
	font-family: 'Sarabun', sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #004D47;
	margin-right: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

#model3_d_archiveSize,
#model3_d_polygons,
#model3_d_realProductPrice {
	width: 50%;
}

/**********************************************
	 * NEW CUSTOM STYLES FOR THE MATERIALS SECTION
	 **********************************************/
.models-line {
	width: 100%;
	height: 2px;
	background-color: #eee;
	margin: 20px 0;
}

.models-form-group {
	display: flex;
	align-items: flex-start;
}

.models-material-label {
	font-family: 'Saira', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #000;
	margin-right: 20px;
}

.models-material-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.models-material-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	position: relative;
}

/* Hide the actual input checkbox (material-checkbox) */
.material-checkbox {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* The custom checkbox shape */
.custom-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #1DD0AF;
	border-radius: 3px;
	display: inline-block;
	margin-bottom: 8px;
	background-color: #fff;
}

/* When the input is checked, style the custom checkbox */
.material-checkbox:checked+.custom-checkbox {
	background-color: #1DD0AF;
}

/* The material image next to the checkbox */
.models-material-option img {
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 5px;
	border: 2px solid transparent;
}

.models-material-option:hover img {
	border-color: #1DD0AF;
}

.material-name {
	font-size: 14px;
	text-align: center;
	color: #000;
}

.color-swatch {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #1DD0AF;
	margin-bottom: 5px;
}

.lightmap-input input,
#model3_d_confirmUpload {
	width: 15px;
}

/* Responsive adjustments for Tablet */
@media(max-width: 1024px) {
	.account_models-layout-container {
		flex-direction: column;
		align-items: stretch;
		padding: 0 15px;
	}

	.account_sidebar {
		width: 100%;
		margin: 0 0 20px 0;
	}

	.account_models-main-content {
		width: 100%;
		margin-top: 0;
	}

	#accountModalBody {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Responsive adjustments for Mobile */
@media(max-width: 768px) {
	.account_form-row {
		flex-direction: column;
		align-items: stretch;
	}

	.account_models-button-container.inline {
		flex-direction: column;
		align-items: flex-start;
	}

	.account_form-col--30,
	.account_form-col--40 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	#accountModalBody {
		grid-template-columns: 1fr;
	}

	.account_modal-content {
		width: 95%;
		max-width: 95%;
		margin: 10% auto;
	}
}