.post-create {
	border-bottom: var(--border);
	line-height: 16px;
	font-size: 16px;
	position: relative;
	z-index: 2;
	padding: var(--margin);
	border: 3px solid var(--color);
	padding: var(--margin);
}
.post-create .post-loader {
	width: 100%;
	height: 100%;
	bottom: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 99;
	text-align: center;
	padding: 50px;
	font-size: 32px;
	line-height: 32px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	color: var(--color);
}
html.dark .post-create .post-loader {
	background: rgba(0, 0, 0, 0.9);
}
.post-create .post-loader.active {
	opacity: 1;
	visibility: visible;
}
.post-create .post-input {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-webkit-app-region: no-drag;
	cursor: default;
	margin-top: var(--margin);
}
.post-create .post-input-counter {
	background: white;
	border: var(--border);
	position: absolute;
	top: var(--margin);
	right: var(--margin);
	font-size: 14px;
	line-height: 14px;
	padding: 2px 6px;
	border-radius: var(--border-radius);
}
html.dark .post-create .post-input-counter {
	background: #000000;
}
.post-create .post-input-counter.error {
	background: var(--red);
	color: white;
}
.post-create .post-image {
	margin-top: 10px;
	border-radius: var(--border-radius);
	display: none;
	padding: var(--margin);
	border: var(--border);
	text-align: center;
	position: relative;
}
.post-create .post-image.active {
	display: block;
}
.post-create .post-image-delete {
	border-radius: var(--border-radius);
	width: 42px;
	height: 42px;
	border: var(--border);
	line-height: 42px;
	position: absolute;
	right: var(--margin-s);
	top: var(--margin-s);
	cursor: pointer;
}
.post-create .post-image input {
	position: absolute;
	opacity: 0;
	z-index: -2;
}
.post-create .post-image img {
	border-radius: var(--border-radius);
	max-height: 300px;
	object-fit: contain;
	max-width: 60%;
}
.post-options {
	display: grid;
	grid-template-columns: auto 1fr auto;
	text-align: center;
	grid-gap: 5px;
	margin-top: 7px;
}
.post-options .post-option {
	border: var(--border);
	cursor: pointer;
	padding: 10px;
	border-radius: var(--border-radius);
	background: white;
}
.post-options .post-option:hover {
	background: var(--color-light)
}
.post-options .post-option.active {
	background: #ecffec;
}
.post-options .post-option i {
	margin-right: 6px;
	opacity: 0.5;
}
.post-options .post-option#post-send {
	background-color: green;
	font-weight: 700;
	color: white;
}
html.dark .post-options .post-option:hover {
	background: #0c0c0c;
}
html.dark .post-options .post-option {
	background: black;
}
.post-create .input-post {
	padding: 0 var(--margin);
}
.post-create .me {
	display: grid;
	grid-template-columns: 34px 1fr;
	grid-gap: 6px;
}
.post-create .me .avatar {
	position: relative;
}
.post-create .me .avatar img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	position: absolute;
	top: -8px;
}
.post-create .me .author {
	color: var(--color) !important;
	font-weight: 500;
}
.post-create .me .author .username {
	display: inline-block;
	font-weight: 400;
	color: var(--font-color);
}
@media all and (max-width: 540px) {
	.post-create {
		padding: 15px;
	}
}