body {
	margin: 0;
	font-family: 'Short Stack', cursive;
	background-color: #f5f0f7;
	color: #4b2f3d;
	display: flex;
	flex-direction: column;
	height: 100vh;
	transition: filter 0.6s ease, background-color 0.6s ease;
	-webkit-tap-highlight-color: transparent;
}

.header {
	display: flex;
	align-items: center;
	padding: 10px;
	background-color: #f5f0f7;
	border-radius: 0px 0px 20px 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header .title {
	flex-grow: 1;
	font-size: 18px;
	font-weight: bold;
}

.header .icons i {
	margin-left: 15px;
	font-size: 20px;
}

.icon-link {
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

.username {
	font-weight: bold;
	font-size: 0.85em;
	color: #c07fae;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
}

.tag {
	margin-left: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 20px;
}

.tag span {
	background-color: #c07fae;
	color: #f5f0f7;
	padding: 2px 8px;
	border-radius: 8px;
	font-size: 10px;
}

.content {
	padding: 20px;
	padding-bottom: 100px;
	flex-grow: 1;
	overflow-y: auto;
}

.date {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

.date span {
	background-color: #c07fae;
	color: #f5f0f7;
	padding: 5px 10px;
	border-radius: 10px;
	font-size: 14px;
}

.message {
	display: flex;
	align-items: flex-end;
	margin-bottom: 30px;
}

.message img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.message .bubble {
	background-color: #e6ccf0;
	border-radius: 12px;
	padding: 10px;
	max-width: 70%;
	opacity: 0;
	animation: bubbleIn 0.3s ease forwards;
}

.message.right {
	justify-content: flex-end;
}

.message.right img {
	order: 2;
	margin-left: 10px;
	margin-right: 0;
}

.message.right .bubble {
	background-color: #d7a8c6;
}

.footer {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	background-color: #f5f0f7;
	border-radius: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 600px;
	z-index: 99;
}

.footer i {
	font-size: 24px;
	color: #c07fae;
}

.footer input {
	flex-grow: 1;
	border: none;
	outline: none;
	background-color: #f5f0f7;
	font-size: 16px;
}

.footer .send {
	font-size: 24px;
	margin-left: 10px;
	cursor: pointer;
	color: #c07fae;
}

.typing-dots {
	display: inline-flex;
	gap: 4px;
	margin-top: 5px;
}

.typing-dots span {
	width: 6px;
	height: 6px;
	background-color: #c07fae;
	border-radius: 50%;
	animation: jump 0.6s infinite;
}

.typing-dots span:nth-child(2) {
	animation-delay: 0.1s;
}

.typing-dots span:nth-child(3) {
	animation-delay: 0.2s;
}

@keyframes jump {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-6px);
	}
}

@keyframes bubbleIn {
	0% {
		opacity: 0;
		transform: translateY(10px) scale(0.95);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes fadeInText {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.message .bubble .text {
	animation: fadeInText 0.6s ease-in;
}

body.grayscale-mode {
	filter: grayscale(1);
	transition: filter 0.6s;
	background-color: #ddd;
}