.parrotposter-modal {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: hidden auto;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(6px);
	z-index: 9999999;
}

.parrotposter-modal--open {
	display: grid;
}
@media screen and (max-width: 500px) {
	.parrotposter-modal--open {
		display: block;
	}
}

.parrotposter-modal__body-overflow {
	overflow: hidden;
}

.parrotposter-modal__container {
	display: flex;
	flex-direction: column;
	gap: 2em;
	position: relative;
	background-color: #fff;
	padding: 2em;
	margin: 3em;
	min-width: 300px;
	max-width: 100%;
	height: max-content;
}

.parrotposter-modal--post .parrotposter-modal__container {
	width: 600px;
}

@media screen and (max-width: 500px) {
	.parrotposter-modal__container {
		margin: 0;
		width: calc(100% - 2em * 2) !important;
		min-height: calc(100vh - 2em * 2);
	}
}

.parrotposter-modal__content {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.parrotposter-modal__close {
	cursor: pointer;
	height: 32px;
	width: 32px;
	background: center / 32px no-repeat url(../images/close.svg);
	display: block;
	position: absolute;
	right: calc(-8px - 32px);
	top: 0;
}
@media screen and (max-width: 500px) {
	.parrotposter-modal__close {
		background-image: url(../images/close-black.svg);
		right: 0;
		padding: 1em;
	}
}

.parrotposter-modal__title {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}


.parrotposter-modal__footer {
	display: flex;
	gap: 8px;
}




.parrotposter-modal__template-wrap {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

#parrotposter-wait-loading {
	width: 28px;
	height: 28px;
	display: inline-block;
	margin-left: 1em;
}

.parrotposter-modal__template-list {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	gap: 1em;
}

.parrotposter-modal__template-item {
	display: flex;
	flex-direction: column;
	width: 260px;
	max-width: 100%;
	padding: 1em;
	border: gray 1px solid;
	border-radius: 6px;
}

.parrotposter-modal__template-item--selected {
	border-color: transparent;
	box-shadow: 0 0 12px #1fa2ffba;
}

.parrotposter-modal__template-name {
	font-size: 140%;
	margin-bottom: 12px;
}

.parrotposter-modal__template-post-already-exist {
	display: none;
	padding-top: 6px;
	color: #F68634;
}

.parrotposter-modal__template-manually-footer {
	display: flex;
	flex-direction: column;
	gap: 1em;
}


.parrotposter-modal-post-text {
	white-space: pre-wrap;
}

.parrotposter-modal-post-images {
	display: flex;
	flex-wrap: wrap;
}

.parrotposter-modal-post-images img {
	max-width: 4em;
	margin-right: 1em;
	box-shadow: 0px 0px 8px -2px #575757;
}

