/* GIAO DIỆN TRANG ĐĂNG NHẬP / ĐĂNG KÝ DÙNG CHUNG (Khách, Sale, Admin) - Đợt B 31/10/2026. Chỉ hiển thị. */
:root{--g:#9FC88B;--gh:#8db677;--gt:#1c3314;--gd:#4c7a3a;--bg:#f1f5f9;--tx:#0f172a;--sub:#64748b;--bd:#e2e8f0}
*{box-sizing:border-box}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--tx);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex}
.auth{flex:1;display:flex;min-height:100vh}
.brand{display:none}
.panel{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 16px}
.card{width:100%;max-width:400px;background:#fff;border:1px solid var(--bd);border-radius:16px;padding:32px 24px;box-shadow:0 10px 25px -8px rgba(15,23,42,.08)}
.lgv-logo{width:170px;aspect-ratio:1976/337;overflow:hidden;margin:0 auto 22px}
.lgv-logo img{display:block;width:158.15%;max-width:none;margin-left:-31.02%;margin-top:-69.33%}
h1{font-size:22px;font-weight:800;margin:0 0 6px;text-align:center}
.sub{color:var(--sub);font-size:14px;text-align:center;margin:0 0 22px;line-height:1.5}
label{display:block;font-size:13px;font-weight:600;color:#334155;margin:0 0 6px}
.f{margin-bottom:14px;position:relative}
.f input[type=password],.f input.has-eye{padding-right:48px}
input{width:100%;height:48px;padding:0 14px;border:1px solid var(--bd);border-radius:10px;font-size:16px;font-family:inherit;color:var(--tx);background:#f8fafc;outline:none}
input:focus{border-color:var(--g);background:#fff;box-shadow:0 0 0 4px rgba(159,200,139,.18)}
.eye{position:absolute;right:6px;bottom:6px;width:36px;height:36px;border:0;background:transparent;color:var(--sub);cursor:pointer;display:flex;align-items:center;justify-content:center}
.row{display:flex;justify-content:flex-end;margin:-4px 0 14px;font-size:13px}
a{color:var(--gd);font-weight:700;text-decoration:none}
.btn{width:100%;height:48px;border:0;border-radius:10px;background:var(--g);color:var(--gt);font-weight:800;font-size:15px;letter-spacing:.2px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
.or{display:flex;align-items:center;gap:10px;color:#94a3b8;font-size:12px;margin:18px 0}
.or:before,.or:after{content:"";flex:1;border-top:1px solid var(--bd)}
.gbtn{width:100%;height:48px;border:1px solid var(--bd);border-radius:10px;background:#fff;color:var(--tx);font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center;gap:10px}
.switch{text-align:center;margin-top:20px;font-size:14px;color:var(--sub)}
.legal{text-align:center;margin-top:14px;font-size:12px;color:#94a3b8}
.legal a{font-weight:600;color:var(--sub);text-decoration:underline}
.tag{display:inline-block;font-size:12px;font-weight:700;color:var(--gd);background:#f1f7ef;border:1px solid #dcebd3;border-radius:999px;padding:4px 10px;margin:0 auto 12px}
.center{text-align:center}
@media(min-width:900px){
 .brand{display:flex;flex-direction:column;justify-content:center;width:44%;max-width:620px;padding:56px;background:linear-gradient(160deg,#9FC88B 0%,#7fae6a 100%);color:var(--gt)}
 .brand h2{font-size:34px;line-height:1.2;margin:0 0 14px;font-weight:800}
 .brand p{font-size:16px;line-height:1.6;margin:0 0 26px;max-width:440px}
 .brand ul{list-style:none;padding:0;margin:0;display:grid;gap:12px;font-weight:600}
 .brand li:before{content:"✓";display:inline-flex;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.55);align-items:center;justify-content:center;margin-right:10px;font-size:13px}
 .card{padding:40px 36px}
}

/* Thông báo lỗi / thành công / chờ duyệt */
.msg{display:flex;gap:8px;align-items:flex-start;padding:12px 14px;border-radius:10px;font-size:14px;font-weight:600;line-height:1.45;margin:0 0 18px;text-align:left}
.msg.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.msg.success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}
.msg.warning{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
.ref-notice{background:#fffbeb;color:#b45309;border:1px dashed #fcd34d;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:700;margin:0 0 16px;text-align:center}
.section{display:none}.section.active{display:block}
.btn:hover{background:var(--gh)}
.gbtn:hover{border-color:var(--g);background:#f6faf3}
.switch a,.switch span.lnk{cursor:pointer;color:var(--gd);font-weight:700}
