.main {
	padding: 5vh 0;
}

a {
	color: #0d6efd;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #0a58ca;
	text-decoration: none;
}

.navbar {
	padding: .7rem 6rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.forms, .flash-error, .success, .price_msg {
	margin: 0 auto;
	max-width: 450px;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	background-color: white;
}

form .btn {
	margin-top: 10px;
	background: #0d6efd;
	color: white;
	border-radius: 5px;
	padding: 8px 16px;
	transition: all 0.3s ease;
	border: none;
	font-weight: 500;
}

form .btn:hover {
	background: #0a58ca;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flash-error, .help-block, .success, .price_msg {
	text-align: center;
	padding: 10px;
	font-weight: bold;
	border-radius: 5px;
	margin-bottom: 15px;
}

.flash-error, .help-block {
	color: #dc3545;
	background-color: rgba(220, 53, 69, 0.1);
}

.success {
	color: #198754;
	background-color: rgba(25, 135, 84, 0.1);
}

.price_msg {	
	color: #ffc107;
	background-color: rgba(255, 193, 7, 0.1);
}

.items {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 30px;
}

.item {
	width: 280px;
	padding: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: white;
	transition: all 0.3s ease;
}

.item:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-5px);
}

.item-display {
	margin: 0 auto;
	max-width: 500px;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	background-color: white;
}

.add-to-cart {
	background-color: #198754;
	transition: all 0.3s ease;
}

.add-to-cart:hover {
	background-color: #157347;
	transform: translateY(-2px);
}

.remove-from-cart {
	background-color: #dc3545;
	transition: all 0.3s ease;
}

.remove-from-cart:hover {
	background-color: #bb2d3b;
	transform: translateY(-2px);
}

.add-to-cart, .remove-from-cart {
	width: 100%;
	border: none;
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 500;
	margin-top: 10px;
}

.pic {
	width: 180px;
	height: 180px;
	object-fit: contain;
	border-radius: 5px;
	transition: transform 0.3s ease;
}

.pic:hover {
	transform: scale(1.05);
}

.img-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	padding: 10px;
}

.right-item {
	float: right;
	color: #198754;
	font-weight: 500;
}

.check {
	max-width: 350px;
	margin: 0 auto;
	margin-top: 50px;
	font-weight: bold;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	background-color: white;
}

.checkout {
	cursor: pointer;
	padding: 10px 15px;
	border-radius: 5px;
	background-color: #0d6efd;
	color: white;
	transition: all 0.3s ease;
	border: none;
	font-weight: 500;
}

.checkout:hover {
	background-color: #0a58ca;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.details {
	padding: 15px 0;
	line-height: 1.6;
}

.checked {
	color: #ffc107;
}

/* Form controls styling */
.form-control {
	border-radius: 5px;
	border: 1px solid #ced4da;
	padding: 8px 12px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table styling */
table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

th, td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #e9ecef;
}

th {
	background-color: #f8f9fa;
	font-weight: 600;
	color: #495057;
}

tr:last-child td {
	border-bottom: none;
}

tr:hover {
	background-color: rgba(0, 123, 255, 0.05);
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
	.navbar {
		padding: .3rem 1rem;
	}
	
	.items {
		gap: 20px;
	}
	
	.item {
		width: 100%;
		max-width: 320px;
	}
	
	.forms, .flash-error, .success, .price_msg, .check, .item-display {
		max-width: 100%;
		padding: 15px;
	}
}
