/* WhatsApp-like Chat Styles */
@media only screen and (max-width: 768px) {
	body {
		font-family: Arial, sans-serif;
		margin: 0;
		padding: 0;
		background-color: #ece5dd;
		/* WhatsApp-like light beige background */
	}

	.chat-container {
		display: flex;
		flex-direction: column;
		height: 100vh;
	}

	.chat-header {
		background-color: #075E54;
		/* WhatsApp dark green */
		color: white;
		padding: 12px;
		text-align: center;
		border-bottom: 2px solid #004d40;
	}

	.chat-header h2 {
		margin: 0;
		font-size: 1.2rem;
	}

	.chat-header small {
		font-size: 0.8rem;
		color: #d0d0d0;
	}

	#messages {
		flex: 1;
		overflow-y: auto;
		padding: 10px;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	/* Chat bubbles */
	.message {
		max-width: 75%;
		padding: 10px;
		border-radius: 10px;
		font-size: 0.95rem;
		line-height: 1.4;
		word-wrap: break-word;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		position: relative;
	}

	/* Sent messages (right side) */
	.message-sent {
		align-self: flex-end;
		background-color: #DCF8C6;
		/* WhatsApp light green */
		border-bottom-right-radius: 0;
	}

	/* Received messages (left side) */
	.message-received {
		align-self: flex-start;
		background-color: white;
		border-bottom-left-radius: 0;
	}

	.message-content {
		margin-bottom: 4px;
	}

	.message-time {
		font-size: 0.7rem;
		color: gray;
		text-align: right;
	}

	/* Input bar */
	.input-container {
		display: flex;
		align-items: center;
		padding: 8px;
		background-color: #f0f0f0;
		border-top: 1px solid #ddd;
	}

	#messageInput {
		flex: 1;
		padding: 10px;
		border-radius: 20px;
		border: 1px solid #ccc;
		outline: none;
		font-size: 0.95rem;
	}

	#sendButton {
		background-color: #25D366;
		/* WhatsApp green */
		color: white;
		border: none;
		padding: 10px 15px;
		border-radius: 50%;
		margin-left: 8px;
		font-weight: bold;
		cursor: pointer;
		transition: background-color 0.2s ease-in-out;
	}

	#sendButton:hover {
		background-color: #1ebd5a;
	}


}