/* Modal Styles */
.gqbo-modal {
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(10, 20, 35, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gqbo-modal-content {
	background-color: #ffffff;
	width: 95% !important;
	max-width: 900px !important;
	border-radius: 12px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	font-family: inherit;
}

.gqbo-close {
	position: absolute;
	right: -12px;
	top: -12px;
	background: #112032;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 2px solid #fff;
	z-index: 10;
	transition: background 0.3s;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gqbo-close:hover {
	background: #000;
}

.gqbo-close svg {
	width: 16px;
	height: 16px;
}

/* Layout */
.gqbo-modal-layout {
	display: flex !important;
	flex-wrap: nowrap !important;
	max-height: 85vh;
	border-radius: 12px;
	overflow: hidden;
}

.gqbo-modal-left {
	flex: 0 0 35% !important;
	max-width: 35% !important;
	background-color: #f5f6f8;
	padding: 25px 20px;
	border-right: 1px solid #eef0f3;
	overflow-y: auto;
}

.gqbo-modal-right {
	flex: 0 0 65% !important;
	max-width: 65% !important;
	padding: 25px 30px;
	background: #fff;
	overflow-y: auto;
}

@media (max-width: 768px) {
	.gqbo-modal-layout {
		display: block !important;
		width: 100% !important;
		max-height: none !important;
		overflow: visible !important;
	}
	.gqbo-modal {
		padding: 0 !important;
		align-items: flex-start !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
	.gqbo-modal-content {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 100% !important;
		border-radius: 0 !important;
		margin: 0 !important;
		display: block !important;
		padding-top: 50px !important;
		padding-bottom: 30px !important;
		overflow: visible !important;
	}
	
	.gqbo-mobile-header {
		display: block !important;
		text-align: center;
		padding: 0 20px;
		margin-bottom: 20px;
		width: 100% !important;
	}
	
	.gqbo-mobile-header h2 {
		margin: 0 0 5px 0 !important;
		font-size: 24px !important;
		font-weight: 800 !important;
		color: #112032 !important;
		line-height: 1.1 !important;
	}
	
	.gqbo-mobile-header h2 span {
		color: #a2c836 !important;
	}
	
	.gqbo-mobile-header p {
		font-size: 13px !important;
		color: #666 !important;
		line-height: 1.4 !important;
		margin: 0 !important;
	}

	.gqbo-desktop-header {
		display: none !important;
	}

	.gqbo-modal-left,
	.gqbo-modal-right {
		display: block !important;
		width: 100% !important;
		flex: none !important;
		max-width: 100% !important;
		overflow: visible !important;
	}

	.gqbo-modal-left {
		padding: 0 20px 20px 20px !important;
		border-right: none !important;
		background-color: transparent !important;
	}

	.gqbo-products-header {
		margin-bottom: 15px !important;
	}

	.gqbo-products-header h3 {
		font-size: 18px !important;
	}
	
	.gqbo-selected-products {
		background: #f5f6f8;
		border-radius: 12px;
		padding: 15px;
	}

	.gqbo-product-card {
		margin-bottom: 10px;
		border-radius: 8px;
		box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	}
	
	.gqbo-product-card:last-child {
		margin-bottom: 0;
	}

	.gqbo-modal-right {
		padding: 0 20px 30px 20px !important;
	}
	
	.gqbo-form-row {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 15px !important;
	}
	
	.gqbo-close {
		right: 15px !important;
		top: 15px !important;
		z-index: 9999 !important;
	}
}

/* Left Side - Products */
.gqbo-products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
}

.gqbo-products-header h3 {
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #112032 !important;
}

.gqbo-items-count {
	background: #e6f3cc;
	color: #6a8f15;
	padding: 2px 8px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
}

.gqbo-products-desc {
	font-size: 12px !important;
	color: #666 !important;
	margin-top: 0 !important;
	margin-bottom: 15px !important;
	line-height: 1.3 !important;
}

.gqbo-selected-products {
	padding-right: 5px;
}

.gqbo-product-card {
	background: #fff;
	border-radius: 8px;
	padding: 10px;
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
	position: relative;
}

.gqbo-product-card-remove {
	position: absolute;
	top: 5px;
	right: 8px;
	color: #999;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

.gqbo-product-card-remove:hover {
	color: red;
}

.gqbo-product-img {
	width: 50px !important;
	height: 50px !important;
	object-fit: cover !important;
	border-radius: 4px;
	margin-right: 12px;
	background: #f0f0f0;
}

.gqbo-product-info {
	flex: 1;
}

.gqbo-product-info h4 {
	margin: 0 0 3px 0 !important;
	font-size: 13px !important;
	color: #112032 !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

.gqbo-product-info p {
	margin: 0 0 5px 0 !important;
	font-size: 11px !important;
	color: #666 !important;
	line-height: 1.2 !important;
}

.gqbo-qty-control {
	display: flex;
	align-items: center;
}

.gqbo-qty-btn {
	background: #f9f9f9 !important;
	border: 1px solid #eee !important;
	width: 20px !important;
	height: 20px !important;
	cursor: pointer !important;
	color: #333 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	line-height: 1 !important;
	font-size: 14px !important;
	border-radius: 2px !important;
}

.gqbo-qty-input-box {
	width: 35px !important;
	height: 20px !important;
	border: 1px solid #eee !important;
	border-left: none !important;
	border-right: none !important;
	text-align: center !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	-moz-appearance: textfield !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}
.gqbo-qty-input-box::-webkit-outer-spin-button,
.gqbo-qty-input-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gqbo-qty-suffix {
	font-size: 11px !important;
	color: #666 !important;
	margin-left: 5px !important;
}

/* Right Side - Form */
.gqbo-modal-right h2 {
	margin: 0 0 2px 0 !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	color: #112032 !important;
	line-height: 1.1 !important;
}
.gqbo-modal-right h2 span {
	color: #a2c836 !important;
}

.gqbo-form-desc {
	font-size: 12px !important;
	color: #666 !important;
	margin-bottom: 15px !important;
	margin-top: 5px !important;
	line-height: 1.3 !important;
}

.gqbo-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 10px;
}

.gqbo-field {
	margin-bottom: 10px;
}

.gqbo-field label {
	display: block;
	margin-bottom: 4px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #112032 !important;
}
.gqbo-field label span {
	color: #e53935 !important;
}
.gqbo-field label span.optional {
	color: #999 !important;
	font-weight: 400 !important;
	font-size: 11px !important;
}

.gqbo-input-wrapper {
	position: relative;
}

.gqbo-input-wrapper svg {
	position: absolute;
	left: 10px;
	top: 8px;
	width: 14px !important;
	height: 14px !important;
	min-width: 14px !important;
	min-height: 14px !important;
	max-width: 14px !important;
	max-height: 14px !important;
	color: #999;
}

.gqbo-textarea-wrapper svg {
	top: 10px;
}

#gqbo-quote-form input[type="text"],
#gqbo-quote-form input[type="email"],
#gqbo-quote-form input[type="tel"],
#gqbo-quote-form textarea {
	width: 100% !important;
	padding: 6px 10px 6px 30px !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 4px !important;
	box-sizing: border-box !important;
	font-size: 12px !important;
	background-color: #fff !important;
	transition: all 0.3s !important;
	font-family: inherit !important;
	margin: 0 !important;
	height: 32px !important;
	color: #333 !important;
}

#gqbo-quote-form textarea {
	height: auto !important;
	padding-top: 8px !important;
}

#gqbo-quote-form input:focus,
#gqbo-quote-form textarea:focus {
	border-color: #a2c836 !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(162, 200, 54, 0.2) !important;
}

.gqbo-file-upload-box {
	position: relative;
	border: 1px dashed #ccc;
	border-radius: 4px;
	padding: 10px;
	text-align: center;
	background: #f9f9f9;
	transition: all 0.3s;
	cursor: pointer;
}
.gqbo-file-upload-box:hover {
	border-color: #a2c836;
	background: #f9fdf0;
}
.gqbo-file-upload-box input[type="file"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.gqbo-file-upload-box label {
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	margin: 0;
	color: inherit !important;
}
.gqbo-file-upload-box svg {
	width: 18px;
	height: 18px;
	color: #555 !important;
	margin-right: 10px;
}
.gqbo-upload-texts {
	text-align: left;
}
.gqbo-upload-title {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #333 !important;
}
.gqbo-upload-desc {
	display: block;
	font-size: 10px;
	color: #888 !important;
	margin-top: 2px;
}

.gqbo-submit-btn {
	width: 100% !important;
	padding: 8px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	border-radius: 4px !important;
	background-color: #a2c836 !important;
	color: #112032 !important;
	border: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: background 0.3s !important;
	margin-top: 5px !important;
}
.gqbo-submit-btn:hover {
	background-color: #8db52b !important;
}
.gqbo-submit-btn svg {
	width: 16px;
	height: 16px;
	margin-right: 8px;
}
.gqbo-arrow {
	margin-left: 8px;
	font-weight: 900;
}

.gqbo-form-footer-note {
	text-align: center;
	margin-top: 8px;
	font-size: 11px;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gqbo-form-footer-note svg {
	width: 12px;
	height: 12px;
	margin-right: 4px;
	color: #a2c836;
}

.gqbo-form-message {
	margin-bottom: 5px;
	font-size: 12px;
}
