/* 全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  font-size: 16px;
}


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

/* 通用卡片样式 */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 20px;
  border: none;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 主按钮样式 */
.btn-primary-custom {
  background-color: #1989fa;
  border-color: #1989fa;
}

.btn-primary-custom:hover {
  background-color: #0076e4;
  border-color: #0076e4;
}

/* 次要按钮样式 */
.btn-secondary-custom {
  background-color: #fff;
  border-color: #ddd;
  color: #333;
}

.btn-secondary-custom:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

/* 头像样式 */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* 导航栏样式 */
.navbar-custom {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 页面容器 */
.page-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 区块标题 */
.section-header {
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.section-header h5 {
  font-weight: 600;
  color: #333;
}

/* 统计卡片样式优化 */
.stats-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  opacity: 0.8;
}

.stats-value {
  font-size: 28px;
  font-weight: 600;
  color: #1989fa;
  margin-bottom: 8px;
  background: linear-gradient(45deg, #1989fa, #39b9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.stats-value::after {
  display: none;
}

.stats-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-top: 5px;
}

/* 快捷操作样式优化 */
.action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0;
  margin-top: 15px;
}

.action-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.action-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.action-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(25, 137, 250, 0.1) 50%);
  border-radius: 0 0 12px 0;
}

.action-icon {
  font-size: 24px;
  color: #1989fa;
  margin-bottom: 12px;
  display: inline-block;
  padding: 12px;
  background: rgba(25, 137, 250, 0.1);
  border-radius: 10px;
}

.action-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.action-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
  opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .stats-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .stats-value {
    font-size: 24px;
  }
  
  .stats-label {
    font-size: 13px;
  }
  
  .action-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .action-item {
    padding: 15px;
  }
  
  .action-icon {
    font-size: 20px;
    padding: 10px;
  }
  
  .action-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .action-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 数据加载动画 */
@keyframes number-increment {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-value {
  animation: number-increment 0.6s ease-out forwards;
}

/* 统计卡片布局优化 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* 列表项样式 */
.list-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.list-item:last-child {
  border-bottom: none;
}

/* 表单样式 */
.form-label {
  font-weight: 500;
  margin-bottom: 5px;
}

/* 加载指示器 */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

/* 空状态提示 */
.empty-state {
  text-align: center;
  padding: 40px 0;
}

.empty-state img {
  width: 120px;
  margin-bottom: 20px;
}

.empty-state p {
  color: #999;
}

/* 版权信息样式 */
.copyright {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  color: #999;
  font-size: 12px;
  margin-bottom: 40px;
  position: relative;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
}

/* 移动端响应式调整 */
@media (max-width: 767.98px) {
  .page-container {
    padding: 10px 5px;
  }
  
  .row {
    margin-left: -3px;
    margin-right: -3px;
  }
  
  .row > [class*="col-"] {
    padding-left: 3px;
    padding-right: 3px;
  }
  
  .card {
    padding: 10px 5px;
  }
  
  .stats-card {
    padding: 8px 5px;
  }
  
  .stats-value {
    font-size: 16px;
    margin-bottom: 3px;
  }
  
  .stats-label {
    font-size: 11px;
  }
  
  .stats-row, .action-row {
    padding: 5px 0;
  }
  
  .stats-item, .action-item {
    padding: 5px 3px;
    border-right: 1px solid rgba(238, 238, 238, 0.5);
  }
  
  .action-title {
    font-size: 12px;
    margin-bottom: 3px;
  }
  
  .action-desc {
    font-size: 11px;
    margin-bottom: 5px;
  }
  
  .btn {
    padding: 0.2rem 0.4rem;
    font-size: 11px;
  }
  
  /* 统计值下划线效果调整 */
  .stats-value:after {
    width: 15px;
    height: 1px;
    bottom: -2px;
  }
  
  /* 区块标题调整 */
  .section-header {
    margin-bottom: 10px;
    padding-bottom: 5px;
  }
  
  .section-header h5 {
    font-size: 14px;
    margin-bottom: 0;
  }
  
  /* 调整按钮样式使其更适合小屏幕 */
  .btn-sm {
    width: 100%;
    max-width: 80px;
    margin: 0 auto;
    display: block;
  }
  
  /* 调整卡片内部的行间距 */
  .row.stats-row, .row.action-row {
    margin-left: 0;
    margin-right: 0;
  }
  
  /* 调整列的间距 */
  .row.stats-row > [class*="col-"], 
  .row.action-row > [class*="col-"] {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* 移动端优化 */
@media (max-width: 768px) {
  /* 导航栏优化 */
  .navbar-brand {
    font-size: 18px;
  }
  .navbar-brand img {
    height: 30px;
  }
  .navbar-toggler {
    padding: 4px 8px;
  }
  .navbar-nav .nav-link {
    padding: 12px 15px;
  }
  
  /* 按钮优化 */
  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .btn-sm {
    padding: 6px 12px;
  }
  .btn-lg {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  /* 表单元素优化 */
  input, select, textarea {
    font-size: 16px !important; /* 防止iOS自动缩放 */
  }
  
  /* 间距优化 */
  .page-container {
    padding: 15px;
  }
  
  /* 触摸区域优化 */
  .nav-link, .btn, .form-control, .form-select {
    min-height: 44px; /* 符合Apple触摸指南 */
  }
  
  /* 表格优化 */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* 卡片优化 */
  .card {
    margin-bottom: 15px;
  }
  
  /* 弹窗优化 */
  .modal-dialog {
    margin: 10px;
  }
  .modal-content {
    border-radius: 10px;
  }
}

/* 移动端导航栏样式 */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 15px;
  z-index: 1000;
}

.mobile-header__title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.mobile-header__right {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 桌面版导航栏毛玻璃效果 */
.navbar {
  background-color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 移动端底部导航栏 */
.mobile-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  z-index: 1000;
}

.mobile-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(153, 153, 153, 0.8);
  text-decoration: none;
  font-size: 12px;
  padding: 8px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.mobile-tabbar__item.active {
  color: #0d6efd;
  position: relative;
}

.mobile-tabbar__item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #0dcaf0);
  border-radius: 3px;
}

.mobile-tabbar__icon {
  font-size: 20px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.mobile-tabbar__item:active .mobile-tabbar__icon {
  transform: scale(0.9);
}

/* Safari 浏览器兼容性处理 */
@supports (-webkit-backdrop-filter: none) {
  .mobile-header,
  .navbar,
  .mobile-tabbar {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

/* 不支持backdrop-filter的浏览器降级处理 */
@supports not (backdrop-filter: blur(10px)) {
  .mobile-header,
  .navbar,
  .mobile-tabbar {
    background-color: rgba(255, 255, 255, 0.95);
  }
}

/* 移动端优化 */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }
  
  .page-header {
    margin-top: 0 !important;
  }
  
  .section-header {
    margin-top: 0 !important;
  }
  
  /* 移除所有页面头部的额外边距 */
  .dealer-header,
  .profile-header,
  .partner-header,
  .home-header,
  .stats-section,
  .action-section {
    margin-top: 0 !important;
  }
  
  /* 首页内容区域调整 */
  .stats-card,
  .action-card {
    margin-top: 15px !important;
  }

  /* 移动端页面内容调整 */
  .page-container {
    padding-top: 15px;
  }
}

/* 桌面端隐藏移动端导航 */
@media (min-width: 769px) {
  .mobile-header,
  .mobile-tabbar {
    display: none;
  }
}

/* 统计卡片和操作卡片样式调整 */
.stats-section,
.action-section {
  margin-top: 0;
  padding-top: 0;
}

/* 图片展示框样式 */
.welcome-banner {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, #1989fa, #39b9fa);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.welcome-banner:hover .welcome-banner-bg {
  transform: scale(1.05);
}

.welcome-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(25, 137, 250, 0.9), rgba(25, 137, 250, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.welcome-banner-title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-banner-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.welcome-banner-stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.welcome-stat-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 15px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.welcome-stat-value {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.welcome-stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .welcome-banner {
    height: 160px;
    margin: 10px 0 15px;
  }
  
  .welcome-banner-overlay {
    padding: 20px;
  }
  
  .welcome-banner-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .welcome-banner-text {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .welcome-banner-stats {
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  
  .welcome-stat-item {
    padding: 6px 12px;
  }
  
  .welcome-stat-value {
    font-size: 16px;
  }
  
  .welcome-stat-label {
    font-size: 11px;
  }
}

/* 统计项样式优化 */
.stats-item {
  text-align: center;
  padding: 25px 15px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(25, 137, 250, 0.1);
  border: 1px solid rgba(25, 137, 250, 0.1);
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(25, 137, 250, 0.15);
}

.stats-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  opacity: 0.8;
}

.stats-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(25, 137, 250, 0.05) 50%);
  border-radius: 0 0 16px 0;
}

.stats-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.stats-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  border-radius: 2px;
}

.stats-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  background: rgba(25, 137, 250, 0.03);
  border-radius: 12px;
}

.stats-value {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(45deg, #1989fa, #39b9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: number-increment 0.6s ease-out forwards;
  text-shadow: 2px 2px 4px rgba(25, 137, 250, 0.1);
}

.stats-divider {
  font-size: 28px;
  font-weight: 600;
  color: #bbb;
  margin: 0 4px;
  opacity: 0.8;
}

.stats-labels {
  font-size: 13px;
  color: #666;
}

.stats-label {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(25, 137, 250, 0.1), rgba(57, 185, 250, 0.1));
  border-radius: 20px;
  color: #1989fa;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(25, 137, 250, 0.1);
  border: 1px solid rgba(25, 137, 250, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .stats-item {
    padding: 20px 10px;
  }

  .stats-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .stats-values {
    gap: 4px;
    padding: 6px;
  }

  .stats-value {
    font-size: 22px;
  }

  .stats-divider {
    font-size: 22px;
  }

  .stats-labels {
    font-size: 11px;
  }

  .stats-label {
    padding: 4px 10px;
  }

  .stats-item::after {
    width: 60px;
    height: 60px;
  }
}

/* 数据加载动画优化 */
@keyframes number-increment {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  50% {
    opacity: 0.5;
    transform: translateY(5px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .copyright {
    margin-bottom: 60px;
    padding: 10px 0;
  }
}

/* 页面内容样式 */
.page-content {
  padding-top: 71px !important; /* 统一移动端顶部内边距：导航栏高度(56px) + 额外间距(15px) */
  padding-bottom: 66px !important;
}

/* 桌面端页面内容样式 */
@media (min-width: 769px) {
  .page-content {
    padding-top: 71px !important; /* 桌面端导航栏高度(56px) + 额外间距(15px) */
    padding-bottom: 20px !important;
  }
}

/* 移动端优化 */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }
  
  .page-header {
    margin-top: 0 !important;
  }
  
  .section-header {
    margin-top: 0 !important;
  }
  
  /* 移除所有页面头部的额外边距 */
  .dealer-header,
  .profile-header,
  .partner-header,
  .home-header,
  .stats-section,
  .action-section {
    margin-top: 0 !important;
  }
  
  /* 首页内容区域调整 */
  .stats-card,
  .action-card {
    margin-top: 15px !important;
  }

  /* 移动端页面内容调整 */
  .page-container {
    padding-top: 15px;
  }
}

/* 桌面端隐藏移动端导航 */
@media (min-width: 769px) {
  .mobile-header,
  .mobile-tabbar {
    display: none;
  }
}

/* 列表页面样式优化 */
.list-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(25, 137, 250, 0.1);
  position: relative;
  overflow: hidden;
}

.list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(25, 137, 250, 0.15);
}

.list-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  opacity: 0.8;
}

.list-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(25, 137, 250, 0.05) 50%);
  border-radius: 0 0 16px 0;
}

.list-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(25, 137, 250, 0.1);
}

.list-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1989fa, #39b9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.2);
}

.list-info {
  flex: 1;
}

.list-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.list-subtitle {
  font-size: 14px;
  color: #666;
}

.list-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.list-item {
  background: rgba(25, 137, 250, 0.03);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}

.list-item-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.list-item-value {
  font-size: 16px;
  font-weight: 600;
  color: #1989fa;
}

.list-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(25, 137, 250, 0.1);
}

.list-action-btn {
  flex: 1;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.list-action-btn.primary {
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.2);
}

.list-action-btn.secondary {
  background: rgba(25, 137, 250, 0.1);
  color: #1989fa;
  border: 1px solid rgba(25, 137, 250, 0.2);
}

.list-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.3);
}

/* 空状态样式 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(25, 137, 250, 0.1), rgba(57, 185, 250, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1989fa;
  font-size: 32px;
}

.empty-state-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.empty-state-action {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.2);
}

.empty-state-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(25, 137, 250, 0.3);
  color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .list-card {
    padding: 15px;
    margin-bottom: 12px;
  }

  .list-header {
    margin-bottom: 12px;
  }

  .list-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .list-title {
    font-size: 16px;
  }

  .list-subtitle {
    font-size: 13px;
  }

  .list-content {
    gap: 10px;
  }

  .list-item {
    padding: 10px;
  }

  .list-item-value {
    font-size: 14px;
  }

  .list-actions {
    flex-direction: column;
    gap: 8px;
  }

  .list-action-btn {
    width: 100%;
  }
}

/* 陪跑者列表样式 */
.dealer-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.dealer-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(25, 137, 250, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dealer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(25, 137, 250, 0.15);
}

.dealer-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(25, 137, 250, 0.1);
}

.dealer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  opacity: 0.8;
}

.dealer-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(25, 137, 250, 0.05) 50%);
  border-radius: 0 0 16px 0;
}

.dealer-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(25, 137, 250, 0.1);
}

.dealer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1989fa, #39b9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.2);
}

.dealer-info {
  flex: 1;
}

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

.dealer-id {
  font-size: 14px;
  color: #666;
}

.dealer-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.dealer-stat-item {
  background: rgba(25, 137, 250, 0.03);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}

.dealer-stat-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

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

.dealer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(25, 137, 250, 0.1);
  position: relative;
  z-index: 1;
}

.dealer-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 13px;
  color: #1989fa;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(25, 137, 250, 0.05);
  border: 1px solid rgba(25, 137, 250, 0.1);
  cursor: pointer;
}

.dealer-action-btn:hover {
  background: rgba(25, 137, 250, 0.1);
  color: #1989fa;
  transform: translateY(-1px);
}

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

.dealer-action-btn i {
  margin-right: 4px;
  font-size: 14px;
}

/* 空状态样式 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(25, 137, 250, 0.1), rgba(57, 185, 250, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1989fa;
  font-size: 32px;
}

.empty-state-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.empty-state-action {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(90deg, #1989fa, #39b9fa);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(25, 137, 250, 0.2);
}

.empty-state-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(25, 137, 250, 0.3);
  color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .dealer-list {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 15px;
  }

  .dealer-card {
    padding: 15px;
  }

  .dealer-header {
    margin-bottom: 12px;
  }

  .dealer-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .dealer-name {
    font-size: 16px;
  }

  .dealer-id {
    font-size: 13px;
  }

  .dealer-stats {
    gap: 10px;
  }

  .dealer-stat-item {
    padding: 10px;
  }

  .dealer-stat-value {
    font-size: 14px;
  }

  .dealer-actions {
    margin-top: 12px;
  }

  .dealer-action-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* 陪跑者详情页样式 */
.dealer-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.dealer-detail-header {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.dealer-detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #0dcaf0);
}

.dealer-detail-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.dealer-detail-name {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.dealer-detail-id {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.dealer-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.dealer-detail-stat {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.dealer-detail-stat:hover {
  transform: translateY(-2px);
}

.dealer-detail-stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 4px;
}

.dealer-detail-stat-label {
  font-size: 14px;
  color: #666;
}

.dealer-detail-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.dealer-detail-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.dealer-detail-section-title i {
  margin-right: 8px;
  color: #0d6efd;
}

.dealer-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.dealer-detail-info-item {
  display: flex;
  flex-direction: column;
}

.dealer-detail-info-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.dealer-detail-info-value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.dealer-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.dealer-detail-action-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dealer-detail-action-btn i {
  font-size: 18px;
}

.dealer-detail-action-btn.primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
  color: #fff;
  border: none;
}

.dealer-detail-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.dealer-detail-action-btn.secondary {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.dealer-detail-action-btn.secondary:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .dealer-detail {
    padding: 16px;
  }
  
  .dealer-detail-header {
    padding: 20px;
  }
  
  .dealer-detail-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .dealer-detail-name {
    font-size: 20px;
  }
  
  .dealer-detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dealer-detail-section {
    padding: 16px;
  }
  
  .dealer-detail-info {
    grid-template-columns: 1fr;
  }
  
  .dealer-detail-actions {
    flex-direction: column;
  }
  
  .dealer-detail-action-btn {
    width: 100%;
  }
} 