/* 前台教授后台样式 */
.dash-wrap { max-width:960px; margin:0 auto; padding:24px; }
.dash-header {
    display:flex; align-items:center; justify-content:space-between;
    background:#159a4a; color:#fff; padding:14px 20px; border-radius:10px;
    margin-bottom:20px;
}
.dash-header a { color:#eaf6ee; margin-left:12px; }
.dash-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.dash-card {
    background:#fff; border-radius:10px; padding:20px; text-align:center;
    box-shadow:0 4px 12px rgba(8,80,40,.08); transition:transform .2s;
}
.dash-card:hover { transform:translateY(-3px); }
.dash-card .icon { font-size:32px; margin-bottom:8px; }
.dash-card h3 { margin:6px 0; font-size:16px; color:#117a3d; }
.dash-card p { margin:0; font-size:13px; color:#666; }

/* 表单 */
.dash-form { background:#fff; border-radius:10px; padding:24px; box-shadow:0 4px 12px rgba(8,80,40,.08); }
.dash-form label { display:block; margin:12px 0 4px; font-weight:600; font-size:14px; }
.dash-form input[type=text],
.dash-form input[type=file],
.dash-form select,
.dash-form textarea {
    width:100%; padding:10px; border:1px solid #d0ddd0; border-radius:6px;
    font-size:14px; font-family:inherit;
}
.dash-form textarea { min-height:200px; }
.dash-form .btn-submit {
    margin-top:16px; background:#159a4a; color:#fff; border:none;
    padding:10px 28px; border-radius:6px; font-size:15px; cursor:pointer;
}
.dash-form .btn-submit:hover { background:#0e7d3d; }

/* 登录页 */
.login-wrap { max-width:380px; margin:60px auto; background:#fff; padding:30px; border-radius:12px; box-shadow:0 10px 30px rgba(8,80,40,.1); }
.login-wrap h2 { text-align:center; color:#117a3d; margin:0 0 20px; }
.login-wrap label { display:block; margin:10px 0 4px; font-size:14px; }
.login-wrap input { width:100%; padding:10px; border:1px solid #d0ddd0; border-radius:6px; font-size:14px; }
.login-wrap .btn-login { width:100%; margin-top:18px; background:#159a4a; color:#fff; border:none; padding:11px; border-radius:6px; font-size:15px; cursor:pointer; }
.login-wrap .error { color:#c00; font-size:13px; margin-top:10px; text-align:center; }

/* 消息提示 */
.notice { padding:10px 14px; border-radius:6px; margin-bottom:14px; font-size:14px; }
.notice.ok { background:#e8f8ee; color:#0e7d3d; }
.notice.err { background:#fdecea; color:#c00; }

@media(max-width:768px){
    .dash-grid{grid-template-columns:1fr;}
}