/** @format */
.item_top_image {
	min-height: 100vh;

	background-image: url(../img/products/resize/JPEG/Car\ Keys.jpg);
}

.item_overlay {
	height: 150vh;
	background-color: rgba(0, 0, 0, 0.61);
	padding: 100px 0;
}

.select__pic {
	width: 70%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	padding-top: 200px;
	text-align: center;
}
.select__pic div {
	color: white;
	font-weight: bold;
	margin: 20px;
	padding: 20px 50px;
	cursor: pointer;
	text-align: center;
	box-shadow: 2px 5px 30px rgba(0, 0, 0, 0.226);
}

.select__pic div span {
	color: rgba(0, 0, 0, 0.61);
}
.digital-pictre {
	background-color: rgba(201, 77, 77, 0.548);
}

.Print-a5 {
	background-color: rgba(77, 131, 201, 0.548);
}
.Print-a4 {
	background-color: rgba(64, 199, 136, 0.548);
}
.Print-a3 {
	background-color: rgba(42, 201, 174, 0.548);
}

.select__pic div:hover {
	box-shadow: 2px 5px 30px rgba(0, 0, 0, 0.479);
}

.cash_input {
	position: relative;
	margin: auto;
	text-align: center;
	width: 35%;
	/* background-color: aqua; */
}
.cash_input_input {
	padding: 10px 50px;
	background-color: rgb(199, 222, 243);
	margin-top: 20px;
	color: aliceblue;
	border: none;
	border-radius: 5px;
	outline: none;
	width: 200px;
}

.cash_input h1 {
	margin: 0;
	padding: 0;
}
.cash_input_btn {
	padding: 20px 100px;
	background-color: rgb(34, 124, 207);
	margin-top: 20px;
	color: aliceblue;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 5px;
}

.cash_input_clear {
	/* position: absolute; */
	color: #14326eb0;
	padding: 5px 20px;
	right: 20%;
	top: 6px;
	background-color: rgb(191, 221, 248);
	outline: none;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 5px;
	transition: 0.3s ease;
}
.cash_input_clear:hover {
	background-color: rgb(236, 245, 253);
}
.cash_input_btn:hover {
	background-color: rgb(21, 99, 172);
}
.list_of_products {
	margin: 50px auto;
	background-color: rgb(108, 168, 221);
	text-align: center;
	color: rgb(11, 42, 77);
	font-weight: bold;
	width: 30%;
	padding: 20px;
}
.list_of_products div {
	padding: 10px;
}

.pay_photo {
	background-color: rgba(201, 77, 77, 0.548);
	color: #000000ab;
	text-shadow: none;
	border-radius: 10px;
	margin-left: 50px;
}

.pay_photo:hover {
	background-color: rgba(211, 48, 48, 0.753);
	box-shadow: 2px 5px 30px rgba(0, 0, 0, 0.486);
}

.upload_form {
	background-color: rgba(0, 0, 0, 0.5);
	text-align: center;
	margin: 200px auto;
	padding: 100px 0;
}
.upload_form section {
	width: 40%;
	padding: 10px;
	background-color: rgba(163, 211, 253, 0.719);
}

.upload_form input {
	background-color: rgba(163, 211, 253, 0.719);
	color: aliceblue;
	padding: 5px 20px;
	width: 200px;
	border-radius: 5px;
	border: none;
	outline: none;
	font-size: large;
}

.upload_form button {
	padding: 10px 50px;
	background-color: #4caf50;
	margin: 50px auto;
	color: aliceblue;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.upload_form button:hover {
	background-color: #6ecc71;
}

/* Styles for drag-and-drop */
#fileLabel {
	display: none;
	padding: 50px 20px;
	border: 2px dashed #ccc;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	width: 80%;
	height: 40px;
	margin: auto;
}

#fileLabel.drag-over {
	border-color: #007bff;
}
.previewImage {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.previewImage img {
	height: 50px;
	margin: 5px;
}
.category-box {
	display: inline-block;
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin: 5px;
	cursor: pointer;
	user-select: none;
	color: #ffffff;
	transition: transform 0.5s ease;
}
#status {
	color: #3feb4e;
	font-weight: bolder;
}
.category-box:nth-child(4) {
	background-color: #347cca;
}
.category-box:nth-child(1) {
	background-color: #c0ca34;
}
.category-box:nth-child(2) {
	background-color: #34ca40;
}
.category-box:nth-child(3) {
	background-color: #ca346d;
}
.category-box:hover {
	transform: scale(1.1);
}

.category-box.selected {
	background-color: #e0e0e0;
}
/* CSS for the loading overlay */
.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.781);
	display: none;
	justify-content: center;
	align-items: center;
}

.spinner {
	border: 4px solid rgba(255, 255, 255, 0.192);
	border-left-color: #2999e4;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.first-letter {
	display: flex;
	align-items: center;
}
.log_out {
	text-decoration: none;
}
.circle {
	width: 50px; /* Set the width and height of the circle */
	height: 50px;
	border-radius: 50%; /* Make it a circle */
	background-color: #2ecc71; /* Set the background color */
	display: flex;
	align-items: center;
	justify-content: center;
	color: white; /* Text color */
	/* font-weight: bold; */
	font-size: large;
}
.loggedin_user {
	/* background-color: #007bff; */
	position: absolute;
	right: 0;
	top: 0px;
}
/* Adjust the size, font, and color as needed */

/* Phones ============================================================================================================================================ */
@media only screen and (max-width: 1025px) {
	.pay_photo {
		margin-left: 0;
	}
	.list_of_products {
		width: 80%;
	}

	.select__pic {
		width: 100%;
		flex-wrap: wrap;
		padding: 0;
		padding-top: 100px;
		/* background-color: aqua; */
	}

	.select__pic div {
		width: 30%;
		text-align: center;
		padding: 20px 10px;
	}

	.cash_input {
		width: 85%;
	}
	footer {
		display: none;
	}
	.loggedin_user {
		/* background-color: #007bff; */
		position: relative;
	}
}
