.skeleton-page-container {
  padding: 24px;
  min-height: 100vh;
  background: #f5f5f5;

  .skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);

    .skeleton-header-actions {
      display: flex;
      gap: 8px;
    }
  }

  .skeleton-content {
    .skeleton-filter-bar {
      display: flex;
      align-items: center;
      margin-bottom: 16px;
      padding: 16px 24px;
      background: white;
      border-radius: 6px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    .skeleton-table-card {
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }
  }
}

.skeleton-table-container {
  padding: 16px;

  .skeleton-table-header {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
  }

  .skeleton-table-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;

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

.skeleton-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 16px;

  .skeleton-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  }
}

.skeleton-form-container {
  padding: 24px;

  .skeleton-form-title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .skeleton-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;

    .skeleton-form-label {
      width: 120px;
      margin-right: 16px;
    }

    .skeleton-form-control {
      flex: 1;
    }
  }

  .skeleton-form-actions {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
  }
}

// 骨架屏动画优化
.ant-skeleton-element {
  .ant-skeleton-input {
    border-radius: 4px;
  }

  .ant-skeleton-button {
    border-radius: 4px;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .skeleton-page-container {
    padding: 12px;

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

      .skeleton-header-actions {
        justify-content: center;
      }
    }

    .skeleton-content {
      .skeleton-filter-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;

        .ant-skeleton-input {
          width: 100% !important;
        }
      }
    }
  }

  .skeleton-card-container {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .skeleton-form-container {
    padding: 12px;

    .skeleton-form-row {
      flex-direction: column;
      align-items: stretch;

      .skeleton-form-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
      }
    }
  }
}