/* หน้าเข้าสู่ระบบ (มติ 263) — ยกจากชุดออกแบบ storage/app/import/UI/Login/AIC_Login_Preview.html
   ⚠ ทุกกฎอยู่ใต้ .aic-auth จึงไม่รั่วไปหน้าอื่น · ตัดกฎปุ่มแสดงรหัสผ่านออก (หน้านี้ไม่มีสคริปต์ มติ 76/91) */
/* Surfaces, controls, focus and state presentation only. */
.aic-auth a { color: inherit; text-decoration: none; }
.aic-auth button, .aic-auth input { appearance: auto; }
.aic-auth__card { border: 1px solid #dfe3e7; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px -30px #26344770; }
.aic-auth__form-panel { border-radius: 18px 0 0 18px; background: #fff; }
.aic-auth__member-panel { background: linear-gradient(132deg,#fffbed 0%,#fff9dc 55%,#fff3ba 100%); border-left: 1px solid #e9e1bd; border-radius: 0 18px 18px 0; }
.aic-auth__eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #ffd528; box-shadow: 0 0 0 3px #fff7d6; }
.aic-auth__field input { background: #fff; border: 1px solid #c9d0d9; border-radius: 8px; color: #17212c; }
.aic-auth__field input::placeholder { color: #828a97; opacity: 1; }
.aic-auth__field input:hover { border-color: #929fac; }
.aic-auth__field input[aria-invalid="true"] { border-color: #ae3027; }
.aic-auth__remember input { accent-color: #121b26; border-color: #bac3ce; }
.aic-auth .aic-auth__text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.aic-auth__submit { color: #151a22; border: 1px solid #f1c900; border-radius: 8px; background: #ffda28; cursor: pointer; box-shadow: 0 2px 0 #dbaf0020; }
.aic-auth__submit:hover { background: #f6cc0f; border-color: #dfb601; }
.aic-auth__submit:active { background: #edc207; }
.aic-auth__help { border-top: 1px solid #e1e5e9; }
.aic-auth__help-icon { color: #263240; }
.aic-auth .aic-auth__help a { color: #137b49; text-decoration: underline; text-underline-offset: 3px; padding-block: 10px; }
.aic-auth__member-label { color: #fff; background: #17202b; border-radius: 4px; }
.aic-auth__highlight { background: linear-gradient(transparent 67%,#ffdd37 67%,#ffdd37 94%,transparent 94%); }
.aic-auth__mascot-orbit { background: #ffdf43; border-radius: 50%; box-shadow: 0 0 0 13px #ffe66c55, 0 0 0 26px #ffe78426; }
.aic-auth__mascot figcaption { background: #fff; color: #282a2e; border: 1px solid #e7dbb5; border-radius: 5px; box-shadow: 0 3px 8px #ad89151a; }
.aic-auth__benefit { border-top: 1px solid #e2d9b3; }
.aic-auth__benefit:last-child { border-bottom: 1px solid #e2d9b3; }
.aic-auth__benefit-icon { background: #fff; border: 1px solid #e7ddad; border-radius: 10px; color: #1b2531; }
.aic-auth__benefit-check { color: #665719; }
.aic-auth__join-button { background: #fffdf5; color: #17212b; border: 1px solid #202b36; border-radius: 7px; }
.aic-auth__join-button:hover { background: #17212b; color: #fff; }
.aic-auth__mini-rule { background: #ba9515; }
.aic-auth__error { background: #fff0ed; border: 1px solid #f5c9c0; border-radius: 8px; color: #a53528; }
.aic-auth__breadcrumbs a:hover, .aic-auth__under-card a:hover { color: #171c24; text-decoration: underline; }
.aic-auth :is(a,button,input):focus-visible { outline: 3px solid #223b5b; outline-offset: 3px; }
.aic-auth :is(p,h1,h2,h3) { overflow-wrap: break-word; }
@media (max-width: 760px) {
 .aic-auth__card { box-shadow: 0 5px 18px -13px #29374b40; border-radius: 14px; }
 .aic-auth__form-panel { border-radius: 14px 14px 0 0; }
 .aic-auth__member-panel { border-left: 0; border-top: 1px solid #e9e1bd; border-radius: 0 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { .aic-auth * { scroll-behavior: auto; } }
/* Keep the highlighted Thai phrase together instead of breaking its last syllable. */
.aic-auth__highlight { display: inline-block; }
.aic-auth .aic-auth__submit { font-weight: 750; }
