/*
 * 分享会签到系统 - 现代金融科技风格
 * 灵感来源：Chaincoin UI - 蓝紫渐变 + 圆润卡片 + 玻璃态
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* 主色调 - 蓝紫渐变系 */
  --primary-blue: #5887FF;
  --primary-light: #6AA0FF;
  --primary-dark: #4a6fd4;

  /* 强调色 - 橙色 */
  --accent-orange: #FF920D;
  --accent-orange-light: #FFB347;

  /* 成功/签到色 */
  --success: #22C55E;
  --success-light: #4ADE80;
  --success-bg: rgba(34, 197, 94, 0.1);

  /* 危险色 */
  --danger: #EF4444;
  --danger-light: #F87171;

  /* 中性色 */
  --dark: #222222;
  --dark-secondary: #4B5563;
  --dark-muted: #9CA3AF;

  /* 背景色 */
  --bg-primary: #F4F6FD;
  --bg-white: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.4);

  /* 边框 - 更轻微 */
  --border-light: rgba(88, 135, 255, 0.1);
  --border-medium: rgba(88, 135, 255, 0.2);

  /* 阴影 - 更柔和 */
  --shadow-sm: 0 2px 8px rgba(88, 135, 255, 0.05);
  --shadow-md: 0 8px 24px rgba(88, 135, 255, 0.08);
  --shadow-lg: 0 16px 40px rgba(88, 135, 255, 0.12);
  --shadow-glow: 0 0 30px rgba(88, 135, 255, 0.15);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* 动效 */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(88, 135, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(106, 160, 255, 0.06) 0%, transparent 50%);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* ========== 动画定义 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== 按钮样式 ========== */
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  color: var(--primary-blue);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-1px);
}

.btn-icon {
  background: var(--bg-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent;
  transform: scale(1.05);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
  width: 100%;
}

/* ========== 表单样式 ========== */
input,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  transition: all 0.3s var(--ease-smooth);
}

input:focus,
select:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(88, 135, 255, 0.1);
}

input::placeholder {
  color: var(--dark-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.error {
  color: var(--danger);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ========== 加载状态 ========== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 16px;
}

.loading::before {
  content: '';
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-light);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  font-size: 0.9rem;
  color: var(--dark-muted);
  font-weight: 500;
}

/* ========== 登录页面 ========== */
#login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

#login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 30%);
  animation: pulse 8s ease-in-out infinite;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: fadeInUp 0.6s var(--ease-spring);
}

.login-container h1 {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-container input[type="password"] {
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

/* ========== 管理页面 ========== */
#admin-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#admin-page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 64px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  animation: fadeIn 0.4s ease;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

#admin-page header h1 {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  height: 100%;
  gap: 4px;
}

.nav-item {
  height: 100%;
  padding: 0 20px;
  background: transparent;
  color: var(--dark-muted);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-light));
  border-radius: 3px 3px 0 0;
  transition: all 0.3s var(--ease-spring);
  transform: translateX(-50%);
}

.nav-item:hover {
  color: var(--dark);
}

.nav-item.active {
  color: var(--primary-blue);
}

.nav-item.active::after {
  width: 100%;
}

.main-content {
  display: flex;
  padding: 24px;
  gap: 24px;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 64px);
}

/* 左侧：会议列表侧边栏 */
.sidebar-list {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.5s var(--ease-spring);
  overflow: hidden;
}

.sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(88,135,255,0.03) 0%, rgba(106,160,255,0.03) 100%);
}

.sidebar-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

#meetings-container {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* 右侧：详情区域 */
.content-detail {
  flex: 1;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 28px;
  overflow-y: auto;
  animation: slideIn 0.5s var(--ease-spring);
}

.empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--dark-muted);
  font-weight: 500;
}

/* ========== 日历视图 ========== */
.calendar-full {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.5s ease;
  overflow: hidden;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(88,135,255,0.03) 0%, rgba(106,160,255,0.03) 100%);
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-controls span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 140px;
  text-align: center;
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
}

.calendar-actions select {
  width: auto;
  min-width: 120px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.calendar-actions .btn-primary {
  height: 40px;
  padding: 0 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 签到人统计样式 */
.attendee-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.attendee-stats .stat-item {
  white-space: nowrap;
}

.attendee-stats .stat-item strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.attendee-stats .stat-divider {
  color: var(--border-medium);
}

.calendar-grid-full {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
}

.calendar-weekdays-full {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-muted);
  flex-shrink: 0;
}

.calendar-days-full {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
  margin-top: 12px;
  overflow: hidden;
}

.calendar-day-cell {
  background: var(--bg-white);
  padding: 8px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  border: 1px solid transparent;
}

.calendar-day-cell:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.calendar-day-cell.has-checked {
  border-color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(255,146,13,0.05) 0%, rgba(255,179,71,0.05) 100%);
}

.calendar-day-cell.other-month {
  background: rgba(242, 242, 252, 0.5);
}

.calendar-day-cell.other-month .day-number {
  color: var(--dark-muted);
}

.calendar-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.calendar-day-header .day-checked {
  color: var(--accent-orange);
  font-size: 0.9rem;
}

.calendar-day-cell .day-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.calendar-day-cell.today .day-number {
  color: white;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.calendar-event {
  background: linear-gradient(135deg, rgba(88,135,255,0.08) 0%, rgba(106,160,255,0.08) 100%);
  border-left: 3px solid var(--primary-blue);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-top: 2px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
}

.calendar-event:hover {
  background: linear-gradient(135deg, rgba(88,135,255,0.15) 0%, rgba(106,160,255,0.15) 100%);
}

.calendar-event .event-header {
  display: flex;
  align-items: flex-start;
}

.calendar-event .event-topic {
  font-weight: 700;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  line-height: 1.3;
}

.calendar-event .event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

.calendar-event .event-speaker {
  font-size: 0.7rem;
  color: var(--dark-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event .event-count {
  font-size: 0.7rem;
  color: var(--primary-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

.calendar-event .event-checked {
  position: absolute;
  top: 4px;
  right: 6px;
  color: var(--success);
  font-size: 0.9rem;
}

.calendar-event.checked {
  border-left-color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(255,146,13,0.08) 0%, rgba(255,179,71,0.08) 100%);
}

.calendar-event.checked:hover {
  background: linear-gradient(135deg, rgba(255,146,13,0.15) 0%, rgba(255,179,71,0.15) 100%);
}

/* 会议列表项样式 */
.meeting-item {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  background: var(--bg-white);
  border: 1px solid transparent;
}

.meeting-item:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.meeting-item.active {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.meeting-item.active p {
  color: rgba(255, 255, 255, 0.8);
}

.meeting-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.meeting-item p {
  font-size: 0.8rem;
  color: var(--dark-muted);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.detail-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.qrcode-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.qrcode-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.duration-select {
  display: flex;
  align-items: center;
  gap: 16px;
}

.duration-select label {
  font-size: 0.9rem;
  color: var(--dark-secondary);
  font-weight: 500;
}

.duration-select select {
  width: 140px;
  border-radius: var(--radius-full);
}

.checkins-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.checkins-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.checkin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(88,135,255,0.05) 0%, rgba(106,160,255,0.05) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.checkin-item:hover {
  background: linear-gradient(135deg, rgba(88,135,255,0.1) 0%, rgba(106,160,255,0.1) 100%);
  transform: translateX(4px);
}

.checkin-item .name {
  font-weight: 600;
  color: var(--dark);
}

.checkin-item .time {
  color: var(--dark-muted);
  font-size: 0.85rem;
}

/* ========== 二维码页面 ========== */
.qrcode-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.qrcode-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(88, 135, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(106, 160, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.qrcode-page #app {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.qrcode-page .loading {
  color: white;
}

.qrcode-page .loading::before {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: white;
}

#qrcode-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.6s var(--ease-spring);
}

.meeting-info h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meeting-info .speaker,
.meeting-info .date {
  font-size: 0.95rem;
  color: var(--dark-secondary);
  margin-bottom: 4px;
}

.qrcode-wrapper {
  margin: 32px 0;
}

#qrcode {
  display: inline-block;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.scan-hint {
  margin-top: 12px;
  color: var(--dark-secondary);
  font-weight: 500;
}

.countdown {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.countdown p {
  font-size: 0.9rem;
  color: var(--dark-muted);
}

#countdown-timer {
  color: var(--accent-orange);
  font-weight: 700;
  margin-left: 6px;
}

/* 过期/错误页面 */
.expired-message,
.error-message {
  text-align: center;
  color: white;
  animation: fadeInUp 0.6s var(--ease-spring);
}

.expired-message h1,
.error-message h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.expired-message p,
.error-message p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== 手机签到页 ========== */
.checkin-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  padding: 20px;
}

.checkin-page #app {
  width: 100%;
  max-width: 400px;
}

#checkin-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.6s var(--ease-spring);
}

.meeting-info-mobile {
  text-align: center;
  margin-bottom: 32px;
}

.meeting-info-mobile h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.meeting-info-mobile .speaker,
.meeting-info-mobile .date {
  font-size: 0.9rem;
  color: var(--dark-secondary);
  margin-bottom: 4px;
}

#checkin-form .form-group label {
  text-align: left;
  margin-bottom: 10px;
}

#checkin-form .hint {
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-top: 8px;
  text-align: center;
}

.countdown-mobile {
  text-align: center;
  margin: 24px 0;
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.95rem;
}

.success-message {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.6s var(--ease-spring);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.success-message h1 {
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

/* Custom Searchable Dropdown */
.custom-select-container {
  position: relative;
  width: 200px;
  font-size: 0.85rem;
}

.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  color: var(--dark);
}

.select-trigger:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.selected-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
  font-weight: 500;
}

.select-arrow {
  position: relative;
  width: 10px;
  height: 6px;
  flex-shrink: 0;
}

.select-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--dark-muted);
  transition: transform 0.3s ease;
}

.custom-select-container.open .select-arrow::after {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 200px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
  display: flex;
  flex-direction: column;
}

.select-dropdown.hidden {
  display: none !important;
}

.select-search-box {
  padding: 8px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.9);
}

.select-search-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: var(--bg-primary);
}

.select-search-box input:focus {
  border-color: var(--primary-blue);
  background: #fff;
  box-shadow: none;
}

.select-options-list {
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}

.select-option {
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.select-option:hover {
  background: linear-gradient(135deg, rgba(88,135,255,0.05) 0%, rgba(106,160,255,0.05) 100%);
  color: var(--primary-blue);
}

.select-option.selected {
  background: linear-gradient(135deg, rgba(88,135,255,0.1) 0%, rgba(106,160,255,0.1) 100%);
  color: var(--primary-blue);
  font-weight: 600;
}

/* Scrollbar styling */
.select-options-list::-webkit-scrollbar {
  width: 6px;
}
.select-options-list::-webkit-scrollbar-track {
  background: transparent;
}
.select-options-list::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}
.select-options-list::-webkit-scrollbar-thumb:hover {
  background: var(--dark-muted);
}
