.wcdc-checkout-deposit,
.wcdc-checkout-deposit-percentage,
.wcdc-checkout-remaining {
	background: #f7fbfb;
}

.wcdc-deposit-shell,
.wcdc-deposit-shell * {
	box-sizing: border-box;
}

.wcdc-deposit-shell {
	margin: 28px 0;
	font-family: inherit;
	color: #15202b;
	line-height: 1.5;
}

.wcdc-deposit-shell.wcdc-is-popup {
	display: none !important;
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	background: rgba(15, 23, 42, 0.58) !important;
	padding: 24px !important;
	overflow-y: auto !important;
}

.wcdc-deposit-shell.wcdc-is-popup.wcdc-open {
	display: grid !important;
	place-items: center !important;
}

.wcdc-deposit-panel {
	position: relative !important;
	width: min(720px, 100%) !important;
	max-height: calc(100vh - 48px) !important;
	overflow-y: auto !important;
	background: #fff !important;
	border: 1px solid #d7dee2 !important;
	border-radius: 8px !important;
	padding: 24px !important;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22) !important;
	text-align: start;
}

.wcdc-deposit-shell:not(.wcdc-is-popup) .wcdc-deposit-panel {
	box-shadow: none;
}

.wcdc-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #eef2f4;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #15202b;
	text-align: center;
	padding: 0;
}

html[dir="rtl"] .wcdc-close,
body.rtl .wcdc-close {
	right: auto;
	left: 12px;
}

.wcdc-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 18px 0;
}

.wcdc-summary div,
.wcdc-account {
	border: 1px solid #dce3e7;
	border-radius: 6px;
	padding: 12px;
	background: #f9fbfb;
}

.wcdc-deposit-panel h2,
.wcdc-deposit-panel h3,
.wcdc-deposit-panel p {
	margin-top: 0;
}

.wcdc-summary span {
	display: block;
	color: #53616a;
	font-size: 13px;
	margin-bottom: 4px;
}

.wcdc-account {
	margin-bottom: 10px;
}

.wcdc-proof-form label {
	display: block;
	margin: 0 0 14px;
}

.wcdc-proof-form label span {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.wcdc-proof-form input,
.wcdc-proof-form select,
.wcdc-proof-form textarea {
	position: relative !important;
	z-index: 3 !important;
	pointer-events: auto !important;
	user-select: text !important;
	-webkit-user-select: text !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid #cfd8df !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #15202b !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	appearance: auto;
	-webkit-appearance: auto;
	touch-action: manipulation !important;
}

.wcdc-proof-form input.wcdc-transfer-phone {
	direction: ltr !important;
	text-align: left !important;
	unicode-bidi: plaintext !important;
	position: relative !important;
	z-index: 2 !important;
}

.wcdc-proof-form input[readonly],
.wcdc-proof-form textarea[readonly],
.wcdc-proof-form input:disabled,
.wcdc-proof-form textarea:disabled,
.wcdc-proof-form select:disabled {
	opacity: 1 !important;
	background: #fff !important;
	color: #15202b !important;
	cursor: text !important;
	pointer-events: auto !important;
}

.wcdc-proof-form textarea {
	min-height: 92px;
	resize: vertical;
	position: relative !important;
	z-index: 3 !important;
}

.wcdc-proof-form .nice-select {
	display: none !important;
}

.wcdc-proof-form select.wcdc-native-select {
	opacity: 1 !important;
	visibility: visible !important;
	position: static !important;
	height: auto !important;
}

.wcdc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.wcdc-actions .button,
.wcdc-actions button,
.wcdc-whatsapp {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	border-radius: 6px !important;
	padding: 10px 16px !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
}

.wcdc-actions button.alt,
.wcdc-proof-form button[type="submit"] {
	border: 1px solid #111827 !important;
	background: #111827 !important;
	color: #fff !important;
}

.wcdc-whatsapp {
	border: 1px solid #128c7e !important;
	background: #128c7e !important;
	color: #fff !important;
}

.wcdc-form-message {
	margin: 12px 0 0;
}

.wcdc-success {
	color: #067647;
}

.wcdc-error {
	color: #b42318;
}

@media (max-width: 640px) {
	.wcdc-deposit-shell {
		margin: 18px 0;
	}

	.wcdc-deposit-shell.wcdc-is-popup {
		padding: 10px !important;
		place-items: stretch !important;
	}

	.wcdc-deposit-panel {
		width: 100% !important;
		max-height: calc(100vh - 20px) !important;
		padding: 18px !important;
		border-radius: 6px !important;
	}

	.wcdc-deposit-panel h2 {
		font-size: 22px;
		padding-inline-end: 42px;
	}

	html[dir="rtl"] .wcdc-deposit-panel h2,
	body.rtl .wcdc-deposit-panel h2 {
		padding-inline-end: 0;
		padding-inline-start: 42px;
	}

	.wcdc-summary {
		grid-template-columns: 1fr;
	}

	.wcdc-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.wcdc-actions .button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}
