* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #ebf1fd;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

/* 应用容器 */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #ebf1fd;
}

/* 主内容区域 */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 80px;
  display: flex;
}

/* Tab内容 */
.tab-content {
  display: none;
  padding: 20px;
  box-sizing: border-box;
}

.tab-content.active {
  display: flex;
  flex: 1;
  overflow: auto;
}

/* 用户Tab样式 - 已移除标题区域 */

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  height: 80px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  position: relative;
}

.nav-item:hover {
  background-color: #f8f9fa;
}

.nav-item.active {
  background-color: #e3f2fd;
  color: #1976d2;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 0 3px 3px;
}

.nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
}

.nav-label {
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item.active .nav-label {
  font-weight: 600;
}

.header {
  display: flex;
  flex-direction: column;
  background-color: white;
}

.header .time-message {
  display: flex;
  height: 44px;
  align-items: center;
  padding: 0 33.5px;
  justify-content: space-between;
}

.header .title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.header .title span {
  font-weight: 500;
  font-size: 17px;
}

.img {
  width: 120px;
  height: 239px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.img_div {
  border-radius: 50%;
  overflow: hidden;
  width: 88px;
  height: 88px;
  border: 3px white solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text_hello {
  font-size: 26px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text_hello_name {
  font-size: 20px;
  color: #3370ff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
}

.text_hello_welcome {
  position: absolute;
  bottom: 0;
  size: 20px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.icon {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translate(-50%, 0);
}

/* 用户搜索区域样式 */
.search-section,
.register-section {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.search-title {
  text-align: center;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-group label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.input-group input {
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #3370ff;
  box-shadow: 0 0 0 3px rgba(51, 112, 255, 0.1);
}

.search-btn {
  background-color: #3370ff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(51, 112, 255, 0.3);
}

.search-btn:hover {
  background-color: #2c5ce6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(51, 112, 255, 0.4);
}

.search-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(51, 112, 255, 0.3);
}

.search-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.search-results {
  padding-top: 10px;
  overflow-y: auto;
  flex: 1;
}

.user-card {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.user-card:hover {
  background-color: #f0f8ff;
  border-color: #3370ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(51, 112, 255, 0.2);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.user-details {
  flex: 1;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.user-nickname {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
  font-style: italic;
}

.user-phone {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.user-email {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.user-department {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.user-role {
  font-size: 13px;
  color: #3370ff;
  margin-bottom: 4px;
  font-weight: 500;
}

.user-balance {
  font-size: 13px;
  color: #28a745;
  margin-bottom: 4px;
  font-weight: 500;
}

.user-time {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.user-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.recharge-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recharge-btn:hover {
  background-color: #218838;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.detail-btn {
  background-color: #17a2b8;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.detail-btn:hover {
  background-color: #138496;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #333;
}

.modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow: auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3370ff;
  box-shadow: 0 0 0 3px rgba(51, 112, 255, 0.1);
}

.form-group input[readonly] {
  background-color: #f8f9fa;
  color: #666;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* 验证码输入区域样式 */
.verification-code-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 复选框组样式 */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 30px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label:hover input~.checkmark {
  border-color: #3370ff;
}

.checkbox-label input:checked~.checkmark {
  background-color: #3370ff;
  border-color: #3370ff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked~.checkmark:after {
  display: block;
}

.verification-code-group input {
  flex: 1;
  margin-bottom: 0;
}

#send-code-btn {
  padding: 12px 16px;
  background-color: #3370ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

#send-code-btn:hover {
  background-color: #2c5ce6;
  transform: translateY(-1px);
}

#send-code-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

#send-code-btn.countdown {
  background-color: #6c757d;
  cursor: not-allowed;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background-color: #6c757d;
  color: white;
}

.btn-cancel:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

.btn-confirm {
  background-color: #28a745;
  color: white;
}

.btn-confirm:hover {
  background-color: #218838;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-confirm:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.no-results {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

.loading {
  text-align: center;
  color: #3370ff;
  padding: 20px;
}

.error {
  text-align: center;
  color: #ff4444;
  padding: 20px;
  background-color: #fff5f5;
  border: 1px solid #ffcccc;
  border-radius: 6px;
}

.info {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* TopApp应用展示区域样式 */
.topapp-section {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.topapp-title {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.topapp-controls {
  display: flex;
  justify-content: center;
}

.refresh-btn {
  background-color: #17a2b8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.refresh-btn:hover {
  background-color: #138496;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(23, 162, 184, 0.4);
}

.refresh-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.topapp-results {
  padding-top: 10px;
  flex: 1;
  overflow-y: auto;
}

.app-card {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.app-card:hover {
  background-color: #f0f8ff;
  border-color: #17a2b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.app-logo {
  flex-shrink: 0;
}

.app-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  background-color: #f8f9fa;
}

.app-info {
  flex: 1;
  min-width: 0;
}

.app-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  word-break: break-word;
}

.app-version {
  font-size: 14px;
  color: #666;
  margin-bottom: 3px;
}

.app-type {
  font-size: 13px;
  color: #17a2b8;
  font-weight: 500;
}

.app-status {
  flex-shrink: 0;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.available {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-badge.unavailable {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.app-content {
  margin-bottom: 15px;
}

.app-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid #17a2b8;
}

.app-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.detail-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.detail-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.detail-value {
  font-size: 13px;
  color: #333;
  font-weight: 600;
}

.detail-value.price {
  color: #28a745;
  font-weight: 700;
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.meta-label {
  color: #666;
  font-weight: 500;
}

.meta-value {
  color: #333;
  font-weight: 600;
}

.meta-link {
  color: #17a2b8;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.meta-link:hover {
  color: #138496;
  text-decoration: underline;
}

.app-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.action-btn.primary {
  background-color: #17a2b8;
  color: white;
}

.action-btn.primary:hover {
  background-color: #138496;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.action-btn.secondary {
  background-color: #6c757d;
  color: white;
}

.action-btn.secondary:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

/* 用户详情页面样式 */
.user-detail-container {
  max-width: 100%;
}

.detail-section {
  margin-bottom: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.section-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #17a2b8;
  display: flex;
  align-items: center;
}

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

.user-basic-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-large {
  flex-shrink: 0;
}

.user-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-basic-details {
  flex: 1;
  min-width: 0;
}

.user-name-large {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.user-nickname,
.user-phone,
.user-email,
.user-department,
.user-role,
.user-time {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.4;
}

.user-role {
  color: #17a2b8;
  font-weight: 500;
}

.user-time {
  color: #888;
  font-style: italic;
}

.financial-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.financial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: white;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.financial-item:hover {
  border-color: #17a2b8;
  box-shadow: 0 2px 4px rgba(23, 162, 184, 0.1);
}

.financial-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.financial-value {
  font-size: 16px;
  font-weight: 600;
}

.financial-value.balance {
  color: #28a745;
}

.financial-value.total-balance {
  color: #17a2b8;
}

.invite-statistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: #17a2b8;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.1);
  transform: translateY(-1px);
}

.stat-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
  border: 2px solid #e9ecef;
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.stat-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-content {
    padding-bottom: 90px;
    /* 为底部导航留出更多空间 */
  }

  .tab-content {
    padding: 15px;
  }

  /* 移动端优化 */

  .nav-item {
    padding: 15px 10px;
  }

  .nav-icon {
    font-size: 20px;
  }

  .nav-label {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .app-details {
    grid-template-columns: 1fr;
  }

  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .app-status {
    align-self: flex-end;
  }

  .app-actions {
    justify-content: center;
  }

  /* 用户详情移动端优化 */
  .user-basic-info {
    flex-direction: column;
    text-align: center;
  }

  .financial-info {
    grid-template-columns: 1fr;
  }

  .invite-statistics {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));

  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .stat-icon {
    align-self: center;
  }
}

/* 统计Tab样式 */
.stats-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.time-btn {
  padding: 10px 20px;
  border: 2px solid #007bff;
  background: white;
  color: #007bff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  min-width: 100px;
}

.time-btn:hover {
  background: #007bff;
  color: white;
}

.time-btn.active {
  background: #007bff;
  color: white;
}

.chart-container {
  position: relative;
  height: 400px;
  margin-bottom: 100px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #007bff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.stat-card .number {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
  background: white;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.error {
  text-align: center;
  padding: 40px;
  color: #dc3545;
  background: #f8d7da;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 移动端统计样式优化 */
@media (max-width: 768px) {
  .stats-controls {
    flex-direction: column;
    align-items: center;
  }

  .time-btn {
    width: 200px;
  }

  .chart-container {
    height: 300px;
    padding: 10px;
  }

  .stats-summary {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-card .number {
    font-size: 20px;
  }
}

/* 邀请人设置按钮样式 */
.invite-action-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.invite-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.invite-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.invite-btn .btn-icon {
  font-size: 16px;
}

/* 邀请人设置模态框样式 */
#invite-modal .modal-content {
  max-width: 400px;
  width: 90%;
}

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

#invite-modal .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

#invite-modal .form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#invite-modal .form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

#invite-modal .error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

/* 消息提示样式 */
.message {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}