  /* Modal Overlay */
  .ai-botkit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    z-index: 9999;
    overflow-y: auto;
  }
  
  /* Modal Box */
  .ai-botkit-kb-modal {
    background: white;
    max-width: 32rem;
    margin: 5% auto;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .ai-botkit-modal-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .ai-botkit-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .ai-botkit-modal-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
  }
  
  .ai-botkit-modal-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .ai-botkit-modal-footer {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid #e5e7eb;
  }

  .ai-botkit-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ai-botkit-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .ai-botkit-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
  }
  
  .ai-botkit-form-group input,
  .ai-botkit-form-group textarea {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
  }
  .ai-botkit-btn-outline {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
  }
  .ai-botkit-btn,
  .ai-botkit-btn-sm {
    background-color: #f8fafc;
    color: black;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    cursor: pointer;
  }
  .ai-botkit-btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    background: #008858;
    color: #fff;
  }
  .ai-botkit-btn-primary:hover {
    background: #0E594D;
  }
  .ai-botkit-deactivation-reason-textarea {
    display: none;
  }
  .ai-botkit-deactivation-reason-error {
    display: none;
    color: red;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
  }
  