/* 5thAVE Studio blocks. Colors fall back to the brand palette if the theme doesn't define them. */

/* Icon ------------------------------------------------------------------- */
.fa-icon {
	--fa-icon-color: var(--fa-pink, #ef4d84);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: var(--fa-icon-color);
}
.fa-icon--yellow { --fa-icon-color: var(--fa-yellow, #f3b90d); }
.fa-icon--blue { --fa-icon-color: var(--fa-blue, #00b1e9); }
.fa-icon--charcoal { --fa-icon-color: var(--fa-charcoal, #524e4d); }
.fa-icon--current { --fa-icon-color: currentColor; }
.fa-icon .fa-svg { width: 26px; height: 26px; }
.fa-icon--tile {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	color: var(--fa-ink, #1f1c1b);
	background: color-mix(in srgb, var(--fa-icon-color) 22%, #fff);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fa-icon-color) 40%, transparent);
}
.fa-icon--tile.fa-icon--current { background: rgba(127, 127, 127, 0.12); color: inherit; }
.fa-icon--plain .fa-svg { width: 32px; height: 32px; }
.fa-icon__svg { display: inline-flex; line-height: 0; }

/* Editor icon picker */
.fa-icon-picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 16px; }
.fa-icon-picker__btn.components-button { justify-content: center; padding: 6px; height: 36px; }
.fa-icon-picker__btn .fa-svg { width: 20px; height: 20px; }

/* Forms ------------------------------------------------------------------ */
.fa-form { margin: 0; }
.fa-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
.fa-form .fa-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fa-form .fa-field--full { grid-column: 1 / -1; }
.fa-form label { font-weight: 600; font-size: 0.9rem; color: var(--fa-ink, #1f1c1b); }
.fa-form .fa-req { color: var(--fa-pink-ink, #cf2f68); }
.fa-form .fa-opt { font-weight: 400; color: var(--fa-muted, #6b6460); }
.fa-form input[type="text"],
.fa-form input[type="email"],
.fa-form input[type="tel"],
.fa-form input[type="number"],
.fa-form select,
.fa-form textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--fa-ink, #1f1c1b);
	background: #fff;
	border: 1.5px solid var(--fa-line-strong, #d6cec4);
	border-radius: 10px;
	padding: 12px 14px;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fa-form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23524e4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.fa-form input:focus,
.fa-form select:focus,
.fa-form textarea:focus {
	outline: none;
	border-color: var(--fa-pink-ink, #cf2f68);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--fa-pink, #ef4d84) 22%, transparent);
}
.fa-form textarea { resize: vertical; min-height: 120px; }
.fa-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0 0; }
.fa-form-submit { cursor: pointer; }
.fa-form-note { font-size: 0.875rem; color: var(--fa-muted, #6b6460); }
.fa-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.fa-form-notice {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: 12px;
	margin: 0 0 24px;
	border: 1.5px solid;
}
.fa-form-notice p { margin: 4px 0 0; }
.fa-form-notice .fa-svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.fa-form-notice.is-success { background: #eaf7ee; border-color: #9fd7b0; color: #134b26; }
.fa-form-notice.is-error { background: #fdecef; border-color: #f1a7ba; color: #7a1636; }
.fa-form-notice.is-error p { margin: 0; }

@media (max-width: 640px) {
	.fa-form-grid { grid-template-columns: 1fr; }
}

/* Map -------------------------------------------------------------------- */
.fa-map { border-radius: 18px; overflow: hidden; background: #e8e2da; box-shadow: 0 1px 0 rgba(31, 28, 27, 0.06), 0 20px 40px -24px rgba(31, 28, 27, 0.35); }
.fa-map iframe { display: block; width: 100%; border: 0; filter: saturate(0.85); }
.fa-map__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
	padding: 14px 18px;
	background: #fff;
	font-size: 0.95rem;
}
.fa-map__address { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fa-ink, #1f1c1b); }
.fa-map__address .fa-svg { width: 18px; height: 18px; color: var(--fa-pink-ink, #cf2f68); }
.fa-map__link { font-weight: 600; }

/* Rent payment ------------------------------------------------------------ */
.fa-pay .fa-form-grid { grid-template-columns: 2fr 1fr; }
@media (max-width: 640px) {
	.fa-pay .fa-form-grid { grid-template-columns: 1fr; }
}
