body {
    font-family: sans-serif;
}

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

li {
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 10px;
}

a:hover {
    background-color: #f0f0f0;
}

h2 {
    margin-top: 0;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    width: 300px;
}

form#message-form {
  flex-direction: row;
  width: auto;
}

form div {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 100px;
}

button, input[type="submit"] {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover, input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Chat page styling */
#messages {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.message {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    max-width: 80%;
}

.message.received {
    background-color: #f0f0f0;
    align-self: flex-start;
}

.message.sent {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.input-area {
    display: flex;
}

#messageInput {
    flex-grow: 1;
    margin-right: 10px;
}

/* Character count styling */
#bioCount {
    font-size: 0.9em;
    color: #555;
}

