/* 实验创建页面样式 */
.experiment-create-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

/* 头部区域 - 固定在顶部 */
.experiment-create-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 内容区域 - 可滚动 */
.experiment-create-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* 底部区域 - 固定在底部 */
.experiment-create-footer {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background-color: #fff;
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.experiment-create-page .ant-card {
  border-radius: 8px;
  margin-bottom: 24px;
}

.experiment-create-page .ant-card-head {
  border-bottom: 1px solid #f0f0f0;
}

.experiment-create-page .ant-card-head-title {
  font-size: 16px;
  font-weight: 600;
}

.experiment-create-page .ant-form-item-label > label {
  font-weight: 500;
}

.experiment-create-page .ant-input,
.experiment-create-page .ant-select-selector {
  border-radius: 6px;
}

.experiment-create-page .ant-btn {
  border-radius: 6px;
}

.experiment-create-page .ant-btn-primary {
  background-color: #1677ff !important;
  border-color: #1677ff !important;
}

.experiment-create-page .ant-btn-primary:hover {
  background-color: #4096ff !important;
  border-color: #4096ff !important;
}

/* 表单项间距调整 */
.experiment-create-page .ant-form-item {
  margin-bottom: 20px;
}

.experiment-create-page .ant-form-item:last-child {
  margin-bottom: 0;
}

/* 卡片内容样式 */
.experiment-create-page .ant-card-body {
  padding: 24px;
}

/* 描述文字样式 */
.experiment-create-page .text-gray-600 {
  color: #666;
  margin-bottom: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .experiment-create-page .flex {
    flex-direction: column;
    gap: 12px;
  }
  
  .experiment-create-page .justify-end {
    justify-content: flex-start;
  }
  
  .experiment-create-page .ant-card {
    margin-bottom: 16px;
  }
}

/* 附加配置区域样式 */
.experiment-create-page .border-t {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.experiment-create-page h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
}

/* 网格布局优化 */
.experiment-create-page .grid {
  display: grid;
}

.experiment-create-page .grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.experiment-create-page .grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experiment-create-page .grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experiment-create-page .gap-4 {
  gap: 1rem;
}

@media (min-width: 768px) {
  .experiment-create-page .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .experiment-create-page .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  
  .experiment-create-header,
  .experiment-create-content,
  .experiment-create-footer {
    padding: 16px;
  }
}