/**
 * Withdrawal form — light styling.
 * Inputs/buttons inherit project Bootstrap (`form-control`, `btn`); these rules
 * only add layout + interactive feedback for the row picker.
 */

.withdrawal-form {
	font-family: inherit;
}

.withdrawal-form__steps {
	list-style: none;
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0 0 16px;
	flex-wrap: wrap;
}

.withdrawal-form__step {
	flex: 1;
	min-width: 120px;
	padding: 8px 12px;
	background: #f1f1f1;
	border-radius: 3px;
	font-size: 14px;
	color: #666;
}

.withdrawal-form__step--active {
	background: #e6f0ff;
	color: #003e91;
}

.withdrawal-form__step--done {
	background: #d7f5d7;
	color: #1a6b1a;
}

.withdrawal-form__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.withdrawal-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.withdrawal-form__field--consent {
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
}

.withdrawal-form__items {
	width: 100%;
}

.withdrawal-form__item {
	cursor: pointer;
	transition: background-color 120ms ease;
}

.withdrawal-form__item:hover {
	background-color: #f5faff;
}

.withdrawal-form__item.is-selected {
	background-color: #e6f0ff;
}

.withdrawal-form__item-label {
	cursor: pointer;
	margin: 0;
	font-weight: normal;
}

.withdrawal-form__item-piece {
	max-width: 80px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.withdrawal-form__item-piece::-webkit-outer-spin-button,
.withdrawal-form__item-piece::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.withdrawal-form__item-checkbox {
	width: 1%;
	white-space: nowrap;
}

.withdrawal-form__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 16px;
}

.withdrawal-form__error {
	margin-bottom: 16px;
}

@media (max-width: 480px) {
	.withdrawal-form__items th,
	.withdrawal-form__items td {
		font-size: 12px;
		padding: 4px;
	}
	.withdrawal-form__item-piece {
		max-width: 60px;
	}
}
