* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-height: 100vh;
	background: #f7fbff;
	background: url(../images/backgorund2.png) no-repeat;
	background-size: 100%;
	color: #1b3b8c;
}
.login-container-3G{
	display: none;
}
.net-bg {
	position: fixed;
	inset: 0;
	background-image: radial-gradient(circle at 0 0, rgba(84,149,255,0.2) 0, transparent 55%);
	pointer-events: none;
}
.net-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d3e4ff' stroke-width='1'%3E%3Cpath d='M0 0 L200 200'/ %3E%3Cpath d='M0 40 L160 200'/ %3E%3Cpath d='M40 0 L200 160'/%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.25;
	background-size: 300px;
}
.page-m2888 {
	position: relative;
	padding: 10px 16px 60px;
	display: flex;
	text-align: left;
	justify-content: center;
}
.login_icons{width: 213px; margin-left: 90px;}
.content-m2888 {
	width: min(1200px, 100%);
	/* box-shadow: 0 30px 80px rgba(15, 68, 173, 0.15); */
	background: url(../images/background.png) no-repeat;
	background-size: 100% 72%;
	position: relative;
	overflow: hidden;
}
h1.logo {
	margin: 36px auto 0;
	text-align: left;
	font-size: clamp(42px, 6vw, 60px);
	color: #1f4fd7;
	letter-spacing: 6px;
	width: 1200px;
}
.hero {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 50px 67px;
	align-items: center;
	justify-content: space-between;
}
.login-card {
	flex: 1 1 320px;
	max-width: 410px;
	background: #e6f0ff;
	border-radius: 18px;
	padding: 28px;
	text-align: center;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6);
}
.login-card h2 {
	margin: 0 0 20px;
	font-size: 27px;
	color: #4f81e4;
	text-align: left;
}
.login-title span {
	margin-top: 0.7rem;
}
.input-group {
	position: relative;
	margin-bottom: 15px;
}
label {
	display: block;
	font-size: 14px;
	text-align: left;
	margin-bottom: 4px;
	color: #4e7ee0;
}
input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px 12px 12px 50px;
	border-radius: 10px;
	border: 2px solid #4e7ee0;
	font-size: 15px;
}
.checkbox-group {
	display: flex;
	gap: 8px;
	margin: 8px 0;
	font-size: 13px;
	align-items: center;
}
.login-btn {
	width: 44%;
	margin-top: 12px;
	padding: 9px;
	border: none;
	border-radius: 15px;
	background: #4e7ee0;
	color: #fff;
	font-weight: 700;
	font-size: 22px;
	cursor: pointer;
}
html[lang=km] .login-btn {
	padding: 0;
    font-size: 23px;
	border-radius: 16px;
}
.lang-select {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	gap: 6px;
}
.flag {
	flex: 1;
	padding: 8px;
	text-align: center;
	font-size: 13px;
	cursor: pointer;
}
.hero-visual {
	flex: 1 1 420px;
	min-height: 360px;
	background: linear-gradient(145deg, rgba(25,81,220,0.08), rgba(25,81,220,0));
	border-radius: 24px;
	position: relative;
	overflow: hidden;
	padding: 20px;
}

.hero-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("https://cdn.jsdelivr.net/gh/hcg-assets/temp/m2888-players.png") center/contain no-repeat;
	opacity: 0.95;
}
.product-grid {
	margin-top: 62px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 2px;
}
.product-card {
	border-radius: 18px;
	padding: 12px;
	text-align: center;
}
.product-card img {
	width: 100%;
	border-radius: 12px;
}
.product-card span {
	margin-top: 10px;
	display: block;
	font-weight: 600;
	color: #4e80e3;
}
input[type=checkbox]:not(old){
	width: 18px;
	height: 18px;
	margin-right: 10px;
	cursor: pointer;
	margin-top: -6px;
	appearance: none;
	border-radius: 4px;
	-webkit-appearance: none;
	accent-color: #4e7ee0;
	border: 2px solid #4e7ee0;
}
.input-icon {
	position: absolute;
	left: 7px;
    top: 17%;
    width: 30px;
    height: 30px;
	color: #4e80e3;
	z-index: 1;
}
.login-title {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 18px;
	font-weight: bold;
	color: #4e80e3;
}
.login-title .lock-icon {
    width: 50px;
    height: 50px;
    color: #4e80e3;
}
footer {
	text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #5770b8;
    padding-top: 10px;
    border-top: 3px solid;
}
.icon-lock {
	fill: currentColor;
}

.icon-user {
	fill: currentColor;
}

@media (max-width: 768px) {
	.content-m2888 {
		padding: 24px;
	}
	.hero {
		flex-direction: column;
	}
	.hero-visual {
		width: 100%;
	}
}
/* login 3G */
/* Mobile */
@media screen and (max-width: 480px) {
	.login_3g{ width:50%}
	body {
		margin: 0;
		min-height: 100vh;
		background: #f7fbff;
		background: url(../images/bg_mobile.png) no-repeat;
		background-size: 100% 100%;
		color: #1b3b8c;
	}
	.login-container-3G{
		display: block;
	}
	.login-container-pc{
		display: none;
	}
	.checkbox-group{display: block;}
}

/* Large Mobile / Small Tablet */
@media screen and (max-width: 768px) {
	.login_3g{ width:50%}
	body {
		margin: 0;
		min-height: 100vh;
		background: #f7fbff;
		background: url(../images/bg_mobile.png) no-repeat;
		background-size: 100% 100%;
		color: #1b3b8c;
		padding: 30px;
	}
	.checkbox-group{display: block;}
	.login-container-3G{
		display: block;
	}
	.login-container-pc{
		display: none;
	}
}

/* Tablet */
@media screen and (max-width: 1024px) {
	.login_3g{ width:50%}
	body {
		margin: 0;
		min-height: 100vh;
		background: #f7fbff;
		background: url(../images/bg_mobile.png) no-repeat;
		background-size: 100% 100%;
		color: #1b3b8c;
		padding: 30px;
	}
	.checkbox-group{display: block;}
    .login-container-3G{
		display: block;
		margin-top: 16%;
	}
	.login-container-pc{
		display: none;
	}
	.container {
		max-width: 420px;
		margin: 0 auto;
		position: relative;
		z-index: 1;
	}

	/* Brand Header */
	.brand-header {
		text-align: center;
		margin-bottom: 1rem;
	}

	.brand-header h1 {
		font-family: 'Times New Roman', serif;
		font-size: 42px;
		font-weight: bold;
		color: #1a237e;
		letter-spacing: 2px;
		text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
	}

	/* Login Card */
	.login-card {
		background: #f8fbff;
		border: 2px solid #4e7ee0;
		border-radius: 20px;
		padding: 30px 25px;
		margin-bottom: 30px;
		box-shadow: 0 8px 24px rgba(0,0,0,0.15);
		position: relative;
		z-index: 2;
	}

	.login-title {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 1rem;
		font-size: 18px;
		font-weight: bold;
		color: #4e7ee0;
	}

	.login-title .lock-icon {
		width: 33px;
		height: 38px;
		color: #4e7ee0;
	}
	.login-title span {
		margin-top: 0.5rem;
	}
	/* Input Fields */
	.input-group {
		margin-bottom: 0.8rem;
		position: relative;
	}

	.input-icon {
		position: absolute;
		left: 9px;
		top: 50%;
		transform: translateY(-50%);
		width: 30px;
		height: 30px;
		color: #4e7ee0;
		z-index: 1;
	}

	.input-field {
		width: 100%;
		padding: 14px 14px 14px 50px;
		border: 2px solid #e0e0e0;
		border-radius: 12px;
		font-size: 16px;
		color: #333;
		background: #fafafa;
		transition: all 0.3s ease;
	}

	.input-field:focus {
		outline: none;
		border-color: #4e7ee0;
		background: #fff;
		box-shadow: 0 0 0 2px #4e7ee0;
	}

	.input-field::placeholder {
		color: #999;
	}

	/* Checkboxes */
	

	.checkbox-item {
		display: flex;
		align-items: center;
		margin-bottom: 0.5rem;
	}

	.checkbox-item input[type="checkbox"] {
		width: 18px;
		height: 18px;
		margin-right: 10px;
		cursor: pointer;
		margin-top: -6px;
		appearance: none;
		border-radius: 4px;
		-webkit-appearance: none;
		accent-color: #4e7ee0;
		border: 2px solid #4e7ee0;
	}

	.checkbox-item label {
		font-size: 14px;
		color: #4e7ee0;
		cursor: pointer;
		user-select: none;
	}

	/* Login Button */
	.login-button {
		width: 44%;
        padding: 0.5rem 0.8rem;
        border-radius: 30px;
        background: #4e7ee0;
        border: none;
        color: #ffffff;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        margin-top: 0.6rem;
        transition: all 0.3s ease;
	}

	.login-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
	}

	.login-button:active {
		transform: translateY(0);
	}

	/* Language Flags */
	.language-flags {
		display: flex;
		justify-content: center;
		gap: 15px;
		margin-top: 25px;
		padding-top: 25px;
		border-top: 1px solid #e0e0e0;
	}

	.flag-item {
		width: 40px;
		height: 30px;
		cursor: pointer;
		transition: transform 0.2s ease;
		box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	}

	.flag-item:hover {
		transform: scale(1.1);
	}

	/* Promotional Section */
	.promo-section {
		position: relative;
		border-radius: 20px;
		overflow: hidden;
		margin-top: 20px;
		box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	}

	.promo-background {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-size: cover;
		background-position: center;
		filter: blur(2px);
		z-index: 0;
	}

	.promo-content {
		position: relative;
		z-index: 1;
		padding: 30px 20px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		flex-wrap: wrap;
		gap: 15px;
	}

	.promo-person {
		text-align: center;
		flex: 1;
		min-width: 80px;
	}

	.promo-person-icon {
		width: 70px;
		height: 70px;
		border-radius: 50%;
		background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
		margin: 0 auto 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 32px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	}

	.promo-person:nth-child(2) .promo-person-icon {
		background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
	}

	.promo-person:nth-child(3) .promo-person-icon {
		background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
	}

	.promo-person:nth-child(4) .promo-person-icon {
		background: linear-gradient(135deg, #e53935 0%, #ef5350 100%);
	}

	/* Responsive */
	@media (max-width: 480px) {
		.login-container-3G {
			display: block;
			margin-top: 15%;
		}
		.brand-header h1 {
			font-size: 36px;
		}
		.login-card {
			padding: 20px 20px 7px;
		}
		.promo-content {
			padding: 20px 15px;
		}
		.promo-person-icon {
			width: 60px;
			height: 60px;
			font-size: 28px;
		}
		html[lang=km] .login-button {
			padding: 0.2rem 0.8rem;
		}
	}
    
	/* SVG Icons */
	.icon-lock {
		fill: currentColor;
	}

	.icon-user {
		fill: currentColor;
	}
}

@media screen 
  and (max-width: 430px) 
  and (min-width: 390px)
  and (-webkit-device-pixel-ratio: 3) {
    .login-container-3G {
		display: block;
		margin-top: 20%;
	}
}
@media screen and (orientation: landscape) {
	.login-container-3G {
		margin-top: 13%;
	}
}
input[name="useracc"]{text-transform: uppercase;}
/* end login 3G */