.fcs-form {
	max-width: 900px;
	width: 100%;
	margin: 0 0 2em;
	box-sizing: border-box;
}

.fcs-form .fcs-field {
	margin-bottom: 1.2em;
}

.fcs-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.fcs-form input[type="text"],
.fcs-form input[type="email"],
.fcs-form input[type="url"],
.fcs-form select,
.fcs-form textarea {
	width: 100%;
	padding: 0.55em 0.7em;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1em;
}

.fcs-form input[type="checkbox"] {
	margin-right: 0.4em;
}

.fcs-form button[type="submit"] {
	padding: 0.65em 1.4em;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
}

.fcs-form button[type="submit"]:hover {
	background: #135e96;
}

.fcs-errors {
	background: #fbeaea;
	border: 1px solid #e0a0a0;
	border-radius: 4px;
	padding: 0.8em 1em;
	margin-bottom: 1.2em;
}

.fcs-success {
	background: #eafbea;
	border: 1px solid #a0e0a0;
	border-radius: 4px;
	padding: 0.8em 1em;
}

.fcs-insert-image-status {
	display: inline-block;
	margin: 0.3em 0 0;
	font-size: 0.85em;
	color: #555;
}

.fcs-content-field {
	width: 100%;
}

.fcs-content-field .wp-editor-wrap,
.fcs-content-field .wp-editor-container {
	width: 100%;
	box-sizing: border-box;
}

.fcs-content-field .wp-editor-area {
	min-height: 420px;
}

.fcs-content-field iframe {
	min-height: 420px;
}

.fcs-media-inputs {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.fcs-media-input-row {
	display: flex;
	align-items: center;
	gap: 0.6em;
}

.fcs-remove-media {
	color: #b32d2e;
	text-decoration: none;
	font-weight: 700;
}

.fcs-add-media {
	display: inline-block;
	margin-top: 0.4em;
}

.fcs-post-media {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid #eee;
}

.fcs-post-images {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 14px;
	margin-bottom: 1.2em;
	max-width: 560px;
}

.fcs-post-image-link {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	cursor: pointer;
}

.fcs-post-image-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.fcs-post-images img {
	width: 100% !important;
	height: 130px !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	display: block;
	cursor: zoom-in;
}

.fcs-post-videos {
	display: flex;
	flex-direction: column;
	gap: 1em;
	max-width: 560px;
}

.fcs-post-videos video {
	max-width: 100% !important;
	width: 100%;
	border-radius: 8px;
	border: 1px solid #e5e5e5;
}

/* Lightbox */
.fcs-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 30px;
	box-sizing: border-box;
}

.fcs-lightbox-overlay img {
	max-width: min(100%, var(--fcs-lightbox-max-width, 1200px));
	max-height: min(100%, var(--fcs-lightbox-max-height, 800px));
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fcs-lightbox-close {
	position: absolute;
	top: 18px;
	right: 24px;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 4px 8px;
}

.fcs-submitted-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcs-submitted-list .fcs-submitted-item {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.5em 0;
	border-bottom: 1px solid #eee;
}

.fcs-submitted-list img {
	max-width: 60px;
	height: auto;
	border-radius: 3px;
}
