
.givewp-donation-form-modal {
	outline: none;
	overflow-y: scroll;
	padding: 1rem;
	width: 100%;
}

.givewp-donation-form-modal[data-entering=true] {
	animation: modal-fade .3s, modal-zoom .6s;
}

@keyframes modal-fade {
	0% {
		opacity: 0;
	}
	
	to {
		opacity: 1;
	}
}

@keyframes modal-zoom {
	0% {
		transform: scale(.8);
	}
	
	to {
		transform: scale(1);
	}
}

.givewp-donation-form-modal__overlay {
	align-items: center;
	background: rgba(0, 0, 0, .7);
	display: flex;
	flex-direction: column;
	height: var(--visual-viewport-height);
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 100;
}

.givewp-donation-form-modal__overlay[data-loading=true] {
	display: none;
}

.givewp-donation-form-modal__overlay[data-entering=true] {
	animation: modal-fade .3s;
}

.givewp-donation-form-modal__overlay[data-exiting=true] {
	animation: modal-fade .15s ease-in reverse;
}

.givewp-donation-form-modal__open__spinner {
	left: 50%;
	line-height: 1;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 100;
}

.givewp-donation-form-modal__open {
	position: relative;
}

.givewp-donation-form-modal__close {
	background: #e7e8ed;
	border: 1px solid transparent;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	padding: .75rem;
	position: fixed;
	right: 25px;
	top: 25px;
	transition: .2s;
	width: -moz-fit-content;
	width: fit-content;
	z-index: 999;
}

.givewp-donation-form-modal__close svg {
	height: 1rem;
	width: 1rem;
}

.givewp-donation-form-modal__close:active, .givewp-donation-form-modal__close:focus, .givewp-donation-form-modal__close:hover {
	background-color: #caccd7;
	border: 1px solid #caccd7;
}

.admin-bar .givewp-donation-form-modal {
	margin-top: 32px;
}

.admin-bar .givewp-donation-form-modal__close {
	top: 57px;
}

.givewp-entity-selector {
	border: 1px solid #e5e7eb;
	border-radius: 5px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px 24px;
}

.givewp-entity-selector__label {
	padding-bottom: 16px;
}

.givewp-entity-selector__select input[type=text]:focus {
	border-color: transparent;
	box-shadow: 0 0 0 1px transparent;
	outline: 2px solid transparent;
}

.givewp-entity-selector__logo {
	align-self: center;
}

.givewp-entity-selector__open {
	background: #2271b1;
	border: none;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	padding: .5rem 1rem;
}

.givewp-entity-selector__submit {
	background-color: #27ae60;
	border: 0;
	border-radius: 5px;
	color: #fff;
	font-weight: 700;
	outline: none;
	padding: 1rem;
	text-align: center;
	transition: .2s;
	width: 100%;
}

.givewp-entity-selector__submit:disabled {
	background-color: #f3f4f6;
	color: #9ca0af;
}

.givewp-entity-selector__submit:hover:not(:disabled) {
	cursor: pointer;
	filter: brightness(1.2);
}

.givewp-donation-form-selector {
	background: #f6f6f6;
	border-radius: 5px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2rem 4rem;
}

.givewp-donation-form-selector__select input[type=text]:focus {
	border-color: transparent;
	box-shadow: 0 0 0 1px transparent;
	outline: 2px solid transparent;
}

.givewp-donation-form-selector__logo {
	align-self: center;
}

.givewp-donation-form-selector__open {
	background: #2271b1;
	border: none;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	padding: .5rem 1rem;
}

.givewp-donation-form-selector__submit {
	background-color: #27ae60;
	border: 0;
	border-radius: 5px;
	color: #fff;
	font-weight: 700;
	outline: none;
	padding: 1rem;
	text-align: center;
	transition: .2s;
	width: 100%;
}

.givewp-donation-form-selector__submit:disabled {
	background-color: #e0e0e0;
}

.givewp-donation-form-selector__submit:hover:not(:disabled) {
	cursor: pointer;
	filter: brightness(1.2);
}

.givewp-donation-form-link, .givewp-donation-form-modal__open {
	background: var(--givewp-primary-color, #2271b1);
	border: none;
	border-radius: 5px;
	color: var(--givewp-secondary-color, #fff) !important;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
	font-size: 1rem;
	font-weight: 500 !important;
	padding: .75rem 1.25rem !important;
	text-decoration: none !important;
}

.components-input-control__label {
	width: 100%;
}

.wp-block-give-donation-form {
	position: relative;
}

.wp-block-give-donation-form form[id*=give-form] #give-gateway-radio-list>li input[type=radio] {
	display: inline-block;
}

.wp-block-give-donation-form iframe {
	pointer-events: none;
	width: 100% !important;
}

.give-change-donation-form-btn svg {
	margin-top: 3px;
}
