/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy customizations.
Author: Kostantin
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-2"] .ct-widget {
	width: min(100%, 800px);
	max-width: 800px;
	margin-inline: auto;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
		rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(10px);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] > div {
	--grid-template-columns: minmax(0, 1fr);
	justify-items: center;
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-1"],
[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="ghost"] {
	display: none;
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-2"] {
	width: 100%;
	--horizontal-alignment: center;
	--text-horizontal-alignment: center;
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-3"] .ct-widget {
	display: none;
}

[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-2"] p:has(.fluentform) {
	margin-bottom: 0;
}

[data-footer*="type-1"] .ct-footer .fluentform {
	margin-top: 18px;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-t-container {
	gap: 14px;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-input--label label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--theme-palette-color-4);
	opacity: 0.9;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-form-control {
	width: 100%;
	height: auto;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--theme-palette-color-4);
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

[data-footer*="type-1"] .ct-footer .fluentform input.ff-el-form-control {
	min-height: 48px;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-form-control::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-form-control:hover {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-form-control:focus {
	border-color: var(--theme-palette-color-1);
	background: rgba(0, 0, 0, 0.42);
	box-shadow: 0 0 0 4px rgba(57, 167, 81, 0.16);
	outline: none;
}

[data-footer*="type-1"] .ct-footer .fluentform textarea.ff-el-form-control {
	min-height: 138px;
	padding: 14px 16px;
	resize: vertical;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-group {
	margin-bottom: 0;
}

[data-footer*="type-1"] .ct-footer .fluentform .blocksy-footer-form-message,
[data-footer*="type-1"] .ct-footer .fluentform .blocksy-footer-submit-wrap {
	margin-top: 14px;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff_submit_btn_wrapper {
	margin-bottom: 0;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-btn.ff-btn-submit {
	justify-self: start;
	min-width: 180px;
	margin-top: 4px;
	padding-inline: 22px;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(57, 167, 81, 0.24);
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-message-success,
[data-footer*="type-1"] .ct-footer .fluentform .ff-message-error,
[data-footer*="type-1"] .ct-footer .fluentform .ff-el-is-error .text-danger {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-message-success {
	color: #b9f4c5;
	background: rgba(57, 167, 81, 0.16);
	border: 1px solid rgba(57, 167, 81, 0.24);
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-message-error,
[data-footer*="type-1"] .ct-footer .fluentform .ff-el-is-error .text-danger {
	color: #ffd0d0;
	background: rgba(214, 74, 74, 0.14);
	border: 1px solid rgba(214, 74, 74, 0.24);
}

[data-footer*="type-1"] .ct-footer .fluentform .ff-el-is-error .text-danger {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 10px;
	font-size: 12px;
}

@media (max-width: 999.98px) {
	[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-2"] .ct-widget {
		max-width: 100%;
		margin-inline: auto;
		padding: 24px;
		border-radius: 16px;
	}

	[data-footer*="type-1"] .ct-footer .fluentform .ff-t-container {
		display: block;
	}

	[data-footer*="type-1"] .ct-footer .fluentform .ff-t-cell + .ff-t-cell,
	[data-footer*="type-1"] .ct-footer .fluentform .blocksy-footer-form-message,
	[data-footer*="type-1"] .ct-footer .fluentform .blocksy-footer-submit-wrap {
		margin-top: 14px;
	}
}

@media (max-width: 689.98px) {
	[data-footer*="type-1"] .ct-footer [data-row*="top"] [data-column="widget-area-2"] .ct-widget {
		padding: 20px 18px;
		border-radius: 14px;
	}

	[data-footer*="type-1"] .ct-footer .fluentform {
		margin-top: 16px;
	}

	[data-footer*="type-1"] .ct-footer .fluentform .ff-el-input--label label {
		font-size: 11px;
	}

	[data-footer*="type-1"] .ct-footer .fluentform textarea.ff-el-form-control {
		min-height: 120px;
	}

	[data-footer*="type-1"] .ct-footer .fluentform .ff-btn.ff-btn-submit {
		width: 100%;
		min-width: 100%;
	}
}
