.deployment-config-modal {
  .ant-modal-body {
    padding: 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .config-section {
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 24px;

    &:last-child {
      margin-bottom: 0;
    }

    .ant-card-body {
      padding: 20px;
    }

    .section-header {
      margin-bottom: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid #f0f0f0;

      .section-icon {
        font-size: 18px;
        color: #1890ff;
      }

      .section-title {
        font-size: 16px;
        font-weight: 500;
        color: #262626;
      }
    }

    .section-content {
      .ant-form-item {
        margin-bottom: 16px;

        &:last-child {
          margin-bottom: 0;
        }

        .ant-form-item-label {
          padding-bottom: 8px;

          label {
            color: #262626;
            font-weight: 500;
          }
        }

        .ant-input,
        .ant-select-selector,
        .ant-input-number {
          border-radius: 4px;

          &:hover,
          &:focus {
            border-color: #1890ff;
          }
        }

        .ant-switch {
          background: rgba(0, 0, 0, 0.25);

          &-checked {
            background: #1890ff;
          }
        }
      }
    }
  }

  // Schema表单样式优化
  .ant-form-item-extra {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }

  .ant-form-item-with-help {
    margin-bottom: 24px;
  }

  // 必填项标记样式
  .ant-form-item-required::before {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: '*';
  }

  .monaco-editor {
    border-radius: 2px;
    border: 1px solid #d9d9d9;
  }
}

.fullscreen-modal {
  :global {
    .ant-modal {
      max-width: 100vw;
      margin: 0;
      padding: 0;
      top: 0 !important;
    }
    .ant-modal-content {
      height: 100vh;
      border-radius: 0;
    }
  }
} 