* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: #f5f7fa; color: #333; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: #43A047; }

.header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; color: #43A047; }
.header-company { color: #666; font-size: 14px; }

/* Banner */
.banner-container { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; height: 320px; }
.banner-slider { height: 100%; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; }
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.banner-placeholder h2 { font-size: 36px; margin-bottom: 12px; }
.banner-placeholder p { font-size: 18px; opacity: 0.9; }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.dot.active { background: #fff; }

/* Login */
.login-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-box { background: #fff; border-radius: 12px; padding: 36px 32px; width: 100%; max-width: 400px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.login-title { text-align: center; color: #333; margin-bottom: 28px; font-size: 22px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: #555; font-weight: 500; }
.form-group input, .form-group select, .input { width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; transition: border-color 0.2s; }
.form-group input:focus, .input:focus { outline: none; border-color: #43A047; }

.btn { display: inline-block; padding: 10px 20px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; text-align: center; transition: all 0.2s; }
.btn-primary { background: #43A047; color: #fff; }
.btn-primary:hover { background: #388E3C; }
.btn-block { display: block; width: 100%; padding: 13px; font-size: 16px; }
.btn-outline { background: #fff; color: #43A047; border: 1px solid #43A047; }
.btn-outline:hover { background: #f1f8e9; }
.btn-danger { background: #e53935; color: #fff; }
.btn-danger:hover { background: #c62828; }
.btn-cancel { background: #f5f5f5; color: #666; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 4px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #ffebee; color: #c62828; }
.alert-success { background: #e8f5e9; color: #2e7d32; }

.login-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #888; }
.link { color: #43A047; font-weight: 500; }
.required { color: #e53935; }

/* Footer */
.site-footer { background: #333; color: #aaa; text-align: center; padding: 24px 20px; font-size: 13px; line-height: 2; margin-top: auto; }
.site-footer a { color: #aaa; }
.site-footer a:hover { color: #fff; }
