/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    background-color: #f0f0f0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    height: 100vh;*/
/*    margin: 0;*/
/*}*/

/*.container {*/
/*    width: 400px;*/
/*    background: #fff;*/
/*    border-radius: 5px;*/
/*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
/*    overflow: hidden;*/
/*    padding: 20px;*/
/*}*/

/*form {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chat-messages {
    height: 200px;
    padding: 15px;
    overflow-y: scroll;
    background: #f9f9f9;
    margin-bottom: 10px;
}

.chat-messages p {
    padding: 10px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
}

.friends-list {
    margin-bottom: 20px;
}

.friends-list ul {
    list-style: none;
    padding: 0;
}

.friends-list ul li {
    padding: 5px;
    background: #eee;
    margin-bottom: 5px;
    border-radius: 5px;
}

.chat-input form {
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.chat-input button {
    padding: 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form button {
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
}

.navbar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

#profile-friends-container, #chat-list-container {
    display: none;
}

.profile, .friends-list, .chat-list {
    margin: 20px 0;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

ul li:last-child {
    border-bottom: none;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.container {
    padding: 10px;
}

.chat-header {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.room-name {
    font-size: 1.2em;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    background-color: #e9ecef;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 60%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.chat-message.other {
    align-self: flex-start;
    background-color: #ffffff;
}

.chat-message.me {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
}

.message {
    margin-bottom: 5px;
}

.timestamp {
    font-size: 0.8em;
    color: #999;
    text-align: right;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.chat-input button {
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.navbar {
    display: flex;
    justify-content: space-between;
    background-color: #e9ecef;
    padding: 10px;
}

.navbar button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
}

.friends-list ul, .chat-list-container ul {
    list-style-type: none;
    padding: 0;
}
