body {
    font-family: Arial, sans-serif;
  }

  .sms-admin {
    display: flex;
    height: 100vh;
    border: 1px solid #ccc;
    overflow: hidden;
  }

  .conversations {
    border-right: 1px solid #ccc;
    overflow-y: auto;
    background: #fafafa;
    width: 200px;
  }

  .conversation {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
  }

  .conversation:hover {
    background: #f0f0f0;
  }

  .conversation.active {
    background: #e8f0ff;
  }

  .conversation-name {
    font-weight: bold;
    margin-bottom: 4px;
    color: black;
  }

  .conversation-phone {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
  }

  .conversation-preview {
    font-size: 13px;
    color: #444;
  }

  .thread-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .thread-header {
    padding: 12px;
    border-bottom: 1px solid #ccc;
    background: #fff;
    color: black;
  }

  .thread-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f7f7f7;
    height: 100%;
  }

  .message-row {
    margin-bottom: 12px;
    display: flex;
  }

  .message-row.inbound {
    justify-content: flex-start;
  }

  .message-row.outbound {
    justify-content: flex-end;
  }

  .message-bubble {
    max-width: 70%;
    padding: 10px 12px;
    border-radius: 12px;
    background: white;
    border: 1px solid #ddd;
    color: black;
  }
  .message-bubble pre {
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  .message-row.outbound .message-bubble {
    background: #dff1ff;
  }

  .message-meta {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
  }

  .composer {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #ccc;
    background: #fff;
  }

  .composer textarea {
    flex: 1;
    min-height: 60px;
    max-height: 140px;
    resize: vertical;
    padding: 8px;
    font: inherit;
  }

  .composer button {
    padding: 10px 16px;
    cursor: pointer;
  }

  .empty-state {
    padding: 24px;
    color: #666;
  }

  .loading {
    padding: 12px;
    color: #666;
  }
  .conversation-toolbar {
    text-align: center;
  }
  .create-conversation-modal {
    padding: 10px;
  }
  .user-result {
    text-align: center;
    padding-top: 20px;
  }
  .user-result div {
    cursor: pointer;
    padding: 20px;
  }
  .user-result :hover {
    background-color: #444;
  }
  .user-result:not(:last-child) {
    border-bottom: 1px dashed gray;
  }
  .message-media {
    margin-top: 8px;
    text-align: center;
  }

  .message-media-item:not(:last-child) {
    margin-bottom: 8px;
  }

  .message-image {
    max-width: 240px;
    max-height: 240px;
    border-radius: 6px;
  }