.checkout-page {
	margin-bottom: 40px;
}

.checkout-form-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 40px;
}

.checkout-form {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-product-info {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 8px;
}

.checkout-form .form-group {
	margin-bottom: 20px;
}

.checkout-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.checkout-form input[type="text"],
.checkout-form input[type="tel"],
.checkout-form input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.checkout-form button {
	width: 100%;
	padding: 12px;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.checkout-form button:hover:not(:disabled) {
	background: #333;
}

.checkout-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.checkout-product-info img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
}

.checkout-product-info .title {
	margin-bottom: 15px;
	font-size: 24px;
}

.checkout-product-info .price {
	font-size: 28px;
	font-weight: bold;
	color: #000;
	margin-bottom: 20px;
}

.payment-info-section {
	display: none;
}

.payment-info-section.active {
	display: block;
}

.payment-info-box {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-info-box h2 {
	margin-bottom: 20px;
	font-size: 24px;
}

.qr-box {
	text-align: center;
	padding: 16px;
	border-radius: 16px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 33%);
}

.qr-image {
	width: 100%;
	max-width: 300px;
	margin: 20px auto;
	display: block;
}

.manual-box {
	padding: 16px;
	border-radius: 16px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 33%);
}

.manual-box .bank-logo-box {
	text-align: center;
}

.manual-box .bank-logo-box img {
	max-width: 100px;
    margin-bottom: 8px;
}

.confirm-payment-btn {
	margin-top: 30px;
	padding: 15px 30px;
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.confirm-payment-btn:hover:not(:disabled) {
	background: #218838;
}

.confirm-payment-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.thank-you-section {
	display: none;
	margin-top: 40px;
	text-align: center;
	padding: 40px;
	background: #d4edda;
	border-radius: 8px;
	color: #155724;
}

.thank-you-section.active {
	display: block;
}

.alert-success {
	padding: 12px;
	margin-bottom: 20px;
	background: #d4edda;
	color: #155724;
	border-radius: 4px;
}

.checkout-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 0;
}

.checkout-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	max-width: 300px;
	position: relative;
}

.checkout-step:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -50%;
	top: 20px;
	width: 100%;
	height: 2px;
	background: #ddd;
	z-index: 0;
}

.checkout-step.active:not(:last-child)::after {
	background: #28a745;
}

.checkout-step.completed:not(:last-child)::after {
	background: #28a745;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ddd;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	margin-right: 15px;
	position: relative;
	z-index: 1;
	transition: all 0.3s;
}

.checkout-step.active .step-number {
	background: #28a745;
	color: #fff;
}

.checkout-step.completed .step-number {
	background: #28a745;
	color: #fff;
}

.checkout-step.completed .step-number {
	font-size: 0;
}

.checkout-step.completed .step-number::after {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 18px;
	color: #fff;
}

.step-label {
	font-weight: 600;
	color: #666;
	transition: color 0.3s;
}

.checkout-step.active .step-label {
	color: #28a745;
}

.checkout-step.completed .step-label {
	color: #28a745;
}

.download-files-list {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #155724;
}

.download-file-item {
	margin-bottom: 15px;
	padding: 15px;
	background: #fff;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.download-file-item .file-name {
	font-weight: 600;
	color: #155724;
}

.download-btn {
	padding: 10px 20px;
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: background 0.3s;
}

.download-btn:hover {
	background: #218838;
	color: #fff;
}

#payment-info-content {
	display: flex;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 768px) {
	#payment-info-content {
		flex-direction: column;
	}

	.qr-image {
		max-width: 250px;
	}
}

@media (max-width: 768px) {
	.checkout-form-wrapper {
		grid-template-columns: 1fr;
		margin-top: 0px;
		gap: 16px;
	}

	.checkout-steps {
		flex-wrap: wrap;
		margin-bottom: 0px;
	}

	.checkout-step {
		max-width: 100%;
		flex: 30%;
	}

	.step-number {
		margin-right: 10px;
	}

	.step-label {
		font-size: 14px;
	}
}

@media (max-width: 450px) {
	.checkout-page.margin-section {
		margin-top: 80px !important;
	}

	.checkout-form,
	.checkout-product-info {
		padding: 16px;
	}

	.checkout-form input[type="text"],
	.checkout-form input[type="tel"],
	.checkout-form input[type="email"] {
		padding: 8px 12px;
	}

	.checkout-product-info .title {
		margin-bottom: 8px;
	}

	.checkout-product-info .price {
		font-size: 24px;
		margin-bottom: 8px;
	}

	.qr-image {
		max-width: 200px;
	}
}

@media (max-width: 380px) {
	.thank-you-section {
		margin-top: 16px;
		padding: 24px;
	}

	.download-file-item {
		padding: 8px 16px;
	}

	.download-btn {
		padding: 6px 12px;
	}
}
