.hardware-error-tip {
  display: flex;
  flex-direction: column;

  .main-content {
    margin-top: 16px;
    flex: 1;
    overflow: hidden;

    .pisell-lowcode-card-body {
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow: hidden;
    }

    .pisell-lowcode-tabs {
      flex: 1;
      overflow: hidden;
    }

    .pisell-lowcode-tabs-content,
    .pisell-lowcode-tabs-tabpane {
      height: 100%;
    }

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

      h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #262626;
      }

      .controls {
        display: flex;
        align-items: center;
      }
    }

    .logs-search-export-bar {
      margin-top: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .error-list,
    .log-list {
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 12px;
      overflow-y: auto;
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .hardware-error-tip {
    .error-tip-details {
      > header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        .right-area {
          width: 100%;
          justify-content: flex-start;
        }
      }
    }

    .log-controls {
      flex-direction: column;
      align-items: stretch;

      .ant-input {
        margin-right: 0 !important;
        margin-bottom: 8px;
      }
    }

    .content-area {
      padding: 12px;
    }
  }
}
