* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #fff; color: #333; -webkit-font-smoothing: antialiased; }

.page { display: none; }
.page.active { display: block; }

/* 登录页 */
.login-page { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-box { background: #fff; border-radius: 20px; padding: 40px 30px; width: 100%; max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.logo { font-size: 48px; text-align: center; margin-bottom: 10px; }
.login-box h1 { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 30px; color: #667eea; }
.login-box input { width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 12px; font-size: 16px; margin-bottom: 16px; outline: none; transition: border-color 0.3s; box-sizing: border-box; }
.login-box input:focus { border-color: #667eea; }
.tip { text-align: center; margin-top: 16px; font-size: 13px; color: #999; }

/* 按钮 */
.btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.3s; }
.btn:active { opacity: 0.8; }
.btn-green { background: linear-gradient(135deg, #4caf50 0%, #45a049 100%); }
.btn-gray { background: #f0f0f0; color: #333; margin-top: 10px; }

/* 首页 */
.header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 30px 20px; border-radius: 0 0 24px 24px; margin: -20px -20px 20px -20px; }
.header h1 { font-size: 22px; margin-bottom: 8px; }
.header p { opacity: 0.8; font-size: 14px; }
.container { padding: 0 20px; }
.card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.card-header { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.link { color: #667eea; font-size: 14px; }
.meeting-item { padding: 14px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; }
.meeting-item:last-child { border-bottom: none; }
.meeting-name { font-weight: 500; margin-bottom: 6px; font-size: 15px; }
.meeting-info { font-size: 13px; color: #888; }
.tag { display: inline-block; padding: 2px 8px; background: #e8f5e9; color: #4caf50; border-radius: 4px; font-size: 12px; margin-left: 8px; }
.count { color: #667eea; font-weight: 600; }
.stats { display: flex; text-align: center; }
.stat-item { flex: 1; cursor: pointer; }
.stat-num { font-size: 28px; font-weight: 700; color: #667eea; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; }

/* 创建会议 - 简洁风格 */
#page-create { min-height: 100vh; background: #fff; }
.create-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #f0f0f0; }
.create-header h2 { font-size: 18px; font-weight: 600; color: #333; }
.create-form { padding: 30px 20px; }
.form-group { margin-bottom: 16px; }
.form-input { width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 12px; font-size: 16px; outline: none; transition: border-color 0.3s; box-sizing: border-box; background: #fff; }
.form-input:focus { border-color: #667eea; }
.form-input::placeholder { color: #999; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.create-btn { width: 100%; padding: 16px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; font-size: 16px; font-weight: 600; border-radius: 12px; margin-top: 10px; cursor: pointer; letter-spacing: 2px; }

/* 二维码 */
.qr-card { background: #fff; margin: 20px; border-radius: 20px; padding: 30px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.qr-card h3 { font-size: 18px; margin-bottom: 8px; }
.qr-info { font-size: 14px; color: #888; margin-bottom: 20px; }
.qr-code { width: 220px; height: 220px; margin: 0 auto 20px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.qr-code img { width: 200px; height: 200px; }
.qr-card .tip { color: #888; margin-bottom: 20px; }
.qr-card .btn { margin-top: 10px; }

/* 签到页 */
.checkin-hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 40px 20px; text-align: center; border-radius: 0 0 24px 24px; margin: -20px -20px 20px -20px; }
.checkin-hero h2 { font-size: 22px; margin-bottom: 8px; }
.checkin-hero p { opacity: 0.8; font-size: 14px; }

/* 成功页 */
.success-page { padding: 60px 20px; text-align: center; }
.success-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #4caf50 0%, #45a049 100%); border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.success-page h2 { margin-bottom: 8px; }
.success-page > p { color: #888; margin-bottom: 32px; }
.success-info { background: #fff; border-radius: 16px; padding: 24px; text-align: left; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.success-info p { margin-bottom: 12px; font-size: 14px; }
.success-info strong { color: #333; }

/* 浮窗 */
.fab { position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; box-shadow: 0 4px 20px rgba(102,126,234,0.4); cursor: pointer; }

/* 表单标签 */
.form-label { display: block; font-size: 14px; font-weight: 500; color: #333; margin-bottom: 8px; }
