:root {
	/* Wise core palette */
	--primary: #163300;          /* Wise Forest Green – primary brand */
	--primary-bright: #9fe870;   /* Wise Bright Green – CTA fill */
	--primary-bright-hover: #8edc5c;
	--off: #f5f7f3;              /* Light surface */
	--dark: #0E0F0C;             /* Near-black foreground */
	--white: #ffffff;

	/* Gray scale */
	--gray-50: #f7f8f6;
	--gray-100: #f0f1ef;
	--gray-200: #e3e5e1;
	--gray-300: #c8cbc6;
	--gray-400: #868685;
	--gray-500: #6A6C6A;
	--gray-600: #454745;
	--gray-700: #2c2e2c;

	/* Success - Green */
	--success-dark: #2F5711;
	--success: #37a806;
	--success-off: #e8f5e0;

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

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

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

	/* Interactive - Green (Wise primary) */
	--info-dark: #163300;
	--info: #163300;
	--info-off: rgba(22, 51, 0, 0.08);

	/* 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 – Wise uses generous rounding */
	--r-sm: 4px;
	--r: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-xl: 20px;
	--r-xxl: 24px;
	--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);

	--font-family-sans-serif: '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: #9fe870;          /* Wise bright green pops on dark */
	--primary-bright: #9fe870;
	--primary-bright-hover: #b4f08a;
	--off: #0c0e0a;
	--dark: #f5f7f3;
	--white: #15171a;

	--gray-50: #1c1e1c;
	--gray-100: #232523;
	--gray-200: #2e3130;
	--gray-300: #444744;
	--gray-400: #7a7d7a;
	--gray-500: #9b9d9a;
	--gray-600: #c2c4c1;
	--gray-700: #e3e5e1;

	--success-dark: #6fcf40;
	--success: #4caf50;
	--success-off: #1b2e1b;

	--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: #9fe870;
	--info: #9fe870;
	--info-off: rgba(159, 232, 112, 0.12);
}

/*
* GLOBALS
*/
@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-black); }
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);
}
.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-light {
	background: var(--white);
	color: var(--info-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;
}
.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);
	}
}
