.upload-example-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  h2 {
    color: #1f2937;
    margin-bottom: 32px;
    text-align: center;
  }

  .config-selector {
    margin-bottom: 24px;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;

    h3 {
      margin: 0 0 16px 0;
      color: #374151;
      font-size: 18px;
    }

    .config-buttons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;

      .config-btn {
        padding: 12px 20px;
        border: 2px solid #e5e7eb;
        background-color: white;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 14px;
        font-weight: 500;

        &:hover {
          border-color: #3b82f6;
          background-color: #eff6ff;
        }

        &.active {
          border-color: #3b82f6;
          background-color: #3b82f6;
          color: white;
        }
      }
    }
  }

  .current-config {
    margin-bottom: 24px;
    padding: 16px;
    background-color: #ecfdf5;
    border-radius: 8px;
    border: 1px solid #d1fae5;

    h4 {
      margin: 0 0 12px 0;
      color: #065f46;
      font-size: 16px;
    }

    .config-details {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;

      .config-item {
        padding: 4px 12px;
        background-color: white;
        border-radius: 4px;
        font-size: 14px;
        color: #374151;
        border: 1px solid #d1fae5;
      }
    }
  }

  .upload-section {
    margin-bottom: 32px;
  }

  .upload-status {
    margin-bottom: 24px;
    text-align: center;

    .status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 24px;
      border-radius: 8px;
      font-weight: 500;

      &.uploading {
        background-color: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;

        .spinner {
          width: 20px;
          height: 20px;
          border: 2px solid #dbeafe;
          border-top: 2px solid #3b82f6;
          border-radius: 50%;
          animation: spin 1s linear infinite;
        }
      }
    }
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .upload-results {
    margin-bottom: 32px;

    .results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;

      h3 {
        margin: 0;
        color: #1f2937;
        font-size: 20px;
      }

      .clear-btn {
        padding: 8px 16px;
        background-color: #f3f4f6;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 14px;

        &:hover {
          background-color: #e5e7eb;
        }
      }
    }

    .results-grid {
      display: grid;
      gap: 16px;
      margin-bottom: 20px;

      .result-item {
        padding: 16px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        transition: all 0.2s ease;

        &.success {
          border-color: #d1fae5;
          background-color: #f0fdf4;

          .file-status {
            color: #059669;
          }
        }

        &.error {
          border-color: #fee2e2;
          background-color: #fef2f2;

          .file-status {
            color: #dc2626;
          }
        }

        &:hover {
          box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .file-info {
          .file-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;

            .file-status {
              font-weight: 600;
              font-size: 14px;
            }

            .file-index {
              color: #6b7280;
              font-size: 12px;
            }
          }

          .file-details {
            .file-name {
              margin: 0 0 8px 0;
              font-weight: 500;
              color: #1f2937;
              word-break: break-all;
            }

            .file-meta {
              margin: 0 0 8px 0;
              font-size: 14px;
              color: #6b7280;
            }

            .file-url {
              margin: 0;
              display: flex;
              align-items: center;
              gap: 8px;
              flex-wrap: wrap;

              a {
                color: #3b82f6;
                text-decoration: none;
                font-size: 14px;
                word-break: break-all;

                &:hover {
                  text-decoration: underline;
                }
              }

              .copy-btn {
                padding: 4px 8px;
                background-color: #f3f4f6;
                border: 1px solid #d1d5db;
                border-radius: 4px;
                cursor: pointer;
                font-size: 12px;
                transition: all 0.2s ease;

                &:hover {
                  background-color: #e5e7eb;
                }
              }
            }
          }

          .error-details {
            .error-message {
              margin: 0;
              color: #dc2626;
              font-size: 14px;
            }
          }
        }
      }
    }

    .results-summary {
      display: flex;
      gap: 16px;
      padding: 16px;
      background-color: #f9fafb;
      border-radius: 8px;
      border: 1px solid #e5e7eb;

      .summary-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;

        .summary-label {
          font-size: 14px;
          color: #6b7280;
          margin-bottom: 4px;
        }

        .summary-value {
          font-size: 24px;
          font-weight: 600;
          color: #1f2937;
        }

        &.success .summary-value {
          color: #059669;
        }

        &.error .summary-value {
          color: #dc2626;
        }
      }
    }
  }

  .usage-notes {
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;

    h3 {
      margin: 0 0 16px 0;
      color: #1e293b;
      font-size: 18px;
    }

    ul {
      margin: 0;
      padding-left: 20px;

      li {
        margin-bottom: 8px;
        color: #475569;
        line-height: 1.6;

        strong {
          color: #1e293b;
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .upload-example-container {
    padding: 16px;

    .config-selector {
      .config-buttons {
        flex-direction: column;

        .config-btn {
          width: 100%;
        }
      }
    }

    .current-config {
      .config-details {
        flex-direction: column;
        gap: 8px;

        .config-item {
          text-align: center;
        }
      }
    }

    .upload-results {
      .results-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;

        h3 {
          text-align: center;
        }

        .clear-btn {
          width: 100%;
        }
      }

      .results-summary {
        flex-direction: column;
        gap: 12px;

        .summary-item {
          flex-direction: row;
          justify-content: space-between;
        }
      }
    }
  }
}