.coach-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: system-ui, -apple-system, sans-serif;
  }
  
  .coach-chat-fab {
    background-color: #0f172a;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 14px 24px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s;
  }
  
  .coach-chat-fab:hover {
    transform: scale(1.05);
  }
  
  .coach-chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }
  
  .coach-chat-window.hidden {
    display: none;
  }
  
  .coach-chat-header {
    background: #0f172a;
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
  }
  
  .coach-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .message {
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .ai-message {
    background: #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
  }
  
  .user-message {
    background: #3b82f6;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
  }
  
  .coach-chat-input-area {
    display: flex;
    padding: 12px;
    background: white;
    border-top: 1px solid #e2e8f0;
  }
  
  .coach-chat-input-area input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
  }
  
  .coach-chat-input-area button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0 16px;
    margin-left: 8px;
    cursor: pointer;
    font-weight: 500;
  }