/* 两个端共用的基础样式：重置、toast、全屏 loading、空状态
   页面自身的样式在 student.css / admin.css 里。 */

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;width:100%}
button{font-family:inherit}
input,select,textarea{font-family:inherit}

/* ---------- toast ---------- */
.toast{position:fixed;left:50%;bottom:36px;transform:translateX(-50%);
  background:rgba(20,33,61,.92);color:#fff;font-size:13px;border-radius:10px;
  padding:10px 18px;z-index:9999;display:none;max-width:80%;text-align:center;
  line-height:1.5;box-shadow:0 10px 24px -12px rgba(13,22,46,.6)}
.toast.show{display:block}

/* ---------- 全屏 loading ---------- */
.loading{position:fixed;inset:0;background:rgba(244,246,251,.72);z-index:9998;display:none;place-items:center}
.loading.show{display:grid}
.loading .sp{width:34px;height:34px;border:3px solid #D6DDEB;border-top-color:#2E5BE0;
  border-radius:50%;animation:sp 1s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}

/* ---------- 空状态 ---------- */
.empty{text-align:center;padding:40px 16px;color:#98A0B3;font-size:13px;line-height:1.7}
.empty .e{font-size:34px;margin-bottom:10px}
