* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: linear-gradient(135deg, #ff4d4f, #e53935, #b71c1c); min-height: 100vh; overflow-y: scroll; }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 1px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.5); }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; background: rgba(255, 255, 255, 0.12); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(10px); }
.logo { color: #fff; font-size: 18px; font-weight: bold; }
.nav-center { color: #fff; font-size: 16px; }
.nav-right { display: flex; gap: 15px; align-items: center; }
.nav-btn { background: linear-gradient(135deg, #ffd5d5, #ffb3b3, #ff8686); border: 1px solid rgba(255, 77, 79, 0.35); color: #7a0000; padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: .2s ease-in-out; }
.nav-btn:hover { background: linear-gradient(135deg, #ffc9c9, #ff9e9e, #ff7a7a); border-color: rgba(255, 77, 79, 0.55); color: #7a0000; }
#mlCreateBtn { background: #ff4d4f; border: 1px solid #ff4d4f; color: #fff; }
#mlCreateBtn:hover { background: #e53935; border-color: #e53935; color: #fff; }
.user-info { display: flex; align-items: center; gap: 8px; color: #fff; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; }
.main-content { padding: 80px 20px 20px; }
.meeting-header { background: rgba(255, 255, 255, 0.9); padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.meeting-title { color: #333; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.meeting-icon { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #ff4d4f 0%, #d32f2f 100%); border: 1px solid rgba(255,77,79,.35); box-shadow: 0 2px 6px rgba(0,0,0,.18), inset 0 1px 1px rgba(255,255,255,.35); position: relative; }
.meeting-icon::before { content: ""; position: absolute; top: 2px; left: 3px; right: 3px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.65); }
.meeting-icon::after { content: ""; position: absolute; bottom: 2px; left: 3px; right: 3px; height: 1px; background: rgba(255,255,255,.35); border-radius: 1px; }
.meeting-time { color: #666; font-size: 14px; }
.content-section { background: rgba(255, 255, 255, 0.95); border-radius: 8px; margin-bottom: 15px; overflow: hidden; transition: .3s; }
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; cursor: pointer; transition: background-color .3s; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.section-header:hover { background: rgba(255, 255, 255, 0.8); }
.section-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: .3s; }
.content-section.active .section-content { max-height: 1000px; padding: 20px; }
.accordion-arrow { transition: transform .3s; font-size: 12px; color: #666; transform: rotate(-90deg); }
.content-section.active .accordion-arrow { transform: rotate(0); }
.section-title { color: #333; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.section-number { background: #4CAF50; color: #fff; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.section-number.orange { background: #ff9800; }
.file-count { color: #666; font-size: 12px; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.file-item { background: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: .2s; }
.file-item:hover { transform: translateY(-2px); }
.file-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.file-type { background: #e3f2fd; color: #1976d2; padding: 4px 8px; border-radius: 4px; font-size: 12px; }
.file-type.ppt { background: #fff3e0; color: #f57c00; }
.file-type.word { background: #e8f5e8; color: #388e3c; }
.file-type.excel { background: #e8f5e8; color: #388e3c; }
.file-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.file-icon.pdf { background: #ffebee; color: #d32f2f; }
.file-icon.ppt { background: #fff3e0; color: #f57c00; }
.file-icon.word { background: #e3f2fd; color: #1976d2; }
.file-icon.excel { background: #e8f5e8; color: #388e3c; }
.file-title { color: #333; font-size: 14px; line-height: 1.4; margin-top: 10px; }
.floating-menu { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
.menu-toggle { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #ff4d4f, #e53935); border: none; color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 4px 20px rgba(255, 77, 79, 0.4); transition: .3s; display: flex; align-items: center; justify-content: center; }
.menu-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(255, 77, 79, 0.6); }
.menu-toggle.active { transform: rotate(45deg); }
.menu-items { position: absolute; bottom: 80px; right: 0; display: flex; flex-direction: column; gap: 15px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; }
.menu-items.show { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 12px 16px; border-radius: 25px; color: #666; text-decoration: none; font-size: 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: .3s; white-space: nowrap; transform: translateX(20px); }
.nav-item:hover { background: rgba(255, 77, 79, 0.1); color: #ff4d4f; transform: translateX(0); }
.nav-item.active { background: #ff4d4f; color: #fff; transform: translateX(0); }
.nav-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.menu-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; transition: .3s; z-index: 999; }
.menu-backdrop.show { opacity: 1; visibility: visible; }
/* 全屏会议列表图层 */
.meeting-layer { position: fixed; inset: 0; display: flex; flex-direction: column; background: inherit; z-index: 2500; overflow: auto; padding-top: 80px; }
.meeting-layer-header { padding: 16px 20px; background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(0, 0, 0, 0.08); display: flex; justify-content: space-between; align-items: center; }
.meeting-layer-title { font-size: 16px; color: #333; font-weight: 600; }
.meeting-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; padding: 20px; }
.meeting-card { background: linear-gradient(180deg, #fff, #fff0f0); border: 1px solid rgba(255, 77, 79, 0.12); border-radius: 8px; padding: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: .2s; cursor: pointer; }
.meeting-card:hover { transform: translateY(-2px); }
.meeting-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.meeting-name { color: #333; font-size: 14px; font-weight: 600; }
.meeting-status { padding: 2px 8px; border-radius: 12px; font-size: 12px; color: #fff; background: #4CAF50; }
.meeting-status.pending { background: #ff9800; }
.meeting-status.done { background: #6b7280; }
.meeting-meta { color: #666; font-size: 12px; display: flex; gap: 12px; align-items: center; }
.hidden { display: none; }
.empty-tip { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; margin: 24px 20px 20px; color: #999; font-size: 13px; letter-spacing: .5px; text-align: center; }
.empty-tip::before, .empty-tip::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.15), rgba(0,0,0,0)); }
/* 覆盖层中会议列表：每个div独占一行（合并自下方样式） */
#meetingListLayer .meeting-list { display: grid; grid-template-columns: 1fr; }
#meetingListLayer .meeting-card { width: 100%;}
.endline { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; margin: 8px 20px 20px; color: #fff; font-size: 13px; letter-spacing: 1px; opacity: .92; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.endline::before, .endline::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.6), rgba(255,255,255,.0)); }
.endline { border-radius: 12px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(2px); box-shadow: 0 4px 16px rgba(0,0,0,.08) inset; }

@media (max-width: 640px) {
  .meeting-layer-header { padding: 12px; gap: 8px; flex-direction: column; align-items: stretch; }
  .meeting-layer-title { font-size: 15px; }
  #meetingListLayer .ml-search { display: grid !important; grid-template-columns: 1fr; gap: 8px; width: 100%; }
  #meetingListLayer .ml-search input, #meetingListLayer .ml-search button { width: 100%; min-width: 0; }
  #meetingListLayer .ml-search .nav-btn { padding: 10px 12px; border-radius: 10px; }
  #meetingListLayer .ml-search #mlSearchLocation,
  #meetingListLayer .ml-search #mlSearchTime,
  #meetingListLayer .ml-search #mlSearchClear,
  #meetingListLayer .ml-search #mlCreateBtn { display: none; }
  .nav-center { display: none; }
  .meeting-list { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .meeting-card { padding: 10px; }
  .meeting-meta .loc { display: none; }
  .section-number { display: none; }
  .meeting-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .meeting-time { width: 100%; padding-left: 30px; }
  .file-count .count { font-size: 0; }
  .file-count .count .num { font-size: 12px; }
}
@media (max-width: 360px) {
  #meetingListLayer .ml-search { grid-template-columns: 1fr; }
}

/* 预览浮层样式（复用 pdf-viewer 风格并进行作用域限制） */
.pv-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); display: none; align-items: center; justify-content: center; z-index: 2000; }
.pv-overlay.show { display: flex; }
.pv-panel { width: 100vw; max-width: none; height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); border-radius: 0; box-shadow: none; position: relative; overflow: hidden; }
.pv-overlay { --bg: #0f172a; --panel: #111827; --accent: #6366f1; --text: #e5e7eb; --muted: #9ca3af; --border: #1f2937; --thumb-bg: #0b1220; --sidebar-offset: 0px; }
.pv-overlay .btn { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.pv-overlay .btn.secondary { background: #374151; }
.pv-overlay .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.pv-overlay .page-info { color: var(--muted); font-size: 13px; margin: 0 8px; }
.pv-overlay .topbar { display: flex; align-items: center; gap: 8px; padding: 6px 0px; background: rgba(17, 24, 39, 0.6); border: none; border-radius: 0 10px 10px 0; position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 2030; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.pv-overlay .topbar .btn { min-width: 0; padding: 4px 8px; font-size: 13px; }
.pv-overlay .preview-title { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(17, 24, 39, 0.6); color: #fff; padding: 6px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); font-size: 14px; letter-spacing: 0.5px; user-select: none; pointer-events: none; z-index: 2026; }
.pv-overlay .layout { height: 100vh; position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
.pv-overlay .sidebar { border-right: 1px solid var(--border); background: rgba(17, 24, 39, 0.35); overflow-y: auto; padding: 10px 8px; position: fixed; top: 12px; left: 12px; width: 210px; max-height: calc(100vh - 24px); border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); transform: translateX(0); transition: transform 0.2s ease, opacity 0.2s ease; scrollbar-width: thin; scrollbar-color: var(--accent) var(--border); z-index: 2040; }
.pv-overlay .sidebar::-webkit-scrollbar { width: 6px; height: 6px; }
.pv-overlay .sidebar::-webkit-scrollbar-track { background: rgba(17,24,39,0.35); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--border); }
.pv-overlay .sidebar::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), #4b5563); border-radius: 8px; border: 1px solid var(--border); }
.pv-overlay .sidebar::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #818cf8, #4b5563); }
.pv-overlay .thumb { background: var(--thumb-bg); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; padding: 6px; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; box-shadow: 0 6px 18px rgba(0,0,0,0.25); position: relative; overflow: hidden; }
.pv-overlay .thumb:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,0.32); }
.pv-overlay .thumb.active { outline: 2px solid var(--accent); }
.pv-overlay .thumb canvas { display: block; width: 100%; height: auto; }
.pv-overlay .thumb .label { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(17, 24, 39, 0.6); color: #fff; font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: 6px; user-select: none; pointer-events: none; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.pv-overlay .viewer { display: flex; align-items: flex-start; justify-content: center; padding: 18px; padding-bottom: 72px; padding-right: 18px; overflow: auto; height: 100vh; }
.pv-overlay .viewer.loading .canvas-wrap { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.pv-overlay .viewer.loading canvas { display: none; }
.pv-overlay .viewer.loading #status { display: none; }
.pv-overlay .loading-mask { position: fixed; inset: 0; background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(2px); display: none; align-items: center; justify-content: center; z-index: 2028; }
.pv-overlay .loading-mask.show { display: flex; }
.pv-overlay .loading-mask .loading-content { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px; background: rgba(17, 24, 39, 0.35); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.pv-overlay .loading-mask .ring { width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(229,231,235,0.35); border-top-color: var(--accent); animation: pv-spin 0.9s linear infinite; }
.pv-overlay .loading-mask .text { color: var(--text); font-size: 14px; letter-spacing: 0.5px; }
@keyframes pv-spin { to { transform: rotate(360deg); } }
/* 让 main 作为滚动容器，并为底部/右侧控件预留空间 */
.pv-overlay .viewer { scrollbar-width: thin; scrollbar-color: #6b7280 rgba(17,24,39,0.25); }
.pv-overlay .viewer::-webkit-scrollbar { width: 6px; height: 6px; }
.pv-overlay .viewer::-webkit-scrollbar-track { background: rgba(17,24,39,0.2); border-radius: 8px; }
.pv-overlay .viewer::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #818cf8, #4b5563); border-radius: 8px; }
.pv-overlay .viewer::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a5b4fc, #4b5563); }
.pv-overlay .canvas-wrap { background: #0b1220; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); padding: 5px; max-width: 95vw; overflow: auto; margin-top: 10px; position: relative; }
.pv-overlay canvas { display: block; margin: 0 auto; }
.pv-overlay .status { text-align: center; color: var(--muted); font-size: 13px; padding: 8px; }
.pv-overlay .layout.collapsed .sidebar { transform: translateX(-240px); opacity: 0; pointer-events: none; }
.pv-overlay .bottom-controls { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(17, 24, 39, 0.55); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); z-index: 2020; }
.pv-overlay .bottom-controls .page-info { min-width: 64px; text-align: center; }
.pv-overlay .zoom-controls { position: fixed; top: 50%; right: 12px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; padding: 10px; background: rgba(17, 24, 39, 0.55); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); z-index: 2022; }
.pv-overlay .zoom-controls .btn { min-width: 80px; }
.pv-overlay .pv-close { position: fixed; right: 12px; top: 12px; border: none; background: rgba(17, 24, 39, 0.6); color: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.35); z-index: 2025; }
.hidden { display: none; }
#drawCanvas { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; cursor: crosshair; touch-action: none; }
.draw-bar { position: fixed; right: 12px; bottom: 84px; z-index: 2024; display: flex; align-items: center; gap: 10px; }
.draw-bar .draw-color { display: none; }
.draw-bar.show-color .draw-color { display: inline-flex; }
#drawToggleBtn { display: inline-flex; align-items: center; gap: 6px; }
#drawToggleBtn::before { content: ''; display: none; }
#drawToggleBtn.active::before { content: '🖊️'; display: inline; }
#drawToggleBtn.active { background: #ff4d4f; color: #fff; box-shadow: 0 0 0 2px rgba(255,77,79,0.45) inset, 0 10px 24px rgba(255,77,79,0.5); animation: drawGlow 1.8s ease-in-out infinite; }
#drawToggleBtn.active::after { content: '绘制中'; display: inline; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #fff; color: #ff4d4f; border: 1px solid rgba(255,77,79,0.5); margin-left: 6px; }
@keyframes drawGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(255,77,79,0.45) inset, 0 10px 24px rgba(255,77,79,0.45); } 50% { box-shadow: 0 0 0 2px rgba(255,77,79,0.55) inset, 0 14px 30px rgba(255,77,79,0.6); } }
.draw-color { appearance: none; width: 28px; height: 28px; padding: 0; border: 2px solid rgba(255,255,255,0.8); border-radius: 50%; background: transparent; cursor: pointer; }
.draw-color::-webkit-color-swatch-wrapper { padding: 0; }
.draw-color::-webkit-color-swatch { border: none; border-radius: 50%; }

/* 创建会议样式 */
.create-meeting { position: fixed; inset: 0; z-index: 2600; background: rgba(0,0,0,0.08); backdrop-filter: blur(2px); display: none; align-items: flex-start; justify-content: center; padding-top: 90px; }
.create-meeting:not(.hidden) { display: flex; }
.cm-container { width: 720px; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); padding: 20px; font-family: 'Microsoft YaHei', Arial, sans-serif; }
.cm-title { font-size: 18px; color: #333; margin-bottom: 12px; font-weight: 600; }
.cm-field, .cm-field-group { display: flex; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.cm-field label { width: 100px; color: #666; }
.cm-field-group label { width: 100px; color: #666; }
.cm-field input[type="text"], .cm-field input[type="password"], .cm-field select { flex: 1; min-width: 240px; padding: 8px 10px; border-radius: 8px; border: 1px solid #e5e7eb; }
.cm-field-group input[type="date"], .cm-field-group input[type="time"] { padding: 8px 10px; border-radius: 8px; border: 1px solid #e5e7eb; }
.cm-sep { color: #999; }
.cm-inline { color: #666; display: inline-flex; align-items: center; gap: 6px; }
.cm-password { display: flex; align-items: center; gap: 8px; flex: 1; }
.cm-icon { border: none; background: #efefef; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.cm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.cm-submit { background: #ff4d4f; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.cm-cancel { background: #e5e7eb; color: #333; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
/* 登录层样式 */
#loginLayer.login-layer { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff4d4f, #e53935, #b71c1c); }
#loginLayer.login-layer:not(.hidden) { display: flex; }
#loginLayer .login-container { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
#loginLayer .login-container:hover { transform: translateY(-5px); }
#loginLayer .login-header { text-align: center; margin-bottom: 30px; }
#loginLayer .logo { width: 60px; height: 60px; background: linear-gradient(135deg, #ff4d4f, #e53935); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 24px; color: white; }
#loginLayer .login-title { color: #333; font-size: 24px; font-weight: bold; margin-bottom: 8px; }
#loginLayer .login-subtitle { color: #666; font-size: 14px; }
#loginLayer .form-group { margin-bottom: 20px; }
#loginLayer .form-label { display: block; color: #333; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
#loginLayer .form-input { width: 100%; padding: 12px 16px; border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 8px; font-size: 14px; transition: all 0.3s ease; background: rgba(255, 255, 255, 0.8); }
#loginLayer .form-input:focus { outline: none; border-color: #ff4d4f; background: white; box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12); }
#loginLayer .form-input::placeholder { color: #999; }
#loginLayer .password-container { position: relative; }
#loginLayer .password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #666; cursor: pointer; font-size: 16px; padding: 4px; }
#loginLayer .password-toggle:hover { color: #ff4d4f; }
#loginLayer .form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 14px; }
#loginLayer .remember-me { display: flex; align-items: center; gap: 8px; color: #666; }
#loginLayer .remember-me input[type="checkbox"] { width: 16px; height: 16px; accent-color: #ff4d4f; }
#loginLayer .forgot-password { color: #ff4d4f; text-decoration: none; transition: color 0.3s ease; }
#loginLayer .forgot-password:hover { color: #e53935; }
#loginLayer .login-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #ff4d4f, #e53935); color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; margin-bottom: 20px; }
#loginLayer .login-btn:hover { background: linear-gradient(135deg, #e53935, #d32f2f); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 77, 79, 0.3); }
#loginLayer .login-btn:active { transform: translateY(0); }
#loginLayer .divider { text-align: center; margin: 20px 0; position: relative; color: #999; font-size: 14px; }
#loginLayer .divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(0, 0, 0, 0.1); z-index: 1; }
#loginLayer .divider span { background: rgba(255, 255, 255, 0.95); padding: 0 15px; position: relative; z-index: 2; }
#loginLayer .social-login { display: flex; gap: 10px; margin-bottom: 20px; }
#loginLayer .social-btn { flex: 1; padding: 12px; border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 8px; background: rgba(255, 255, 255, 0.8); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #333; }
#loginLayer .social-btn:hover { background: white; border-color: #ff4d4f; transform: translateY(-2px); }
#loginLayer .register-link { text-align: center; color: #666; font-size: 14px; }
#loginLayer .register-link a { color: #ff4d4f; text-decoration: none; font-weight: 500; }
#loginLayer .register-link a:hover { color: #e53935; }
#loginLayer .error-message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; max-width: 420px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); background: #fff; color: #d32f2f; padding: 14px 16px; border-radius: 10px; font-size: 14px; border: 1px solid rgba(211, 47, 47, 0.25); display: none; }
#loginLayer .success-message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; max-width: 420px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); background: #fff; color: #388e3c; padding: 14px 16px; border-radius: 10px; font-size: 14px; border: 1px solid rgba(56, 142, 60, 0.25); display: none; }
@media (max-width: 480px) {
  #loginLayer .login-container { margin: 20px; padding: 30px 25px; }
  #loginLayer .login-title { font-size: 20px; }
  #loginLayer .social-login { flex-direction: column; }
}