/* SIMPLE MOBILE CHAT - Matches actual HTML structure */
@media (max-width: 1023px) {
  
  /* View container */
  #view-messages {
    display: block !important;
    height: 100vh !important;
    background: #000000 !important;
  }
  
  /* Chat layout */
  .chat-layout {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
  }
  
  /* Hide sidebar */
  .chat-sidebar-panel {
    display: none !important;
  }
  
  /* Main chat */
  .chat-main {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    height: 100% !important;
    width: 100% !important;
  }
  
  /* Header */
  .chat-head {
    flex-shrink: 0 !important;
  }
  
  /* Messages area */
  .chat-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px !important;
    background: #000000 !important;
  }
  
  /* Messages container */
  .chat-messages {
    display: block !important;
  }
  
  /* Message bubble - BASE */
  .bubble {
    display: block !important;
    margin-bottom: 12px !important;
    clear: both !important;
  }
  
  /* Received messages - LEFT */
  .bubble-in {
    float: left !important;
    max-width: 75% !important;
  }
  
  .bubble-in .bubble-content {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 18px 18px 18px 4px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
  }
  
  /* Sent messages - RIGHT */
  .bubble-out {
    float: right !important;
    max-width: 75% !important;
  }
  
  .bubble-out .bubble-content {
    background: linear-gradient(135deg, #ff6b1a, #ff4d8e) !important;
    border: none !important;
    border-radius: 18px 18px 4px 18px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
  }
  
  /* Message metadata */
  .bubble-meta {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 4px !important;
  }
  
  /* Day separator */
  .bubble-day-sep {
    text-align: center !important;
    margin: 16px 0 !important;
    clear: both !important;
  }
  
  .bubble-day-sep span {
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
  }
  
  /* Time separator */
  .bubble-time-sep {
    text-align: center !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 8px 0 !important;
    clear: both !important;
  }
  
  /* Empty state */
  .chat-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px !important;
  }
  
  /* Compose area */
  .chat-compose {
    flex-shrink: 0 !important;
    display: flex !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    background: rgba(10, 10, 10, 0.98) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  
  /* Input */
  .chat-input {
    flex: 1 !important;
    padding: 10px 16px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    font-size: 15px !important;
  }
  
  /* Send button */
  .chat-send-btn {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #ff6b1a, #ff4d8e) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
  }
}
