/* WellCoins frontend wrapper */

.wcc-frontend {
	box-sizing: border-box;
	font-family: inherit;
}

.wcc-frontend *,
.wcc-frontend *::before,
.wcc-frontend *::after {
	box-sizing: inherit;
}

/* Donations tab: charity grid */

.wcc-donations {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.wcc-donations .wcc__subtitle {
	grid-column: 1 / -1;
	margin-bottom: 6px !important;
}

/* Donations tab: charity cards */

.wcc-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.wcc-card__image img {
	display: block;
	width: 100%;
	height: auto;
}

.wcc-card__content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.wcc-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wcc-card__description {
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
	margin-bottom: 16px;
	flex-grow: 1;
}

/* Donations tab: actions */

.wcc-card__actions {
	margin-top: auto;
}

.wcc-button {
	display: inline-block;
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	background-color: #111827;
	color: #ffffff;
}

.wcc-button:hover {
	background-color: #1f2937;
}

.wcc-button:disabled,
.wcc-button[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Donations tab: empty state */

.wcc-donations p {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

/* Read more modal */

.wcc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.wcc-modal-overlay[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wcc-modal {
	width: 50vw;
	max-width: 900px;
	height: 75vh;
	background: #ffffff;
	border-radius: 6px;
	overflow-y: auto;
	position: relative;
	padding: 20px;

	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.wcc-modal-overlay[aria-hidden="false"] .wcc-modal {
	opacity: 1;
	transform: translateY(0);
}

.wcc-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 6px;
}

.wcc-modal__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wcc-modal__body {
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
}

@media (max-width: 900px) {
	.wcc-modal {
		width: 92vw;
		height: 80vh;
	}
}

@media (max-width: 600px) {
	.wcc-modal {
		width: 94vw;
		height: 84vh;
	}
}

/* Overview tab: status row */

.wcc-overview__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wcc-overview__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.wcc-overview__item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 16px;
	flex: 1 1 0;
	min-width: 100px;
	display: flex;
	flex-direction: column;
}

.wcc-overview__label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 8px;
}

.wcc-overview__value {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
}

/* Overview tab: progress bar */

.wcc-progress__track {
	width: 100%;
	height: 10px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
}

.wcc-progress__fill {
	height: 100%;
	width: 50%;
	border-radius: 999px;
	background: linear-gradient(90deg, #16a34a 0%, #86efac 100%);
}

/* Engagement breakdown */

.wcc-engagement__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wcc-engagement__desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #6b7280;
}

.wcc-engagement__empty {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

.wcc-engagement__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.wcc-engagement__left,
.wcc-engagement__right {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 16px;
	flex: 1 1 0;
	min-width: 100px;
}

.wcc-engagement__left {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcc-donut {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	position: relative;
}

.wcc-donut__hole {
	position: absolute;
	inset: 18%;
	background: #ffffff;
	border-radius: 50%;
}

.wcc-engagement__key {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wcc-key__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wcc-key__swatch {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex: 0 0 auto;
}

.wcc-key__label {
	font-size: 14px;
	line-height: 1.4;
	color: #111827;
}

/* Donations history */

.wcc-donations-history__header {
	margin: 0 0 16px;
}

.wcc-donations-history__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wcc-donations-history__table-wrap {
	width: 100%;
	overflow-x: auto;
}

.wcc-donations-history__table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
}

.wcc-donations-history__table th,
.wcc-donations-history__table td {
	padding: 12px 14px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: middle;
	font-size: 14px;
}

.wcc-donations-history__table thead th {
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: #ffffff;
}

.wcc-donations-history__table tbody tr:last-child td {
	border-bottom: none;
}

.wcc-donations-history__amount-col,
.wcc-donations-history__amount {
	text-align: right;
	white-space: nowrap;
}

.wcc-donations-history__amount-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
	background: #111827;
	color: #ffffff;
}

/* Donations history: responsive stacking */

@media (max-width: 600px) {
	.wcc-donations-history__table,
	.wcc-donations-history__table thead,
	.wcc-donations-history__table tbody,
	.wcc-donations-history__table th,
	.wcc-donations-history__table td,
	.wcc-donations-history__table tr {
		display: block;
		width: 100%;
	}

	.wcc-donations-history__table thead {
		display: none;
	}

	.wcc-donations-history__table tbody tr {
		border-bottom: 1px solid #e5e7eb;
		padding: 12px 14px;
	}

	.wcc-donations-history__table tbody tr:last-child {
		border-bottom: none;
	}

	.wcc-donations-history__table td {
		border: none;
		padding: 6px 0;
	}

	.wcc-donations-history__amount {
		text-align: left;
	}
}

/* MemberPress cleanup – Profile page only */
.elementor-page-39491 .mp-account-nav #mepr-account-welcome-message {
	display: none !important;
}

.elementor-page-39491 .mp-account-nav .mepr-account-form {
	display: none !important;
}

.elementor-page-39491 .mp-account-nav .mepr-account-change-password {
	display: none !important;
}

.elementor-page-39491 .mp-account-nav .mp_wrapper .mepr_spacer {
	display: none !important;
}

.elementor-page-39491 .mp-account-overview #mepr-account-nav {
	display: none !important;
}

/* Hide duplicated MemberPress subscriptions table (profile page only) */
.elementor-page-39491 #content > div > div > div > div > div.elementor-element.elementor-element-297400e.e-con-full.mp-account-nav.e-flex.e-con.e-child > div > div > div > div:nth-child(2) {
	display: none !important;
}

/* Active MemberPress nav */
.elementor-page-39491 .mepr-active-nav-tab > a {
	color: rgb(48, 138, 150);
}

/* Headings */
.elementor-page-39491 #mepr-account-welcome-message > p,
.elementor-page-39491
	#content
	> div
	> div
	> div
	> div
	> div.elementor-element.elementor-element-9174248.e-con-full.wc-overview.e-flex.e-con.e-child
	> div
	> div
	> div
	> div
	> h2 {
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 35px !important;
	font-weight: 600 !important;
	transform: scaleX(0.975) !important;
	transform-origin: left center !important;
	margin-bottom: 30px !important;
}

/* MemberPress form inputs */
.elementor-page-39491 #mepr_account_form input {
	border-radius: 10px;
}

/* Save Profile button */
.elementor-page-39491 #mepr_account_form > input.mepr-submit.mepr-share-button {
	border: 1px solid rgb(48, 138, 150);
	border-radius: 10px;
	background-color: #fff;
	color: rgb(48, 138, 150);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.elementor-page-39491 #mepr_account_form > input.mepr-submit.mepr-share-button:hover {
	background-color: rgb(48, 138, 150);
	color: #fff;
}

/* Overview cards */
.elementor-page-39491 .wcc-overview__item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	border-radius: 10px;
	border-color: #cacaca;
}

/* Overview labels */
.elementor-page-39491 .wcc-overview__label {
	width: 100% !important;
	margin-bottom: 15px;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 16px !important;
	letter-spacing: normal !important;
	text-align: left !important;
	vertical-align: middle !important;

	color: rgb(51, 51, 51) !important;
}

/* Overview values */
.elementor-page-39491 .wcc-overview__value {
	font-family: "Neulis Alt", Poppins, sans-serif;
	font-size: 25px !important;
	font-weight: 600;
	color: rgb(48, 138, 150);
}

.elementor-page-39491 .wcc-overview__value img {
	display: inline-block;
	height: 30px !important;
	width: auto;
	vertical-align: middle;
	margin-left: 8px;
	margin-bottom: 3.25px !important;
}

/* Progress bar */
.elementor-page-39491 .wcc-progress__track {
	margin-top: 8.5px;
	height: 16px;
	border-radius: 999px;
}

.elementor-page-39491 .wcc-progress__fill {
	height: 100%;
	background: rgb(48, 138, 150) !important;
	border-radius: inherit;
}

/* Donations cards */
.elementor-page-39491 .wcc-card {
	border-color: #cacaca !important;
	border-radius: 10px !important;
}

.elementor-page-39491 .wcc-card__image > img {
	border-radius: 10px 10px 0 0;
}

.elementor-page-39491 .wcc-card__title {
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 25px !important;
}

.elementor-page-39491 .wcc-card__description > p {
	width: 100% !important;
	margin-bottom: 5px;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: rgb(51, 51, 51) !important;
}

.elementor-page-39491 .wcc-charity-total {
	width: 100% !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	color: rgb(51, 51, 51) !important;
}

/* WCC donate buttons — match Save Profile button (incl. hover) */
.elementor-page-39491 .wcc-button {
	border: 1px solid rgb(48, 138, 150) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	color: rgb(48, 138, 150) !important;
	margin-bottom: 10px !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
}

.elementor-page-39491 .wcc-button:hover:not(:disabled):not([aria-disabled="true"]) {
	background-color: rgb(48, 138, 150) !important;
	color: #fff !important;
}

/* Reset all margins inside card content */
.elementor-page-39491 .wcc-card__content * {
	margin: 0 !important;
}

/* Default: even vertical spacing, except last element */
.elementor-page-39491 .wcc-card__content > * {
	margin-bottom: 10px !important;
}

.elementor-page-39491 .wcc-card__content > *:last-child {
	margin-bottom: 0 !important;
}

/* Make these two gaps 20px total */
.elementor-page-39491 .wcc-card__description {
	margin-bottom: 20px !important;
}

.elementor-page-39491 .wcc-card__actions {
	margin-bottom: 20px !important;
}

/* 10px spacing BETWEEN donate buttons */
.elementor-page-39491 .wcc-card__actions .wcc-button + .wcc-button {
	margin-top: 10px !important;
}

/* Profile page: read more modal */

.elementor-page-39491 .wcc-modal {
	border-radius: 10px !important;
	border: 1px solid rgb(48, 138, 150) !important;
}

.elementor-page-39491 .wcc-modal__title {
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 25px !important;
	font-weight: 600 !important;
	color: rgb(51, 51, 51) !important;
}

.elementor-page-39491 .wcc-modal__body,
.elementor-page-39491 .wcc-modal__body p {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: rgb(51, 51, 51) !important;
}

.elementor-page-39491 .wcc-modal__close {
	color: rgb(48, 138, 150) !important;
	border: 1px solid rgb(48, 138, 150) !important;
	border-radius: 6px;
}

.elementor-page-39491 .wcc-modal__close:hover {
	background-color: rgb(48, 138, 150) !important;
	color: #fff !important;
}

#wcc-read-more-modal-overlay > div > button {
	padding-bottom: 10.5px !important;
}

/* Engagement breakdown — match updated section styling */
.elementor-page-39491 .wcc-engagement__title {
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 40px !important;
	font-weight: 600 !important;
	color: rgb(51, 51, 51) !important;
}

.elementor-page-39491 .wcc-engagement__desc,
.elementor-page-39491 .wcc-key__label {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: rgb(51, 51, 51) !important;
}

/* Engagement panels/borders */
.elementor-page-39491 .wcc-engagement__left,
.elementor-page-39491 .wcc-engagement__right {
	border-color: #cacaca !important;
	border-radius: 10px !important;
}

/* Engagement breakdown description spacing */
.elementor-page-39491
	#content
	> div
	> div
	> div
	> div
	> div.elementor-element.elementor-element-8d049c3.e-con-full.wc-engagement.e-flex.e-con.e-child
	> div
	> div
	> div
	> div
	> div.wcc-engagement__desc {
	margin-bottom: 40px !important;
}

/* Donations made — title */
.elementor-page-39491 .wcc-donations-history__title {
	margin-bottom: 40px !important;
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 40px !important;
	font-weight: 600 !important;
	color: rgb(51, 51, 51) !important;
}

/* Donations made — table headers (Date / Charity / WellCoins) */
.elementor-page-39491 .wcc-donations-history__table thead th {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: rgb(51, 51, 51) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Donations made — table body text */
.elementor-page-39491 .wcc-donations-history__table td {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
		"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: rgb(51, 51, 51) !important;
}

/* Donations made — WellCoins amount badge (colour only) */
.elementor-page-39491 .wcc-donations-history__amount-badge {
	background-color: rgb(48, 138, 150) !important;
	color: #fff !important;
}

/* WellCoin header shortcode styling */

.wcc-wellcoins-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.wcc-wellcoins-banner__left {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.wcc-wellcoins-banner__amount,
.wcc-wellcoins-banner__label {
  font-size: 16px;
  color: rgb(48, 138, 150);
  line-height: 1;
}

.wcc-wellcoins-banner__amount {
  font-weight: 700;
}

.wcc-wellcoins-banner__right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.wcc-wellcoins-banner__badge {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: block;
}

/* Elementor header-only overrides */

body > header > div.elementor-element.elementor-element-d2d1022.elementor-hidden-tablet_extra.elementor-hidden-tablet.elementor-hidden-mobile_extra.elementor-hidden-mobile.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded.elementor-sticky.elementor-sticky--effects.elementor-sticky--active.elementor-section--handles-inside .elementor-widget-shortcode,
body > header > div.elementor-element.elementor-element-d2d1022.elementor-hidden-tablet_extra.elementor-hidden-tablet.elementor-hidden-mobile_extra.elementor-hidden-mobile.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded.elementor-sticky.elementor-sticky--effects.elementor-sticky--active.elementor-section--handles-inside .elementor-widget-shortcode .elementor-widget-container,
body > header > div.elementor-element.elementor-element-d2d1022.elementor-hidden-tablet_extra.elementor-hidden-tablet.elementor-hidden-mobile_extra.elementor-hidden-mobile.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded.elementor-sticky.elementor-sticky--effects.elementor-sticky--active.elementor-section--handles-inside .elementor-widget-shortcode .elementor-shortcode,
body > header > div.elementor-element.elementor-element-d2d1022.elementor-hidden-tablet_extra.elementor-hidden-tablet.elementor-hidden-mobile_extra.elementor-hidden-mobile.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded.elementor-sticky.elementor-sticky--effects.elementor-sticky--active.elementor-section--handles-inside .elementor-element.elementor-widget-shortcode {
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
}

.menu-item.profile-item {
  padding-right: 0 !important;
}

.wcc-wellcoins-banner__link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.wcc-wellcoins-banner__link:hover,
.wcc-wellcoins-banner__link:focus {
  text-decoration: none;
  color: inherit;
}

.wcc-wellcoins-banner__badge {
  transition: transform 0.2s ease;
}

.wcc-wellcoins-banner__link:hover .wcc-wellcoins-banner__badge {
  transform: scale(1.06);
}

.wcc-wellcoins-banner__link:active .wcc-wellcoins-banner__badge {
  transform: scale(0.94);
}

.elementor-element-d2d1022 .profile-text {
    /*font-size: 16px !important;*/
    font-weight: 600 !important;
    margin-top: 1.5px !important;
}

/* Plugin section titles */

.wcc-overview__title,
.elementor-page-39491 .wcc-engagement__title,
.elementor-page-39491 .wcc-donations-history__title,
.wcc-tc__title,
.wcc__subtitle {
	font-family: "Neulis Alt", Poppins, sans-serif !important;
	font-size: 35px !important;
	font-weight: 600 !important;
	transform: scaleX(0.975) !important;
	transform-origin: left center !important;
	margin-bottom: 30px !important;
}

.wcc-engagement__desc {
	margin-bottom: 20px !important;
}

#mepr_account_form > div.mp-form-row.mepr_email.mepr-field-required {
	margin-bottom: 0 !important;
}

.wc-tc > div:nth-of-type(2) > div > p:last-of-type {
	margin-bottom: 0 !important;
}

.wc-tc p:last-of-type {
	margin-bottom: 0 !important;
}

/* Donations History Pagination */
.wcc-donations-history__pagination {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.wcc-donations-history__page-link {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	background: #fff;
	color: inherit;
}

.wcc-donations-history__page-link:hover {
	background: #f5f5f5;
}

.wcc-donations-history__page-link--current {
	background: #308A96;
	border-color: #308A96;
	color: #fff;
	cursor: default;
}

.wcc-donations-history__page-link--prev,
.wcc-donations-history__page-link--next {
	font-weight: 500;
}