.currency-is-recently-used {
	position: absolute;
	top: -10px;
	right: -1px;
	background: #1765ae;
	color: #fff;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.payment-form {
	height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.back-to-step {
	background: none;
	border: none;
	color: var(--text-secondary, #5a5a5a);
	cursor: pointer;
}

#userpay-manually .step[data-step] {
	display: none;
	min-height: 206px;
}

#userpay-manually .step[data-step="1"] {
	display: none;
}

#userpay-manually .step[data-step="2"] {
	display: block;
}

.payment-header {
	color: var(--text-primary, #1a1a1a);
	font-weight: 700;
	margin-bottom: 16px;
	text-transform: uppercase;
	font-size: 18px;
	text-align: center;
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 6px;
}

.currencies {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.currency {
	display: flex;
	flex-direction: row;
	gap: 12px;
	background: #f5f5f7;
	border: 1px solid #e0e0e5;
	padding: 8px 16px;
	border-radius: 4px;
	align-items: center;
	cursor: pointer;
	//    flex: 1 0 calc(50% - 12px);
	min-width: calc(50% - 12px);
	max-width: 100%;
	transition: 0.3s all;

	position: relative;
}

.currency:hover {
	background: #ebebef;
	border-color: #d0d0d5;
}

.currency-icon {
	width: 30px;
	height: 24px;
}

.currency-icon img {
	border-radius: 4px;
	width: 28px;
	height: 28px;
}

.currency-name {
	color: var(--text-primary, #1a1a1a);
	font-weight: 500;
}

.payment-methods {
	display: flex;
	flex-direction: column;
	row-gap: 12px;
}

.payment-method {
	display: flex;
	flex-direction: row;
	gap: 12px;
	background: #f5f5f7;
	border: 1px solid #e0e0e5;
	padding: 8px 16px;
	border-radius: 4px;
	align-items: center;
	cursor: pointer;
	transition: 0.3s all;
}

.payment-method:hover {
	background: #ebebef;
	border-color: #d0d0d5;
}

.payment-method-icon {
	width: 34px;
	height: 34px;
}

.payment-method-icon img {
	width: 100%;
	height: 100%;
}

.payment-method-name {
	font-weight: 600;
	font-size: 16px;
	color: var(--text-primary, #1a1a1a);
}

.payment-method-desc {
	font-size: 13px;
	color: #6b6d78;
}

.payment-method-info {
	display: flex;
	flex-direction: column;
}

/* Стили для проверки статуса платежа */
.payment-status-container {
	text-align: center;
}

.payment-info {
	background: #f5f5f7;
	border: 1px solid #e0e0e5;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.payment-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.payment-amount-info,
.payment-method-info-status {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.payment-amount-label,
.payment-method-label {
	color: #6b6d78;
	margin-right: 6px;
}

.payment-amount-value {
	color: #2e9e46;
	font-weight: 600;
	margin-right: 4px;
}

.payment-method-name-value {
	color: var(--text-primary, #1a1a1a);
	font-weight: 500;
}

.payment-method-icon-status {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	border-radius: 3px;
	display: none;
}

.status-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	position: relative;
}

.spinner {
	width: 80px;
	height: 80px;
	border: 4px solid #e0e0e5;
	border-top: 4px solid #2e9e46;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.success-icon {
	width: 80px;
	height: 80px;
	background: #2e9e46;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #fff;
	animation: scaleIn 0.5s ease-out;
}

.error-icon {
	width: 80px;
	height: 80px;
	background: #e53935;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #fff;
	animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.status-message {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-primary, #1a1a1a);
}

.success-text {
	color: #2e9e46;
}

.error-text {
	color: #e53935;
}

.status-description {
	font-size: 14px;
	color: #6b6d78;
	margin-bottom: 20px;
	display: none;
}

.check-counter {
	font-size: 12px;
	color: #6b6d78;
	margin-top: 15px;
}

.progress-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 20px 0;
}

.progress-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e0e0e5;
	animation: pulse 1.5s ease-in-out infinite;
}

.progress-dot:nth-child(1) {
	animation-delay: 0s;
}

.progress-dot:nth-child(2) {
	animation-delay: 0.3s;
}

.progress-dot:nth-child(3) {
	animation-delay: 0.6s;
}

@keyframes pulse {

	0%,
	80%,
	100% {
		background: #e0e0e5;
		transform: scale(1);
	}

	40% {
		background: #2e9e46;
		transform: scale(1.2);
	}
}

.btn-cancel-payment {
	background: #f5f5f7;
	border: 1px solid #e0e0e5;
	color: var(--text-primary, #1a1a1a);
	cursor: pointer;
	transition: 0.3s all;
}

.btn-cancel-payment:hover {
	background: #ebebef;
	border-color: #d0d0d5;
}

.back-to-step {
	cursor: pointer;
    margin-top: -8px;
}

.back-to-step img {
	width: 34px;
	height: 34px;
}
