* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans",
		source-sans-pro, sans-serif;
	font-weight: normal;
}

html {
	font-size: 18px;
}
* {
	gap: 1rem;
}

body {
	width: 100vw;
	height: 100vh;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	background-color: #f8f8f8;
	padding-top: 1rem;
}

a {
	text-decoration: underline;
	color: #007bff;
	transition: color 0.3s ease;
}
a:hover {
	color: #0056b3;
}

.row {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: center;
}
.form-column {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;

	gap: 0rem;
}
#system {
	width: 20rem;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
}

button {
	cursor: pointer;
	border: none;
	outline: none;
	width: 100%;
	padding: 1rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background-color: #007bff;
	border-radius: 5px;
	transition: background-color 0.3s;
}

button#clear {
	background-color: #ff6347;
}
button#clear:hover {
	background-color: #cb290d;
}
button:hover {
	background-color: #0056b3;
}
button#clear {
	width: 50%;
}
button#save {
	width: 50%;
}
button#save {
	background-color: white;
	color: black;
}
button#save:hover {
	background-color: #007bff;
	color: white;
}

.button-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
form {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
}
label {
	font-size: 1rem;
	font-weight: 600;
	color: #007bff;
}
form textarea {
	height: 10rem;
}
form textarea,
input {
	width: 20rem;
	margin: 1rem 0;
	padding: 0.5rem 0.5rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: none;
	resize: vertical;
}

#chat {
	width: 20rem;
	height: 95vh;
	overflow: scroll;
	scrollbar-width: thin;
	border-bottom: 1px dotted #ccc;
	display: flex;
	flex-direction: column;
}
.message {
	display: flex;
	flex-direction: column;
}
.role {
	font-size: 1rem;
	font-weight: 400;
	color: #5c5c5c;
}

@media screen and (max-width: 750px) {
	.row {
		flex-direction: column;
	}
}
