.passenger-management {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding-bottom: 40rpx;
}

/* 顶部操作栏 */
.header-actions {
  padding: 32rpx;
  background: #fff;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
}

.search-section {
  margin-bottom: 24rpx;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 194, 0.1);
  border: 2rpx solid rgba(74, 144, 194, 0.2);
  border-radius: 50rpx;
  padding: 20rpx 32rpx;
  font-size: 28rpx;
  color: #4A90C2;
  transition: all 0.3s ease;
}

.search-btn:active {
  background: rgba(74, 144, 194, 0.15);
  transform: scale(0.98);
}

.search-icon {
  font-size: 32rpx;
  margin-right: 12rpx;
}

.search-text {
  font-weight: 500;
}

.search-bar {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20rpx);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-input {
  width: 100%;
  padding: 24rpx 32rpx;
  background: #f8f9fa;
  border: 2rpx solid #e9ecef;
  border-radius: 50rpx;
  font-size: 28rpx;
  color: #333;
  box-sizing: border-box;
}

/* 乘车人列表 */
.passenger-list {
  padding: 0 32rpx;
  margin-top: 24rpx;
}

.empty-state {
  text-align: center;
  padding: 120rpx 40rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24rpx;
  margin: 40rpx 0;
  backdrop-filter: blur(10rpx);
  border: 1rpx solid rgba(255, 255, 255, 0.3);
}

.empty-icon {
  font-size: 120rpx;
  margin-bottom: 24rpx;
  opacity: 0.6;
}

.empty-text {
  font-size: 32rpx;
  color: #666;
  margin-bottom: 12rpx;
  font-weight: 600;
}

.empty-desc {
  font-size: 26rpx;
  color: #999;
  line-height: 1.4;
}

.passenger-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24rpx;
  margin-bottom: 24rpx;
  padding: 32rpx;
  box-shadow: 0 8rpx 32rpx rgba(74, 144, 194, 0.12);
  backdrop-filter: blur(16rpx);
  border: 1rpx solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.passenger-card:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 20rpx rgba(74, 144, 194, 0.08);
}

.passenger-info {
  margin-bottom: 24rpx;
}

.passenger-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16rpx;
}

.passenger-name {
  font-size: 34rpx;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.5rpx;
}

.passenger-type {
  font-size: 24rpx;
  color: #4A90C2;
  background: rgba(74, 144, 194, 0.1);
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  font-weight: 500;
}

.passenger-details {
  background: rgba(74, 144, 194, 0.05);
  border-radius: 16rpx;
  padding: 20rpx;
  border: 1rpx solid rgba(74, 144, 194, 0.1);
}

.passenger-id {
  font-size: 28rpx;
  color: #555;
  margin-bottom: 8rpx;
  font-family: 'Courier New', monospace;
  letter-spacing: 1rpx;
}

.passenger-phone {
  font-size: 28rpx;
  color: #666;
  font-family: 'Courier New', monospace;
  letter-spacing: 1rpx;
}

.passenger-actions {
  display: flex;
  gap: 16rpx;
  justify-content: flex-end;
}

.action-btn {
  padding: 16rpx 28rpx;
  border-radius: 50rpx;
  font-size: 26rpx;
  font-weight: 600;
  border: none;
  min-width: 120rpx;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5rpx;
}

.edit-btn {
  background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  color: #fff;
  box-shadow: 0 4rpx 16rpx rgba(74, 144, 194, 0.3);
}

.edit-btn:active {
  transform: translateY(1rpx);
  box-shadow: 0 2rpx 8rpx rgba(74, 144, 194, 0.2);
}

.delete-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #ff4d4f;
  border: 2rpx solid #ff4d4f;
  box-shadow: 0 2rpx 8rpx rgba(255, 77, 79, 0.2);
}

.delete-btn:active {
  background: rgba(255, 77, 79, 0.05);
  transform: translateY(1rpx);
}

/* 添加按钮 */
.add-section {
  position: fixed;
  bottom: 40rpx;
  left: 32rpx;
  right: 32rpx;
  z-index: 100;
}

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  color: #fff;
  border: none;
  border-radius: 50rpx;
  padding: 28rpx;
  font-size: 32rpx;
  font-weight: bold;
  box-shadow: 0 8rpx 32rpx rgba(74, 144, 194, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1rpx;
}

.add-btn:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 20rpx rgba(74, 144, 194, 0.3);
}

.add-icon {
  font-size: 36rpx;
  margin-right: 12rpx;
}

/* 模态框 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background: #fff;
  border-radius: 24rpx;
  width: calc(100% - 64rpx);
  max-width: 640rpx;
  max-height: 80vh;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40rpx);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32rpx;
  border-bottom: 1rpx solid #f0f0f0;
  background: rgba(74, 144, 194, 0.05);
}

.modal-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #2c3e50;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 32rpx;
  color: #999;
  padding: 8rpx;
  line-height: 1;
}

.form-content {
  padding: 32rpx;
  max-height: 60vh;
  overflow-y: auto;
}

.form-item {
  margin-bottom: 32rpx;
}

.form-label {
  font-size: 28rpx;
  color: #555;
  margin-bottom: 12rpx;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 24rpx;
  background: #f8f9fa;
  border: 2rpx solid #e9ecef;
  border-radius: 16rpx;
  font-size: 28rpx;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #4A90C2;
  background: #fff;
}

.form-picker {
  padding: 24rpx;
  background: #f8f9fa;
  border: 2rpx solid #e9ecef;
  border-radius: 16rpx;
  font-size: 28rpx;
  color: #333;
}

.modal-actions {
  display: flex;
  padding: 24rpx 32rpx 32rpx;
  gap: 16rpx;
  border-top: 1rpx solid #f0f0f0;
  background: rgba(74, 144, 194, 0.02);
}

.modal-btn {
  flex: 1;
  padding: 24rpx;
  border-radius: 50rpx;
  font-size: 28rpx;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.cancel-btn {
  background: #f8f9fa;
  color: #666;
  border: 2rpx solid #e9ecef;
}

.cancel-btn:active {
  background: #e9ecef;
}

.confirm-btn {
  background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  color: #fff;
  box-shadow: 0 4rpx 16rpx rgba(74, 144, 194, 0.3);
}

.confirm-btn:active {
  transform: translateY(1rpx);
  box-shadow: 0 2rpx 8rpx rgba(74, 144, 194, 0.2);
}

