html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Noto Sans Thai';
	background-image: linear-gradient(120deg, white 0%, #c2e9fb 70%, white);
	object-fit: cover;
}

.main-wrapper {
	background: none; /* Remove any conflicting background */
}

.keep-center {
	margin-top: 5%;
	padding-left: 25%;
	padding-right: 25%;
	min-height: 700px;
	background: none; /* Ensure no extra white background */
}

.card-login-r {
	font-family: 'Noto Sans Thai';
	background-color: white;
	border-radius: 0px 15px 15px 0px;
}

.card-login-l {
	font-family: 'Noto Sans Thai';
	background-image:
		url("/gov-management-user/resources/images/login-pf-pic.png");
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	border-radius: 15px 0px 0px 15px;
}

.keep-center {
	font-family: 'Noto Sans Thai';
	padding-left: 25%;
	padding-right: 25%;
	min-height: 700px;
}

.login-select {
	text-align: right;
	position: absolute;
	right: 0px;
	top: 50%;
	width: 40%;
}

.mode-selection {
	width: 100%;
	border: 0px solid #2C2974;
	cursor: pointer;
	height: 20%;
	background-color: inherit;
	border-radius: 15px 0px 0px 15px;
	color: white;
	font-size: 20px;
	padding: 20px;
}

.mode-selected {
	width: 100%;
	border: 2px solid white;
	background-color: white;
	color: #5548BE;
	height: 20%;
	border-radius: 15px 0px 0px 15px;
	font-size: 20px;
	padding: 20px;
}

.form-signin {
	width: 98%;
}

.form-signin .checkbox {
	font-weight: 400;
}

.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="text"] {
	margin-bottom: 0px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.input-login {
	border: 0px solid #000000;
	display: block;
	width: 90%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #4F5467;
	background-color: #fff;
	background-clip: padding-box;
	border-bottom: 1px solid #dbdbdb;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group-user {
	display: flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	margin-bottom: -1;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #484649;
	text-align: center;
	white-space: nowrap;
	background-color: #f9fcff4a;
	border-bottom: 1px solid #dbdbdb;
	border-radius: 0rem;
}

.login-button {
	padding: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	cursor: pointer;
	font-size: 18px;
	width: 100%;
	background: linear-gradient(90deg, #543FBF 0%, #576EBA 100%);
	border: 0px solid;
	border-radius: 5px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
		rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.login-button:hover {
	background: linear-gradient(90deg, #543FBF 0%, #576EBA 100%);
	box-shadow: 0px 5px 30px 0px rgba(135, 135, 243, 1);
}

.forget-card {
	background-color: white;
	height: 100%;
	border-radius: 25px 25px 25px 25px;
	box-shadow: 0px 4px 30px 0px rgba(74, 92, 210, 0.25);
}

.forget-body {
	padding: 30px;
}

.home-body {
	background: linear-gradient(180deg, #DFE5F3 0%, #D6DDEE 100%) no-repeat;
	min-height: 100vh; /* Make sure it covers the full viewport height */
	font-family: 'Noto Sans Thai';
	-webkit-background-size: cover;
	background-size: cover;
}

/* Ensure all containers inside home-body are stretched */
.p-5, .home-content {
	flex: 1; /* Stretch the content to fill the available height */
}

.home-body h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Sans Thai';
	margin-top: 0;
	margin-bottom: .5rem
}

.home-content {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 25px 25px 25px 25px;
}

.home-navbar {
	background: rgba(255, 255, 255, 1);
	height: 100%;
	border-radius: 80px 80px 80px 80px;
}

.nav-item {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-right: 20px;
	font-size: 25px;
	color: #4840A6;
}

.nav-login-button {
	padding-left: 20px;
	padding-right: 20px;
	cursor: pointer;
	font-size: 18px;
	width: 100%;
	background: inherit;
	border: 2px solid #4840A6;
	border-radius: 25px;
	box-shadow: 0px 0px 8px 1px #00000040;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	color: #4840A6;
	font-size: 25px;
}

.nav-login-button:hover {
	background: linear-gradient(90deg, #543FBF 0%, #576EBA 100%);
	box-shadow: 0px 0px 8px 1px rgba(135, 135, 243, 1);
	color: white;
}

.ser-bg {
	background: #F7ECF240;
	border-radius: 25px 25px 25px 25px;
	width: 100%;
	box-shadow: 0px 0px 50px 5px #BEBBD6;
}

.ser-card-bg {
	background: linear-gradient(87.96deg, rgba(93, 84, 233, 0.6) 0.33%,
		rgba(156, 152, 227, 0.6) 99.45%);
	border-radius: 25px 25px 25px 25px;
	width: auto;
	height: 100%
}

.ser-card-button {
	position: absolute;
	z-index: 1;
	float: left;
	top: -50px;
	left: 0px;
	color: white;
	background: #4840A6;
	border-radius: 25px 25px 25px 25px;
	text-align: center;
	box-shadow: 2px 4px 5px 1px #36309440;
	padding: 10px;
	height: 100%;
	max-height: 110px;
	cursor: pointer;
}

.ser-card-circle {
	position: relative;
	z-index: auto;
	float: right;
	color: white;
	background: white;
	border-radius: 100%;
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
	padding: 10px;
	cursor: pointer;
}

.ser-card-item {
	color: white;
	width: 20%;
	background: rgba(113, 107, 204, 1);
	border-radius: 25px 25px 25px 25px;
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
	padding: 10px;
	cursor: pointer
}

.ser-card-item:hover {
	transform: scale(1.1);
	transition: 150ms linear;
}

.present-card {
	width: 450px;
	height: 90%;
	position: absolute;
	bottom: 0;
	gap: 0px;
	border-radius: 250px 250px 30px 30px;
	opacity: 0px;
	background: #F7ECF2;
	box-shadow: 0px 4px 100px 10px #C1BDEF;
	padding: 15px;
	bottom: 0;
	min-height: 25rem;
}

.present-card-item {
	width: 100%;
	height: 100%;
	border-radius: 250px 250px 30px 30px;
	opacity: 0px;
	background: linear-gradient(221.38deg, #D2CFF9 13.37%, #817CD8 98.31%);
	display: flex;
	justify-content: center;
}

.present-card-img {
	position: absolute;
	z-index: 1;
	top: -115px;
	left: 15%;
	height: auto;
	width: 70%;
	vertical-align: bottom;
}

.doc-bg {
	/*background-image: url("/gov-management-user/resources/images/doc1.png");*/
	background-color: white;
	border-radius: 25px 25px 25px 25px;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: auto;
	height: 100%;
	box-shadow: 2px 4px 4px 0px #00000040;
	color: #716BCC;
	transition: transform 250ms;
}

.doc-bg:hover {
	transform: translateY(-10px);
}

.doc-rule-bg {
	/*background-image: url("/gov-management-user/resources/images/doc2.png");*/
	background-color: white;
	border-radius: 25px 25px 25px 25px;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: auto;
	height: 100%;
	box-shadow: 2px 4px 4px 0px #00000040;
	color: #716BCC;
	transition: transform 250ms;
}

.doc-rule-bg:hover {
	transform: translateY(-10px);
}

.doc-advice-bg {
	/*background-image: url("/gov-management-user/resources/images/doc3.png");*/
	background-color: white;
	border-radius: 25px 25px 25px 25px;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: auto;
	height: 100%;
	box-shadow: 2px 4px 4px 0px #00000040;
	color: #716BCC;
	transition: transform 250ms;
}

.doc-advice-bg:hover {
	transform: translateY(-10px);
}

.doc-download-bg {
	/*background-image: url("/gov-management-user/resources/images/doc4.png");*/
	background-color: white;
	border-radius: 25px 25px 25px 25px;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: auto;
	height: 100%;
	box-shadow: 2px 4px 4px 0px #00000040;
	color: #716BCC;
	transition: transform 250ms;
}

.doc-download-bg:hover {
	transform: translateY(-10px);
}

.doc-card-bg {
	/*background-color: rgba(0, 0, 0, 0.5);*/
	border-radius: 25px 25px 25px 25px;
	width: 20rem;
	height: 100%;
	padding: 10px;
	font-size: 30px;
	max-width: 20rem;
}

.doc-card-input {
	height: 100%;
	border-radius: 25px 25px 25px 25px;
	font-size: 30px;
	box-shadow: 3px 7px 7px 3px #00000040;
	s color: white;
	background: #4840A6;
}

.offlist-bg {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 25px 25px 25px 25px;
	height: 96%;
	color: #4840A6;
}

.offlist-card {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 15px 15px 15px 15px;
	padding: 15px;
	box-shadow: 2px 4px 4px 2px #00000040;
	width: 90%;
	font-size: 20px;
}

.offlist-list {
	max-height: 450px;
	overflow-x: hidden;
	overflow-y: scroll;
	overflow-x: hidden;
}

.offlist-list::-webkit-scrollbar {
	width: 10px;
	border-radius: 100px;
}

.offlist-list::-webkit-scrollbar-track {
	background-color: darkgrey;
	border-radius: 100px;
}

.offlist-list::-webkit-scrollbar-thumb {
	background: #6F69CA;
	box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
	border-radius: 100px;
}

.home-footer {
	background: rgba(72, 64, 166, 1);
	color: white;
	padding: 20px;
	border-radius: 0px 0px 25px 25px;
}

.sticky-card {
	position: sticky;
	right: 0px;
	bottom: 20px;
}

.white-box {
	position: relative;
}

.white-box img {
	box-shadow: 0 0 0px rgba(0, 0, 0, 0.07);
}

.white-box .img-ovrly {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba(201, 179, 201, 0.17);
	text-align: center;
	height: 100%;
	display: none;
}

.white-box .img-ovrly a {
	position: relative;
	top: 45%;
	padding: 10px 20px;
}

.white-box:hover .img-ovrly {
	display: block;
}

.footergov {
	bottom: 0;
	padding: 17px 15px;
	right: 0;
	border-top: 1px solid #c0adcc;
	background: #c0adcc;
}

.text-muted1 {
	color: #605e5e !important;
}

.card-home {
	background-color: #edf1f500;
	border-radius: 0em;
}

.card-item {
	transition: all 0.5s ease;
	padding-bottom: 2rem;
}

.card-link {
	flex: 1;
	cursor: pointer;
}

.right-content {
	display: none;
}

.extra-content {
	display: none;
	padding: 20px;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.scrollable-container {
	max-height: 300px; /* Adjust the height as needed */
	overflow-y: auto;
	/* Enables scrolling if the content exceeds max-height */
}

/* Custom Scrollbar Styles */
.scrollable-container::-webkit-scrollbar {
	width: 8px; /* Width of the scrollbar */
}

.scrollable-container::-webkit-scrollbar-thumb {
	background-color: #4840A6; /* Color of the scrollbar thumb */
	border-radius: 10px; /* Round the edges of the thumb */
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
	background-color: #555; /* Change thumb color when hovered */
}

.scrollable-container::-webkit-scrollbar-track {
	background-color: #f1f1f1;
	/* Color of the track where the thumb slides */
	border-radius: 10px; /* Round the edges of the track */
}