:root {
	--bg-color: #f5fbff;
	--primary-color: #0f394c;
	--accent-color: #49b5e7;
	--accent-light: rgba(73, 181, 231, 0.1);
	--white: #ffffff;
	--muted-primary: rgba(15, 57, 76, 0.6);
	--muted-30: rgba(15, 57, 76, 0.3);
	--muted-40: rgba(15, 57, 76, 0.4);
}

.max-w-4xl {
	max-width: 1000px;
}

.text-primary {
	color: var(--primary-color) !important;
}

.text-accent {
	color: var(--accent-color) !important;
}

.bg-light-blue {
	background-color: var(--bg-color) !important;
}

.bg-accent-light {
	background-color: var(--accent-light) !important;
}

.text-muted-primary {
	color: var(--muted-primary);
}

.text-muted-30 {
	color: var(--muted-30);
}

.text-muted-40 {
	color: var(--muted-40);
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	background-color: var(--accent-color) !important;
	border-color: var(--accent-color) !important;
}

.shadow-primary {
	box-shadow: 0 10px 25px rgba(15, 57, 76, 0.15);
}

.fs-xs {
	font-size: 0.75rem;
}

.fw-black {
	font-weight: 900;
}

.cursor-pointer {
	cursor: pointer;
}

.italic {
	font-style: italic;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
	width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: var(--bg-color);
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background: rgba(73, 181, 231, 0.2);
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(73, 181, 231, 0.4);
}

/* Background Decoration */
.bg-decoration {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.05;
	pointer-events: none;
	z-index: 0;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
}

.blob-1 {
	top: -10%;
	left: -10%;
	width: 40%;
	height: 40%;
	background: var(--accent-color);
}

.blob-2 {
	bottom: -10%;
	right: -10%;
	width: 40%;
	height: 40%;
	background: var(--primary-color);
}

/* Picker States */
.picker-state {
	z-index: 1;
	width: 100%;
}

.icon-circle {
	width: 128px;
	height: 128px;
	background-color: var(--bg-color);
	border: 4px solid rgba(73, 181, 231, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

/* Spinning Animation */
.spinner-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.spinner-text {
	position: absolute;
	font-size: 1.5rem;
	font-weight: 900;
	animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
	from {
		transform: scale(1);
		opacity: 0.5;
	}

	to {
		transform: scale(1.1);
		opacity: 1;
	}
}

.spinning-names {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--accent-color);
	animation: spinNames 0.2s infinite;
}

@keyframes spinNames {
	0% {
		transform: translateY(0);
	}

	25% {
		transform: translateY(-33%);
	}

	50% {
		transform: translateY(-66%);
	}

	100% {
		transform: translateY(-100%);
	}
}

/* Name Items */
.name-item {
	background-color: var(--bg-color);
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.name-item:hover {
	border-color: rgba(73, 181, 231, 0.3);
}

.name-item .remove-btn {
	opacity: 0;
	transition: opacity 0.2s ease;
}

.name-item:hover .remove-btn {
	opacity: 1;
}

/* Form Controls */
.form-check-input:checked {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}

.form-control:focus {
	box-shadow: 0 0 0 0.25rem rgba(73, 181, 231, 0.25);
}

/* Transitions */
.transition-transform {
	transition: transform 0.2s ease;
}

.transition-transform:active {
	transform: scale(0.95);
}

.transition-transform:hover:not(:disabled) {
	transform: scale(1.05);
}

/* Animations */
.fade-in {
	animation: fadeIn 0.5s ease forwards;
}

.fade-in-up {
	opacity: 0;
	animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.delay-100 {
	animation-delay: 0.1s;
}

.delay-200 {
	animation-delay: 0.2s;
}

.delay-300 {
	animation-delay: 0.3s;
}

/* Modal Styles */
.modal-content {
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* History Items */
.history-item {
	background-color: var(--bg-color);
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.history-item:hover {
	border-color: rgba(73, 181, 231, 0.2);
}

.history-badge {
	width: 32px;
	height: 32px;
	background-color: var(--white);
	color: var(--accent-color);
	font-weight: 900;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Button Outline Custom */
.btn-outline-light-dark {
	border: 2px solid rgba(15, 57, 76, 0.1);
	color: var(--primary-color);
}

.btn-outline-light-dark:hover {
	border-color: var(--accent-color);
	color: var(--accent-color);
	background-color: transparent;
}