body {
    background-color: gray;
    max-width: 600px;
    margin: 0 auto;
	margin-top: 3em;
    background-image: url('/background.jpg');
    background-size: cover;
    background-attachment: fixed; /* Keeps the background fixed */
    background-position: center;
    color: #f5f5f5;
    font-family: Arial, sans-serif;
}

input, button {
    font-size: 12px;
    border: 1px solid #808080;
    border-radius: 6px;
    padding: 4px 8px;
    margin-bottom: 0.5em;
}

button {
    background-color: rgba(240, 240, 240, 0.66);
    cursor: pointer;
}

button:hover {
    transform: scale(100%);
    background-color: #272bf5;
	color: white;
}

textarea {
  flex: 1; /* Allow textarea to expand and take available space */
  min-height: 40px; /* Adjust height as needed */
}

h2 {
    text-align: center;
	margin-bottom: 1em;
    font-size: 1.3em;
}

.headerButton {
	position: relative;
	align-self: center;
    bottom: 0.5em;
}

p {
    margin: 0.75em 0 ;
}

.convoBox {
	border: none;
	border-radius: 6px;
	padding: 0 12px 0 0;
	background-color: rgba(255, 255, 255, 0.2); 
	width: 100%;
	display: flex;
	margin-bottom: 2PX;
}

.convoSelect {
	border: none;
	background-color: transparent;
	margin-bottom: 0px;
	padding: 12px;
	flex: 1;
	text-align: left;
	font-style: bold;
	font-size: 1.2em;
	color: white;
}

/* Message Container */
.message-container {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    max-height: 95vh;
    overflow-y: auto;
    border: 1px solid #808080;
    border-radius: 20px;
    padding: 10px;
    color: #808080;
    background-color: rgba(256, 256, 256, 0.75);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* General Message Styling */
.message-container p {
    color: #505050;
    margin: 6px;
    padding: 8px 12px;
    width: fit-content;
    max-width: 75%;
    border: 1px solid #909090;
    box-shadow: 4px 4px 4px #b9b9b9;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Other Participants' Messages */
.message-container p {
    background-color: #c8e3fe;
    border-radius: 16px 16px 16px 0;
}

/* Own Messages */
.message-container p.own-message {
    background-color: #d5e9e1;
    border-radius: 16px 16px 0 16px;
    align-self: flex-end;
}

/* .active-conversation {
  font-size: 100%;
  color: #606060;
  background-color: #c8e3fe;
  border: 1px solid;
} */

.delete-btn {
    font-size: 0.2em;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    background-color: transparent;
}

.controls {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    background-color: transparent;
}

.controls:hover {
    font-size: 125%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    background-color: transparent;
}

.message-sender {
  display: flex;
  align-items: flex-end; /* Align button with bottom of textarea */
  gap: 10px; /* Add space between textarea and button */
  width: 100%; /* Adjust width as needed */
}

.subordinate {
  font-size: 0.75em;
}

#conversationList {
    color: #f5f5f5;
    border: transparent;
    border-radius: 6px;
    background-color: transparent;
    padding: 8px 0 8px 0;
}

#messageInput {
    font-family: Arial, sans-serif;
    width: 60%;
    min-height: 40px;
    max-height: 200px;
    resize: vertical;
    font-size: 14px;
    border: 1px solid #707070;
    border-radius: 12px 12px 0 12px;
    background-color: #d5e9e1;
    margin: 0 12px 12px 0;
    padding: 8px 12px;
    box-shadow: 4px 4px 4px rgba(128, 128, 128, 0.5);
}

