.breakpoint-container {
  padding: 16px;

  .upload-section {
    margin-bottom: 24px;

    .section-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #f0f0f0;
    }

    .button-container {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px;
    }

    .file-upload-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;
      height: 32px;
      background: #1890ff;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        background: #40a9ff;
      }

      input {
        display: none;
      }
    }

    .upload-tip {
      font-size: 12px;
      color: #999;
      margin-top: 8px;
    }
  }

  .file-list {
    margin-top: 16px;

    .file-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      background: #fafafa;
      border-radius: 4px;
      margin-bottom: 8px;

      .file-icon {
        font-size: 16px;
        color: #1890ff;
      }

      .file-name {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .percentage {
        width: 50px;
        text-align: right;
        color: #1890ff;
        font-weight: 500;
      }

      .progress-bar {
        width: 100%;
        margin-top: 4px;
      }
    }
  }

  .tips {
    margin-top: 24px;
    padding: 12px 16px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
  }
}

// 暗色主题适配
.ant-layout-content[data-theme='dark'] {
  .breakpoint-container {
    .upload-section {
      .section-title {
        border-color: #303030;
      }
    }

    .file-list {
      .file-item {
        background: #262626;
      }
    }

    .tips {
      background: #2b2111;
      border-color: #594214;
    }
  }
}
