﻿/* Root theme colors */

:root {
	--bs-primary: #61197C;
	--bs-secondary: #5C5C5C;
	--bs-light: #f8f9fa;
	--bs-dark: #343a40;
	--bs-warning: #ffc107;
	--bs-white: #fff;
	--bs-gray: #e9ecef;
}


/* Fullscreen Preloader Overlay */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	z-index: 99999; /* Increased z-index */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease-in-out;
}

	/* Hide preloader class */
	#preloader.hidden {
		opacity: 0;
		pointer-events: none;
	}

	
/* Spinner Animation - IMPROVED */
.spinner {
	width: 60px;
	height: 60px;
	border: 6px solid #e3e3e3;
	border-top: 6px solid var(--bs-primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Keyframes for spin */
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


/* Global typography */
body {
	font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
	background-color: var(--bs-light);
	color: var(--bs-dark);
}



/* Headings */
h2 {
	color: var(--bs-primary);
	font-weight: 600;
}

.custom-pt-search {
	padding-top: 6px !important;
}
.search-button {
	padding: 0.375rem 1rem;
	font-weight: 500;
	background: #906cc4 !important;
	box-shadow: lightgray !important;
	border-radius: 30px;
	color: #fff;
	padding: 0 25px;
	font-size: 18px;
	cursor: pointer;
	border-color: #906cc4 !important;	
}

	.search-button:hover {
		background: #61197C;
		box-shadow: 0 6px 12px rgba(97, 25, 124, .35);
	}

input.form-control:focus {
	box-shadow: none;
	border-color: #61197C;
}


/* Card Styling */
.card {
	border: 1px solid var(--bs-gray);
	border-radius: 0.6rem;
	transition: box-shadow 0.3s ease;
}

	.card:hover {
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	}

.card-title {
	color: var(--bs-primary);
	font-weight: 600;
}




.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 60px; /* Adjust as needed */
	padding: 0.5rem 1rem;
}

.card-footer .btn {
	display: flex;
	align-items: center;
	gap: 0.25rem; /* space between icon and text */
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	line-height: 1.2;
}

.card-footer .btn i {
	font-size: 1rem;
	line-height: 1;
}

/* Price Label */
.text-primary {
	color: var(--bs-primary) !important;
}

/* Buttons inside cards */
.card .btn-outline-primary {
	color: var(--bs-primary);
	border-color: var(--bs-primary);
}

	.card .btn-outline-primary:hover {
		background-color: var(--bs-primary);
		color: white;
	}

/* Auction Button */
.card .btn-warning {
	background-color: #ffcc00;
	color: #000;
	font-weight: 500;
	border: none;
}

	.card .btn-warning:hover {
		background-color: #e6b800;
		color: #000;
	}

/* Status Badge */
.badge.bg-primary {
	background-color: var(--bs-primary) !important;
}

.badge.bg-secondary {
	background-color: var(--bs-secondary) !important;
}

.badge {
	font-size: 0.85rem;
	padding: 0.4em 0.75em;
	border-radius: 0.4rem;
}




.form-floating .form-select {
	padding-top: 1.5rem;
	padding-bottom: 0.5rem;
}

.form-floating label {
	top: -0.5rem;
	left: 0.75rem;
	font-size: 0.85rem;
	color: #666;
}

[dir="rtl"] .form-floating label {
	right: 0.75rem !important;
}

.no-arrow {
	appearance: none; /* Standard */
	-webkit-appearance: none; /* Safari/Chrome */
	-moz-appearance: none; /* Firefox */
	background-image: none; /* Remove arrow background */
	padding-right: 0.75rem; /* adjust as needed */
}

.explore-text {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 1.1rem;
	font-weight: 500;
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	padding: 10px 20px;
	border-radius: 20px;
	backdrop-filter: blur(5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 2;
}

	.explore-text:hover {
		background: rgba(255, 255, 255, 0.15);
		transform: translateX(-50%) scale(1.05);
		cursor: pointer;
	}


.explore-link,
.auction-text {
	/*	background-color: rgba(255, 255, 255, 0.1);*/
	border: 1px solid rgba(97, 25, 124, 0.8);
	font-weight: 500;
	backdrop-filter: blur(6px);
	transition: all 0.3s ease-in-out;
	/*	transform: translateX(-50%);*/
	font-size: 1.1rem;
	font-weight: 500;
	color: #61197C !important;
	background: rgba(255, 255, 255, 0.65);
	padding: 10px 20px;
	border-radius: 20px;
	backdrop-filter: blur(5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 2;
}

	.explore-link:hover,
	.auction-text:hover {
		background-color: rgba(255, 255, 255, 0.25);
		transform: scale(1.05);
		cursor: pointer;
		color: #fff !important;
		background: rgba(97, 25, 124, 1);
	}

/*.ellipsis-text {
	white-space: nowrap;*/ /* Prevent text from wrapping to next line */
	/*overflow: hidden;*/ /* Hide overflow */
	/*text-overflow: ellipsis;*/ /* Show "..." at the end */
	/*max-width: 100%;*/ /* Optional: constrain within container */
	/*display: block;
}*/

.ellipsis-text {
	width: auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.custom-tooltip-purple .tooltip-inner {
	background-color: #602A7B;
	color: #fff;
	font-size: 0.9rem;
	padding: 8px 12px;
	border-radius: 6px;
	max-width: 300px;
	width: 100vw; /* Default to 100% of the viewport width */
	margin-left: 50px;
}

[dir="rtl"] .custom-tooltip-purple .tooltip-inner {
	margin-left: -50px;
}

	/* For larger screen sizes, make the tooltip 22% of the screen width */
	@media (min-width: 768px) {
		.custom-tooltip-purple .tooltip-inner {
			width: 22vw; /* 22% of the screen width */
		}
	}

	.custom-tooltip-purple .tooltip-arrow::before {
	border-top-color: #602A7B !important;
}


.bg-primary {
	background-color: #8464bb !important;
}

.contact-info a {
	color: #61197C;
	text-decoration: none;
	transition: font-weight 0.2s;
}

	.contact-info a:hover {
		font-weight: bold;
	}

.footer-links li a {
	color: #61197C;
	text-decoration: none;
	transition: font-weight 0.2s;
}

	.footer-links li a:hover {
		font-weight: bold;
	}

.arrow-icon-custom {
	color: #5C5D5D;
}


.coming-soon a {
	color: #61197C;
	text-decoration: none;
	transition: font-weight 0.2s;
}

	.coming-soon a:hover {
		font-weight: bold;
	}

@media (min-width: 992px) { /* Bootstrap 'lg' breakpoint starts at 992px */
	.fixed-lg-bottom {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 1030; /* Optional: adjust stacking */
	}
}
