body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #333333;
}

.font-logo {
  font-family: 'Pacifico', cursive;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-pending {
  background-color: #FEF3C7;
  color: #92400E;
}

.status-approved {
  background-color: #D1FAE5;
  color: #065F46;
}

.status-rejected {
  background-color: #FEE2E2;
  color: #991B1B;
}

.status-processing {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.status-completed {
  background-color: #D1FAE5;
  color: #065F46;
}

.status-paid {
  background-color: #D1FAE5;
  color: #065F46;
}

.status-incomplete {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.status-terminated {
  background-color: #FEE2E2;
  color: #991B1B;
}

.invoice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.invoice-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background-color: #F3F4F6;
  position: relative;
  cursor: pointer;
}

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

.invoice-item .delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.timeline-node {
  position: relative;
  padding-left: 24px;
  margin-bottom: 24px;
}

.timeline-node:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4F46E5;
}

.timeline-node:after {
  content: '';
  position: absolute;
  left: 11px;
  top: 20px;
  width: 2px;
  height: calc(100% + 4px);
  background-color: #E5E7EB;
}

.timeline-node:last-child:after {
  display: none;
}

.chart-container {
  height: 200px;
}

.fab-button {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #4F46E5;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
}

.fab-button:hover {
  background-color: #4338CA;
}

.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin: -56px -16px 0;
}

.logo-section {
  margin-bottom: 100px;
}

.form-section {
  width: 100%;
  max-width: 400px;
}

.input-group {
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.input {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  background: #ffffff;
  border: none;
  outline: none;
}

.login-btn {
  width: 100%;
  height: 48px;
  background: #007AFF;
  color: #ffffff;
  border-radius: 12px;
  font-size: 16px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.login-btn:hover {
  background: #0056CC;
}

.login-btn:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF3B30;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

#notification-icon {
  position: relative;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999999;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999999;
}

.loading i {
  font-size: 32px;
  margin-bottom: 12px;
}

/* 机票预订新UI样式 */
.trip-type-tab {
  transition: all 0.3s ease;
}

#city-selector-modal {
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

#city-index-bar {
  z-index: 60;
  padding-right: 4px;
}

.cabin-btn {
  transition: all 0.2s ease;
}

.cabin-btn:active {
  transform: scale(0.95);
}

/* 日期选择器样式 */
#date-selector-modal {
  animation: slideUp 0.3s ease-out;
}

.date-mode-tab {
  padding: 8px 16px;
  font-size: 14px;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.date-mode-tab.active {
  color: #333;
  border-bottom-color: #333;
  font-weight: 500;
}

#calendar-container {
  padding: 8px 0;
}

#calendar-container .grid {
  gap: 2px;
}

#calendar-container .min-h-\[60px\] {
  min-height: 60px;
  position: relative;
  border-radius: 8px;
  transition: all 0.2s;
}

#calendar-container .min-h-\[60px\]:active {
  transform: scale(0.95);
}

#calendar-container .bg-yellow-400 {
  background-color: #facc15;
}

#calendar-container .bg-yellow-100 {
  background-color: #fef3c7;
}

#date-summary {
  color: #333;
}

#total-price {
  color: #f59e0b;
}

/* 航班详情页样式 */
.cabin-type-tab {
  transition: all 0.2s;
}

.cabin-type-tab.active {
  border-bottom-color: #f97316 !important;
  color: #f97316 !important;
}

.cabin-type-tab:not(.active) {
  border-bottom-color: transparent;
  color: #6b7280;
}
