/* WC Demande de Devis — styles frontend (Mon compte). */

.wecomm-devis-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.wecomm-devis-status__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.wecomm-devis-actions {
	white-space: nowrap;
}

.wecomm-devis-actions .button {
	margin: 2px 4px 2px 0;
	display: inline-block;
}

.wecomm-devis-action-cancel {
	background: #fff;
	color: #c94545;
	border: 1px solid #c94545;
}

.wecomm-devis-action-cancel:hover {
	background: #c94545;
	color: #fff;
}

.wecomm-devis-action-refuse {
	background: #fff;
	color: #c94545;
	border: 1px solid #c94545;
}

.wecomm-devis-action-refuse:hover {
	background: #c94545;
	color: #fff;
}

.wecomm-devis-info {
	margin-top: 14px;
	padding: 10px 14px;
	background: #f7f7f5;
	border-left: 3px solid #94a3b8;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.wecomm-devis-refuse-dialog {
	max-width: 480px;
	width: 90%;
	border: none;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.wecomm-devis-refuse-dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.wecomm-devis-refuse-dialog h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.wecomm-devis-refuse-intro {
	margin: 0 0 12px;
	color: #555;
	font-size: 14px;
}

.wecomm-devis-refuse-dialog textarea {
	width: 100%;
	min-height: 70px;
	border: 1px solid #d0d0cc;
	border-radius: 6px;
	padding: 8px 10px;
	font: inherit;
	resize: vertical;
}

.wecomm-devis-refuse-choices {
	border: none;
	padding: 0;
	margin: 14px 0 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wecomm-devis-refuse-choices legend {
	font-weight: 600;
	margin-bottom: 6px;
}

.wecomm-devis-refuse-choices label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4;
}

.wecomm-devis-refuse-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 8px;
}

@media (max-width: 768px) {
	.wecomm-devis-table thead { display: none; }

	.wecomm-devis-table tbody tr.wecomm-devis-row {
		display: block;
		margin-bottom: 16px;
		border: 1px solid #e2e2dd;
		border-radius: 8px;
		padding: 12px;
		background: #fff;
	}

	.wecomm-devis-table tbody tr.wecomm-devis-row td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 6px 0;
		border: none;
	}

	.wecomm-devis-table tbody tr.wecomm-devis-row td::before {
		content: attr(data-title);
		font-weight: 600;
		color: #555;
		margin-right: 12px;
	}

	.wecomm-devis-table tbody tr.wecomm-devis-row td.wecomm-devis-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		border-top: 1px solid #f0f0ee;
		margin-top: 4px;
		padding-top: 10px;
	}

	.wecomm-devis-table tbody tr.wecomm-devis-row td.wecomm-devis-actions::before {
		display: none;
	}

	.wecomm-devis-table tbody tr.wecomm-devis-row td.wecomm-devis-actions .button {
		display: block;
		margin: 0;
		text-align: center;
	}
}
