/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}
 body::-webkit-scrollbar {
    width: 8px;
    background-color: #f2f2f2;
  }
  
  body::-webkit-scrollbar-thumb {
    background-color: #132749;
    border-radius: 4px;
  }
  
  body::-webkit-scrollbar-thumb:hover {
    background-color: #132749;
  }
/* Container styles */
.message-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px;
}

/* Message list and selected message styles */
.message-list,
.selected-message {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    padding: 20px;
}

/* Individual message styles */
.message {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.message-icon {
    margin-right: 15px;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ececec;
    border-radius: 50%;
}

.message-icon img {
    width: 100%;
    height: auto;
}

.message-content {
    flex: 1;
}

.message-title {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.message-text {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    max-width: 400px;
}

/* Selected message styles */
.selected-message .message-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.selected-title {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.selected-message .message-body {
    margin-top: 10px;
}

.selected-text {
    margin: 10px 0 0;
    font-size: 16px;
    color: #444;
}

/* Responsive styles */
@media (max-width: 768px) {
    .message-container {
        margin: 10px;
    }
    .message-list,
    .selected-message {
        padding: 15px;
    }
}
