.pcr-widget,
.pcr-strip-widget {
	--pcr-primary: #1748ff;
	--pcr-secondary: #6c10ff;
	--pcr-ink: #101828;
	--pcr-muted: #667085;
	--pcr-line: rgba(16, 24, 40, .10);
	--pcr-soft: #f4f6ff;
	width: 100%;
	font-family: inherit;
	color: var(--pcr-ink);
}

.pcr-widget *,
.pcr-widget *::before,
.pcr-widget *::after,
.pcr-strip-widget *,
.pcr-strip-widget *::before,
.pcr-strip-widget *::after {
	box-sizing: border-box;
}

.pcr-status[hidden],
.pcr-rate-grid[hidden],
.pcr-converter[hidden],
.pcr-strip-status[hidden],
.pcr-strip-rates[hidden] {
	display: none !important;
}

.pcr-shell {
	overflow: hidden;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid var(--pcr-line);
	border-radius: 22px;
	background:
		radial-gradient(circle at 96% 0%, rgba(108, 16, 255, .13), transparent 27%),
		linear-gradient(145deg, #fff 0%, #f8f9ff 100%);
	box-shadow: 0 18px 55px rgba(25, 44, 98, .10);
}

.pcr-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.pcr-kicker,
.pcr-converter-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 5px 10px;
	margin-bottom: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pcr-primary), var(--pcr-secondary));
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.pcr-header h2 {
	margin: 0;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.12;
	letter-spacing: -.035em;
}

.pcr-header p {
	margin: 9px 0 0;
	color: var(--pcr-muted);
	font-size: 14px;
}

.pcr-update-box {
	flex: 0 0 auto;
	min-width: 180px;
	padding: 13px 15px;
	border: 1px solid var(--pcr-line);
	border-radius: 12px;
	background: rgba(255,255,255,.76);
}

.pcr-update-box span {
	display: block;
	margin-bottom: 4px;
	color: var(--pcr-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pcr-update-box strong {
	font-size: 13px;
}

.pcr-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 170px;
	color: var(--pcr-muted);
	text-align: center;
}

.pcr-status.is-error {
	color: #b42318;
}

.pcr-spinner,
.pcr-strip-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid rgba(23, 72, 255, .14);
	border-top-color: var(--pcr-primary);
	border-radius: 50%;
	animation: pcr-spin .8s linear infinite;
}

.pcr-status.is-error .pcr-spinner,
.pcr-strip-status.is-error .pcr-strip-spinner {
	display: none;
}

@keyframes pcr-spin {
	to { transform: rotate(360deg); }
}

.pcr-rate-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.pcr-rate-card {
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--pcr-line);
	border-radius: 14px;
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease;
}

.pcr-rate-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(25, 44, 98, .10);
}

.pcr-card-top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pcr-flag {
	font-size: 27px;
	line-height: 1;
}

.pcr-card-top h3 {
	margin: 0;
	font-size: 15px;
}

.pcr-card-top p {
	overflow: hidden;
	margin: 3px 0 0;
	color: var(--pcr-muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcr-rate-value {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	margin-top: 17px;
}

.pcr-rate-value span {
	color: var(--pcr-muted);
	font-size: 11px;
	font-weight: 700;
}

.pcr-rate-value strong {
	font-size: 19px;
	line-height: 1;
	white-space: nowrap;
}

.pcr-converter {
	margin-top: 18px;
	padding: clamp(17px, 2.5vw, 25px);
	border-radius: 17px;
	background: var(--pcr-ink);
	color: #fff;
}

.pcr-converter-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}

.pcr-converter-kicker {
	min-height: auto;
	padding: 0;
	margin: 0 0 5px;
	background: none;
	color: #aebdff;
}

.pcr-converter-heading h3 {
	margin: 0;
	color: #fff;
	font-size: 23px;
}

.pcr-converter-badge {
	padding: 6px 9px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px;
	color: rgba(255,255,255,.72);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.pcr-converter-grid {
	display: grid;
	grid-template-columns: .9fr 1.15fr auto 1.15fr 1.6fr;
	align-items: end;
	gap: 10px;
}

.pcr-field {
	display: block;
	min-width: 0;
}

.pcr-field > span,
.pcr-conversion-result > span {
	display: block;
	margin-bottom: 6px;
	color: rgba(255,255,255,.62);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.pcr-field input,
.pcr-field select {
	width: 100%;
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 9px;
	outline: none;
	background: rgba(255,255,255,.09);
	color: #fff;
	font: inherit;
	font-size: 13px;
}

.pcr-field select option {
	color: #101828;
	background: #fff;
}

.pcr-field input:focus,
.pcr-field select:focus {
	border-color: #8ca0ff;
	box-shadow: 0 0 0 3px rgba(80, 104, 255, .18);
}

.pcr-swap-button {
	display: grid;
	width: 42px;
	height: 42px;
	margin-bottom: 2px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pcr-primary), var(--pcr-secondary));
	color: #fff;
	cursor: pointer;
	font-size: 20px;
}

.pcr-conversion-result {
	min-height: 70px;
	padding: 11px 13px;
	border-radius: 10px;
	background: #fff;
	color: var(--pcr-ink);
}

.pcr-conversion-result > span {
	margin-bottom: 3px;
	color: var(--pcr-muted);
}

.pcr-result-value {
	display: block;
	overflow-wrap: anywhere;
	font-size: 20px;
	line-height: 1.15;
}

.pcr-result-rate {
	display: block;
	margin-top: 5px;
	color: var(--pcr-muted);
	font-size: 10px;
}

.pcr-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 14px;
	color: var(--pcr-muted);
	font-size: 11px;
	line-height: 1.5;
}

.pcr-footer p {
	max-width: 760px;
	margin: 0;
}

.pcr-footer a {
	color: var(--pcr-primary);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* Compact homepage strip */
.pcr-strip-shell {
	display: grid;
	grid-template-columns: minmax(190px, 1.15fr) minmax(470px, 3.5fr) auto;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--pcr-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

.pcr-strip-intro {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 13px 15px;
	background: linear-gradient(135deg, var(--pcr-primary), var(--pcr-secondary));
	color: #fff;
}

.pcr-strip-icon {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	background: rgba(255,255,255,.13);
	font-size: 19px;
	font-weight: 800;
}

.pcr-strip-intro span {
	display: block;
	color: rgba(255,255,255,.68);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.pcr-strip-intro strong {
	display: block;
	overflow: hidden;
	margin-top: 1px;
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcr-strip-intro small {
	display: block;
	overflow: hidden;
	margin-top: 4px;
	color: rgba(255,255,255,.75);
	font-size: 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcr-strip-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 72px;
	color: var(--pcr-muted);
	font-size: 11px;
}

.pcr-strip-spinner {
	width: 17px;
	height: 17px;
	border-width: 2px;
}

.pcr-strip-rates {
	display: grid;
	grid-template-columns: repeat(5, minmax(78px, 1fr));
	min-width: 0;
}

.pcr-strip-rate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 72px;
	padding: 9px 8px;
	border-right: 1px solid var(--pcr-line);
	text-align: center;
}

.pcr-strip-rate span {
	color: var(--pcr-muted);
	font-size: 10px;
	font-weight: 800;
}

.pcr-strip-rate strong {
	margin-top: 5px;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
}

.pcr-strip-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 16px;
	background: #f8f9fc;
	color: var(--pcr-ink);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 1050px) {
	.pcr-rate-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.pcr-converter-grid {
		grid-template-columns: 1fr 1fr auto 1fr;
	}
	.pcr-conversion-result {
		grid-column: 1 / -1;
	}
	.pcr-strip-shell {
		grid-template-columns: minmax(190px, 1fr) minmax(430px, 2.7fr);
	}
	.pcr-strip-link {
		grid-column: 1 / -1;
		min-height: 38px;
		border-top: 1px solid var(--pcr-line);
	}
}

@media (max-width: 720px) {
	.pcr-shell {
		padding: 18px;
		border-radius: 16px;
	}
	.pcr-header {
		flex-direction: column;
	}
	.pcr-update-box {
		width: 100%;
	}
	.pcr-rate-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.pcr-converter-heading {
		flex-direction: column;
	}
	.pcr-converter-grid {
		grid-template-columns: 1fr 1fr;
	}
	.pcr-amount-field,
	.pcr-conversion-result {
		grid-column: 1 / -1;
	}
	.pcr-swap-button {
		grid-column: 1 / -1;
		margin: 0 auto;
		transform: rotate(90deg);
	}
	.pcr-footer {
		align-items: flex-start;
		flex-direction: column;
	}
	.pcr-strip-shell {
		display: block;
		border-radius: 12px;
	}
	.pcr-strip-rates {
		display: flex;
		overflow-x: auto;
		scrollbar-width: thin;
	}
	.pcr-strip-rate {
		flex: 0 0 104px;
		border-bottom: 1px solid var(--pcr-line);
	}
	.pcr-strip-link {
		min-height: 40px;
	}
}

@media (max-width: 460px) {
	.pcr-rate-grid {
		grid-template-columns: 1fr;
	}
}


/* Sidebar square currency box */
.pcr-box-widget {
	--pcr-primary: #1748ff;
	--pcr-secondary: #6c10ff;
	--pcr-ink: #101828;
	--pcr-muted: #667085;
	--pcr-line: rgba(16, 24, 40, .10);
	width: 100%;
	max-width: 390px;
	font-family: inherit;
	color: var(--pcr-ink);
}

.pcr-box-widget *,
.pcr-box-widget *::before,
.pcr-box-widget *::after {
	box-sizing: border-box;
}

.pcr-box-status[hidden],
.pcr-box-rates[hidden] {
	display: none !important;
}

.pcr-box-shell {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 390px;
	padding: 18px;
	border: 1px solid var(--pcr-line);
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0%, rgba(108, 16, 255, .16), transparent 34%),
		linear-gradient(150deg, #ffffff 0%, #f7f8ff 100%);
	box-shadow: 0 14px 38px rgba(16, 24, 40, .10);
}

.pcr-box-header {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--pcr-line);
}

.pcr-box-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--pcr-primary), var(--pcr-secondary));
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	box-shadow: 0 10px 22px rgba(55, 59, 238, .22);
}

.pcr-box-heading {
	min-width: 0;
}

.pcr-box-heading span {
	display: block;
	margin-bottom: 2px;
	color: var(--pcr-secondary);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.pcr-box-heading h3 {
	overflow: hidden;
	margin: 0;
	font-size: 18px;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcr-box-updated {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0 9px;
	color: var(--pcr-muted);
	font-size: 10px;
}

.pcr-box-updated span {
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.pcr-box-updated strong {
	overflow: hidden;
	max-width: 190px;
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcr-box-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 230px;
	color: var(--pcr-muted);
	font-size: 12px;
	text-align: center;
}

.pcr-box-status.is-error {
	color: #b42318;
}

.pcr-box-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid rgba(23, 72, 255, .14);
	border-top-color: var(--pcr-primary);
	border-radius: 50%;
	animation: pcr-spin .8s linear infinite;
}

.pcr-box-status.is-error .pcr-box-spinner {
	display: none;
}

.pcr-box-rates {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
}

.pcr-box-rate {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 49px;
	padding: 9px 11px;
	border: 1px solid var(--pcr-line);
	border-radius: 11px;
	background: rgba(255,255,255,.82);
}

.pcr-box-rate > div {
	min-width: 0;
}

.pcr-box-code {
	display: block;
	font-size: 13px;
	font-weight: 900;
}

.pcr-box-rate small {
	display: block;
	margin-top: 2px;
	color: var(--pcr-muted);
	font-size: 9px;
}

.pcr-box-rate strong {
	font-size: 15px;
	white-space: nowrap;
}

.pcr-box-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	margin-top: 11px;
	border-radius: 10px;
	background: var(--pcr-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease;
}

.pcr-box-link:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, var(--pcr-primary), var(--pcr-secondary));
	color: #fff;
}

.pcr-box-note {
	margin: 10px 2px 0;
	color: var(--pcr-muted);
	font-size: 9px;
	line-height: 1.45;
	text-align: center;
}

@media (max-width: 767px) {
	.pcr-box-widget {
		max-width: none;
	}
	.pcr-box-shell {
		min-height: auto;
	}
}


/* Ensure the sidebar CTA text stays readable against theme/Elementor link overrides */
.pcr-box-link,
.pcr-box-link:link,
.pcr-box-link:visited,
.pcr-box-link:hover,
.pcr-box-link:focus,
.pcr-box-link:active {
	color: #ffffff !important;
}

.pcr-box-link *,
.pcr-box-link:hover *,
.pcr-box-link:focus * {
	color: inherit !important;
}
