/* หน้าเข้าสู่ระบบ /th/login/ (th/inc/login.php) : ใช้ตัวแปร / hero / ปุ่มจาก directory.css ; class ขึ้นต้น lbl- */

.lbl-hero { padding: 132px 0 80px; min-height: calc(100vh - 0px); display: flex; align-items: center; }
.lbl-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); gap: 56px; align-items: center; width: 100%; }

.lbl-intro h1 { font-size: 40px; }
.lbl-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.lbl-steps li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 0; }
.lbl-steps li > span {
	flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(5, 188, 169, .16); color: #5fe3d4; font-weight: 700; font-size: 15px; border: 1px solid rgba(5, 188, 169, .35);
}
.lbl-steps b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.lbl-steps small { display: block; color: #9fb0bc; font-size: 14px; margin-top: 2px; }
.lbl-steps code { background: rgba(255, 255, 255, .08); color: #ffbd00; padding: 1px 6px; border-radius: 5px; font-family: inherit; font-size: 13px; border: 0; white-space: nowrap; }

.lbl-card {
	background: #fff; border-radius: 22px; padding: 32px 30px 26px; color: var(--lbd-text);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .12);
}
.lbl-card-ico {
	width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	background: #e3f7f5; color: #04877a; font-size: 22px;
}
.lbl-card h2 { margin-top: 16px !important; font-size: 24px; font-weight: 700; }
.lbl-card-sub { margin-top: 4px !important; color: var(--lbd-muted); font-size: 15px; }

.lbl-form { margin-top: 22px; }
.lbl-form label { display: block; font-size: 14px; font-weight: 600; color: var(--lbd-ink); margin: 0 0 8px; font-family: inherit; }
.lbl-field {
	display: flex; align-items: stretch; border: 1.5px solid var(--lbd-line); border-radius: 12px; overflow: hidden; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.lbl-field:focus-within { border-color: var(--lbd-accent); box-shadow: 0 0 0 4px rgba(5, 188, 169, .15); }
.lbl-field.is-error { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.lbl-prefix {
	display: flex; align-items: center; padding: 0 4px 0 14px; background: #f5f7f9; color: var(--lbd-muted); font-size: 14px;
	white-space: nowrap; border-right: 1px solid var(--lbd-line); padding-right: 10px;
}
.lbl-field input {
	flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important;
	height: 52px; margin: 0; padding: 0 14px; font: inherit; font-size: 17px; font-weight: 600; color: var(--lbd-ink);
}
.lbl-field input::placeholder { color: #b5c0ca; font-weight: 400; }
.lbl-err { min-height: 22px; margin: 6px 0 0 !important; font-size: 13px; color: #d63b40; }
.lbl-submit { width: 100%; height: 52px; margin-top: 6px; font-size: 16px; cursor: pointer; font-family: inherit; text-transform: none; letter-spacing: 0; }

.lbl-recent { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--lbd-muted); flex-wrap: wrap; }
.lbl-recent[hidden] { display: none; }
.lbl-recent a { color: var(--lbd-accent-dark); font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #e6f8f6; }
.lbl-recent a:hover { background: #d3f2ee; }
.lbl-recent button {
	all: unset; cursor: pointer; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	color: var(--lbd-muted); font-size: 12px;
}
.lbl-recent button:hover { background: #f0f2f5; color: var(--lbd-ink); }

.lbl-help { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #f6f8fa; font-size: 13px; line-height: 1.6; }
.lbl-help .fa { color: var(--lbd-accent); }
.lbl-help b { color: var(--lbd-ink); font-size: inherit; }
.lbl-help a { color: var(--lbd-accent-dark); font-weight: 600; }
.lbl-signup { margin-top: 18px; text-align: center; font-size: 15px; color: var(--lbd-muted); }
.lbl-signup a { color: var(--lbd-accent-dark); font-weight: 700; margin-left: 4px; }

@media (max-width: 960px) {
	.lbl-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.lbl-card { max-width: 520px; width: 100%; }
	.lbl-hero { min-height: 0; }
}
@media (max-width: 600px) {
	.lbl-hero { padding: 108px 0 40px; }
	.lbl-intro h1 { font-size: 28px; }
	.lbl-card { padding: 24px 20px 20px; border-radius: 18px; }
	.lbl-prefix { font-size: 12px; padding-left: 10px; padding-right: 8px; }
	.lbl-steps code { white-space: normal; word-break: break-all; }
}
