.metallic-card {
	background: linear-gradient(145deg, #b07500, #ffd91e);
	background-size: 200% 200%;
	animation: shine 3s infinite linear;
	border: 1px solid #C5A317;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.metallic-card h6,
.metallic-card h5 {
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
}

@keyframes shine {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}



@font-face {
	font-family: 'NewFont';
	src: url('https://agrofruit.rappid.in/assets/fonts/tld.woff2') format('truetype');
}

@font-face {
	font-family: 'stylish_font';
	src: url('https://goldbuysell.in/app/assets/fonts/Butler-Black.woff') format('truetype');
}

body {
	font-family: "NewFont" !important;
}

.select2-container--open .select2-dropdown {
	background-color: #484D6D;
	color: white;
	max-height: 500px !important;
	overflow-y: auto;
	/* Add a scrollbar if needed */
}

.select2-container--default .select2-results>.select2-results__options {
	max-height: 500px !important;
}


#ui-datepicker-div {
	z-index: 10000 !important;
}

.bottom-modal .modal-dialog {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: none;
	width: 95%;
	transform: translate(0, 100%);
	animation: slide-up 0.2s ease-out;
	z-index: 9999;
}

.bottom-modal.show .modal-dialog {
	transform: translate(0, 0);
}

.bottom-modal .modal-content {
	border-radius: 0;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	height: calc(100% - 0px);
	overflow-y: auto;
}

.bottom-modal .modal-footer {
	margin: 0;
}

/* Define the animation */
@keyframes slide-up {
	from {
		transform: translate(0, 100%);
	}

	to {
		transform: translate(0, 0);
	}
}

.card-wrapper {
	position: relative;
	display: inline-block;
}

#card_floater {
	position: absolute;
	top: 0;
	right: 0;
}

@media print {
	.page-break {
		clear: both;
		page-break-after: always;
	}
}

.all_cards_div {
	display: grid;
	grid-template-columns: repeat(2, auto);
	margin: 0 auto;
	justify-content: center;

}

.outer_card_div {
	position: relative;
	width: 150px;
	height: 170px;
	margin: 15px;

}

.inside_card_div {
	width: 100%;
	height: 100px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.card_title_txt {
	padding: 5px;
	font-size: 18px;
}

/* For mobile (top: 40%) */
@media (max-width: 767px) {
	.alertify .ajs-dialog {
		top: 40%;
		/* transform: translateY(-20%); */
		margin: auto;
	}
}

/* For desktop (top: 30%) */
@media (min-width: 768px) {
	.alertify .ajs-dialog {
		top: 30%;
		/* transform: translateY(-15%); */
		margin: auto;
	}
}

.two_line_description {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* number of lines to show */
	line-clamp: 2;
	-webkit-box-orient: vertical;

	-webkit-user-select: none;
	/* Safari */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* IE10+/Edge */
	user-select: none;
	/* Standard */
}

.card-wrapper {
	position: relative;
	display: inline-block;
}

#card_floater {
	position: absolute;
	top: 0;
	right: 0;
}

@media print {
	::-webkit-scrollbar {
		display: none;
	}

	::-moz-scrollbar {
		display: none;
	}

	::-o-scrollbar {
		display: none;
	}

	::-ms-scrollbar {
		display: none;
	}

	body {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
}

.image-container {
	height: max-content;
	overflow-y: auto;
}

.image-container img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}


.no_select {}

.floating-action-button {
	background-color: #176df6;
	color: #fff;
	border-radius: 50%;
	width: 66px;
	height: 66px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: absolute;
	bottom: 60px;
	right: 40px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	z-index: 99;
}

.sticky {
	position: fixed;
	bottom: 60px;
	right: 40px;
}

@media (max-width: 767px) {
	.floating-action-button {
		bottom: 40px;
		right: 20px;
	}

	.sticky {
		bottom: 40px;
		right: 20px;
	}
}

.web_header {
	width: 100%;
	display: grid;
	grid-template-columns: auto auto auto;
	justify-items: center;
}

.header_txt {
	text-align: center;
	justify-items: center;
	margin-top: auto;
	margin-bottom: auto;
	font-size: 28px;
	font-weight: bold;
}


.header_img {
	margin-top: auto;
	margin-bottom: auto;
}


/* id card page */

.details_div {
	background-color: rgb(229, 229, 229);
	display: grid;
	grid-template-columns: auto auto;
	margin-bottom: 10px;
	padding: 10px;
	text-transform: uppercase;

}

.ans_txt {
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
}

.center_vertical {
	margin-top: auto;
	margin-bottom: auto;
}

@media print {
	.print_btn {
		display: none !important;
	}
}

.table-bordered-dark {
	border: 1px solid #000;
}

.table-bordered-dark th,
.table-bordered-dark td {
	border: 1px solid #000;
	padding: 8px;
}

.table-bordered-dark th {
	background-color: #333;
	color: #fff;
}

.hovery :hover {
	background-color: #f5f5f5;
}


/* animated designer background */
html,
body {
	width: 100%;
	height: 100%;
}

body {
	background-image: radial-gradient(#021027, #000000);
}

.container {
	width: 100%;
	height: 100%;
}

.circle-container {
	$particleWidth: 10px;
	$particleNum: 200;
	$particleColor: hsl(180, 100%, 80%);

	position: absolute;
	transform: translateY(-10vh);
	animation-iteration-count: infinite;
	animation-timing-function: linear;

	.circle {
		width: 100%;
		height: 100%;
		border-radius: 50%;
		mix-blend-mode: screen;
		background-image: radial-gradient(hsl(180, 100%, 80%),
				hsl(180, 100%, 80%) 10%,
				hsla(180, 100%, 80%, 0) 56%);

		animation: fadein-frames 200ms infinite, scale-frames 2s infinite;

		@keyframes fade-frames {
			0% {
				opacity: 1;
			}

			50% {
				opacity: 0.7;
			}

			100% {
				opacity: 1;
			}
		}

		@keyframes scale-frames {
			0% {
				transform: scale3d(0.4, 0.4, 1);
			}

			50% {
				transform: scale3d(2.2, 2.2, 1);
			}

			100% {
				transform: scale3d(0.4, 0.4, 1);
			}
		}
	}

	@for $i from 1 through $particleNum {
		&:nth-child(#{$i}) {
			$circleSize: random($particleWidth);
			width: $circleSize + px;
			height: $circleSize + px;

			$startPositionY: random(10) + 100;
			$framesName: "move-frames-" + $i;
			$moveDuration: 7000 + random(4000) + ms;

			animation-name: #{$framesName};
			animation-duration: $moveDuration;
			animation-delay: random(11000) + ms;

			@keyframes #{$framesName} {
				from {
					transform: translate3d(#{random(100) + vw},
						#{$startPositionY + vh},
						0);
				}

				to {
					transform: translate3d(#{random(100) + vw},
						#{- $startPositionY - random(30) + vh},
						0);
				}
			}

			.circle {
				animation-delay: random(4000) + ms;
			}
		}
	}
}