/* ── Wrapper ── */
.blf-wrapper {
	width: 100%;
}

/* ── Fields layout ── */
.blf-fields {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.blf-field {
	flex: 1;
	min-width: 180px;
	display: flex;
	flex-direction: column;
}

.blf-field--btn {
	flex: 0 0 auto;
	min-width: unset;
}

/* ── Input ── */
.blf-input {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	padding: 11px 16px;
	border: 1.5px solid #e5e5e5;
	border-radius: 4px;
	background: #ffffff;
	color: #1a1a1a;
	outline: none;
	transition: border-color 0.18s;
	line-height: 1.5;
}

.blf-input::placeholder {
	color: #a3a3a3;
}

.blf-input:focus {
	border-color: #0f8487;
}

.blf-input.has-error {
	border-color: #dc2626;
}

/* ── Error message ── */
.blf-error {
	font-size: 11.5px;
	color: #dc2626;
	margin-top: 4px;
	min-height: 16px;
	display: block;
}

.blf-form-error {
	font-size: 13px;
	color: #dc2626;
	margin-top: 10px;
	display: none;
}

/* ── Button ── */
.blf-btn {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
	background: #0f8487;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 11px 24px;
	cursor: pointer;
	transition: background 0.18s, opacity 0.18s;
	line-height: 1.5;
	position: relative;
}

.blf-btn:hover {
	background: #0a6467;
}

.blf-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.blf-btn__loading {
	display: none;
}

.blf-btn.is-loading .blf-btn__text {
	display: none;
}

.blf-btn.is-loading .blf-btn__loading {
	display: inline;
}

/* ── Success state ── */
.blf-success__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: #eef6f6;
	border: 1px solid #b8dede;
	border-radius: 6px;
}

.blf-success__icon {
	flex-shrink: 0;
}

.blf-success__title {
	font-size: 15px;
	font-weight: 600;
	color: #0d1b1b;
	margin: 0 0 4px;
}

.blf-success__desc {
	font-size: 13.5px;
	color: #6b8080;
	margin: 0;
	line-height: 1.6;
}

/* ── Mobile ── */
@media (max-width: 640px) {
	.blf-fields {
		flex-direction: column;
		gap: 14px;
	}

	.blf-field,
	.blf-field--btn {
		min-width: 100%;
		flex: unset;
	}

	.blf-btn {
		width: 100%;
		text-align: center;
		padding: 13px 20px;
	}

	.blf-success__inner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
}
