/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&id=f01c43d6&prod&lang=css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: all 0.3s ease;
}

/* 深色模式 */
#app.dark-mode {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* 主题切换按钮 */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.theme-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.theme-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.dark-mode .theme-btn {
  background: rgba(0, 0, 0, 0.3);
}
.dark-mode .theme-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}
.theme-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}
.theme-btn:hover .theme-icon {
  transform: rotate(180deg);
}

/* 下拉刷新容器 */
.pull-to-refresh-container {
  position: relative;
  overflow: hidden;
}

/* 下拉刷新指示器 */
.pull-to-refresh-indicator {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.pull-to-refresh-indicator.visible {
  transform: translateY(60px);
}
.pull-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
}
.pull-arrow {
  font-size: 20px;
  animation: bounce 1s infinite;
  transition: transform 0.3s ease;
}
.pull-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
}
40% {
    transform: translateY(-5px);
}
60% {
    transform: translateY(-3px);
}
}

/* 公告栏样式优化 */
.announcement {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: none;
  border-radius: 0 0 20px 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #667eea;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

/* 加载动画优化 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}
.loading-animation {
  text-align: center;
  color: white;
}
.loader {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.loading-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
}
@keyframes spin {
0% { transform: rotate(0deg);
}
100% { transform: rotate(360deg);
}
}

/* 主容器 */
.main-container {
  padding: 0 1rem 2rem;
}

/* 网格布局 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* 卡片基础样式 */
.card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 深色模式卡片 */
.dark-mode .card {
  background: rgba(25, 25, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 深色模式文字 */
.dark-mode .card-title,
.dark-mode .vehicle-id {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 深色模式状态消息 */
.dark-mode .status-message {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.dark-mode .status-message.status-available {
  background: rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.5);
  color: #81c784 !important;
}
.dark-mode .status-message.status-busy {
  background: rgba(255, 235, 59, 0.3);
  border-color: rgba(255, 235, 59, 0.5);
  color: #fff176 !important;
}
.dark-mode .status-message.status-limited {
  background: rgba(244, 67, 54, 0.3);
  border-color: rgba(244, 67, 54, 0.5);
  color: #e57373 !important;
}

/* 深色模式公告栏 */
.dark-mode .announcement {
  background: rgba(25, 25, 40, 0.9);
  color: #ffffff;
  border-left-color: #667eea;
}

/* 深色模式下的加载和错误文字 */
.dark-mode .status-loading .status-title,
.dark-mode .status-loading .status-subtitle,
.dark-mode .status-error .status-title {
  color: #ffffff;
}
.dark-mode .loading-text {
  color: #ffffff;
}

/* 深色模式下的按钮文字 */
.dark-mode .retry-btn {
  background: #f44336;
  color: #ffffff;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Plus卡片特殊样式 */
.plus-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 235, 0.95) 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.plus-card::before {
  background: linear-gradient(90deg, #ffd700, #ff6b35);
}

/* 卡片头部 */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* 徽章样式 */
.plus-badge, .normal-badge, .team-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.plus-badge {
  background: linear-gradient(135deg, #ffd700, #ff6b35);
}
.plus-badge:hover {
  background: linear-gradient(135deg, #ffed4a, #ff8f65);
  transform: scale(1.05);
}
.team-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.team-badge:hover {
  background: linear-gradient(135deg, #7c8df0, #8b5fbf);
  transform: scale(1.05);
}
.normal-badge {
  background: linear-gradient(135deg, #00d4aa, #00a085);
}
.normal-badge:hover {
  background: linear-gradient(135deg, #26de81, #20bf6b);
  transform: scale(1.05);
}

/* 深色模式下的徽章样式 */
.dark-mode .plus-badge {
  background: linear-gradient(135deg, #ffb300, #ff7043);
  box-shadow: 0 2px 12px rgba(255, 179, 0, 0.4);
}
.dark-mode .team-badge {
  background: linear-gradient(135deg, #5c6bc0, #7e57c2);
  box-shadow: 0 2px 12px rgba(92, 107, 192, 0.4);
}
.dark-mode .normal-badge {
  background: linear-gradient(135deg, #00acc1, #00838f);
  box-shadow: 0 2px 12px rgba(0, 172, 193, 0.4);
}

/* 状态指示器 - 已删除，因为状态信息在图片中 */

/* 卡片主体 */
.card-body {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* 车辆ID主标题 */
.vehicle-id {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* 图片容器 - 移除，替换为状态信息 */

/* 状态信息容器 */
.status-container {
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  margin-bottom: 1rem;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.status-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.3;
}

/* 根据状态类型添加主题色 */
.status-container[data-status="available"] {
  background: linear-gradient(135deg, #e8f5e8, #d4edda);
  color: #28a745;
}
.dark-mode .status-container[data-status="available"] {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
  color: #4caf50;
}
.status-container[data-status="busy"] {
  background: linear-gradient(135deg, #fff9c4, #ffeb3b);
  color: #f57f17;
}
.dark-mode .status-container[data-status="busy"] {
  background: linear-gradient(135deg, rgba(255, 235, 59, 0.25), rgba(255, 235, 59, 0.15));
  color: #ffeb3b;
}
.status-container[data-status="limited"] {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #dc3545;
}
.dark-mode .status-container[data-status="limited"] {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
  color: #f44336;
}
.status-container[data-status="error"] {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #dc3545;
}
.dark-mode .status-container[data-status="error"] {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
  color: #f44336;
}
.status-container[data-status="loading"] {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #2196f3;
}
.dark-mode .status-container[data-status="loading"] {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.1));
  color: #2196f3;
}

/* 状态显示区域 */
.status-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* 状态消息 */
.status-message {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  word-wrap: break-word;
}
.status-message.status-available {
  background: rgba(40, 167, 69, 0.15);
  color: #155724;
  border-color: rgba(40, 167, 69, 0.3);
}
.status-message.status-busy {
  background: rgba(255, 235, 59, 0.2);
  color: #f57f17;
  border-color: rgba(255, 235, 59, 0.4);
}
.status-message.status-limited {
  background: rgba(220, 53, 69, 0.15);
  color: #721c24;
  border-color: rgba(220, 53, 69, 0.3);
}

/* 分段进度条容器 */
.progress-container {
  width: 100%;
  max-width: 120px;
}
.progress-segments {
  display: flex;
  gap: 3px;
  width: 100%;
}
.progress-segment {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.progress-segment.active {
  position: relative;
}
.progress-segment.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent);
  animation: segmentShine 2s infinite;
}
.progress-segment.active.status-available {
  background: linear-gradient(90deg, #28a745, #20c997);
}
.progress-segment.active.status-busy {
  background: linear-gradient(90deg, #ffeb3b, #fdd835);
}
.progress-segment.active.status-limited {
  background: linear-gradient(90deg, #dc3545, #e74c3c);
}
@keyframes segmentShine {
0% {
    left: -100%;
}
50% {
    left: 0%;
}
100% {
    left: 100%;
}
}

/* 倒计时显示 */
.countdown-display {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  color: inherit;
}

/* 状态加载中 */
.status-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 14px;
}
.status-loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(108, 117, 125, 0.2);
  border-top: 2px solid #6c757d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 状态错误显示 */
.status-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #dc3545;
  font-size: 13px;
}
.status-error .error-icon {
  font-size: 20px;
}
.retry-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.retry-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* 优化卡片悬停效果 */
.card:hover .status-container {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: inset 0 2px 8px rgba(102, 126, 234, 0.1);
}

/* 卡片底部 */
.card-footer {
  display: flex;
  justify-content: center;
}
.access-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}
.access-btn::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;
}
.access-btn:hover::before {
  left: 100%;
}
.access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.access-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* 装饰性元素 */
.card-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

/* 加载更多指示器 */
.load-more-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}
.loader-small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 没有更多数据提示 */
.no-more-data {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
.grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
}
.announcement {
    margin: 0 0.5rem 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
}
.card {
    padding: 1.25rem;
}
.card-title {
    font-size: 1.1rem;
}
.vehicle-id {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.status-container {
    min-height: 70px;
    padding: 0.8rem;
}
.status-message {
    font-size: 12px;
    padding: 6px 12px;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
.grid-container {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1025px) {
.grid-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
}

/* 优化滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

