:root{
	--brand:#1693d8;
	--bg:#f5f5f7;
	--muted:#777;
	--card-shadow: 0 10px 30px rgba(12,24,40,0.06);
	--font-family: "Arial, Helvetica, sans-serif";
}
body{
	margin:0;
	background:var(--bg);
	color:#111;
	font-family:var(--font-family);
	box-sizing:border-box;
}
*, *::before, *::after { box-sizing: inherit; }
.topbar{display:flex;gap:12px;align-items:center;padding:12px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.topbar h1{margin:0;font-size:18px}
.topbar input{flex:1;padding:8px;border:1px solid #ddd;border-radius:6px}

/* header / nav */
.header{
  background:#fff;
  border-bottom:1px solid #efefef;
  position:sticky;
  top:0;
  z-index:60;
}
.container{max-width:1150px;margin:0 auto;padding:0 20px}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--brand);font-size:20px;text-decoration:none}
.logo .icon{width:34px;height:34px;border-radius:50%;background:linear-gradient(180deg,#1ea7f3,#0b7fb4);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}

/* nav links */
.nav{display:flex;align-items:center;gap:18px}
.nav a{color:#444;text-decoration:none;font-size:14px}
.btn-primary{background:var(--brand);color:#fff;padding:8px 14px;border-radius:8px;text-decoration:none;box-shadow:0 6px 18px rgba(22,147,216,.14)}

/* hero */
.hero{background:linear-gradient(180deg,#6d5df6 0%, #6f8df0 100%);color:#fff;padding:70px 0 90px}
.hero .hero-inner{display:flex;align-items:center;gap:40px}
.hero h1{font-size:36px;margin:0 0 10px;line-height:1.1}
.hero p{margin:0;color:rgba(255,255,255,0.9);max-width:700px}

/* features section */
.section{padding:70px 0}
.section .section-title{text-align:center;margin-bottom:36px}
.features{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.feature-card{background:#fff;padding:28px;border-radius:12px;box-shadow:var(--card-shadow);display:flex;flex-direction:column;align-items:center;text-align:center}
.feature-icon{width:64px;height:64px;border-radius:50%;background:var(--brand);display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;margin-bottom:12px}
.feature-card h3{margin:8px 0 6px;font-size:18px}
.feature-card p{color:var(--muted);font-size:14px;margin:0;max-width:320px}

/* steps section */
.steps{display:flex;flex-direction:column;gap:26px;align-items:center}
.step{display:flex;align-items:center;gap:28px;max-width:980px;width:100%;padding:22px 12px}
.step-num{width:64px;height:64px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px}
.step-content h4{margin:0 0 8px}
.step-content p{margin:0;color:var(--muted)}

/* login page */
.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f3f7fb,#eef6ff)}
.auth-card{width:360px;background:#fff;border-radius:12px;box-shadow:0 12px 40px rgba(12,24,40,0.08);padding:28px}
.auth-card h2{margin:0 0 6px;font-size:20px;color:#111}
.auth-card p.lead{margin:0 0 18px;color:var(--muted);font-size:13px}
.input-group{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.input-group label{font-size:13px;color:#444}
.input-group input{padding:10px 12px;border:1px solid #e6e9ef;border-radius:8px;font-size:14px}
.form-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.btn-login{width:100%;padding:10px;border-radius:8px;border:0;background:var(--brand);color:#fff;font-weight:600;cursor:pointer}
.msg{padding:8px;border-radius:6px;font-size:13px;margin-bottom:12px}
.msg.error{background:#fff5f5;color:#a00;border:1px solid #ffd6d6}
.msg.success{background:#f2fff6;color:#046e2b;border:1px solid #d7f5df}
.footer-note{text-align:center;color:var(--muted);font-size:12px;margin-top:10px}
@media(max-width:420px){ .auth-card{width:92%;padding:20px}}

/* admin page additions */
.admin-wrap{padding-bottom:40px}
.login-box{max-width:420px;margin:0 auto}
.dash-box{max-width:980px;margin:0 auto}
.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.stat-row{display:flex;gap:12px;margin-bottom:16px}
.stat-item{flex:1;padding:14px;border-radius:8px;background:linear-gradient(180deg,#f7fbff,#eef6ff);text-align:center}
.msg-list{margin-top:12px;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(12,24,40,0.04)}
.msg-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #f2f4f7}
.msg-row:last-child{border-bottom:0}
.msg-time{color:var(--muted);font-size:12px}
.badge{background:#1693d8;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px}
.controls{display:flex;gap:8px;align-items:center}
.btn-small{padding:6px 10px;border-radius:8px;border:0;background:#1693d8;color:#fff;cursor:pointer;font-size:13px}
.btn-danger{background:#f44336;}
/* 可访问性：焦点样式 */
input:focus, textarea:focus, select:focus, button:focus {
	outline: 3px solid rgba(22,147,216,0.18);
	outline-offset: 2px;
}

/* 响应式图片 */
img{ max-width:100%; height:auto; display:block; }

/* 通用隐藏类 */
.hidden{ display:none !important; }