.wcq-status {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 8px;
	font-size: 0.875em;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.wcq-status--quotation-pending {
	background: #fff4d6;
	color: #7a4b00;
}

.wcq-status--quotation-approved {
	background: #dff7e6;
	color: #185c2f;
}

.wcq-status--quotation-rejected {
	background: #fde2e2;
	color: #8a1f1f;
}

.wcq-status--quotation-recalled {
	background: #ffe8cc;
	color: #7a3b00;
}

.wcq-status--quotation-expired {
	background: #eeeeee;
	color: #4a4a4a;
}

.wcq-status--quotation-accepted {
	background: #e0f0ff;
	color: #174e7c;
}

.wcq-accept-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	margin: 16px 0;
	border: 1px solid #9cc7ef;
	border-radius: 8px;
	background: #eef7ff;
}

.wcq-accept-notice p {
	margin: 0;
}

.wcq-quote-addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.wcq-login-required {
	padding: 12px 14px;
	border-left: 4px solid #dba617;
	border-radius: 8px;
	background: #fff8e5;
	color: #5d4400;
}

.wcq-cart-quote {
	clear: both;
	margin-top: 16px;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, 0.10);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.02);
	text-align: center;
}

.wcq-cart-quote__intro {
	margin: 0 0 12px;
	color: #4f5f55;
	font-size: 0.95em;
}

.wcq-create-quote-button,
.woocommerce .wcq-create-quote-button,
a.wcq-create-quote-button,
.woocommerce a.wcq-create-quote-button {
	display: inline-block;
	padding: 12px 24px;
	border: 2px solid #1f6f5b;
	border-radius: 4px;
	background: #1f6f5b;
	color: #ffffff !important;
	font-size: 0.9em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.wcq-create-quote-button:hover,
.wcq-create-quote-button:focus,
.woocommerce .wcq-create-quote-button:hover,
.woocommerce .wcq-create-quote-button:focus,
a.wcq-create-quote-button:hover,
a.wcq-create-quote-button:focus {
	border-color: #185746;
	background: #185746;
	color: #ffffff !important;
	text-decoration: none !important;
}

.wcq-modal[hidden] {
	display: none;
}

.wcq-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(20, 24, 22, 0.55);
}

.wcq-modal__dialog {
	position: relative;
	width: min(100%, 480px);
	padding: 24px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.wcq-modal__dialog h2 {
	margin-top: 0;
}

.wcq-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d2327;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.wcq-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.wcq-modal__cancel,
.woocommerce .wcq-modal__cancel {
	background: #f3f4f5;
	color: #1d2327;
}

.wcq-confirm-create-quote,
.woocommerce .wcq-confirm-create-quote {
	border-color: #1f6f5b;
	background: #1f6f5b;
	color: #ffffff;
}

.wcq-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.wcq-accept-notice {
		align-items: stretch;
		flex-direction: column;
	}

	.wcq-quote-addresses {
		grid-template-columns: 1fr;
	}

	.wcq-create-quote-button,
	.woocommerce .wcq-create-quote-button,
	a.wcq-create-quote-button,
	.woocommerce a.wcq-create-quote-button {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.wcq-modal__actions {
		flex-direction: column-reverse;
	}
}
