/**
 * Qbits9 Custom Plugin - Public / Popup Styles
 */

.qbits9-payment-container {
	margin: 20px 0 10px 0;
	padding: 24px;
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
	color: #1e293b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-align: left;
	animation: qbits9FadeIn 0.35s ease-out;
}

@keyframes qbits9FadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.qbits9-payment-header {
	margin-bottom: 18px;
}

.qbits9-payment-container .qbits9-status-pill {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.qbits9-payment-container .qbits9-status-active {
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
}

.qbits9-payment-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.3 !important;
}

.qbits9-payment-desc {
	font-size: 14px !important;
	color: #64748b !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

.qbits9-payment-summary {
	background: #f8fafc;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 20px;
	border: 1px solid #f1f5f9;
}

.qbits9-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	font-size: 14px;
	color: #475569;
}

.qbits9-summary-row:not(:last-child) {
	border-bottom: 1px dashed #e2e8f0;
}

.qbits9-summary-label {
	color: #64748b;
}

.qbits9-summary-value {
	font-weight: 600;
	color: #1e293b;
}

.qbits9-total-row {
	margin-top: 6px;
	padding-top: 10px;
	font-size: 16px;
}

.qbits9-total-row .qbits9-summary-label {
	font-weight: 700;
	color: #0f172a;
}

.qbits9-amount-highlight {
	font-size: 20px;
	font-weight: 800;
	color: #0d6efd;
}

.qbits9-actions-wrapper {
	text-align: center;
}

.qbits9-pay-button {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
	color: #ffffff !important;
	border: none;
	padding: 14px 24px;
	border-radius: 8px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
	transition: all 0.2s ease-in-out;
}

.qbits9-pay-button:hover {
	background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
	box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
	transform: translateY(-1px);
}

.qbits9-pay-button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(13, 110, 253, 0.35);
}

.qbits9-pay-button.qbits9-loading {
	opacity: 0.75;
	cursor: not-allowed;
	pointer-events: none;
}

.qbits9-pay-icon {
	width: 22px;
	height: 22px;
}

.qbits9-payment-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
	text-align: center;
	line-height: 1.4;
}

.qbits9-msg-info {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.qbits9-msg-warning {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
}

.qbits9-msg-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.qbits9-msg-success {
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

/* Success View Animations */
.qbits9-success-box {
	text-align: center;
	padding: 20px 10px;
}

.qbits9-success-icon-wrap {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px auto;
}

.qbits9-success-check {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: block;
	stroke-width: 3;
	stroke: #10b981;
	stroke-miterlimit: 10;
	box-shadow: inset 0px 0px 0px #10b981;
	animation: qbits9Scale .3s ease-in-out .9s both;
}

.qbits9-success-circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 3;
	stroke-miterlimit: 10;
	stroke: #10b981;
	fill: none;
	animation: qbits9Stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.qbits9-success-path {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: qbits9Stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes qbits9Stroke {
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes qbits9Scale {
	0%, 100% {
		transform: none;
	}
	50% {
		transform: scale3d(1.1, 1.1, 1);
	}
}

.qbits9-success-title {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 6px 0 !important;
}

.qbits9-success-sub {
	font-size: 15px !important;
	color: #475569 !important;
	margin: 0 0 16px 0 !important;
}

.qbits9-success-details {
	background: #f8fafc;
	border-radius: 8px;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	margin-bottom: 14px;
	display: inline-block;
	text-align: left;
	font-size: 13px;
	color: #334155;
}

.qbits9-detail-item {
	padding: 3px 0;
}

.qbits9-detail-item code {
	background: #e2e8f0;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
}

.qbits9-success-note {
	font-size: 13px !important;
	color: #64748b !important;
	margin: 0 !important;
}