/* Wellspring Bank Transfer & Receipt Upload - front-end */

.wsbr-accounts {
	margin: 0 0 1em;
}

.wsbr-accounts__heading {
	font-size: 0.95em;
	margin: 0 0 0.5em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wsbr-accounts__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wsbr-account {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	margin: 0 0 0.6em;
	padding: 0.7em 0.9em;
}

.wsbr-account__bank {
	display: block;
	font-weight: 700;
	margin-bottom: 0.2em;
}

.wsbr-account__row {
	display: block;
	font-size: 0.92em;
	line-height: 1.6;
}

.wsbr-account__row em {
	font-style: normal;
	opacity: 0.7;
}

.wsbr-account__number {
	letter-spacing: 0.04em;
}

/* Uploader */
.wsbr-upload {
	margin-top: 1em;
}

.wsbr-upload__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4em;
}

.wsbr-dropzone {
	border: 1px dashed rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	padding: 1.1em 0.9em;
	position: relative;
	text-align: center;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wsbr-dropzone--over {
	background: rgba(0, 0, 0, 0.03);
	border-color: rgba(0, 0, 0, 0.55);
}

.wsbr-dropzone__input {
	cursor: pointer;
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.wsbr-dropzone__text {
	display: block;
	font-weight: 600;
}

.wsbr-dropzone__hint {
	display: block;
	font-size: 0.85em;
	opacity: 0.7;
	margin-top: 0.2em;
}

.wsbr-upload--busy .wsbr-dropzone {
	opacity: 0.6;
	pointer-events: none;
}

.wsbr-upload--has-file .wsbr-dropzone__text {
	font-weight: 400;
}

.wsbr-file {
	align-items: center;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	display: flex;
	gap: 0.6em;
	justify-content: space-between;
	margin-top: 0.6em;
	padding: 0.5em 0.7em;
}

.wsbr-file__name {
	font-size: 0.92em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wsbr-file__remove {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 0.85em;
	opacity: 0.75;
	padding: 0;
	text-decoration: underline;
}

.wsbr-message {
	font-size: 0.88em;
	margin: 0.5em 0 0;
	min-height: 1em;
}

.wsbr-message--error {
	color: #b32d2e;
}

.wsbr-message--success {
	color: #1a7f37;
}

/* Order pages */
.wsbr-order-receipt {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	margin: 1.5em 0;
	padding: 1em 1.2em;
}

.wsbr-order-receipt__title {
	margin-top: 0;
}

.wsbr-order-receipt__field input[type="file"] {
	display: block;
	margin-bottom: 0.4em;
	max-width: 100%;
}

.wsbr-badge {
	border-radius: 10px;
	display: inline-block;
	font-size: 0.75em;
	margin-left: 0.4em;
	padding: 0.15em 0.6em;
	text-transform: uppercase;
}

.wsbr-badge--ok {
	background: #d7f0dc;
	color: #1a7f37;
}
