﻿/* =========================================================
   iOS 26 "Liquid Glass" theme
   Giữ nguyên toàn bộ cấu trúc selector của file gốc,
   chỉ thay đổi giá trị thị giác (màu, blur, bo góc, shadow, font)
   ========================================================= */

html, body {
	height: 100%;
}

body, form {
	margin: 0;
	padding: 0;
	position: relative;
	font-family: -apple-system, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
	background: radial-gradient(circle at top left, #eaf6ff, #f7f7fb 60%, #ffffff 100%);
	background-image: url(/Images/HinhPC.png);
	background-size: cover;
	/* Giữ ảnh luôn ở trung tâm khi co giãn */
	background-position: center center;
	/* Không lặp lại hình ảnh */
	background-repeat: no-repeat;
	/* Cố định hình nền khi cuộn trang (tùy chọn) */
	background-attachment: fixed;
	/* Đảm bảo chiều cao phủ hết màn hình */
	min-height: 100vh;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

td {
	vertical-align: middle;
}

th {
	vertical-align: middle;
	white-space: nowrap;
}

.footer-text {
	margin-top: 30px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	letter-spacing: 0.2px;
}

	.footer-text a {
		text-decoration: none; /* Bỏ gạch chân xấu xí */
		color: inherit; /* Thừa hưởng màu từ thẻ cha hoặc tự định nghĩa */
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}

		.footer-text a b {
			color: #ff453a; /* Đỏ hệ iOS (system red) */
			font-weight: 700;
		}

		.footer-text a:hover {
			color: #30d158; /* Xanh lá hệ iOS (system green) */
			opacity: 0.85;
		}

.brand-name {
	font-size: 42px;
	font-weight: 800;
	background: linear-gradient(135deg, #0a84ff, #30d158 60%, #64d2ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 5px;
	letter-spacing: -1.2px;
}

.sub-title {
	color: rgba(255, 255, 255, 0.92);
	font-size: 16px;
	font-weight: 500;
}

.pathbar {
	padding: 10px 10px 0 10px;
}

.screenBody {
	margin: 0 10px;
	clear: both;
}

.screenBodyToolbar {
	margin: 0;
	clear: both;
}

.uplevel {
	text-align: right;
}

.screenTitle {
	margin: 0;
	vertical-align: middle;
}

	.screenTitle td {
		padding: 3px 12px 5px 10px;
		vertical-align: middle;
	}

	.screenTitle img,
	.screenTitle td,
	.screenTitle input,
	.screenTitle select {
		vertical-align: middle;
	}

.reportSection {
	margin: 10px 0;
}

.reportTools,
.reportTools img,
.reportTools input,
.reportTools select {
	vertical-align: middle;
}

.reportIndex {
	margin: 15px 0;
}

.reportSection {
	padding-top: 5px;
}

p, hr {
	margin: 5px 0;
}

.screenButtons {
	width: 773px;
}

hr {
	clear: both;
	border: none;
	border-top: 1px solid rgba(120, 120, 128, 0.24);
}

/* ---------- list  --------- */

.misc {
	text-align: right;
}

.main input {
	margin-right: 7px;
}

.main .commonButton {
	margin-right: 14px;
}

.misc input {
	margin-left: 7px;
}

.misc .commonButton {
	margin-left: 14px;
}

/* ---------- form (Liquid Glass card) --------- */

.formArea {
	border-radius: 28px;
	background-color: rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(30px) saturate(180%);
 	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(3px) saturate(180%);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.formFields {
	border-collapse: collapse;
	margin-top: 2px;
}

	.formFields td {
		padding: 3px;
		vertical-align: top;
	}

	.formFields input,
	.formFields .commonButton,
	.formFields select {
		vertical-align: middle;
	}

	.formFields td.name,
	.formFields td.nameError {
		vertical-align: top;
		padding-left: 0;
		padding-right: 10px;
		padding-bottom: 10px;
		width: 200px;
		float: left;
	}

/* ---------- for login --------- */

#login {
	width: 380px;
	margin: auto;
	margin-top: 40px;
}

.cLogo {
	padding-top: 150px;
	text-align: center;
}

@media only screen and (min-height: 1200px) {
	.cLogo {
		padding-top: 240px;
	}
}

@media only screen and (max-height: 1200px) {
	.cLogo {
		padding-top: 180px;
	}
}

@media only screen and (max-height: 1000px) {
	.cLogo {
		padding-top: 140px;
	}
}

@media only screen and (max-height: 900px) {
	.cLogo {
		padding-top: 100px;
	}
}

@media only screen and (max-height: 736px) {
	.cLogo {
		padding-top: 60px;
	}
}

@media only screen and (max-height: 670px) {
	.cLogo {
		padding-top: 40px;
	}
}

@media only screen and (max-height: 610px) {
	.cLogo {
		padding-top: 20px;
	}
}

#loginTitle {
	font-size: 20px;
	font-family: -apple-system, "SF Pro Display", Tahoma, Arial, sans-serif;
	color: #ff453a;
	text-align: center;
	padding-top: 15px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

#get_password {
	text-align: left;
	padding-left: 0;
}

.formButtons {
	padding: 15px 0;
}

#get_password a:link,
#get_password a:visited {
	color: rgba(60, 60, 67, 0.75);
	transition: color 0.2s ease;
}

#get_password a:hover {
	color: #0a84ff;
}

#loginForm {
	padding: 30px;
}

.formFields {
	padding: 10px;
}

	.formFields .colName {
		padding: 10px 0;
	}

	.formFields .colText {
		padding: 0;
	}

		.formFields .colText input {
			width: 100%;
			border: 1px solid rgba(120, 120, 128, 0.24);
			border-radius: 15px;
			background-color: rgba(255, 255, 255, 0.65);
			-webkit-backdrop-filter: blur(10px);
			backdrop-filter: blur(10px);
			font-family: -apple-system, "SF Pro Text", Arial, sans-serif;
			box-sizing: border-box;
			-webkit-appearance: none;
			font-size: 15px;
			transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
			padding: 13px 14px;
		}

.btnLogin {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #15803d, #22c55e);
	background-size: 160% 160%;
	color: white;
	border: none;
	border-radius: 17px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.2px;
	cursor: pointer;
	margin-top: 15px;
	box-shadow: 0 8px 20px rgba(21, 128, 61, 0.35);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-position 0.4s ease;
}

.formFields .colText input:focus {
	border-color: #22c55e;
	background-color: rgba(255, 255, 255, 0.9);
	outline: none;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.btnLogin:hover {
	transform: translateY(-2px);
	background-position: 100% 50%;
	box-shadow: 0 12px 28px rgba(21, 128, 61, 0.45);
}

.btnLogin:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}


@media only screen and (max-width: 453px) {
	#login {
		width: 100%;
		margin: auto;
		margin-top: 40px;
	}

	#loginForm, td {
		font-size: 18px !important;
	}

	.formArea {
		border-radius: 22px;
	}

	.formFields .colName {
		padding: 5px;
		width: 100%;
		float: none;
	}

	.formFields .colText {
		padding: 5px;
		width: 100%;
		float: none;
		text-align: left;
	}

		.formFields .colText input {
			width: 95%;
			padding: 10px;
			font-size: 18px;
			border-radius: 14px;
		}

	.btnLogin {
		padding: 12px;
		font-size: 18px;
		border-radius: 15px;
	}
}
