/* หน้าเข้าสู่ระบบ disabled — การ์ดสองฝั่ง (แบรนด์ / ฟอร์ม) ในธีมเขียวของแอพ (ตัวแปรสีจาก public-theme-v2.css) */
.lg3-wrap{min-height:calc(100vh - 160px);display:flex;align-items:center;justify-content:center;padding:36px 16px 56px;background:
  radial-gradient(900px 420px at 12% -10%,rgba(31,109,69,.10),transparent 60%),radial-gradient(700px 380px at 100% 110%,rgba(169,125,47,.10),transparent 55%)}
.lg3-card{width:100%;max-width:980px;display:grid;grid-template-columns:5fr 6fr;background:var(--card,#fff);border:1px solid var(--rule,#cfdacb);border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(18,59,39,.16),0 2px 6px rgba(18,59,39,.06)}

/* แบรนด์ */
.lg3-brand{position:relative;padding:40px 36px;color:#fff;background:linear-gradient(155deg,#123b27 0%,#1f6d45 62%,#2c8a5a 100%);display:flex;flex-direction:column;gap:14px}
.lg3-brand::after{content:"";position:absolute;right:-70px;bottom:-70px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.07)}
.lg3-brand::before{content:"";position:absolute;right:30px;top:-60px;width:150px;height:150px;border-radius:50%;background:rgba(243,234,214,.10)}
.lg3-logos{display:flex;align-items:center;gap:14px;background:#fff;border-radius:16px;padding:10px 16px;width:max-content;max-width:100%;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.lg3-logos img{display:block;height:auto}.lg3-sym{width:46px}.lg3-bma{max-height:46px;object-fit:contain}
.lg3-kicker{margin:10px 0 0;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:#f3ead6;opacity:.92}
.lg3-brand h1{margin:0;font-size:clamp(24px,2.6vw,31px);line-height:1.25;color:#fff;font-weight:700}
.lg3-lead{margin:0;color:rgba(255,255,255,.88);font-size:15px;line-height:1.65}
.lg3-points{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:11px;position:relative;z-index:1}
.lg3-points li{display:flex;gap:10px;align-items:center;font-size:14.5px;color:rgba(255,255,255,.95)}
.lg3-points svg{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:rgba(255,255,255,.18);fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ฟอร์ม */
.lg3-form{padding:40px 40px 30px}
.lg3-form h2{margin:0 0 4px;font-size:28px;font-weight:700;color:var(--green-deep,#123b27)}
.lg3-sub{margin:0 0 22px;color:var(--ink-soft,#4b5b4f);font-size:15px}
.lg3-field{margin-bottom:16px}
.lg3-field>label{display:block;margin-bottom:6px;font-weight:600;font-size:14.5px;color:var(--ink,#17251c)}
.lg3-input{position:relative;display:flex;align-items:center}
.lg3-input>svg{position:absolute;left:14px;width:19px;height:19px;fill:none;stroke:var(--ink-faint,#8a9389);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lg3-input input{width:100%;min-height:50px;padding:10px 14px 10px 44px;border:2px solid var(--rule,#cfdacb);border-radius:14px;background:#fff;font-size:16px;color:var(--ink,#17251c);transition:border-color .15s,box-shadow .15s}
.lg3-input input::placeholder{color:#9aa49b}
.lg3-input input:focus{outline:0;border-color:var(--green,#1f6d45);box-shadow:0 0 0 4px rgba(31,109,69,.16)}
.lg3-pw input{padding-right:78px}
.lg3-tg{position:absolute;right:8px;border:0;background:transparent;color:var(--green,#1f6d45);font-weight:700;font-size:13.5px;padding:8px 10px;border-radius:10px;cursor:pointer}
.lg3-tg:hover{background:var(--green-tint,#e4f0e8)}
.lg3-hint{margin:6px 0 0;font-size:13px;color:var(--ink-soft,#4b5b4f);line-height:1.5}
#lg3-caps{color:var(--gold-deep,#7a5a1f);font-weight:700}
.lg3-cap{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.lg3-capimg{flex:none;display:flex;align-items:center;border:2px solid var(--rule,#cfdacb);border-radius:14px;overflow:hidden;background:#f4f9f7}
.lg3-capimg img{display:block;height:50px;width:auto}
.lg3-rf{flex:none;width:50px;border:2px solid var(--rule,#cfdacb);border-radius:14px;background:#fff;color:var(--green,#1f6d45);cursor:pointer;display:grid;place-items:center;transition:background .15s,border-color .15s}
.lg3-rf:hover{background:var(--green-tint,#e4f0e8);border-color:var(--green,#1f6d45)}
.lg3-rf:disabled{opacity:.6;cursor:wait}
.lg3-rf svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lg3-capin{flex:1;min-width:150px}
.lg3-capin input{padding-left:14px;letter-spacing:.18em;text-transform:lowercase;font-weight:700}
.lg3-rem{display:flex;align-items:flex-start;gap:10px;margin:4px 0 18px;font-size:14px;line-height:1.5;color:var(--ink-soft,#4b5b4f);cursor:pointer}
.lg3-rem input{width:18px;height:18px;margin-top:2px;accent-color:var(--green,#1f6d45);flex:none}
.lg3-go{width:100%;min-height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,#123b27,#1f6d45);color:#fff;font-weight:700;font-size:17px;cursor:pointer;box-shadow:0 8px 20px rgba(18,59,39,.28);transition:transform .1s,box-shadow .15s,opacity .15s}
.lg3-go:hover{box-shadow:0 10px 26px rgba(18,59,39,.36)}
.lg3-go:active{transform:translateY(1px)}
.lg3-go[disabled]{opacity:.7;cursor:wait}
.lg3-alert{display:flex;gap:10px;align-items:flex-start;margin-bottom:16px;padding:11px 14px;border-radius:14px;background:var(--red-tint,#f5e4e0);color:var(--red,#9a3324);border:1px solid rgba(154,51,36,.3);font-weight:600;font-size:14.5px}
.lg3-alert svg{flex:none;width:20px;height:20px;margin-top:1px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lg3-sec{display:flex;gap:8px;align-items:center;justify-content:center;margin:18px 0 0;color:var(--ink-faint,#8a9389);font-size:13px}
.lg3-sec svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lg3-back{display:block;margin-top:12px;text-align:center;font-size:14px;color:var(--green,#1f6d45);text-decoration:none;font-weight:600}
.lg3-back:hover{text-decoration:underline}

@media(max-width:820px){
  .lg3-card{grid-template-columns:1fr;max-width:520px}
  .lg3-brand{padding:26px 24px}
  .lg3-points,.lg3-lead{display:none}
  .lg3-form{padding:28px 22px 24px}
}
@media(prefers-reduced-motion:reduce){.lg3-go,.lg3-input input{transition:none}}

/* กันธีมหลักทับระยะ padding ของช่องกรอก (ไอคอนด้านซ้าย) */
.lg3-form .lg3-input input{padding:10px 14px 10px 46px;height:50px;box-sizing:border-box}
.lg3-form .lg3-pw input{padding-right:80px}
.lg3-form .lg3-capin input{padding-left:14px}
.lg3-form .lg3-rem{margin-bottom:20px}
.lg3-form .lg3-rem span{font-size:13.5px}
/* ความจำเพาะสูงกว่ากฎ input ของธีมหลัก */
.lg3-wrap .lg3-form .lg3-input input[type]{padding:10px 14px 10px 46px;height:50px;box-sizing:border-box;width:100%}
.lg3-wrap .lg3-form .lg3-pw input[type]{padding-right:80px}
.lg3-wrap .lg3-form .lg3-capin input[type]{padding-left:14px}
/* ธีมของบางแอพกำหนดสี h1 — บังคับให้หัวข้อในแถบแบรนด์เป็นสีขาว */
.lg3-wrap .lg3-brand h1{color:#fff !important;font-family:inherit}
.lg3-wrap .lg3-form h2{font-family:inherit}
