body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f8fafc;
  color: #334155;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

.login-page-bg {
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 1920px;
  height: 1080px;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  background: #cbd5e1;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass-login-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 380px;
}

.login-inputs-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
}

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: #1e293b;
  outline: none;
  transition: all 0.2s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  text-align: center;
}

.glass-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
  transform: scale(1.02);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.shake-anim {
  animation: shake 0.3s ease-in-out;
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
}

.btn-login-small {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  border-radius: 12px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.2s;
}

.btn-login-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.role-switch {
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  font-weight: 700;
  background: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.role-switch:hover {
  background: white;
}

.register-badge {
  margin-top: 8px;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.register-badge:hover {
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.invisible-mute-box {
  position: absolute;
  inset: 0;
  z-index: 50;
  cursor: pointer;
}

/* 下面这些是后续页面也会用到的公共样式，先保留 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 8px;
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.input-std {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.input-std:focus {
  border-color: #3b82f6;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.bg-audit {
  background: #e2e8f0;
  color: #475569;
}

.bg-audited {
  background: #ccfbf1;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.bg-working {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.bg-done {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.bg-stopped {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.thumb-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  cursor: zoom-in;
  position: relative;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.thumb-dwg {
  background: #eff6ff;
  color: #2563eb;
}

.thumb-zip {
  background: #fffbeb;
  color: #d97706;
}

.thumb-rar {
  background: #fffbeb;
  color: #d97706;
}

.thumb-pdf {
  background: #fef2f2;
  color: #dc2626;
}

.thumb-max {
  background: #fdf4ff;
  color: #9333ea;
}

.thumb-stp {
  background: #fdf4ff;
  color: #9333ea;
}

.thumb-def {
  background: #f1f5f9;
  color: #64748b;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
}

.stat-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 4px 0;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.month-group-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(4px);
  padding: 12px 8px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #475569;
  font-size: 14px;
  cursor: pointer;
}

.month-group-header:hover {
  color: #2563eb;
}

.month-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.group-content {
  padding-top: 12px;
}

.group-content[hidden] {
  display: none;
}

.section-title {
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: #3b82f6;
  border-radius: 2px;
  margin-right: 8px;
}

.rank-badge {
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(139, 92, 246, 0.3);
}

.lightbox-btn {
  position: absolute;
  z-index: 110;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.lb-close {
  top: 20px;
  right: 20px;
}

.lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
