.ai-generator-modal {
  .ant-modal-body {
    padding-bottom: 0;
  }

  .ant-modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 24px;

    .ant-modal-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 18px;
      font-weight: 600;

      .anticon {
        color: #722ed1;
      }
    }
  }

  .ai-generator-content {
    padding: 8px 0 16px;

    .ant-typography {
      display: block;
      margin-bottom: 16px;
    }

    .ai-generator-textarea {
      margin-bottom: 16px;

      &.ant-input {
        resize: none;
      }
    }

    .ai-generator-limitations {
      margin-bottom: 16px;
    }

    .ai-generator-examples {
      margin-bottom: 24px;
      padding: 16px;
      background: #fafafa;
      border-radius: 8px;

      .ant-typography {
        margin-bottom: 12px;
        font-size: 13px;
      }

      .example-prompts {
        display: flex;
        flex-direction: column;
        gap: 8px;

        .ant-btn {
          text-align: left;
          white-space: normal;
          height: auto;
          padding: 8px 12px;

          &:hover {
            border-color: #722ed1;
            color: #722ed1;
          }
        }
      }
    }

    .ai-generator-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid #f0f0f0;

      .ant-btn-primary {
        background: #722ed1;
        border-color: #722ed1;

        &:hover {
          background: #9254de;
          border-color: #9254de;
        }

        &:disabled {
          background: #d9d9d9;
          border-color: #d9d9d9;
        }
      }
    }
  }

  .ai-generator-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    margin: 0 -24px;
    margin-top: 16px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;

    .powered-by-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: rgba(0, 0, 0, 0.45);
      text-decoration: none;
      transition: color 0.2s;

      &:hover {
        color: #1890ff;
      }

      .anticon {
        font-size: 12px;
      }
    }
  }
}
