* {
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	background-color: #0b1220;
	color: #f5f7ff;
	font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display:flex;
	justify-content: center;
	align-items: center;
}

.messageArea {
	position: fixed;
	left: 50%;
	top: 88%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 10px;
	width: 90%;
	max-width: 800px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.nameArea {
	position: fixed;
	left: 50%;
	top: 97%;
	transform: translate(-50%, -100%);
	display: flex;
	gap: 10px;
	width: 90%;
	max-width: 800px;
	flex-wrap: nowrap;
}

.messageInput {
	background-color: #f7f8ff;
	color: #0b1220;
	width: 100%;
	padding: 12px 14px;
	border: none;
	border-radius: 14px;
	font-size: 1rem;
	outline: none;
}

.sendButton {
	background-color: #edf2ff;
	color: #0b1220;
	border: none;
	border-radius: 14px;
	padding: 12px 18px;
	font-weight: 600;
	cursor: pointer;

}

.imageInput {
	background-color: #edf2ff;
	color: #0b1220;
	border: none;
	width: fit-content;
	padding:  1%;
	border-radius: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;

}


.imagePreview {
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
}

.messageReciever {
    width: 90%;
    max-width: 800px;
    position: fixed;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    max-height: 76vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.32);
}
.message {
	background-color: rgba(255,255,255,0.96);
	color: #0b1220;
	padding: 14px 16px;
	border-radius: 18px;
	line-height: 1.55;
	word-break: break-word;
	box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.chat-image {
	max-width: 100%;
	border-radius: 16px;
	margin-top: 10px;
}
