:root {
	/* Core palette – near-black ink + pastel green accent on warm neutrals */
	--primary: #9fe870;          /* Pastel green – primary brand fill */
	--primary-bright: #a6e690;   /* Pastel green – CTA fill */
	--primary-bright-hover: #93dc7a;
	/* The brand green at ink strength. --primary and --primary-bright are both
	   fills; on paper they are far too light to carry a hairline, an icon or a
	   label. These are the same hue taken down to the weights --info holds, and
	   like every family below they flip with the theme — on a dark ground the
	   ink is the lighter of the pair, not the darker. */
	--primary-mark: #4d8b21;     /* marks, icons, chart fills */
	--primary-dark: #2a5f1a;     /* labels and small text */
	--primary-off: rgba(77, 139, 33, 0.1);
	--off: #eae9e3;              /* Warm putty app background */
	--dark: #16171a;             /* Near-black foreground */
	--white: #ffffff;

	/* Gray scale – warm neutrals */
	--gray-50: #f7f7f4;
	--gray-100: #efefea;
	--gray-200: #e2e2da;
	--gray-300: #cbcbc2;
	--gray-400: #8b8b82;
	--gray-500: #6b6b62;
	--gray-600: #47473f;
	--gray-700: #2c2c26;

	/* Success - Green */
	--success-dark: #2F5711;
	--success: #4aa32a;
	--success-off: #d9f2c8;

	/* Warning - Amber */
	--warning-dark: #8a6d1b;
	--warning: #EDC843;
	--warning-off: #faf3d0;

	/* Danger - Red */
	--danger-dark: #8c1a0b;
	--danger: #A8200D;
	--danger-off: #fbe9e5;

	/* Accent - Purple */
	--accent-dark: #7c3aed;
	--accent: #a78bfa;
	--accent-off: #ede9fe;

	/* Interactive - Periwinkle */
	--info-dark: #4f4ccc;
	--info: #6f6cf0;
	--info-off: rgba(111, 108, 240, 0.1);

	/* Spacing scale */
	--p-sm: 4px;
	--p: 8px;
	--p-md: 12px;
	--p-lg: 16px;
	--p-xl: 24px;
	--p-xxl: 40px;
	--p-xxxl: 64px;

	/* Border radius scale – soft, very generous rounding */
	--r-sm: 6px;
	--r: 10px;
	--r-md: 14px;
	--r-lg: 18px;
	--r-xl: 24px;
	--r-xxl: 32px;
	--r-pill: 999px;

	/* Type scale – Wise leans on bold humanist sans */
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-black: 800;

	--fs-xs: 12px;
	--fs-sm: 13px;
	--fs-base: 15px;
	--fs-md: 17px;
	--fs-lg: 20px;
	--fs-xl: 24px;
	--fs-2xl: 32px;
	--fs-3xl: 40px;
	--fs-4xl: 56px;

	/* Shadow scale - consistent depth progression */
	--shadow-none: 0 0 transparent;
	--shadow-xs: 0 1px 2px rgba(14, 15, 12, 0.04);
	--shadow-sm: 0 1px 3px rgba(14, 15, 12, 0.06), 0 1px 2px rgba(14, 15, 12, 0.04);
	--shadow: 0 4px 12px rgba(14, 15, 12, 0.06), 0 2px 4px rgba(14, 15, 12, 0.04);
	--shadow-md: 0 12px 24px rgba(14, 15, 12, 0.08), 0 4px 8px rgba(14, 15, 12, 0.04);
	--shadow-lg: 0 24px 48px rgba(14, 15, 12, 0.10), 0 8px 16px rgba(14, 15, 12, 0.04);

	/* Catches the light along a raised edge. Ink can't cast a visible shadow on
	   a dark ground, so the dark theme lifts surfaces with this instead; on the
	   light theme it stays out of the way. Append it to a box-shadow list. */
	--shadow-edge: 0 0 transparent;

	--font-family-sans-serif: 'Poppins', 'Inter', 'Geist', ui-sans-serif, system-ui, -apple-system,
		BlinkMacSystemFont, 'Segoe UI', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
		Segoe UI Symbol, 'Noto Color Emoji';
	--font-family-mono: 'GeistMono', ui-monospace, 'SF Mono', Menlo, monospace;
}
[data-theme='dark'] {
	--primary: #9fe184;          /* Pastel green pops on dark */
	--primary-bright: #1f2b1c;
	--primary-bright-hover: #283827;
	--primary-mark: #8fd96a;
	--primary-dark: #b3ea90;
	--primary-off: rgba(143, 217, 106, 0.14);
	/* The ground sits well below the --white surface: on dark, depth reads as a
	   lighter plane, not as a shadow. */
	--off: #0e0e0d;
	--dark: #f0efe9;
	--white: #1c1c19;

	/* Warm neutrals climb away from the surface, so a fill or a hairline border
	   is legible on top of a card rather than sinking into it. */
	--gray-50: #232320;
	--gray-100: #2b2b27;
	--gray-200: #383831;
	--gray-300: #4f4f47;
	--gray-400: #85857d;
	--gray-500: #a2a29a;
	--gray-600: #c8c8c0;
	--gray-700: #e8e8e2;

	--success-dark: #8bdc6f;
	--success: #66c94a;
	--success-off: #1f2e18;

	--warning-dark: #f0d060;
	--warning: #ffc107;
	--warning-off: #2e2a1b;

	--danger-dark: #ef5350;
	--danger: #d32f2f;
	--danger-off: #2e1b1b;

	--accent-dark: #b388ff;
	--accent: #9c7cf5;
	--accent-off: #1e1b2e;

	--info-dark: #aeacf8;
	--info: #8f8cf5;
	--info-off: rgba(143, 140, 245, 0.14);

	/* The light theme's ink-on-paper shadows are invisible here, so the scale is
	   restated in real black at the alphas a dark ground actually shows. */
	--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.45);
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 2px 5px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 14px 28px rgba(0, 0, 0, 0.6), 0 5px 10px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 28px 56px rgba(0, 0, 0, 0.65), 0 10px 20px rgba(0, 0, 0, 0.5);
	--shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/*
* GLOBALS
*/
/* Poppins – geometric sans carrying the rounded, friendly look. Self-hosted,
   split latin / latin-ext (pl, pt, de… diacritics) like Google Fonts serves it. */
@font-face {
	font-family: 'Poppins';
	font-weight: 400;
	font-display: swap;
	src: url('../font/Poppins-Regular-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 400;
	font-display: swap;
	src: url('../font/Poppins-Regular.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
		U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 500;
	font-display: swap;
	src: url('../font/Poppins-Medium-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 500;
	font-display: swap;
	src: url('../font/Poppins-Medium.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
		U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 600;
	font-display: swap;
	src: url('../font/Poppins-SemiBold-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 600;
	font-display: swap;
	src: url('../font/Poppins-SemiBold.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
		U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 700;
	font-display: swap;
	src: url('../font/Poppins-Bold-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
		U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}
@font-face {
	font-family: 'Poppins';
	font-weight: 700;
	font-display: swap;
	src: url('../font/Poppins-Bold.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
		U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Geist';
	src: url('../font/Geist.ttf') format('truetype');
}

@font-face {
	font-family: 'GeistMono';
	src: url('../font/GeistMono.ttf') format('truetype');
}
* {
	box-sizing: border-box;
}
body {
	background: var(--off);
	border-width: 0;
	padding: 0;
	margin: 0;
	color: var(--dark);
	font-family: var(--font-family-sans-serif);
	font-size: var(--fs-base);
	font-weight: var(--fw-regular);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	color: var(--dark);
	letter-spacing: -0.02em;
	margin: 0;
	font-weight: var(--fw-bold);
}
h1 { font-size: var(--fs-3xl); line-height: 1.1; font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-2xl); line-height: 1.15; font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-xl); line-height: 1.2; font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-lg); line-height: 1.25; font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-md); line-height: 1.3; font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-base); line-height: 1.4; font-weight: var(--fw-semibold); }

.bg-info-off {
	color: var(--info);
	background-color: var(--info-off);
}
a {
	color: inherit;
	text-decoration: underline;
}
.container-wide,
.container-fluid,
.container-narrow,
.container {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--p);
	margin:0 auto;
}
.container {
	max-width: 1200px;
}
.container-wide {
	max-width: 1800px;
}
.container-narrow{
	max-width: 768px;
}

button {
	appearance: none;
	border: unset;
	background: unset;
	color: inherit;
	font-size: inherit;
	cursor: pointer;
	margin: 0;
	padding: 0;
}
.btn {
	border-width: 0;
	display: flex;
	border-radius: var(--p-sm);
	gap: var(--p);
	padding: var(--p) var(--p);
	font-size: 14px;
	line-height: 1;
	background: var(--shadow-sm);
}

a[href='#']:hover,
a[href='javascript:void(0)']:hover {
	cursor: default;
}

.bg-warning {
	background-color: var(--warning);
}
.bg-success {
	background-color: var(--success);
}
.bg-danger {
	background-color: var(--danger);
}
.bg-accent {
	background-color: var(--accent);
}
.bg-info {
	background-color: var(--info);
}
.bg-transparent {
	background-color: transparent;
}
.bg-warning-off {
	background-color: var(--warning-off);
}
.bg-success-off {
	background-color: var(--success-off);
}
.bg-danger-off {
	background-color: var(--danger-off);
}
.bg-accent-off {
	background-color: var(--accent-off);
}
.bg-info-off {
	background-color: var(--info);
}
.color-warning {
	color: var(--warning);
}
.color-success {
	color: var(--success);
}
.color-danger {
	color: var(--danger);
}
.color-accent {
	color: var(--accent);
}
.color-info {
	color: var(--info);
}
.tone-outline {
	background-color: transparent;
	border: 1.5px solid var(--gray-300) !important;
	color: var(--dark);
	box-shadow: unset;
}
.tone-outline:hover {
	background-color: var(--gray-100);
	border-color: var(--gray-400) !important;
}
.tone-transparent {
	background-color: transparent;
	color: var(--dark);
}
.tone-transparent:hover {
	background-color: var(--gray-100);
}
.tone-warning {
	background: var(--warning);
	color: var(--dark);
}
.tone-success {
	background: var(--success);
	color: var(--white);
}
.tone-danger {
	background: var(--danger);
	color: var(--white);
}
.tone-danger:hover {
	background: var(--danger-dark);
}
/* Wise's signature CTA – bright green pill on dark text */
.tone-accent {
	background: var(--primary-bright);
	color: var(--primary);
}
.tone-accent:hover {
	background: var(--primary-bright-hover);
}
/* The same pill inked from the brand green rather than from --primary, which is
   itself a fill: both halves flip with the theme, so it stays a green pill on
   paper and on a dark ground. */
.tone-primary {
	background: var(--primary-bright);
	color: var(--primary-dark);
}
.tone-primary:hover {
	background: var(--primary-bright-hover);
}
.tone-bold {
	font-weight: 800 !important;
}
.tone-info {
	background: var(--info);
	color: var(--white);
}
.tone-info:hover {
	background: var(--gray-700);
}
.tone-disabled {
	background: var(--gray-200);
	color: var(--gray-500);
}
.tone-default {
	background: var(--dark);
	color: var(--white);
}
.tone-default:hover {
	background: var(--gray-700);
}
.tone-warning-off {
	background: var(--warning-off);
	color: var(--warning-dark);
}
.tone-success-off {
	background: var(--success-off);
	color: var(--success-dark);
}
.tone-danger-off {
	background: var(--danger-off);
	color: var(--danger-dark);
}
.tone-info-off {
	background: var(--info-off);
	color: var(--info-dark);
}
.tone-accent-off {
	background: var(--accent-off);
	color: var(--accent-dark);
}
.tone-light {
	background: var(--white);
	color: var(--primary-dark);
}
.tone-unstyled {
	box-shadow: unset !important;
	padding: 0 !important;
	gap: var(--p-sm);
	background: transparent;
}
.tone-warning-foreground {
	background: transparent;
	color: var(--warning);
}
.tone-success-foreground {
	background: transparent;
	color: var(--success);
}
.tone-danger-foreground {
	background: transparent;
	color: var(--danger);
}
.tone-info-foreground {
	background: transparent;
	color: var(--info);
}
input:focus {
	outline: none;
}
textarea,
input:not([type]),
input[type=''],
input[type='text'],
input[type='number'],
input[type='password'],
input[type='date'],
input[type='select'] {
	appearance: none;
	padding: 0;
	margin: 0;
	border-width: 0;
	border-radius: 0;
	width: 100%;
	padding: var(--p);
	line-height: 1;
}

.fade-in-up {
	opacity: 0;
	animation: fadeInUp 1s ease forwards;
}
.table-border {
	border: 1px solid var(--gray);
	border-radius: var(--r);
}
/** TOASTS */
#toasts {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 50;
	margin: var(--p-md);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
	gap: var(--p);
	overflow: visible;
}
.toast {
	background: var(--white);
	padding: 0;
	padding: 0 var(--p-xl);
	color: var(--dark);
	border: 1px solid var(--gray);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: var(--p);
	opacity: 0;
	animation: fadeInUpFadeOut 5s ease-in-out forwards;
}
/* A toast that offers a follow-up action: the whole card is the button, and it
   stays up longer so there is time to take it. */
.toast.is-actionable {
	cursor: pointer;
	animation-duration: 9s;
	text-align: left;
	transition: border-color 120ms ease;
}
.toast.is-actionable:hover,
.toast.is-actionable:focus-visible {
	border-color: var(--gray-400);
}
.toast.is-actionable .description {
	color: var(--info-dark);
	font-weight: 500;
	opacity: 1;
	text-decoration: underline;
}
.toast .title {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--p);
	font-weight: 500;
	font-size: 14px;
	justify-content: space-between;
	width: 100%;
}
.toast .description {
	font-size: 12px;
	font-weight: 400;
	opacity: 0.9;
}
.toast .close {
	position: absolute;
	top: var(---md);
	right: var(--p-md);
	color: inherit;
}
.toast .tone-indicator {
	width: 10px;
	height: 10px;
	border-radius: 100px;
}
.row-responsive,
.row {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	gap: inherit;
	width: 100%;
}
@media (max-width: 991.98px) {
	.row-responsive {
		flex-direction: column;
	}
}
.column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: inherit;
	width: 100%;
}
.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--p);
}
.grid-1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--p-lg);
}
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--p-lg);
}
.row > * {
	/* min-width: 0; */
	flex: 1;
}
.gap-0 {
	gap: 0;
}
.gap-1 {
	gap: var(--p-sm);
}
.gap-2 {
	gap: var(--p);
}
.gap-3 {
	gap: var(--p-md);
}
.gap-4 {
	gap: var(--p-lg);
}
.gap-5 {
	gap: var(--p-xl);
}

.warning {
	padding: var(--p-md);
	border-radius: var(--p);
	font-size: 14px;
}

.grecaptcha-badge {
	display: none !important;
}

.loading-spinner {
	/* Set dimensions for the spinner */
	width: 20px;
	height: 20px;

	/* Make it a circle using border-radius */
	border-radius: 50%;

	/* Create a border with transparency to simulate a spinning effect */
	border: 4px solid rgba(0, 0, 0, 0.2);
	border-top-color: #000; /* Set the actual spinning color (black in this case) */

	/* Animation for smooth spinning */
	animation: spin 1s linear infinite;
}

/* Define the animation for rotation */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}



@keyframes fadeInUpFadeOut {
	0% {
		padding-bottom: 0;
		padding-top: 0;
		opacity: 0;
		transform: translateY(20px); /* Adjust the distance as needed */
	}
	10% {
		padding-bottom: var(--p-md);
		padding-top: var(--p-md);
		/* height: fit-content; */
		opacity: 1;
		transform: translateY(0);
	}
	90% {
		opacity: 1;
		transform: translateY(0);
	}
	99% {
		padding-bottom: var(--p-md);
		padding-top: var(--p-md);
		opacity: 0;
		transform: translateX(20px);
	}
	100% {
		/* padding-bottom: var(--p-md); */
		/* padding-top: var(--p-md); */
		display: none;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px); /* Adjust the distance as needed */
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
