/* ===== Trang đăng nhập / đăng ký / quên mật khẩu: nền ảnh, không header/nav/footer ===== */
html body.au-body.au-body{margin:0;min-height:100vh;background:#0c2233 url('../img/auth/bg.png') center/cover no-repeat fixed!important}
body.au-body::before{display:none!important}
body.au-body .au-page{min-height:100vh;padding:24px 16px;box-sizing:border-box}
body.au-body .au-card{background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-color:rgba(255,255,255,.5);box-shadow:0px 4px 10px -4px rgba(0,0,0,.56)}
[data-theme="dark"] body.au-body .au-card{background:rgba(26,26,39,.92);border-color:rgba(255,255,255,.08)}

/* ===== Spinner chấm tròn (nút submit: trắng · social: xanh) ===== */
@keyframes auSpin{to{transform:rotate(360deg)}}
.au-bspin,.au-spin{display:inline-block;flex:0 0 auto;background-size:contain;background-repeat:no-repeat;animation:auSpin .9s steps(8) infinite}
.au-bspin{width:22px;height:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12.00' cy='3.50' r='2.3' fill='%23ffffff' fill-opacity='1'/%3E%3Ccircle cx='18.01' cy='5.99' r='2.1' fill='%23ffffff' fill-opacity='0.9'/%3E%3Ccircle cx='20.50' cy='12.00' r='1.9' fill='%23ffffff' fill-opacity='0.8'/%3E%3Ccircle cx='18.01' cy='18.01' r='1.7' fill='%23ffffff' fill-opacity='0.7'/%3E%3Ccircle cx='12.00' cy='20.50' r='1.5' fill='%23ffffff' fill-opacity='0.6'/%3E%3Ccircle cx='5.99' cy='18.01' r='1.3' fill='%23ffffff' fill-opacity='0.5'/%3E%3Ccircle cx='3.50' cy='12.00' r='1.1' fill='%23ffffff' fill-opacity='0.4'/%3E%3Ccircle cx='5.99' cy='5.99' r='0.9' fill='%23ffffff' fill-opacity='0.3'/%3E%3C/svg%3E")}
.au-spin{display:none;width:22px;height:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12.00' cy='3.50' r='2.3' fill='%2322c55e' fill-opacity='1'/%3E%3Ccircle cx='18.01' cy='5.99' r='2.1' fill='%2322c55e' fill-opacity='0.9'/%3E%3Ccircle cx='20.50' cy='12.00' r='1.9' fill='%2322c55e' fill-opacity='0.8'/%3E%3Ccircle cx='18.01' cy='18.01' r='1.7' fill='%2322c55e' fill-opacity='0.7'/%3E%3Ccircle cx='12.00' cy='20.50' r='1.5' fill='%2322c55e' fill-opacity='0.6'/%3E%3Ccircle cx='5.99' cy='18.01' r='1.3' fill='%2322c55e' fill-opacity='0.5'/%3E%3Ccircle cx='3.50' cy='12.00' r='1.1' fill='%2322c55e' fill-opacity='0.4'/%3E%3Ccircle cx='5.99' cy='5.99' r='0.9' fill='%2322c55e' fill-opacity='0.3'/%3E%3C/svg%3E")}

/* nút đang xử lý: xám + spinner + chữ */
.au-submit.is-loading,.au-submit.is-loading:disabled{display:flex;align-items:center;justify-content:center;gap:10px;background:#787c85;box-shadow:none;opacity:1;cursor:wait;transform:none}
.au-submit.is-loading:hover{box-shadow:none;transform:none}

/* social: icon Google/Discord được thay bằng spinner cho tới khi vào được trang chủ */
.au-sic{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 auto}
.au-sbtn.is-loading{pointer-events:none;cursor:wait}
.au-social.is-busy .au-sbtn{pointer-events:none}
.au-sbtn.is-loading .au-sic>svg{display:none}
.au-sbtn.is-loading .au-spin{display:inline-block;width:20px;height:20px}
