/**
 * BondIT Loyalty Widget Styles
 * Corner chatbot-style widget - NO scrolling
 */

/* Tailwind-like utility classes */
.block {
	display: block;
}

.flex {
	display: flex;
}

.flex-row-reverse {
	flex-direction: row-reverse;
}

.inline-block {
	display: inline-block;
}

.items-center {
	align-items: center;
}

.items-start {
	align-items: flex-start;
}

.justify-between {
	justify-content: space-between;
}

.justify-center {
	justify-content: center;
}

.flex-col {
	flex-direction: column;
}

.flex-1 {
	flex: 1 1 0%;
}

.flex-wrap {
	flex-wrap: wrap;
}

.gap-1 {
	gap: 0.25rem;
}

.gap-1\.5 {
	gap: 0.375rem;
}

.gap-2 {
	gap: 0.5rem;
}

.gap-3 {
	gap: 0.75rem;
}

.space-y-1\.5>*+* {
	margin-top: 0.375rem;
}

.space-y-2>*+* {
	margin-top: 0.5rem;
}

.space-y-3>*+* {
	margin-top: 0.75rem;
}

/* .text-left {
	text-align: left;
} */

.text-center {
	text-align: center;
}

.text-xs {
	font-size: 0.75rem;
	line-height: 1rem;
}

.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.text-base {
	font-size: 1rem;
	line-height: 1.5rem;
}

.text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
}

.text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
}

.text-4xl {
	font-size: 2.25rem;
	line-height: 2.5rem;
}

.text-5xl {
	font-size: 3rem;
	line-height: 1;
}

.text-6xl {
	font-size: 3.75rem;
	line-height: 1;
}

.text-\[12px\] {
	font-size: 12px;
}

.text-\[16px\] {
	font-size: 16px;
}

.font-light {
	font-weight: 300;
}

.font-medium {
	font-weight: 500;
}

.font-\[400\] {
	font-weight: 400;
}

.mb-1 {
	margin-bottom: 0.25rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 0.75rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-5 {
	margin-bottom: 1.25rem;
}

.mb-6 {
	margin-bottom: 1.5rem;
}

.mt-1 {
	margin-top: 0.25rem;
}

.mt-2 {
	margin-top: 0.5rem;
}

.mt-4 {
	margin-top: 1rem;
}

.mt-5 {
	margin-top: 1.25rem;
}

.mt-8 {
	margin-top: 2rem;
}

.ms-1 {
	margin-inline-start: 0.25rem;
}

.p-0\.5 {
	padding: 0.125rem;
}

.p-1 {
	padding: 0.25rem;
}

.p-2 {
	padding: 0.5rem;
}

.p-3 {
	padding: 0.75rem;
}

.p-4 {
	padding: 1rem;
}

.p-6 {
	padding: 1.5rem;
}

.p-8 {
	padding: 2rem;
}

.p-10 {
	padding: 2.5rem;
}

.px-0\.5 {
	padding-left: 0.125rem;
	padding-right: 0.125rem;
}

.px-1 {
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}

.px-2 {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.px-3 {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.px-10 {
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

.py-0\.5 {
	padding-top: 0.125rem;
	padding-bottom: 0.125rem;
}

.py-1 {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.py-2 {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.py-2\.5 {
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
}

.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.py-6 {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.py-8 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.pb-3 {
	padding-bottom: 0.75rem;
}

.pt-2 {
	padding-top: 0.5rem;
}

.pt-4 {
	padding-top: 1rem;
}

.rounded-lg {
	border-radius: 0.5rem;
}

.rounded-xl {
	border-radius: 0.75rem;
}

.rounded-2xl {
	border-radius: 1rem;
}

.rounded-3xl {
	border-radius: 1.5rem;
}

.rounded-full {
	border-radius: 9999px;
}

.h-1\.5 {
	height: 0.375rem;
}

.h-2 {
	height: 0.5rem;
}

.border {
	border-width: 1px;
	border-color: #e5e7eb;
	border-style: solid;
}

.border-dashed {
	border-style: dashed;
}

.border-gray-200 {
	border-color: #e5e7eb;
}

.bg-white {
	background-color: #ffffff;
}

.bg-gray-50 {
	background-color: #f9fafb;
}

.bg-gray-100 {
	background-color: #f3f4f6;
}

.bg-gray-200 {
	background-color: #e5e7eb;
}

.text-gray-400 {
	color: #9ca3af;
}

.text-gray-600 {
	color: #4b5563;
}

.text-gray-700 {
	color: #374151;
}

.text-muted {
	color: #6b7280;
}

.text-slate-600 {
	color: #475569;
}

.hover\:text-gray-600:hover {
	color: #4b5563;
}

.hover\:underline:hover {
	text-decoration: underline;
}

.text-red-600 {
	color: #dc2626;
}

a {
	text-decoration: none;
}

.w-3 {
	width: 0.75rem;
}

.w-3\.5 {
	width: 0.875rem;
}

.w-4 {
	width: 1rem;
}

.w-6 {
	width: 1.5rem;
}

.w-10 {
	width: 2.5rem;
}

.w-15 {
	width: 3.75rem;
}

.w-full {
	width: 100%;
}

.h-15 {
	height: 3.75rem;
}

.max-w-40 {
	max-width: 10rem;
}

.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.py-12 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.shrink-0 {
	flex-shrink: 0;
}

.capitalize {
	text-transform: capitalize;
}

.underline {
	text-decoration: underline;
}

.break-all {
	word-break: break-all;
}

.object-contain {
	object-fit: contain;
}

.cursor-pointer {
	cursor: pointer;
}

.hidden {
	display: none;
}

.opacity-50 {
	opacity: 0.5;
}

.transform {
	transform: translateZ(0);
}

.transition-transform {
	transition: transform 0.2s ease;
}

/* Font families - Google Fonts will be loaded via link tag in widget HTML */
/* English Fonts */
.font-inter {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-roboto {
	font-family: 'Roboto', sans-serif;
}

.font-opensans {
	font-family: 'Open Sans', sans-serif;
}

.font-lato {
	font-family: 'Lato', sans-serif;
}

.font-montserrat {
	font-family: 'Montserrat', sans-serif;
}

.font-sourcesanspro {
	font-family: 'Source Sans Pro', sans-serif;
}

.font-raleway {
	font-family: 'Raleway', sans-serif;
}

.font-ptsans {
	font-family: 'PT Sans', sans-serif;
}

.font-playfair {
	font-family: 'Playfair Display', serif;
}

.font-ubuntu {
	font-family: 'Ubuntu', sans-serif;
}

.font-crimsontext {
	font-family: 'Crimson Text', serif;
}

.font-heebo {
	font-family: 'Heebo', sans-serif;
}

.font-cabin {
	font-family: 'Cabin', sans-serif;
}

.font-lobster {
	font-family: 'Lobster', cursive;
}

.font-pacifico {
	font-family: 'Pacifico', cursive;
}

.font-abrilfatface {
	font-family: 'Abril Fatface', cursive;
}

.font-barlow {
	font-family: 'Barlow', sans-serif;
}

.font-breeserif {
	font-family: 'Bree Serif', serif;
}

.font-bitter {
	font-family: 'Bitter', serif;
}

.font-librebaskerville {
	font-family: 'Libre Baskerville', serif;
}

.font-archivonarrow {
	font-family: 'Archivo Narrow', sans-serif;
}

.font-alegreyasans {
	font-family: 'Alegreya Sans', sans-serif;
}

.font-droidsans {
	font-family: 'Droid Sans', sans-serif;
}

.font-merriweather {
	font-family: 'Merriweather', serif;
}

.font-nunito {
	font-family: 'Nunito', sans-serif;
}

.font-quicksand {
	font-family: 'Quicksand', sans-serif;
}

.font-titilliumweb {
	font-family: 'Titillium Web', sans-serif;
}

.font-firasans {
	font-family: 'Fira Sans', sans-serif;
}

.font-josefinsans {
	font-family: 'Josefin Sans', sans-serif;
}

.font-karla {
	font-family: 'Karla', sans-serif;
}

.font-muli {
	font-family: 'Muli', sans-serif;
}

.font-poppins {
	font-family: 'Poppins', sans-serif;
}

.font-satisfy {
	font-family: 'Satisfy', cursive;
}

.font-shadowintolight {
	font-family: 'Shadows Into Light', cursive;
}

.font-signika {
	font-family: 'Signika', sans-serif;
}

.font-spectral {
	font-family: 'Spectral', serif;
}

.font-tangerine {
	font-family: 'Tangerine', cursive;
}

.font-varelaround {
	font-family: 'Varela Round', sans-serif;
}

.font-yanonekaffeesatz {
	font-family: 'Yanone Kaffeesatz', sans-serif;
}

.font-zillaslab {
	font-family: 'Zilla Slab', serif;
}

.font-anton {
	font-family: 'Anton', sans-serif;
}

.font-bangers {
	font-family: 'Bangers', cursive;
}

.font-caveat {
	font-family: 'Caveat', cursive;
}

.font-comfortaa {
	font-family: 'Comfortaa', cursive;
}

.font-dancingscript {
	font-family: 'Dancing Script', cursive;
}

.font-exo {
	font-family: 'Exo', sans-serif;
}

.font-fredokaone {
	font-family: 'Fredoka One', cursive;
}

.font-indieflower {
	font-family: 'Indie Flower', cursive;
}

.font-lobstertwo {
	font-family: 'Lobster Two', cursive;
}

/* Arabic Fonts */
.font-tajawal {
	font-family: 'Tajawal', sans-serif;
}

.font-amiri {
	font-family: 'Amiri', serif;
}

.font-cairo {
	font-family: 'Cairo', sans-serif;
}

.font-changa {
	font-family: 'Changa', sans-serif;
}

.font-elmessiri {
	font-family: 'El Messiri', sans-serif;
}

.font-ibmplexsansarabic {
	font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.font-notosansarabic {
	font-family: 'Noto Sans Arabic', sans-serif;
}

.font-rubik {
	font-family: 'Rubik', sans-serif;
}

.font-scheherazadenew {
	font-family: 'Scheherazade New', serif;
}

.font-almarai {
	font-family: 'Almarai', sans-serif;
}

.font-aladin {
	font-family: 'Aladin', cursive;
}

.font-alata {
	font-family: 'Alata', sans-serif;
}

.font-alatsi {
	font-family: 'Alatsi', sans-serif;
}

.font-alfaslabone {
	font-family: 'Alfa Slab One', cursive;
}

.font-almendra {
	font-family: 'Almendra', serif;
}

.font-almendradisplay {
	font-family: 'Almendra Display', cursive;
}

.font-almendrasc {
	font-family: 'Almendra SC', serif;
}

/* Local Fonts - Expo Arabic */
@font-face {
	font-family: 'Expo Arabic';
	src: url('/font/expo-arabic-book.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Expo Arabic';
	src: url('/font/expo-arabic-light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Expo Arabic';
	src: url('/font/expo-arabic-medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Expo Arabic';
	src: url('/font/expo-arabic-semi-bold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

.font-expo {
	font-family: 'Expo Arabic', sans-serif;
}

/* Floating Button - rounded square (icon mode) */
.bondit-widget-floating-btn {
	position: fixed;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #3B82F6;
	/* Default color, will be overridden by inline style from config */
	border: none;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9998;
	transition: all 0.3s ease;
	padding: 0;
	opacity: 1;
}

.bondit-widget-floating-btn svg {
	width: 24px;
	height: 24px;
	display: block;
	margin: 0;
}

.bondit-widget-floating-btn:hover {
	/* opacity: 0.9; */
	transform: translateY(-2px);
	filter: brightness(0.9);
}

/* Preserve vertical center on hover for middle positions */
.bondit-widget-floating-btn.widget-position-middle-right:hover,
.bondit-widget-floating-btn.widget-position-middle-left:hover {
	transform: translateY(-50%) translateY(-2px);
}

/* Text Style Button - vertical bar with rotated text */
.bondit-widget-floating-btn-text {
	border-radius: 12px;
	width: 48px;
	min-width: 48px;
	height: 140px;
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bondit-widget-floating-btn-text .bondit-widget-btn-text {
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	transform: rotate(-90deg);
	color: inherit;
}

/* Widget Container - Corner position like chatbot, fixed height with scrollable content */
.bondit-widget-container {
	position: fixed;
	width: 400px;
	max-width: calc(100vw - 48px);
	height: calc(100vh - 60px);
	max-height: calc(100vh - 60px);
	z-index: 9999;
	animation: bondit-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	border-radius: 1.5rem;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
	display: flex;
	flex-direction: column;
}

/* Position variants (desktop) */
.widget-position-bottom-right {
	bottom: 24px;
	right: 24px;
	left: auto;
	top: auto;
	transform: none;
}

.widget-position-bottom-left {
	bottom: 24px;
	left: 24px;
	right: auto;
	top: auto;
	transform: none;
}

.widget-position-middle-right {
	top: 50%;
	right: 24px;
	bottom: auto;
	left: auto;
	transform: translateY(-50%);
}

.widget-position-middle-left {
	top: 50%;
	left: 24px;
	bottom: auto;
	right: auto;
	transform: translateY(-50%);
}

/* Button positioning for middle positions */
.bondit-widget-floating-btn.widget-position-middle-right {
	top: 50%;
	right: 0;
	bottom: auto;
	left: auto;
	transform: translateY(-50%);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.bondit-widget-floating-btn.widget-position-middle-left {
	top: 50%;
	left: 0;
	bottom: auto;
	right: auto;
	transform: translateY(-50%);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Flush button to screen edge and zero radius on attached side */
.bondit-widget-floating-btn.widget-position-bottom-right {
	right: 0;
	left: auto;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.bondit-widget-floating-btn.widget-position-bottom-left {
	left: 0;
	right: auto;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Allow modal to overflow container */
.bondit-widget-container>.bondit-confirmation-modal {
	overflow: visible;
}

@keyframes bondit-slide-up {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Card Container - Full height with flex layout for header/content/footer */
.bondit-widget-card {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Scrollable content area - wraps everything between header and footer */
.bondit-widget-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 0;
}

/* Header - always visible at top */
.bondit-widget-header {
	flex-shrink: 0;
}

/* Footer - always visible at bottom */
.bondit-widget-footer {
	flex-shrink: 0;
	margin-top: auto;
}

/* Pages that need full height */
.bondit-full-height-card {
	min-height: calc(100vh - 140px);
}

/* Challenge detail page - needs more vertical spacing */
.bondit-challenge-detail-card {
	min-height: 500px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Badge - layout only; colors come from widget appearance (button color) */
.bondit-widget-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
}

/* Logo Text */
.bondit-widget-logo-text {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
	font-size: 26px;
	font-weight: 900;
	color: #b7b7b7;
	letter-spacing: -0.5px;
	margin-top: 5px;
	margin-bottom: 0;
}

/* Button Styles */
button {
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	background: none;
	font-family: inherit;
}

/* button:hover {
	opacity: 0.9;
} */

.bondit-widget-btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.bondit-widget-btn-sm:hover {
	transform: translateY(-1px);
	/* opacity: 0.95; */
}

.bondit-widget-btn-outline {
	background: transparent;
	border: 1px solid #e5e7eb !important;
	color: #1f2937 !important;
}

.bondit-widget-btn-outline:hover {
	background: #f9fafb !important;
}

.bondit-widget-btn-login {
	padding: 0.5rem 1.5rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.bondit-widget-btn-login:hover {
	transform: translateY(-1px);
	/* opacity: 0.95; */
}

/* Rewards list page cards (استبدل نقاطك) - light grey, shadow, no border */
.bondit-rewards-list-card {
	transition: box-shadow 0.2s ease;
}

.bondit-rewards-list-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bondit-rewards-list-card.opacity-50:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Reward Card (detail / other) */
.bondit-reward-card {
	transition: all 0.2s ease;
	background: white;
}

.bondit-reward-card:hover {
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
	transform: translateY(-2px);
}

/* Challenges Grid */
.bondit-challenges-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.bondit-challenge-box {
	transition: transform 0.2s, box-shadow 0.2s;
}

.bondit-challenge-box:hover {
	transform: translateY(-2px);
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

.col-span-2 {
	grid-column: span 2 / span 2;
}

.bondit-reward-card.opacity-50 {
	cursor: not-allowed;
}

.bondit-reward-card.opacity-50:hover {
	transform: none;
	box-shadow: none;
}

/* Loading State */
.bondit-widget-loading {
	padding: 60px 24px;
	text-align: center;
	height: 100%;
	display: flex;
	align-content: center;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.bondit-widget-spinner {
	width: 40px;
	height: 40px;
	margin: 0 auto 16px;
	border: 3px solid #f0f0f0;
	border-top-color: #3B82F6;
	/* Default color, can be overridden by inline style */
	border-radius: 50%;
	animation: bondit-spin 0.8s linear infinite;
}

/* Inline spinner for buttons - override margin */
button .bondit-widget-spinner,
.bondit-widget-btn-primary .bondit-widget-spinner {
	margin: 0;
	margin-right: 8px;
	margin-left: 8px;
}

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

.bondit-widget-loading p {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

/* Error State */
.bondit-widget-error {
	padding: 60px 24px;
	text-align: center;
	height: 100%;
	display: flex;
	align-content: center;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.bondit-widget-error p {
	margin: 0 0 24px;
	font-size: 14px;
	color: #ef4444;
}

.bondit-widget-btn-primary {
	padding: 0.5rem 1.5rem;
	background: #667eea;
	color: white;
	border: none;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.bondit-widget-btn-primary:hover {
	background: #5568d3;
	transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 480px) {
	.bondit-widget-container {
		width: calc(100vw - 32px);
		max-width: calc(100vw - 32px);
		max-height: calc(100lvh - 140px);
	}

	/* Bottom positions on mobile */
	.bondit-widget-container.widget-position-bottom-right,
	.bondit-widget-container.widget-position-bottom-left {
		bottom: 16px;
		left: 16px;
		right: 16px;
		transform: none;
	}

	/* Middle positions on mobile - convert to bottom */
	.bondit-widget-container.widget-position-middle-right,
	.bondit-widget-container.widget-position-middle-left {
		bottom: 16px;
		left: 16px;
		right: 16px;
		top: auto;
		transform: none;
	}

	.bondit-widget-floating-btn {
		width: 56px;
		height: 56px;
	}

	.bondit-widget-floating-btn-text {
		width: 48px;
		min-width: 48px;
		height: 140px;
	}

	/* Button positions on mobile - flush to edge */
	.bondit-widget-floating-btn.widget-position-bottom-right {
		bottom: 20px;
		right: 0;
		left: auto;
		top: auto;
		transform: none;
	}

	.bondit-widget-floating-btn.widget-position-middle-right {
		right: 0;
	}

	.bondit-widget-floating-btn.widget-position-bottom-left {
		bottom: 20px;
		left: 0;
		right: auto;
		top: auto;
		transform: none;
	}

	.bondit-widget-floating-btn.widget-position-middle-left {
		left: 0;
	}

	.p-10 {
		padding: 1.5rem;
	}

	.px-10 {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
	.bondit-widget-container {
		width: 380px;
	}
}

/* Confirmation Modal */
.bondit-confirmation-modal {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

.bondit-confirmation-modal.bondit-confirmation-show {
	pointer-events: all;
}

.bondit-confirmation-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.bondit-confirmation-modal.bondit-confirmation-show .bondit-confirmation-overlay {
	opacity: 1;
}

.bondit-confirmation-content {
	position: relative;
	width: 100%;
	background-color: #ffffff;
	border-radius: 1.5rem 1.5rem 0 0;
	padding: 1.5rem;
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1;
}

.bondit-confirmation-modal.bondit-confirmation-show .bondit-confirmation-content {
	transform: translateY(0);
}

.bondit-confirmation-message {
	margin-bottom: 1.5rem;
}

.bondit-confirmation-message p {
	margin: 0 0 0.5rem 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #374151;
}

.bondit-confirmation-message p:last-child {
	margin-bottom: 0;
}

.bondit-confirmation-buttons {
	display: flex;
	gap: 0.75rem;
}

.bondit-confirmation-cancel,
.bondit-confirmation-confirm {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.bondit-confirmation-cancel:hover {
	background-color: #d1d5db !important;
	transform: translateY(-1px);
}

.bondit-confirmation-confirm:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* Error Modal */
.bondit-error-modal {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

.bondit-error-modal.bondit-error-show {
	pointer-events: all;
}

.bondit-error-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.bondit-error-modal.bondit-error-show .bondit-error-overlay {
	opacity: 1;
}

.bondit-error-content {
	position: relative;
	width: 100%;
	background-color: #ffffff;
	border-radius: 1.5rem 1.5rem 0 0;
	padding: 1.5rem;
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1;
	text-align: center;
}

.bondit-error-modal.bondit-error-show .bondit-error-content {
	transform: translateY(0);
}

.bondit-error-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}

.bondit-error-message {
	margin-bottom: 1.5rem;
}

.bondit-error-message p {
	margin: 0 0 0.5rem 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #374151;
}

.bondit-error-message p:last-child {
	margin-bottom: 0;
}

.bondit-error-buttons {
	display: flex;
	gap: 0.75rem;
}

.bondit-error-ok {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.bondit-error-ok:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}