.doctor-order-confirm {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px;

  // 页面提示
  .confirm-tip {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;

    .tip-text {
      font-size: 14px;
      color: #059669;
      font-weight: 500;
    }
  }

  // 加载状态
  .order-confirm-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 14px;
    color: #999;
  }

  // 分组样式
  .section-group {
    margin-bottom: 10px;
    background: #fff;

    .nut-cell-group__title {
      padding: 12px 16px;
      font-size: 15px;
      font-weight: 600;
      color: #1f2937;
    }
  }

  // 患者信息
  .patient-info {
    display: flex;
    gap: 16px;
    padding: 4px 0;

    .patient-detail {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;

      .patient-name {
        display: flex;
        align-items: center;
        gap: 8px;

        .name {
          font-size: 16px;
          font-weight: 600;
          color: #111827;
        }
      }

      .patient-phone {
        font-size: 14px;
        color: #6b7280;
      }

      .patient-extra {
        display: flex;
        gap: 16px;
        font-size: 13px;
        color: #9ca3af;

        .age, .idcard {
          font-size: 13px;
        }
      }
    }
  }

  // 诊断信息
  .diagnosis-content,
  .treatment-content,
  .decoction-content {
    padding: 8px 0;

    .content-text {
      font-size: 14px;
      color: #374151;
      line-height: 1.6;
      white-space: pre-wrap;
      word-break: break-all;
    }
  }

  // 处方信息
  .prescription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;

    .prescription-type {
      font-size: 15px;
      font-weight: 600;
      color: #059669;
    }
  }

  // 药品列表
  .medicine-list {
    padding: 8px 0;

    .medicine-item {
      padding: 12px 16px;
      border-bottom: 1px solid #f3f4f6;

      &:last-child {
        border-bottom: none;
      }

      .medicine-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;

        .medicine-name {
          font-size: 15px;
          font-weight: 500;
          color: #111827;
        }

        .medicine-price {
          font-size: 15px;
          font-weight: 600;
          color: #dc2626;
        }
      }

      .medicine-sub {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .medicine-spec {
          font-size: 13px;
          color: #6b7280;
        }

        .medicine-subtotal {
          font-size: 13px;
          color: #9ca3af;
        }
      }
    }
  }

  // 图片画廊
  .image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 0;

    .image-item {
      position: relative;
      width: 100%;
      padding-bottom: 100%; // 1:1 aspect ratio
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid #e5e7eb;

      img, image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

  // 费用明细
  .price-text {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
  }

  .total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;

    .total-label {
      font-size: 15px;
      font-weight: 600;
      color: #111827;
    }

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

  // 温馨提示
  .warm-tips {
    margin: 12px 16px;
    padding: 16px;
    background: #fffbeb;
    border-radius: 8px;
    border: 1px solid #fef3c7;

    .tips-title {
      display: block;
      font-size: 14px;
      font-weight: 600;
      color: #d97706;
      margin-bottom: 8px;
    }

    .tips-item {
      display: block;
      font-size: 13px;
      color: #92400e;
      line-height: 1.8;
      margin-bottom: 4px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  // 底部操作栏
  .fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px 24px;
    z-index: 999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);

    .bottom-price {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-bottom: 12px;

      .price-label {
        font-size: 14px;
        color: #6b7280;
      }

      .price-value {
        font-size: 22px;
        font-weight: 700;
        color: #dc2626;
        margin-left: 4px;
      }
    }

    .bottom-actions {
      display: flex;
      gap: 12px;

      .nut-button {
        flex: 1;
      }
    }
  }
}
