.app-preview-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #22223b;
}

.phone-frame {
  position: relative;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 25px;
  height: 500px;
  overflow: hidden;
  position: relative;
  border: 1px solid #0f0f15;
}

.screen-header {
  padding: 15px;
  background: rgba(10, 10, 20, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #22223b;
}

.screen-title {
  color: #4a6cf7;
  font-weight: 600;
  font-size: 18px;
}

.status-bar {
  display: flex;
  gap: 5px;
}

.status-bar div {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a6cf7;
}

.navigation {
  display: flex;
  justify-content: space-around;
  padding: 15px;
  background: rgba(10, 10, 20, 0.7);
  border-top: 1px solid #22223b;
}

.nav-item {
  text-align: center;
  color: #b0b0c0;
  font-size: 12px;
}

.nav-item.active {
  color: #4a6cf7;
}

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

.content-area {
  padding: 20px;
  margin-bottom: 80px; /* 为底部导航留出空间 */
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.invoice-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.invoice-number {
  color: #b0b0c0;
  font-size: 14px;
}

.customer-info {
  background: rgba(74, 108, 247, 0.1);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(74, 108, 247, 0.3);
}

.customer-name {
  color: white;
  font-weight: 600;
  margin-bottom: 5px;
}

.customer-phone {
  color: #b0b0c0;
  font-size: 14px;
  margin-bottom: 5px;
}

.customer-address {
  color: #b0b0c0;
  font-size: 14px;
}

.invoice-items {
  margin-bottom: 20px;
}

.item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #22223b;
}

.item-name {
  color: white;
}

.item-details {
  text-align: right;
}

.item-price {
  color: #4a6cf7;
  font-weight: 600;
}

.item-quantity {
  color: #b0b0c0;
  font-size: 14px;
}

.invoice-total {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: rgba(74, 108, 247, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(74, 108, 247, 0.3);
}

.total-label {
  color: white;
  font-weight: 600;
}

.total-amount {
  color: #4a6cf7;
  font-weight: 700;
  font-size: 20px;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #4a6cf7, #6a4ff7);
  color: white;
  border: none;
}

.btn-secondary {
  background: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  border: 1px solid rgba(74, 108, 247, 0.3);
}