/* assets/chat.css */
#aap-chat-icon {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #1db954;
    border: none;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    z-index: 99999;
  }
  
  #aap-chat-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 22px;
    width: 360px;
    height: 500px;
    background: #0f0f0f;
    color: #eaeaea;
    border-radius: 12px;
    flex-direction: column;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    overflow: hidden;
    font-family: Arial, sans-serif;
  }
  
  #aap-header {
    background: #121212;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  
  #aap-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.4;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  }
  
  .aap-msg { margin-bottom: 12px; }
  .aap-user { text-align: right; }
  .aap-assistant { text-align: left; }
  
  .aap-msg-text { display:inline-block; padding:8px 12px; border-radius:12px; max-width:78%; }
  .aap-user .aap-msg-text { background: #1db954; color: #fff; }
  .aap-assistant .aap-msg-text { background: rgba(255,255,255,0.06); color: #fff; }
  
  #aap-input {
    width: calc(100% - 24px);
    margin: 8px 12px;
    height: 70px;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.04);
    color: #fff;
    padding: 8px;
    resize: vertical;
    border-radius: 8px;
  }
  
  #aap-actions { padding: 8px 12px 14px; display:flex; justify-content:flex-end; }
  #aap-send { background: #1db954; color:#fff; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; }
  
  @media (max-width: 480px) {
    #aap-chat-modal { width: 92%; right: 4%; bottom: 80px; height: 70vh; }
    #aap-chat-icon { bottom: 12px; right: 12px; }
  }
  