/* Styles propres à demande-cotation */
.cotation-flow-section{
	padding: 80px 0 100px;
}

.cotation-flow-section .container{
	max-width: 1320px;
}

.cotation-intro-box.contact-form-box{
	display: block;
	width: 100%;
	margin-bottom: 32px;
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--primary-color);
}

.cotation-intro-box .contact-us-form{
	width: 100% !important;
	background-color: var(--primary-color);
	border-radius: 8px;
	padding: 42px;
}

.cotation-intro-box .section-title{
	max-width: 920px;
	margin-bottom: 0;
}

.cotation-intro-box .section-title h2,
.cotation-intro-box .section-title p{
	color: var(--white-color);
}

.cotation-process-steps{
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin-top: 30px;
}

.cotation-step-item{
	min-height: 126px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.08);
}

.cotation-step-item span{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 16px;
	border-radius: 50%;
	background-color: var(--accent-color);
	color: var(--primary-color);
	font-family: var(--accent-font);
	font-weight: 700;
}

.cotation-step-item p{
	margin: 0;
	color: var(--white-color);
	font-weight: 700;
	line-height: 1.4em;
}

.cotation-notice{
	margin-top: 24px;
	padding: 18px 20px;
	border: 1px solid rgba(190, 218, 241, 0.32);
	border-radius: 8px;
	background-color: rgba(190, 218, 241, 0.14);
}

.cotation-notice strong,
.cotation-notice p{
	color: var(--white-color);
}

.cotation-notice strong{
	display: block;
	margin-bottom: 6px;
	font-family: var(--accent-font);
}

.cotation-notice p{
	margin: 0;
}

.cotation-panel{
	margin-bottom: 30px;
	padding: 30px;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background-color: var(--white-color);
	box-shadow: 0 12px 36px rgba(23, 44, 69, 0.06);
}

.cotation-panel-header{
	margin-bottom: 24px;
}

.cotation-panel-header span{
	display: inline-block;
	margin-bottom: 10px;
	color: var(--text-color);
	font-family: var(--accent-font);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.cotation-panel-header h3{
	margin-bottom: 10px;
	font-size: 28px;
}

.cotation-panel-header p{
	margin: 0;
}

.cotation-filter-bar{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 14px;
	margin-bottom: 22px;
}

.cotation-flow-section .form-control{
	width: 100%;
	height: auto;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background-color: var(--bg-color);
	color: var(--text-color);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4em;
	box-shadow: none;
	outline: none;
}

.cotation-flow-section textarea.form-control{
	min-height: 120px;
}

.cotation-flow-section label{
	display: block;
	margin-bottom: 10px;
	color: var(--primary-color);
	font-weight: 700;
	line-height: 1.4em;
}

.cotation-flow-section label small{
	color: var(--text-color);
	font-weight: 500;
}

.cotation-table-wrap{
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
}

.cotation-table{
	width: 100%;
	min-width: 760px;
	margin: 0;
	border-collapse: collapse;
	background-color: var(--white-color);
}

.cotation-table th,
.cotation-table td{
	padding: 15px 16px;
	border-bottom: 1px solid var(--divider-color);
	vertical-align: middle;
	color: var(--text-color);
	line-height: 1.4em;
}

.cotation-table th{
	background-color: rgba(190, 218, 241, 0.25);
	color: var(--primary-color);
	font-family: var(--accent-font);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

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

.cotation-table td strong{
	color: var(--primary-color);
}

.cotation-table input[type="checkbox"],
.cotation-analysis-card input,
.cotation-choice-card input,
.cotation-payment-card input{
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
}

.cotation-summary-card{
	position: sticky;
	top: 110px;
}

.cotation-selected-list p,
.cotation-helper-text{
	margin-bottom: 0;
}

.cotation-selected-item,
.cotation-total-line{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--divider-color);
	line-height: 1.4em;
}

.cotation-selected-item strong,
.cotation-total-line strong{
	color: var(--primary-color);
	white-space: nowrap;
}

.cotation-total-line{
	margin-top: 18px;
	border-bottom: none;
	font-family: var(--accent-font);
}

.cotation-total-line span{
	color: var(--primary-color);
	font-weight: 700;
}

.cotation-helper-text{
	padding-top: 12px;
	font-size: 14px;
}

.cotation-workflow{
	margin-top: 10px;
}

.cotation-choice-grid{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.cotation-choice-card,
.cotation-payment-card,
.cotation-analysis-card{
	position: relative;
	display: flex;
	height: 100%;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background-color: var(--bg-color);
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.cotation-choice-card{
	align-items: flex-start;
	gap: 12px;
}

.cotation-choice-card span,
.cotation-payment-card span,
.cotation-analysis-card span{
	display: block;
	color: var(--primary-color);
	font-family: var(--accent-font);
	font-weight: 700;
	line-height: 1.3em;
}

.cotation-choice-card small,
.cotation-analysis-card small{
	display: block;
	margin-top: 8px;
	color: var(--text-color);
	font-weight: 500;
	line-height: 1.5em;
}

.cotation-choice-card:has(input:checked),
.cotation-payment-card:has(input:checked),
.cotation-analysis-card:has(input:checked){
	border-color: var(--primary-color);
	background-color: rgba(190, 218, 241, 0.35);
}

.cotation-patient-block{
	padding-top: 8px;
}

.cotation-gate-message{
	margin-top: 8px;
	padding: 14px 16px;
	border-radius: 8px;
	background-color: rgba(190, 218, 241, 0.35);
	color: var(--primary-color);
	font-weight: 700;
	line-height: 1.4em;
}

.cotation-gate-message.is-ready{
	background-color: rgba(44, 137, 86, 0.12);
	color: #236b43;
}

.cotation-dynamic-form{
	margin-top: 10px;
	padding-top: 24px;
	border-top: 1px solid var(--divider-color);
}

.cotation-subsection{
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--divider-color);
}

.cotation-subsection:first-of-type{
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.cotation-subsection h4{
	margin-bottom: 18px;
	font-size: 20px;
}

.cotation-subsection h4 small{
	color: var(--text-color);
	font-family: var(--default-font);
	font-size: 14px;
	font-weight: 600;
}

.cotation-question-list{
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.cotation-question-row{
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background-color: var(--bg-color);
}

.cotation-question-row > span{
	color: var(--primary-color);
	font-weight: 700;
	line-height: 1.4em;
}

.cotation-radio-group{
	display: flex;
	align-items: center;
	gap: 14px;
}

.cotation-radio-group label,
.cotation-check-grid label{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--text-color);
	font-weight: 700;
	line-height: 1.3em;
}

.cotation-radio-group input,
.cotation-check-grid input{
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
}

.cotation-check-grid{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 22px;
}

.cotation-check-grid label{
	padding: 14px;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background-color: var(--bg-color);
}

.cotation-analysis-grid{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.cotation-analysis-card{
	flex-direction: column;
	gap: 8px;
	min-height: 150px;
	padding-right: 54px;
}

.cotation-analysis-card input{
	position: absolute;
	top: 18px;
	right: 18px;
}

.cotation-analysis-card strong{
	display: block;
	margin-top: auto;
	color: var(--primary-color);
	font-family: var(--accent-font);
}

.cotation-payment-grid{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}

.cotation-payment-card{
	align-items: center;
	gap: 12px;
}

.cotation-form-actions{
	margin-bottom: 30px;
	text-align: right;
}

.cotation-form-message{
	margin: 14px 0 0;
	color: #236b43;
	font-weight: 700;
}

.cotation-form-message.is-error{
	color: var(--error-color);
}

.cotation-receipt-panel{
	padding: 30px;
	border-radius: 8px;
	background-color: var(--primary-color);
	color: var(--white-color);
}

.cotation-receipt-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.cotation-receipt-header span{
	display: inline-block;
	margin-bottom: 8px;
	color: var(--accent-color);
	font-family: var(--accent-font);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.cotation-receipt-header h3{
	color: var(--white-color);
}

.cotation-receipt-header .btn-default.btn-border{
	flex: 0 0 auto;
}

.cotation-receipt-body{
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.cotation-qr-box{
	padding: 18px;
	border-radius: 8px;
	background-color: var(--white-color);
	text-align: center;
}

.cotation-qr-box strong{
	display: block;
	margin-top: 12px;
	color: var(--primary-color);
	font-family: var(--accent-font);
	font-size: 13px;
	line-height: 1.4em;
	word-break: break-word;
}

.cotation-qr-code{
	display: grid;
	grid-template-columns: repeat(11, 1fr);
	gap: 3px;
	aspect-ratio: 1;
}

.cotation-qr-code span{
	display: block;
	background-color: #edf3f8;
}

.cotation-qr-code span.is-active{
	background-color: var(--primary-color);
}

.cotation-receipt-details{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.cotation-receipt-details div{
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.08);
}

.cotation-receipt-details span{
	display: block;
	margin-bottom: 8px;
	color: var(--accent-color);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.cotation-receipt-details strong{
	display: block;
	color: var(--white-color);
	line-height: 1.4em;
}

@media only screen and (max-width: 1199px){
	.cotation-process-steps,
	.cotation-payment-grid{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cotation-check-grid{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 991px){
	.cotation-summary-card{
		position: static;
	}

	.cotation-process-steps,
	.cotation-payment-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cotation-check-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cotation-receipt-body{
		grid-template-columns: 1fr;
	}

	.cotation-qr-box{
		max-width: 260px;
	}
}

@media only screen and (max-width: 767px){
	.cotation-flow-section{
		padding: 50px 0 80px;
	}

	.cotation-panel,
	.cotation-intro-box .contact-us-form,
	.cotation-receipt-panel{
		padding: 22px;
	}

	.cotation-filter-bar,
	.cotation-choice-grid,
	.cotation-analysis-grid,
	.cotation-receipt-details,
	.cotation-question-row{
		grid-template-columns: 1fr;
	}

	.cotation-radio-group{
		align-items: flex-start;
		flex-direction: column;
	}

	.cotation-receipt-header{
		align-items: flex-start;
		flex-direction: column;
	}
}

@media only screen and (max-width: 575px){
	.cotation-process-steps,
	.cotation-payment-grid,
	.cotation-check-grid{
		grid-template-columns: 1fr;
	}

	.cotation-panel-header h3{
		font-size: 22px;
	}
}

@media print{
	body *{
		visibility: hidden;
	}

	#cotationReceipt,
	#cotationReceipt *{
		visibility: visible;
	}

	#cotationReceipt{
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		background-color: var(--primary-color) !important;
	}

	#printReceipt{
		display: none;
	}
}
