/* =========================================================
   VARIABLES (MERGED)
========================================================= */
:root {
	/* --- First CSS Variables --- */
	--brand-red: #e33237;
	--brand-red-hover: #c41e23;
	--brand-blue: #0b2545;
	--text-muted: #64748b;
	--bg-light: #f8fafc;
	--bg-white: #ffffff;
	--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 20px 40px rgba(11, 37, 69, 0.15);
	/* --- Second CSS Variables --- */
	--bg: #f6f8fb;
	--card: #ffffff;
	--muted: #6b7280;
	--accent: #0ea5e9;
	--accent-2: #0b79b7;
	--danger: #ef4444;
	--success: #10b981;
	/* Radius conflict resolved by keeping both values */
	--radius: 12px;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial;
}

/* Icon Colors */
.bg-blue {
	background: #e0f2fe;
	color: #0369a1;
}

.bg-red {
	background: #fee2e2;
	color: #b91c1c;
}

.bg-green {
	background: #dcfce7;
	color: #15803d;
}

.bg-purple {
	background: #f3e8ff;
	color: #7e22ce;
}

.bg-cyan {
	background: #ecfeff;
	color: #0e7490;
}

.bg-yellow {
	background: #fef9c3;
	color: #a16207;
}

.bg-black {
	background: #f1f5f9;
	color: #334155;
}

.bg-white {
	background: #ffffff;
	color: #555555;
}

.material-symbols-outlined {
	font-size: 42px;
	font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
	color: rgba(10, 155, 216, 1);
}

.noborder {
	border: none;
}

.aligntop {
	vertical-align: top;
}

.alert.alert-danger {
	color: var(--brand-red);
}

.alert.alert-success {
	color: var(--success);
}

/* =========================================================
   FACTORYOS AUTHENTICATION LAYOUT
   Shared by:
   - Login
   - 2FA Verify
   - 2FA Setup
   - Change Password
   - Access Denied
========================================================= */
.auth-wrapper {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 60px;
	padding: 60px 0;
	align-items: center;
	min-height: calc(100vh - 120px);
}

.auth-card {
	background: #fff;
	padding: 40px;
	border-radius: var(--radius);
	border: 1px solid #e2e8f0;
	box-shadow: var(--shadow-sm);
	max-width: 700px;
	min-width: 500px;
	width: 100%;
	height: fit-content;
}

.auth-header {
	margin-bottom: 30px;
}

.auth-header h2 {
	font-size: 1.5rem;
	color: var(--brand-blue);
	font-weight: 700;
	margin-bottom: 5px;
}

.workspace-badge {
	display: inline-block;
	padding: 4px 12px;
	background: #f1f5f9;
	color: var(--text-muted);
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

/* =========================================================
   FORM ELEMENTS
========================================================= */
.form-group {
	margin-bottom: 20px;
	position: relative;
}

.form-label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--brand-blue);
}

.form-input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	transition: all 0.2s;
}

.form-input:focus {
	outline: none;
	border-color: var(--brand-red);
	box-shadow: 0 0 0 3px rgba(227, 50, 55, 0.1);
}

.login-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
}

/* =========================================================
   AUTH LINKS
========================================================= */
.secondary-link {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s;
    padding: 5px 20px;
}

.secondary-link:hover {
	color: var(--brand-red);
}

.forgot-link {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s;
    padding: 5px 20px;
}

.forgot-link:hover {
	color: var(--brand-red);
}

/* =========================================================
   QR CODE DISPLAY
========================================================= */
.qr-box {
	display: flex;
	justify-content: center;
	margin-bottom: 25px;
}

.qr-box img {
	width: 200px;
	height: 200px;
	border: 1px solid #e2e8f0;
	padding: 10px;
	border-radius: 8px;
	background: #fff;
}

/* =========================================================
   ERROR / ALERT UI
========================================================= */
.error-box {
	margin-bottom: 15px;
}

.error-icon {
	font-size: 64px;
	color: var(--brand-red);
	margin-bottom: 15px;
}

.error-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--brand-blue);
	margin-bottom: 10px;
}

.error-text {
	color: var(--text-muted);
	margin-bottom: 25px;
}

/* =========================================================
   SIDEBAR CONTENT
========================================================= */
.sidebar-login-content {
	padding-bottom: 30px;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 30px;
}

/* =========================================================
   AUTH CARD CENTERING
========================================================= */
.auth-card-center {
	display: flex;
	justify-content: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media ( max-width :992px) {
	.auth-wrapper {
		grid-template-columns: 1fr;
		padding: 40px 0;
		text-align: center;
	}
	.auth-card {
		margin: 0 auto;
	}
	.sidebar-login-content {
		border: none;
	}
}
/* =========================================================
   RESET & BASE
========================================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	margin: 0;
	background: var(--bg);
	background-color: var(--bg-light);
	color: #0f172a;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* =========================================================
   LAYOUT WRAPPERS
========================================================= */
.container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 25px;
}

.mainBody {
	display: flex;
	min-height: 100vh;
}

.wrap {
	display: flex;
	min-height: 100vh;
}

.main {
	flex: 1;
}

.detail-wrapper {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 30px;
	padding: 30px 0;
	height: calc(100vh - 180px);
	min-height: 600px;
}

.content-area {
	background: #fff;
	border-radius: var(--radius);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
	min-height: 520px;
	margin-right: 25px;
}

.iframe-header {
	padding: 12px 20px;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
	display: flex;
	justify-content: space-between;
}

#moduleIframe {
	width: 100%;
	flex: 1;
	border: none;
}

.back-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
	margin-bottom: 10px;
	transition: color 0.2s;
}

.back-btn:hover {
	scale: 1.2;
}

#policyViewWindow {
	width: 80%;
	margin: 20px auto;
	line-height: 1.1;
}

#policyViewWindow li {
	padding-top: 5px;
}

#contentSelectArea {
	padding: 10px;
	height: inherit;
	overflow: auto;
	border-right: 1px solid rgba(225, 225, 225);
}

.titleFontClass {
	font-size: 1.5em;
	padding: 10px 0;
	color: rgb(55, 55, 55);
	font-weight: 600;
}

/* =========================================================
   HEADER / TOPBAR
========================================================= */
header {
	padding: 15px 10px;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	background-color: var(--bg-white);
}

.nav-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 0px 10px;
	box-shadow: 1px 0px 10px rgb(0, 0, 0, 0.1);
	background: white;
}

.topbar-icon-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
}

.topbar-icon-btn .material-symbols-outlined {
	font-size: 22px;
	color: #334155;
}

.logo img {
	height: 35px;
	display: block;
}

.ai-logo {
	height: 35px;
	display: block;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
}

.brand img {
	width: 42px;
	height: 42px;
	border-radius: 8px;
}

/* user button */
.user-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 6px;
	background-color: #f1f1f1;
	margin: 5px 0;
}

.user-btn .avatar {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	background: black;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.user-btn .material-symbols-outlined {
	font-size: 20px;
}

/* dropdown */
.user-menu {
	display: none;
	position: absolute;
	right: 0;
	background: white;
	border-radius: 8px;
	margin-top: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	min-width: 180px;
	z-index: 1000;
}

.user-menu.open {
	display: block;
}

.user-menu-item {
	padding: 6px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
}

.user-menu-item:hover {
	background: #f1f5f9;
}

.logout-btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	font-size: 14px;
}

.user-menu-item .material-symbols-outlined {
	font-size: 24px;
}

/* =========================================================
   LOGIN LINK
========================================================= */
.login-wrapper {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 60px;
	padding: 60px 0;
	align-items: center;
	min-height: calc(100vh - 120px);
}

.login-link {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.85rem;
	cursor: pointer;
	border: 1px solid var(--brand_blue);
	padding: 8px 18px;
	border-radius: 6px;
	transition: 0.3s ease;
	background-color: var(--brand-blue);
}

.login-link:hover {
	background: rgb(3, 55, 141);
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
	background: #fff;
	padding: 60px 0;
	border-bottom: 1px solid #e2e8f0;
}

.hero-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
	align-items: center;
}

.hero-content h1 {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero-content h1 span {
	color: var(--brand-red);
	display: block;
}

.hero-content p {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin-bottom: 20px;
	max-width: 550px;
}

/* =========================================================
   VALUE BOX
========================================================= */
.value-box {
	position: relative;
	background: var(--brand-blue);
	border-radius: var(--radius);
	padding: 25px;
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.value-box h3 {
	font-size: 1.3rem;
	margin-bottom: 25px;
	color: #fff;
	display: inline-block;
	padding-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.value-item {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.value-item:last-child {
	margin-bottom: 0;
}

.value-icon {
	color: var(--brand-red) !important;
	font-size: 26px !important;
}

.value-text h4 {
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 2px;
}

.value-text p {
	font-size: 0.8rem;
	color: #cbd5e1;
	line-height: 1.3;
}

.module-value-text p {
	font-size: 0.8rem;
	color: #024aa1;
	line-height: 1.3;
}

/* =========================================================
   BUTTONS
========================================================= */
.contact-btn {
	background: var(--brand-red);
	color: white;
	border: none;
	padding: 16px 35px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.3s;
}

.contact-btn:hover {
	background: var(--brand-red-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(227, 50, 55, 0.2);
}

.banner .cta {
	background: var(--accent);
	color: white;
	padding: 10px 14px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
}

/* =========================================================
   CARDS / GRID / KPI
========================================================= */
.grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 20px;
	margin-top: 18px;
}

.left-col, .right-col {
	display: flex;
	flex-direction: column;
}

.left-col {
	gap: 18px;
}

.right-col {
	gap: 12px;
}

.card {
	background: var(--card);
	padding: 18px;
	border-radius: 12px;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
	border: 1px solid rgba(15, 23, 42, 0.03);
}

.kpis {
	display: flex;
	gap: 12px;
}

.kpi {
	flex: 1;
	padding: 12px;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(14, 165, 233, 0.04),
		rgba(11, 121, 183, 0.01));
	display: flex;
	flex-direction: column;
}

.kpi .value {
	font-size: 20px;
	font-weight: 700;
}

.kpi .label {
	font-size: 12px;
	color: var(--muted);
}

/* =========================================================
   MODULES
========================================================= */
.section-title {
	margin: 50px 0 25px;
	font-size: 1.35rem;
	font-weight: 700;
	position: relative;
	padding-left: 15px;
	letter-spacing: 0.5px;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--brand-red);
	border-radius: 10px;
}

.modules-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.module-card {
	/*background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 248, 250, 0.8));*/
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.module-card:hover {
	transform: translateY(-5px);
	border-color: var(--brand-red);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.module-icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
}

.modules-grid-140 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
}

.module {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.8),
		rgba(246, 248, 250, 0.8));
	padding: 14px;
	border-radius: 12px;
	border: 1px solid rgba(11, 121, 183, 0.06);
	display: flex;
	flex-direction: column;
	gap: 8px;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}

.module:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(11, 121, 183, 0.06);
}

.module .m-title {
	font-weight: 600;
	font-size: 14px;
}

.module .m-desc {
	font-size: 12px;
	color: var(--muted);
}

/* =========================================================
   SIDEBAR (MERGED BOTH DEFINITIONS)
========================================================= */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-left: 25px;
}

.toggle-btn {
	display: flex;
	color: rgb(167, 167, 167);
	align-items: center;
	flex-wrap: nowrap;
	padding: 0 10px;
	justify-content: space-between;
	cursor: pointer;
}

.toggle-btn:hover {
	color: rgb(209, 209, 209);
	background-color: rgb(5, 41, 97);
}

#mysidebar {
	width: 300px;
	transition: width .25s ease;
	background-color: rgb(3, 23, 53);
	border-right: 1px solid #e1e4e8;
	padding: 18px 10px;
	overflow: hidden;
	margin: 0;
	height: 100%;
}

.sidebar .material-symbols-outlined {
	font-size: 24px;
	color: rgb(106, 211, 255);
	font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
	line-height: 1;
}

.sidebar.collapsed {
	width: 70px !important;
}

.menu {
	flex: 1;
	overflow: auto;
	position: relative;
}

.menuItem {
	display: flex;
	align-items: center;
	padding: 6px 8px;
	margin: 2px 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s;
	color: #f0f0f0;
	gap: 12px;
}

.menuItem:hover {
	background: #556070;
}

.menuItem.menuItem-open {
	background: rgb(43, 121, 200);
	color: #ffffff;
}

.menuItem.menuItem-open:hover {
	color: rgb(0, 0, 0);
}

.menuItem li {
	padding: 8px 8px 8px 10px;
	text-decoration: none;
	font-size: 1em;
	color: rgb(50, 50, 50);
}

.subMenu1 {
	cursor: pointer;
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none;
	text-decoration: none;
	color: rgb(190, 190, 190);
	padding: 6px;
	margin-left: 32px;
	border-left: 5px solid rgba(0, 0, 0, 0);
	border-radius: 8px;
	display: block;
}

.subMenu1:hover {
	color: rgb(220, 220, 220);
	background: #556070;
}

.subMenu1.active {
	color: rgb(255, 255, 255);
	background-color: rgba(180, 227, 255, 0.4);
	border-left: 5px solid rgba(153, 217, 255, 1.0);
	font-weight: bold;
}

.sidebar.collapsed .menuItem-text {
	display: none !important;
}

.sidebar.collapsed .subMenu1 {
	display: none !important;
}

.sidebar.collapsed .menuItem {
	justify-content: center;
	gap: 0;
}

/* =========================================================
   TABLES
========================================================= */
.clamped3lines {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	border: none;
	margin-bottom: 0;
}

.maxWidth300 {
	max-width: 300px;
}

.maxWidth600 {
	max-width: 600px;
}

/* =========================================================
   FORMS / INPUTS
========================================================= */
.tagBtnArea {
	height: fit-content;
	min-height: 40px;
	padding: 3px 10px;
}

.tagBtn {
	display: flex;
	margin: 5px;
	padding: 0px 10px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	float: left;
}

.tagBtnText {
	padding-right: 5px;
}

#dateInputArea {
	display: block;
	padding: 10px 20px;
}

/* =========================================================
   DASHBOARD / REPORTS
========================================================= */
.reportarea {
	display: block;
	font-family: 'Nanum Gothic', sans-serif;
}

.reportCard {
	float: left;
	min-width: 360px;
	width: calc((( 100% - 40px)/3)- 20px);
	min-height: 200px;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

.reportTitle {
	font-size: 1.5em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: center;
}

.reportContentLabel {
	font-size: 1.0em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: left;
	margin: 0;
}

.reportContent {
	font-size: 1.0em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: left;
	margin: 0;
}

.tab {
	overflow: hidden;
	border: 1px solid rgb(200, 200, 200);
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
}

.tab button:hover {
	background-color: rgb(220, 220, 220);
	border-bottom: 3px solid rgb(220, 220, 220);
}

.subtabLinks.active {
	background-color: rgb(219, 234, 254);
	color: rgb(0, 46, 161);
	border-bottom: 3px solid rgb(0, 46, 161);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.tabLinks.active {
	background-color: rgb(0, 86, 200);
	color: rgb(255, 255, 255);
	border-bottom: 3px solid rgb(0, 0, 100);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#chartDisplayArea {
	position: relative;
}

.chartArea {
	background-color: rgb(255, 255, 255);
	display: block;
	width: 100%;
	margin: auto;
	padding: 10px;
}

.chartBlockHeader {
	cursor: pointer;
	font-size: 1.5em;
	color: rgb(50, 50, 50);
	text-align: center;
	padding: 10px;
	width: 100%;
	/*background-color: rgba(0,0,0,0.1);
	border-radius: 5px;*/
	position: relative;
}

.chartRow {
	display: grid;
	grid-template-columns: 50% 50%;
	width: 100%;
}

.drilledDown {
	display: grid;
}

.drilledUp {
	display: none;
}

.labelElement:hover {
	cursor: move;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.labelImageContainerElement:hover {
	cursor: move;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.labelImageElement:hover {
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.chartCardArea {
	min-width: 300px;
	width: 100%;
	margin: auto;
	/*padding: 10px 20px;*/
}

.chartCard {
	width: 100%;
	min-height: 320px;
	padding: 10px 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	/*box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);*/
	border-radius: 5px;
	display: grid;
	grid-template-columns: 60% 40%;
	column-gap: 0;
	align-items: center;
	margin: 10px 0;
}

.countCard {
	width: 100%;
	height: min-content;
	padding: 10px 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	/*box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);*/
	border-radius: 5px;
	margin: 10px 0;
}

.countHeader {
	padding: 10px;
	font-size: 1.3em;
	font-weight: bold;
	text-align: center;
	width: 100%;
}

.countValue {
	padding: 10px;
	font-size: 1.3em;
	text-align: center;
	width: 100%;
}

.chartSelectableItemArea {
	width: -webkit-fill-available;
	min-height: 320px;
	height: min-content;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	/*box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);*/
	display: grid;
	column-gap: 0;
	grid-template: "nav head" min-content "nav main" 1fr/min-content 1fr;
}

.chartList {
	display: block;
	line-height: 1.5;
	border-right: 1px dotted rgba(0, 0, 0, 0.1);
	overflow: auto;
	resize: horizontal;
	width: max-content;
	background-color: rgba(0, 0, 0, 0.02);
}

.dashboardChartTitle1 {
	background-color: rgba(0, 0, 0, 0.8);
	border: 1px solid rgb(255, 255, 255);
	border-top: 5px solid rgb(255, 188, 0);
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dashboardChartTitle2 {
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid rgb(255, 255, 255);
	margin-top: 10px;
	padding: 10px;
}

.chartSelectedItemDataArea {
	display: block;
	width: max-content;
	overflow: auto;
	padding: 0 10px;
}

.selectedItemData {
	overflow: hidden;
}

.selectedItemData td, th {
	max-width: 200px;
}

.selectedItemData th {
	background-color: rgba(0, 0, 0, 0.1);
	color: rgb(55, 55, 55);
}

.listLevel0 {
	font-size: 1em;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	color: rgb(255, 255, 255);
	padding: 5px;
	margin-top: 10px;
	border-top: 5px solid rgb(255, 188, 0);
}

.listLevel1 {
	font-size: 1em;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	padding: 5px;
	margin-top: 10px;
}

.listLevel2 {
	font-size: 0.9em;
	padding: 0 5px;
}

.chartBlock {
	padding: 0 10px;
}

.chartTitle {
	font-size: 1.3em;
	color: rgb(50, 50, 50);
	text-align: left;
	line-height: 1.5;
	padding-top: 10px;
}

.chartLabel {
	font-size: 1em;
	color: rgb(150, 150, 150);
	line-height: 1.5;
}

#reviewboardPageHeader {
	font-size: 2em;
	color: rgb(50, 50, 50);
	text-align: center;
	padding: 20px 0 10px 0;
	width: 100%;
}

#reviewboardPageDescription {
	font-size: 1.2em;
	color: rgb(50, 50, 50);
	text-align: center;
	padding: 10px;
	width: 100%;
}

.dashboardGrid {
	display: grid;
	grid-template-columns: 100%;
	column-gap: 2%;
}

.dashboardCell {
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 10px;
}

.formTemplateTable th {
	position: relative;
	max-width: 1920px;
}

.resizer {
	/* Displayed at the right side of column */
	position: absolute;
	top: 0;
	right: 0;
	width: 5px;
	cursor: col-resize;
	user-select: none;
}

.resizer:hover, .resizing {
	border-right: 2px solid blue;
}

/*=========================================================
    ERT
==========================================================*/
.ertMemberBlockClass {
	display: flex;
	/*grid-template-columns: 30% 60% 10%;*/
	align-items: center;
	align-content: center;
	background-color: rgba(0, 0, 0, 0.1);
	padding: 5px;
	border-bottom: 1px solid rgb(255, 255, 255);
}

.ertMemberImage {
	border: none;
	object-fit: contain;
	width: 100%;
}

.ertMemberDetailClass {
	padding: 0 5px;
	width: -webkit-fill-available;
}

.ertMemberName {
	color: rgb(3, 0, 163);
	font-size: 1.5em;
	line-height: 1.3;
	padding: 5px 0;
}

.ertMemberMainDetail {
	color: rgb(50, 50, 50);
	font-size: 1.4em;
	line-height: 1.3;
	font-weight: 600;
	padding-top: 5px;
}

.ertMemberDetail {
	color: rgb(50, 50, 50);
	font-size: 1.2em;
	line-height: 1.3;
}

.ertInOutClass {
	text-align: right;
}

.inoutSign {
	font-weight: 400;
	font-size: 1.0em;
	padding: 0 0.1em;
	color: rgb(200, 200, 200);
	text-align: right;
}

.inSign.highlight {
	color: rgb(0, 230, 0);
	text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.outSign.highlight {
	color: rgb(230, 0, 0);
	text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.ertTeamHeader {
	width: 100%;
	margin: 10px 0;
	padding: 5px;
	font-size: 1.5em;
	text-align: center;
	background-color: rgb(80, 55, 120);
	color: rgb(255, 255, 255);
}

.ertMemberDisplayGrid {
	display: grid;
	grid-template-columns: 32.66% 32.66% 32.66%;
	grid-gap: 0 1%;
}

.ghsChoice {
	padding: 2% 3%;
	display: inline-block;
}

.ghslabel {
	display: block;
	text-align: center;
}

.ghsIcon {
	width: 200px;
}

.tableHeader {
	padding: 5px;
	color: rgb(255, 255, 255);
	background-color: rgb(0, 90, 175);
}

.tableBody {
	padding: 5px;
}

.labelPreview {
	margin: 20px 0 10px 0;
	display: flex;
	justify-content: center;
}

/*===========================================================
    SOP / LOTO
===========================================================*/
/* ============================================================
   AUTOCOMPLETE WRAPPER
   ============================================================ */
.autocomplete-wrapper {
	position: relative;
	width: 100%;
}

/* ============================================================
   DROPDOWN CONTAINER
   ============================================================ */
.autocomplete-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #ffffff;
	border: 1px solid #ced4da;
	border-top: none;
	z-index: 1050; /* Above Bootstrap inputs */
	max-height: 280px;
	overflow-y: auto;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	display: none;
}

/* ============================================================
   DROPDOWN ITEM
   ============================================================ */
.autocomplete-item {
	padding: 8px 14px;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Hover & keyboard active */
.autocomplete-item:hover, .autocomplete-item.active {
	background-color: #e9ecef;
}

/* ============================================================
   STATES
   ============================================================ */
.autocomplete-item.text-muted {
	color: #6c757d;
	cursor: default;
}

.autocomplete-item.text-danger {
	color: #dc3545;
	cursor: default;
}

/* ============================================================
   OPTIONAL: MATCH BOOTSTRAP ROUNDED PILL INPUTS
   ============================================================ */
.autocomplete-wrapper .form-control {
	border-radius: 50rem;
}

/* ============================================================
   SCROLLBAR (OPTIONAL - NICE UX)
   ============================================================ */
.autocomplete-dropdown::-webkit-scrollbar {
	width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
	background-color: #adb5bd;
	border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
	background-color: #f8f9fa;
}

/* =========================================================
   FOOTERS
========================================================= */
footer {
	padding: 40px 0;
	text-align: center;
	background: #fff;
	margin-top: 60px;
	border-top: 1px solid #e2e8f0;
}

.mini-foot {
	font-size: 12px;
	color: var(--muted);
	text-align: center;
	margin-top: 18px;
	position: fixed;
	bottom: 5px;
	right: 5px;
}

.copyright {
	margin-top: 15px;
	color: var(--text-muted);
	font-size: 0.8rem;
}

/* =========================================================
   PAGE CONTENT AREA
========================================================= */
#contentPreviewArea {
	background-color: rgb(255, 255, 255);
	border: none;
}

#contentSelectBox {
	height: 500px;
}


#contentPreviewBox {
	border: 1px solid rgb(200, 200, 200);
	border-radius: 3px;
	margin: 5px 0;
	font-size: 1em;
	overflow: hidden;
	padding-bottom: 56.25%;
}

#contentViewArea {
	background-color: transparent;
	/*table-layout: fixed;*/
	display: grid;
	grid-template-columns: 60% 40%;
	height: calc(100% - 80px);
	grid-template-columns: 60% 40%;
}

.content-area:fullscreen .preview-container,
.content-area:-webkit-full-screen .preview-container {
    width: 100%;
    height: 100%;
}

.content-area:fullscreen video,
.content-area:-webkit-full-screen video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.preview-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#contentSelectHeaderArea {
	display: flex;
	width: -webkit-fill-available;
	justify-content: space-between;
	align-items: center;
	border: none;
}


#contentViewArea tr:nth-child(odd) {
	background-color: rgba(0, 0, 0, 0.0);
}

#contentViewArea td {
	border: none;
}

.clickable {
	color: rgb(0, 150, 255);
	cursor: pointer;
}

.clickable:hover {
	color: rgb(0, 200, 150);
	text-decoration: underline;
}

.contentDescriptionTableClass {
	border: none;
}

.contentDetailLabel {
	font-size: 1em;
	line-height: 1.5;
	border: none;
	color: rgb(150, 150, 150);
	padding-bottom: 3px;
}

.courseDetailText {
	font-size: 1em;
	line-height: 1.5;
	font-weight: normal;
	border: none;
	padding-bottom: 3px;
	display: flex;
	/*justify-content: center;*/
}

.contentDetailText {
	font-size: 1em;
	line-height: 1.5;
	font-weight: normal;
	border: none;
	padding-bottom: 10px 10px;
}

#contentTypeSelectionArea {
	padding: 10px;
}

#contentTypeSelectionBox {
	display: flex;
	flex-wrap: wrap;
	margin: 15px;
}

.contentTypeBtnClass {
	padding: 10px 5px;
	color: rgb(55, 55, 55);
	border: 1px solid rgb(200, 200, 200);
	border-radius: 10px;
	text-align: center;
	white-space: nowrap;
	min-width: 100px;
	margin: 0 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s;
}

.contentTypeBtnClass:hover {
	background-color: rgba(170, 235, 255, 0.5);
	transform: scale(1.05);
}

.contentTypeBtnClass.active {
	background-color: rgba(170, 255, 235, 1.0);
	border: 3px solid rgb(170, 255, 235);
}

.contentTypeBtnIconClass {
	font-size: 2em;
	padding: 10px;
}

.contentTypeBtnTextClass {
	font-size: 0.8em;
	font-weight: normal;
	margin: 10px 0;
}

.preview-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.preview-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.previewAssessmentArea {
	background-color: rgba(0, 0, 0, 0.1);
}

.previewAssessmentRow {
	text-align: left;
}

.previewAssessment {
	padding: 5px 10px;
}

.itemlistcontainer {
	display: block;
	overflow: auto;
	height: 620px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.itemlistitem {
	cursor: pointer;
	margin: 1px;
	color: rgba(0, 0, 0, 0.7);
	background-color: rgba(0, 0, 0, 0);
	font-size: 1em;
	padding: 4px;
}

#signagebackground {
	position: fixed;
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: rgb(0, 0, 0);
	z-index: -1;
}

#signageworkarea {
	position: fixed;
	left: 00px;
	top: 0px;
	height: calc(100%);
	width: calc(100%);
	display: inline-block;
	padding: 0px 0px;
	overflow: auto;
	transition: 0.5s;
}

.videoControlButton {
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	bottom: 20px;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 50%;
	border: none;
	color: rgba(255, 255, 255, 1.0);
	font-size: 2em;
	height: 60px;
	width: 60px;
	padding: 10px;
}

#fullScreenBtn {
	right: 20px;
}

#muteButton {
	right: 100px;
}

#pauseButton {
	left: 20px;
}

#viewerCloseBtn {
	right: 20px;
	top: 20px;
}

#volControl {
	cursor: pointer;
	position: absolute;
	right: 103px;
	bottom: 55px;
	z-index: 1;
	color: rgba(255, 255, 255, 0.1);
	font-size: 2em;
	writing-mode: bt-lr; /* IE */
	-webkit-appearance: slider-vertical; /* WebKit */
	width: 8px;
	height: 125px;
	display: none;
}

#myVideo {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
}

#videoFrame {
	width: -webkit-fill-available !important;
	height: auto;
	background-size: cover;
}

input[type='file'] {
	border: 3px dashed #999;
	padding: 180px 180px 180px 180px;
	cursor: move;
	position: relative;
}

input[type='file']:before {
	display: block;
	position: absolute;
	text-align: center;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 40px;
	margin: -25px 0 0 -100px;
	font-size: 1em;
	font-weight: bold;
	color: #999;
}

.popupscreen {
	background: rgba(0, 0, 0, 0.8);;
	justify-content: center;
	align-content: center;
	align-items: center;
	display: none;
	position: fixed;
	top: 50px;
	left: 0;
	width: -webkit-fill-available;
	height: calc(100% - 80px);
	z-index: 4;
	overflow: auto;
}

.popuparea {
	box-shadow: 2px 2px 2px rgb(0 0 0/ 50%);
	border-radius: 5px;
	padding: 10px;
	background-color: rgb(255, 255, 255);
	position: relative;
}

.popupclosebtn {
	float: right;
}

.submitbtn {
	margin: 20px;
}

.storageItemRow {
	display: grid;
	grid-template-columns: 15% 55% 15% 15%;
	border: 1px solid rgb(200, 200, 200);
	margin: 5px 0;
	align-items: center;
}

.storageItemColumn {
	padding: 5px;
}

.thumbnailContainer {
	width: 50px;
	height: 50px;
}

.thumbnail {
	width: 50px;
	height: 50px;
}

.roundBtn {
	cursor: pointer;
	width: 40px;
	height: 40px;
	font-size: 20px;
	background-color: rgb(50, 155, 140);
	color: rgb(255, 255, 255);
	border-radius: 50%;
	margin: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.roundBtn:hover {
	background-color: rgb(50, 205, 140);
}

#contentChooser {
	background-color: rgba(245, 245, 245, 1);
	color: rgb(0, 100, 50);
	font-size: 1em;
}

#contentChooser:hover {
	background-color: rgba(200, 255, 240, 0.5);
}

.cameraCaptureBtn {
	position: absolute;
	width: 60px;
	height: 60px;
	font-size: 30px;
	background-color: rgb(100, 100, 100);
	color: rgb(200, 200, 200);
	display: none;
	left: 50%;
	bottom: 10%;
	margin: 0 -30px;
	align-items: center;
	justify-content: center;
}

.cameraCaptureBtn:hover {
	color: rgb(255, 255, 255);
}

.visitorImage {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0;
	margin: 0;
}

#courseComplete.disabled, #courseComplete:disabled {
	background-color: rgb(200, 200, 200);
	border: none;
}

.without_ampm::-webkit-datetime-edit-ampm-field {
	display: none;
}

input[type=time]::-webkit-clear-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
	appearance: none;
	margin: -10px;
}

/* =========================================================
   TEMPLATE BUILDER
========================================================= */
#templatewireframeViewerScreen {
	overflow: auto;
}

#templatewireframeViewerArea {
	width: 99%;
	height: -webkit-fill-available;
	margin: 10px auto;
	overflow-y: auto;
}

#formViewerArea {
	width: 95%;
	height: -webkit-fill-available;
	margin: 20px auto;
	overflow-y: auto;
}

#templatewireframeEditor {
	display: grid;
	grid-template-columns: 76% 24%;
	height: 100%;
}

#templatewireframeCanvas {
	padding: 10px;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	overflow: auto;
}

#templatewireframeStyles {
	overflow: hidden;
	padding: 10px 0 10px 10px;
}

#templateFrame {
	background-color: rgb(255, 255, 255);
	margin: auto;
	position: relative;
	outline: none;
	/*outline: rgba(0, 0, 0, 0.05) solid 3px;
	outline-offset: -3px;*/
	border: none;
}

.templatelabel {
	color: rgb(100, 100, 100);
	font-size: 1.0em;
	line-height: 1.5em;
}

.formlabel {
	padding: 10px;
}

.addbutton {
	cursor: pointer;
	border: none;
	border-radius: 50%;
	color: rgb(255, 255, 255);
	Background-color: rgb(26, 72, 91);
	font-size: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	margin: 0 2px;
}

.styleForm {
	display: block;
	width: 100%;
	height: calc(1.5rem + 2px);
	padding: 0.1em 0.75em;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.2;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.styleLabel {
	padding-left: 20px;
	padding-top: 5px;
}

.blogbtn {
	cursor: pointer;
	transition: transform .5s; /* Animation */
}

.blogbtn:hover {
	box-shadow: 0px 0px 5px 0px rgba(50, 255, 100, 1.0);
}

#templatewireframeDataEditBox {
	display: block;
	/*grid-template-columns: 50% 50%;*/
}

#templatewireframeData {
	display: none;
	padding: 10px;
	font-size: 0.8em;
	border: 1px solid rgb(240, 240, 240);
	background-color: rgb(240, 240, 240);
	overflow-y: auto;
	overflow-x: hidden;
	height: calc(100% - 135px);
}

.templatebox {
	outline: none;
	/*outline: rgba(0, 0, 0, 0.05) solid 3px;
	outline-offset: -3px;
	padding: 10px;*/
	width: 100%;
	z-index: 0;
}

.templateSelectbox {
	padding: 10px;
	width: 100%;
	font-size: 1.2em;
}

.placeholder-highlighted {
	border: 1px dashed rgb(0, 255, 150);
	width: 100%;
	margin: 1% 0;
}

.active {
	background: #ebfff6;
	border-color: #24b373;
}

a.disabled {
	pointer-events: none;
	cursor: default;
}

/*.templatebox.selectedCell {
	outline: rgba(50, 255, 150, 1) solid 3px;
}*/
.templatetextbox {
	outline: rgba(0, 0, 0, 0.05) solid 3px;
}
/*.templatetextbox.selectedCell {
	outline: rgba(50, 255, 150, 1) solid 3px;
} */
.templateimagebox {
	outline: rgba(0, 0, 0, 0.05) solid 3px;
}

.templatecontentbox {
	outline: rgba(0, 0, 0, 0.05) solid 3px;
}
/*.templateimagebox.selectedCell {
	outline: rgba(50, 255, 150, 1) solid 3px;
}*/

/*#templateFrame.selectedCell {
	outline: rgba(50, 255, 150, 1) solid 3px;
}*/
.selectedCell {
	outline: rgba(50, 255, 150, 1) solid 3px !important;
	outline-offset: -3px;
	z-index: 1;
}
/*
.templategridbox {
	outline: rgba(0, 0, 0, 0.05) solid 3px;
}
.templategridbox.selectedCell {
	outline: rgba(150, 150, 250, 1) solid 3px;
}
*/
#lookupForm {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 5px 0px 10px 0px;
}

#contentTypeForm {
	display: grid;
	grid-template-columns: auto auto auto;
	margin: 5px 0px;
	padding: 0 0 5px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.configPverviewGrid {
	display: grid;
	grid-template-columns: 20% 27% 20% 27%;
}

.configPreviewItemName {
	padding: 5px 0 5px 20px;
	font-weight: bold;
	border-left: 1px solid rgb(240, 240, 240);
	border-top: 1px solid rgb(240, 240, 240);
	border-bottom: 1px solid rgb(240, 240, 240);
	overflow-wrap: anywhere;
}

.configPreviewItemDescription {
	padding: 5px;
	border-right: 1px solid rgb(240, 240, 240);
	border-top: 1px solid rgb(240, 240, 240);
	border-bottom: 1px solid rgb(240, 240, 240);
	overflow-wrap: anywhere;
}

.sitemateTaskBtn {
	cursor: pointer;
	padding: 5px 5px;
	border-radius: 5px;
	background-color: #17a2b8;
	text-align: center;
	color: white;
}

.qrviewer {
	background-color: white;
	margin: 10px;
	padding: 20px;
	border-radius: 5px;
}

.toolTip {
	position: relative;
}

.toolTip .toolTiptext {
	visibility: hidden;
	width: 120px;
	background-color: #555;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
	/* Position the toolTip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;
	/* Fade in toolTip */
	opacity: 0;
	transition: opacity 0.3s;
}

/* Tooltip arrow */
.toolTip .toolTiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

/* Show the toolTip text when you mouse over the toolTip container */
.toolTip:hover .toolTiptext {
	visibility: visible;
	opacity: 1;
}

/* =========================================================
   MARQUEE SCROLLER
========================================================= */
.styleInputRow {
	display: flex;
	padding: 5px 10px;
	justify-content: space-between;
	align-items: center;
}

.styleInputHeader {
	font-size: 1.5em;
	padding: 10px 10px;
	background-color: rgb(20, 150, 200);
	color: rgb(255, 255, 255);
}

/* =========================================================
   LEARNING
========================================================= */
#assessmentViewArea {
	display: none;
}

#assessmentViewBox {
	border: 1px solid rgb(200, 200, 200);
	padding: 10px;
}

#assessmentBox {
	background-color: rgb(255, 255, 255);
	color: rgb(50, 50, 50);
	border: 1px solid rgb(200, 200, 200);
	border-radius: 3px;
	padding: 10px;
	/*height: 65%;*/
	overflow: auto;
	margin: 20px 0;
}

.assessmenttitletext {
	font-size: 2em;
	text-align: center;
	margin: 20px 0;
	font-weight: bold;
	color: rgb(95, 95, 95);
}

.assessmentresulttext {
	font-size: 1.5em;
	line-height: 1.5;
	text-align: center;
	margin: 40px 40px;
	font-weight: normal;
	color: rgb(105, 105, 105);
}

.assessmentquestioanswerbox {
	margin-bottom: 20px;
}

.assessmentquestion {
	font-size: 1.7em;
	Padding: 10px 0;
}

.assessmentanswer {
	margin: 5px 10px;
}

.assessmentanswerlabel {
	font-size: 1.5em;
	padding: 5px 0;
}

.assessmentanswerlabel:hover {
	background-color: rgb(200, 255, 250, 0.4);
}

.warningText {
	font-weight: bold;
	animation: effect 1s linear infinite;
}

@keyframes effect {
	0% {
		color: rgb(255, 0, 0);
	}
	100%{
		color: rgb(0, 0, 255);
	}
}

#qPaperArea {
	width: 90%;
	background-color: rgb(240, 240, 240);
	height: -webkit-fill-available;
	margin: 20px 0;
}

#qPaperFooter {
	width: -webkit-fill-available;
	display: flex;
	justify-content: space-between;
}

#displayContent {
	display: block;
	height: -webkit-fill-available;
}

#timeLimitArea {
	display: flex;
	justify-content: flex-end;
	padding: 10px 20px;
}

#assessmentDescriptionText {
	font-size: 1.3em;
	line-height: 1.3;
	padding: 10px 0;
}

#assessmentTime {
	padding: 0 10px;
}

#courseViewerArea {
	padding: 0;
}

.bannerarea {
	position: relative;
}

.bannerimage {
	width: 100%;
}

.bannername {
	top: 0;
	position: absolute;
	color: white;
	font-size: 3em;
	font-weight: bold;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0.0) 100%);
	height: -webkit-fill-available;
	width: -webkit-fill-available;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 8px;
}

#sitemateBannerName {
	background-image: none;
	justify-content: center;
	background-color: rgb(248, 240, 255);
}

#trainingBannerName {
	background-image: none;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bannerLogo {
	max-height: 60px;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

.bannernamerelative {
	color: white;
	font-size: 3em;
	font-weight: bold;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0.0) 100%);
	height: -webkit-fill-available;
	width: -webkit-fill-available;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 20px;
}

.courseCatalogGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Hide toggle button on desktop */
#availableToggleWrapper {
	display: none;
}

#courseName {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#coursedisplayarea {
	width: 100%;
	margin-left: 0;
	/*height: -webkit-fill-available;*/
}

.catalogHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 20px;
}

.search-wrapper {
	position: relative;
	width: 320px;
	max-width: 100%;
}

.search-input {
	width: 100%;
	padding: 10px 42px 10px 14px;
	border-radius: 24px;
	border: 1px solid #d1d5db;
	outline: none;
	transition: border 0.2s ease, box-shadow 0.2s ease;
	font-size: 0.95rem;
}

.search-input:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: #2563eb;
	color: #ffffff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.1s ease;
}

.search-btn:hover {
	background: #1e40af;
}

.search-btn:active {
	transform: translateY(-50%) scale(0.95);
}

.filter-chips-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.filter-chip {
	padding: 6px 14px;
	border-radius: 20px;
	background: #e5e7eb;
	font-size: 12px;
	cursor: pointer;
	height: fit-content;
}

.filter-chip.active {
	background: #2563eb;
	color: #fff;
}

.filter-chip:hover {
	background: #99b4ef;
}

.kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 0 20px 28px 20px;
}

.kpi-card {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kpi-title {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 6px;
}

.kpi-value {
	font-size: 24px;
	font-weight: 700;
}

#myCatalogWrapper {
	width: 100%;
}

#myCatalogArea {
	width: 100%;
}

#coursedisplaybox {
	width: 100%;
	/*background-color: rgb(255,255,255);
	background-color: rgba(0,0,0,0.2);*/
	margin: auto;
	height: -webkit-fill-available;
	padding-bottom: 10px;
}

.catalogticket {
	border-radius: 8px;
	height: 100%;
	box-shadow: 1px 4px 12px rgb(0 0 0/ 05%);
	cursor: pointer;
	transition: transform .2s; /* Animation */
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
}

.catalogsmallticket {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
}

.catalogsmallticket .catalogsmallicon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.catalogsmallticket>div:first-child {
	display: flex;
	gap: 12px;
	align-items: center;
	flex: 1;
}

.catalogsmallticket .catalogbadge {
	padding: 5px 14px;
	border-radius: 20px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	flex-shrink: 0;
	height: fit-content;
}

.catalogbadge.subscribed {
	background-color: #ffedd5;
	color: #9a3412
}

.catalogbadge.requested {
	background-color: #dbeafe;
	color: #1e40af;
}

.catalogbadge.request {
	background-color: rgb(5, 5, 205);
	color: #ffffff;
}

.catalogbadge.request:hover {
	background-color: rgb(55, 55, 255);
	transform: scale(1.2);
}

.catalogticket:hover {
	transform: scale(1.05);
}

.statusComplete {
	width: 100%;
	border-radius: 20px;
	text-align: center;
	padding: 5px 0;
	background: #dcfce7;
	color: #166534;
}

.statusProgress {
	width: 100%;
	border-radius: 20px;
	text-align: center;
	padding: 5px 0;
	background: #dbeafe;
	color: #1e40af;
}

.statusAssigned {
	width: 100%;
	border-radius: 20px;
	text-align: center;
	padding: 5px 0;
	background: #ffedd5;
	color: #9a3412;
}

.courseStatusArea {
	margin-top: auto;
}

.courseProgressBar {
	width: 100%;
	height: 6px;
	background-color: #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 8px;
}

.courseProgressFill {
	height: 100%;
	background: linear-gradient(90deg, #2563eb, #1e40af);
	transition: width 0.4s ease;
}

.catalogicon {
	width: 100%;
	display: block;
	max-height: 180px;
	object-fit: cover;
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}

.catalogsmallicon {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 50%;
}

.cataloginfoarea {
	margin-top: 0px;
	padding: 15px 10px;
	color: rgb(100, 100, 100);
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.catalogname {
	padding: 5px 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-weight: 500;
	font-size: 1.1em;
	color: #000000;
}

.catalogdescription {
	padding: 0px 0;
	font-size: 0.9em;
	font-weight: 300;
	line-height: 1.3;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	height: 4em;
	resize: none;
	color: #1f2937;
	margin-bottom: 10px;
	cursor: pointer;
}

.catalogsmalldescription {
	padding: 0px 0;
	font-size: 0.9em;
	font-weight: 300;
	line-height: 1.3;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	height: 1.4em;
	resize: none;
	color: #1f2937;
}

.catalogoneline {
	padding-bottom: 5px;
	font-size: 0.9em;
	font-weight: 300;
	color: #1f2937;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.catalogpopup {
	display: none;
	border: 1px solid rgb(200, 200, 200);
	background-color: rgb(255, 255, 255);
	border-radius: 5px;
	padding: 10px;
	position: absolute;
	width: 500px;
}

.catalogpopupbanner {
	width: 100%;
	max-height: 500px;
}

.catalogpopupname {
	font-size: 1.3em;
	font-weight: bold;
	padding-left: 20px;
	color: #1f2937;
}

.catalogpopupdescription {
	padding: 5px 0 5px 0;
	font-size: 1.0em;
	text-align: left;
	font-weight: normal;
	color: #1f2937;
}

.catalogpopuponeline {
	padding: 10px 0 5px 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size: 1.0em;
	text-align: left;
	font-weight: normal;
	color: rgb(100, 100, 100);
	color: #1f2937;
}

#courseArea {
	height: 100%;
	width: 100%;
	margin: 0;
}

#availableDesktopWrapper {
	width: 100%;
}
/* Desktop Available Area */
#availableDesktopArea {
	background: #fff;
	border-radius: 10px;
	padding: 15px;
	overflow-y: auto;
	max-height: calc(100vh - 220px);
}
/* ===== Available Button ===== */
#availableButtonWrapper {
	margin: 15px 20px;
	text-align: left;
}

/* Hide button by default (desktop) */
.wideBlueBtn {
	background: linear-gradient(135deg, #1e40af, #2563eb);
	color: white;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: 0.2s ease;
	display: none;
}

#wideBlueBtn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#catalogLayout {
	display: grid;
	grid-template-columns: 3fr 1.2fr;
	gap: 20px;
	margin: 0 20px 20px 20px;
}
/* ===== Overlay ===== */
#availableOverlay {
	position: fixed;
	inset: 0;
	top: inherit;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

#availableOverlay.show {
	display: flex;
}

#availableOverlayContent {
	background: #fff;
	width: 95%;
	max-height: 85vh;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	position: relative;
}

#availableOverlayHeader {
	display: flex;
	width: 35px;
	height: 35px;
	font-weight: 600;
	position: absolute;
	position: absolute;
	right: 20px;
	top: 15px;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	justify-content: center;
}

#availableOverlayHeader button {
	border: none;
	background: none;
	font-size: 18px;
	cursor: pointer;
	color: #1f2937;
}

#availableOverlayHeader:hover {
	background-color: rgb(220, 230, 240);
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

#availableOverlayBody {
	padding: 15px;
	overflow-y: auto;
}

/* Animation */
@keyframes fadeInScale {from { transform:scale(0.95);
	opacity: 0;
}

to {
	transform: scale(1);
	opacity: 1;
}

}
#contentDisplayArea {
	/*background-color:rgba(255, 255, 255);*/
	
}

#assessmentContentListArea {
	/*background-color: rgb(240,240,240);	
	border-left: 1px solid rgb(200,200,200);
	height: 100%;*/
	
}

#assessmentContentListBox {
	width: 100%;
}

#assessmentContentTitle {
	padding: 10px 0;
	font-size: 1.2em;
	font-weight: bold;
	color: rgb(150, 79, 1);
}

#coursedisplay {
	width: 100%;
	margin: auto;
	display: grid;
	grid-template-columns: 3fr 1fr;
	grid-gap: 20px;
	/*height: -webkit-fill-available; */
}

#contentDescriptopnArea {
	width: 100%;
	padding: 10px;
}

#courseTitleBox {
	width: 100%;
	position: relative;
}
/*****************************/
/* ================================
   CONTENT LIST CONTAINER
================================ */
.course-content-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ================================
   CONTENT ITEM CARD
================================ */
.course-content-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #ffffff;
	cursor: pointer;
	border: 1px solid #eef1f5;
	transition: all 0.25s ease;
	position: relative;
}

.course-content-item:hover {
	background: #f8fbff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

/* ================================
   STATUS ICON
================================ */
.course-content-status {
	width: 26px;
	text-align: center;
	font-size: 1.2em;
	margin-top: 2px;
	color: #cbd5e1;
	flex-shrink: 0;
}

.course-content-item.completed .course-content-status {
	color: #22c55e;
}

/* Playing state */
.course-content-status.playing i {
	color: #2563eb; /* blue */
}

.course-content-status.completed i {
	color: #22c55e; /* green */
}

/* ================================
   MAIN CONTENT AREA
================================ */
.course-content-main {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-grow: 1;
}

/* ================================
   TITLE ROW
================================ */
.course-content-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.course-content-index {
	font-size: 0.85em;
	color: #94a3b8;
	font-weight: 500;
}

.course-content-title {
	font-weight: 600;
	color: #1f2937;
}

.course-content-badge {
	font-size: 0.7em;
	padding: 3px 8px;
	border-radius: 20px;
	background: #e0f2fe;
	color: #0369a1;
	font-weight: 500;
}

/* ================================
   DURATION
================================ */
.course-content-duration {
	font-size: 0.85em;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ================================
   COMPLETED STATE
================================ */
.course-content-item.completed {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.course-content-item.completed .course-content-title {
	color: #166534;
}

/* ================================
   INDIVIDUAL CONTENT PROGRESS
================================ */
.content-progress-bar {
	width: 100%;
	height: 6px;
	background: #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	margin-top: 6px;
}

.content-progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #22c55e, #16a34a);
	border-radius: 6px;
	transition: width 0.4s ease;
}

/* Completed visual polish */
.course-content-item.completed .content-progress-fill {
	background: linear-gradient(90deg, #16a34a, #15803d);
}

/* ================================
   ACTIVE STATE (for current playing)
================================ */
.course-content-item.active {
	background: #eff6ff;
	border-color: #bfdbfe;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.course-content-item.active .course-content-title {
	color: #1d4ed8;
}

/* ================================
   LEFT ACCENT BAR
================================ */
.course-content-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 4px;
	border-radius: 4px;
	background: transparent;
}

.course-content-item.completed::before {
	background: #22c55e;
}

.course-content-item.active::before {
	background: #3b82f6;
}
/**********************************/

#contentViewBox {
	margin: 0 auto;
}

.view-container {
	position: relative;
	padding-bottom: 56.25%; /*56.25% 16:9 */
	height: 0;
}

.view-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#courseDescriptionBox {
	margin: 0;
	/*border-bottom: 1px solid rgb(220, 220, 220);*/
	padding-left: 20px;
	margin-bottom: 0;
}

.running {
	font-weight: bold;
	color: rgb(20, 150, 50);
	font-size: 1em;
}

#templatecontentViewerData {
	width: 700px;
	height: 350px;
	position: relative;
}

#templatecontentDataEditBox {
	margin-bottom: 20px;
	padding: 10px;
	font-size: 1.3em;
	color: rgb(216, 80, 0);
}

.templatesections {
	cursor: pointer;
}

.templatesections:hover {
	background-color: rgba(0, 150, 250, 0.1) !important;
}

.selectedsection {
	background-color: rgba(0, 0, 250, 0.2) !important;
	font-weight: bold;
}

#selectedSection {
	padding: 10px;
}

/*
.templatesection::-webkit-scrollbar {
    width: 10px;
}
.workarea::-webkit-scrollbar {
    width: 10px;
}
.workarea::-webkit-scrollbar {
    width: 10px;
}
*/
.clamped3lines {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	border: none;
	margin-bottom: 0;
}

.maxWidth300 {
	max-width: 300px;
}

.maxWidth600 {
	max-width: 600px;
}

/*
.scoll-pane {
	scrollbar-width: 3px;
}
*/
.reportarea {
	display: block;
	font-family: 'Nanum Gothic', sans-serif;
}

.reportCard {
	float: left;
	min-width: 360px;
	width: calc((( 100% - 40px)/3)- 20px);
	min-height: 200px;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	text-align: center;
}

.reportTitle {
	font-size: 1.5em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: center;
}

.reportContentLabel {
	font-size: 1.0em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: left;
	margin: 0;
}

.reportContent {
	font-size: 1.0em;
	line-height: 1.5;
	color: rgb(100, 100, 100);
	text-align: left;
	margin: 0;
}

#assessmentCertificateArea {
	position: relative;
}

#certificateTextBox {
	position: absolute;
	top: 35%;
	left: 10%;
	right: 10%;
}

.certificatetitletext {
	font-size: 6vw;
	text-align: center;
	font-weight: bold;
	color: rgb(50, 50, 50);
	font-family: 'The Nautigal', cursive;
}

.certificatetext {
	font-size: 3vw;
	line-height: 1.2;
	text-align: center;
	margin: 40px 0px;
	font-weight: normal;
	color: rgb(50, 50, 50);
	font-family: 'Moon Dance', cursive;
}

/* =========================================================
   MISC
========================================================= */
.container1600 {
	max-width: 1600px;
	margin: auto;
	padding: 0px 32px 32px;
}

#productdisplayarea {
	display: none;
}

.formTitleBtn {
	cursor: pointer;
	padding: 5px 10px;
	margin: 0 10px;
	background-color: rgba(255, 255, 255, 0.3);
	font-size: 0.8em;
	border-radius: 5px;
}

.formTitleBtn:hover {
	background-color: rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 1079px) and (min-width: 720px) {
	.ertMemberDisplayGrid {
		grid-template-columns: 49.5% 49.5%;
	}
}

@media only screen and (max-width: 719px) {
	.ertMemberDisplayGrid {
		grid-template-columns: 100%;
	}
}

.alternateTableRow:nth-child(even) {
	background-color: rgba(0, 0, 0, 0.1);
}

.ai-bottom-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
}

/* Chat input */
.ai-chat-input {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 25px;
	padding: 4px 10px;
	width: 45%;
}

.ai-chat-input input {
	border: none;
	outline: none;
	flex: 1;
	font-size: 0.9rem;
}

.ai-chat-input button {
	background: #0dcaf0;
	border: none;
	color: white;
	width: 34px;
	height: 34px;
	border-radius: 50%;
}

/* Actions */
.ai-actions {
	display: flex;
	align-items: center;
}

.actions-preview, .actions-edit, .actions-source {
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-icon {
	width: 38px;
	height: 38px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dropdown-item {
	cursor: pointer;
	font-size: 1rem;
	line-height: 1.5;
}

.dropdown-item:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

/* =========================================================
   RESPONSIVE (MERGED)
========================================================= */
@media only screen and (max-width: 1600px) {
	.courseCatalogGrid {
		grid-template-columns: repeat(2, 1fr);
	}
	.homeMenuContainer {
		max-width: 65%;
	}
	.catalogsmallticket {
		flex-direction: column;
	}
}

@media only screen and (max-width: 1200px) {
	.hero-layout {
		grid-template-columns: 1fr 1fr;
	}
	.courseCatalogGrid {
		grid-template-columns: repeat(2, 1fr);
	}
	#catalogLayout {
		grid-template-columns: 1fr;
	}
	#availableDesktopArea {
		display: none;
	}
	#availableCoursesBtn {
		display: inline-block;
	}
	#availableToggleWrapper {
		display: block;
		margin: 10px 20px;
	}
	#availableToggleBtn {
		padding: 12px;
		background-color: #1e40af;
		color: #fff;
		border-radius: 8px;
		text-align: center;
		cursor: pointer;
	}
	.catalogsmallticket {
		flex-direction: row;
	}
	.catalogsmallticket .catalogbadge {
		margin-top: 6px;
	}
}

@media only screen and (max-width: 1020px) {
	.hero-layout {
		grid-template-columns: 1fr;
	}
	.hero-content p{
		margin: auto;
	}
	.value-item {
		justify-content: center;
	}
	.module-value-text {
	    text-align: left;
	}
	.sidebar-login-content {
	    padding-bottom: 0;
	    margin-bottom: 0;
	}
	.detail-wrapper {
		grid-template-columns: 1fr;
	}
	.container {
		padding: 0 5px;
	}
	.sidebar {
		margin-left: 0;
	}
	.content-area {
		margin-right: 0;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.chartRow {
		grid-template-columns: 100%;
	}
	.courseCatalogGrid {
		grid-template-columns: repeat(2, 1fr);
	}
	.homeMenuContainer {
		max-width: 80%;
	}
	.homeBtnClass {
		padding: 10px;
	}
}

@media only screen and (max-width: 720px) {
	.demoMenuAreaClass {
		display: block;
	}
	.demoMenuTextArea {
		width: 100%;
	}
	.homeTemplateBoxClass {
		width: 100%;
	}
	.courseCatalogGrid {
		grid-template-columns: repeat(1, 1fr);
	}
	.demoInfoBlock {
		display: block;
	}
	.demoTableData {
		width: 100%;
		margin: 0 !important;
	}
	.homeMenuContainer {
		max-width: 100%;
	}
	.homeBtnClass {
		padding: 10px;
	}
}

@media only screen and (max-width: 600px) {
	.courseCatalogGrid {
		grid-template-columns: 1fr;
	}
	.homeMenuContainer {
		max-width: 100%;
	}
	.homeBtnClass {
		padding: 10px;
	}
	.catalogbadge {
		width: auto;
	}
	.catalogsmallicon {
		width: 40px;
		height: 40px;
	}
	.catalogsmallticket {
		flex-direction: column;
	}
}