/*******************
 Header Styles
 Extracted from style.css and header.jsp inline styles
*******************/

/* === Skin overrides === */
.skin-default-dark .topbar {
	background: #fff;
}

.skin-default-dark .topbar .navbar-dark .navbar-nav .nav-link {
	color: #adb5bd;
}

.skin-default-dark .topbar .top-navbar .navbar-header .navbar-brand .dark-logo
	{
	display: inline-block;
	color: rgba(255, 255, 255, 0.8);
}

.skin-default-dark .topbar .top-navbar .navbar-header .navbar-brand .light-logo
	{
	display: none;
}

/* === Topbar === */
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	-webkit-transition: 0.2s ease-in;
	-o-transition: 0.2s ease-in;
	transition: 0.2s ease-in;
	background-color: white;
}

.topbar .navbar-collapse {
	padding: 0px;
}

.topbar .top-navbar {
	min-height: auto;
	padding: 1rem;
}

.topbar .top-navbar .dropdown-toggle::after {
	display: none;
}

.topbar .top-navbar .navbar-header {
	padding-right: 15px;
	line-height: 47px;
	padding-left: 15px;
	m /* in-width: 70px; */
	border-right
	:
	1px
	solid
	rgba(
	0
	,
	0
	,
	0
	,
	0.1
	);
}

.topbar .top-navbar .navbar-header .navbar-brand {
	margin-right: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.topbar .top-navbar .navbar-header .navbar-brand .light-logo {
	display: none;
}

.topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
	padding-left: 0.09rem;
	padding-right: 1.09rem;
	font-size: 1.31rem;
	line-height: 3.66rem;
}

.topbar .top-navbar .navbar-nav>.nav-item>span {
	line-height: 45px;
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	padding: 0 10px;
}

.topbar .dropdown-menu {
	box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
	border-color: #e9ecef;
}

.topbar .dropdown-menu .dropdown-item {
	padding: 7px 1.5rem;
}

.topbar .user-dd {
	width: 280px;
	padding-bottom: 10px;
}

.search-box .app-search {
	position: absolute;
	margin: 0px;
	display: block;
	z-index: 110;
	width: 100%;
	top: -1px;
	-webkit-box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0px;
}

.search-box .app-search input {
	width: 100.5%;
	padding: 20px 40px 20px 20px;
	border-radius: 0px;
	font-size: 17px;
	-webkit-transition: 0.5s ease-in;
	-o-transition: 0.5s ease-in;
	transition: 0.5s ease-in;
}

.search-box .app-search input:focus {
	border-color: #fff;
}

.search-box .app-search .srh-btn {
	position: absolute;
	top: 23px;
	cursor: pointer;
	background: #fff;
	width: 15px;
	height: 15px;
	right: 20px;
	font-size: 14px;
}

/* === Mobile menu === */
.listDropDown {
	text-align: right;
	padding: 15px;
	border-bottom: 1px solid #d2d2d275;
}

.listDropDown a {
	color: black;
	font-size: 14px;
	font-weight: 600;
}

.navbarDisplayOnClick {
	position: absolute;
	width: 100%;
	display: none;
	top: auto;
	left: 0;
	background: #ffffff;
	text-align: right;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
	border-radius: 0 0 0.5rem 0.5rem;
	z-index: 40;
}

.navbarDisplayOnClick.Active {
	display: block;
}

.navbarToggleButton {
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	background: transparent;
}

/* === Header text === */
.log-tab-de {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	padding-top: 0;
	color: #000000;
}

.log-tab-de span {
	font-size: 12px;
	font-weight: 300;
	color: #7c7c7c;
}

.log-tab-de1 {
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.25;
	padding-top: 0;
	color: #525252;
}

/* === Language selector === */
.headerLanguageChangeTab {
	width: auto;
	height: auto;
	background-color: transparent;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	padding: 0.25rem 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	cursor: pointer;
	margin-top: 0;
	text-align: center;
}

/* === Responsive header (max-width: 767px) === */
@media ( max-width : 767px) {
	.log-tab-de {
		font-size: 14px;
		font-weight: 600;
		line-height: 1.5;
		padding-top: 0;
		color: #000000;
	}
	.log-tab-de1 {
		font-size: 10px;
		font-weight: 400;
		line-height: 1.25;
		padding-top: 0;
		color: #525252;
	}
	.headerLanguageChangeTab {
		width: auto;
		height: auto;
		background-color: transparent;
		border: 1px solid #d1d5db;
		border-radius: 0.375rem;
		padding: 0.2rem 0.4rem;
		display: flex;
		align-items: center;
		gap: 0.25rem;
		cursor: pointer;
		margin-top: 0;
		text-align: center;
	}
}

/* === New Header Styles (rcl-eservice-fe match) === */
.rcl-header-line {
	width: 100%;
	display: block;
	line-height: 0;
	position: sticky;
	top: var(--topbar-height, 72px);
	z-index: 49;
}

.header-flex-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.5rem;
	height: 60px;
}

.user-profile-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	position: relative;
}

.user-profile-avatar {
	font-size: 49px;
	line-height: 1;
	color: #000000;
}

.user-profile-text {
	display: flex;
	flex-direction: column;
}

.user-profile-name {
	font-weight: 600;
	font-size: 1rem;
	color: #000000;
	margin: 0;
	line-height: 1.5;
}

.user-profile-company {
	font-size: 0.75rem;
	color: #525252;
	margin: 0;
	line-height: 1.25;
}

.user-profile-dropdown {
	position: fixed;
	z-index: 9999;
	margin-top: 0.5rem;
	width: 12rem;
	background: white;
	padding: 0.25rem 0;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
	border: 1px solid rgba(0,0,0,0.05);
	border-radius: 0.375rem;
	display: none;
}

.user-profile-group:hover .user-profile-dropdown,
.user-profile-dropdown.show {
	display: block;
}

.user-profile-dropdown .dropdown-item {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	color: #374151;
	text-decoration: none;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

.user-profile-dropdown .dropdown-item:hover {
	background-color: #f3f4f6;
	color: #215CDE;
}

.user-profile-dropdown .dropdown-divider {
	height: 0;
	margin: 0.25rem 0;
	overflow: hidden;
	border-top: 1px solid #e9ecef;
}

.lang-selector-item {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* Desktop: hide mobile toggle, show navbar-collapse */
@media (min-width: 993px) {
	.navbarToggleButton,
	.navbarDisplayOnClick {
		display: none !important;
	}
	.topbar .navbar-collapse {
		display: flex !important;
	}
}

/* Mobile: show toggle, hide navbar-collapse */
@media (max-width: 992px) {
	.topbar .navbar-collapse {
		display: none !important;
	}
	.navbarToggleButton {
		display: none !important;
	}
	.user-profile-avatar {
		font-size: 40px;
	}
	.user-profile-name {
		font-size: 0.875rem;
	}
	.user-profile-company {
		font-size: 0.675rem;
	}
	.header-right {
		gap: 0.75rem;
	}
	.rcl-header-line {
		height: 6px;
	}
}

/* === Breadcrumb (header) === */
.breadcrumb {
	display: none;
	padding-bottom: 0;
	padding-top: 1.5rem;
	margin-left: 1rem;
	padding-left: 0;
	font-weight: 600;
}

.breadcrumb.show {
	display: -webkit-inline-box;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: ">";
}

/* === Thailand Notification popup === */
.th-bold-txt {
	font-size: 17px;
	color: #0b2b53;
	font-weight: 700;
	padding-bottom: 20px;
	text-align: center;
	line-height: 1.5;
}

.th-notification-msg {
	color: #0b2b53;
	font-size: 15px;
	margin-bottom: 10px;
	text-align: center;
}

.th-notification-modal-header {
	border-bottom: 5px solid #0b2b53;
	display: flex;
	justify-content: space-between;
	padding: 10px;
	align-items: center;
}

#notificationisThailandUser .close-modal-btn {
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #0b2b53;
	font-size: 20px;
}

.th-notification-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 25px 0;
}

.th-notification-modal-dialog {
	width: 35%;
}

#notificationisThailandUser .modal-title {
	color: #0b2b53;
}

.th-platform-btn {
	width: 100%;
	display: flex;
	justify-content: center;
}

.th-platform-btn button {
	color: white;
	background-color: #0b2b53;
	cursor: pointer;
	outline: none;
	border-radius: 5px;
	padding: 5px;
	font-size: 16px;
	border: none;
	width: 50%;
}

@media (max-width: 992px) {
	.th-notification-modal-dialog {
		width: auto !important;
	}
}

/* Language dropdown fixed positioning override */
.nav-item.dropdown .dropdown-menu.show {
	position: fixed !important;
	z-index: 9999 !important;
}
