/* Information Juridique V2 Styles */

/* Adaptation du wrapper pour cette page */
.page-template-template-information-juridique-v2 #wrapper {
	height: auto !important;
	min-height: 100vh;
}

.information-juridique-v2 {
	width: 100%;
	padding: 40px 20px;
}

.ij-v2-wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr 80px;
	align-items: center;
	gap: 5px;
	padding: 0 20px;
}

/* Navigation Arrows */
.ij-v2-wrapper .arrow {
	cursor: pointer;
	width: 80px;
	height: 80px;
	transition: all 0.3s ease;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
	position: relative;
	z-index: 10;
}

.ij-v2-wrapper .left-arrow {
	position: absolute;
	left: 55px !important;
}

.ij-v2-wrapper .right-arrow {
	position: absolute;
	right: 55px;
}

.ij-v2-wrapper .arrow.hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.ij-v2-wrapper .arrow.arrow-invalid {
	opacity: 0.5;
	cursor: not-allowed;
}

.ij-v2-wrapper .arrow.arrow-valid {
	opacity: 1;
	cursor: pointer;
}

.ij-v2-wrapper .arrow:hover:not(.arrow-invalid) {
	transform: scale(1.15);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Show/Hide arrows based on device */
.show-on-mobile {
	display: none !important;
}

.hide-on-mobile {
	display: block !important;
}

/* Main Container */
.ij-v2-container {
	width: 100%;
	max-width: 900px;
	background: rgba(152, 204, 219, 0.5);
	border-radius: 60px;
	padding: 60px 80px;
	position: relative;
	margin: 0 auto;
	grid-column: 2;
}

/* Progress Stepper */
.ij-v2-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 40px;
	gap: 15px;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	flex: 0 0 180px;
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.step-item.active {
	opacity: 1;
}

.step-icon {
	width: 80px;
	height: 80px;
	background: #5A7C92;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}

.step-item.active .step-icon {
	background: #4A6578;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.step-text {
	text-align: center;
	font-size: 13px;
	color: #2C3E50;
	max-width: 150px;
}

.step-separator {
	width: 40px;
	height: 3px;
	background: #7A9DB0;
	margin: 0 10px;
	align-self: center;
	margin-bottom: 30px;
}

/* Form */
.ij-v2-form {
	position: relative;
}

.form-avatar {
	text-align: center;
	/*margin-bottom: 20px;*/
}

.form-avatar img {
	width: 80px;
	height: auto;
}

.form-title {
	text-align: center;
	margin-bottom: 30px;
    margin-top: -10px;
}

.btn-main {
	background: linear-gradient(135deg, #FFA726 0%, #FF8A00 100%);
	border: none;
	padding: 12px 35px;
	border-radius: 25px;
	color: white;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(255, 138, 0, 0.3);
	transition: all 0.3s ease;
}

.btn-main:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(255, 138, 0, 0.4);
}

/* Form Steps */
.form-step {
	display: none;
}

.form-step.active {
	display: block;
}

/* Step 0: Identity */
.step-0 {
	text-align: center;
}

.question-header {
	background: #5A7C92;
	color: white;
	padding: 12px 25px;
	border-radius: 25px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 25px;
	font-size: 16px;
	font-weight: 500;
}

.question-icon {
	background: white;
	color: #5A7C92;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 18px;
}

.identity-choice {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	justify-content: center;
}

.identity-btn {
	background: white;
	border: 3px solid #FFA726;
	padding: 20px 50px;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	color: #2C3E50;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.identity-btn img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.identity-btn:hover,
.identity-btn.active {
	background: #FFA726;
	color: white;
}

/* Identity Fields */
.identity-fields {
	margin-top: 30px;
}

.identity-fields.hidden {
	display: none;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-field {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	background: white;
	border-radius: 25px;
	padding: 12px 20px;
	min-height: 50px;
}

.field-icon {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	flex-shrink: 0;
}

.field-icon.red {
	background: #FF6B6B;
	border-radius: 8px;
	padding: 5px;
}

.field-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.form-field input,
.form-field textarea {
	border: none;
	background: transparent;
	width: 100%;
	font-size: 14px;
	color: #2C3E50;
	outline: none;
	padding: 0;
	margin: 0 !important;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #95A5A6;
}

.form-field input.error {
	color: #E74C3C;
}

.professionnel-field {
	display: none !important;
}

.professionnel-field.show {
	display: flex !important;
}

/* Step 1 & 2: Avatars */
.step-1-avatar,
.step-2-avatar {
	text-align: center;
	margin-bottom: -40px;
	position: relative;
	z-index: 10;
}

.step-1-avatar img,
.step-2-avatar img {
	width: 90px;
	height: auto;
}

.step-title-orange {
	text-align: center;
	background: #FFA726;
	color: white;
	padding: 15px 40px;
	border-radius: 30px;
	display: inline-block;
	margin: 0 auto 30px;
	font-size: 18px;
	font-weight: 600;
}

.step-1 .step-title-orange,
.step-2 .step-title-orange {
	display: block;
	text-align: center;
}

.help-section-centered {
	text-align: center;
	margin-bottom: 25px;
}

.response-type-choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	max-width: 100%;
	margin: 0 auto;
}

.response-type-btn {
	background: #6B8BA3;
	border: 4px solid #E8F0F5;
	padding: 40px 30px;
	border-radius: 40px;
	color: white;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 20px;
	text-align: center;
	min-height: 200px;
	justify-content: center;
}

.response-type-btn:hover {
	background: #5A7C92;
	border-color: #D0E4F0;
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.response-type-btn.active {
	background: #5A7C92;
	border-color: #FFA726;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.response-type-btn .icon {
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.response-type-btn .icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Step 2: Problem Description */
.help-section {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #6B8BA3;
	color: white;
	padding: 12px 25px;
	border-radius: 30px;
	margin: 0;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 3px solid #E8F0F5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.help-section:hover {
	background: #5A7C92;
	transform: translateY(-2px);
    border-color: #FFA726;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-section.active {
	background: #5A7C92;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.help-icon {
	width: 25px;
	height: 25px;
}

.help-icon img {
	width: 100%;
	height: 100%;
}

.question-example {
	background: #6B8BA3;
	border-radius: 40px;
	border: 4px solid white;
	padding: 30px;
	margin-bottom: 25px;
	display: grid;
	gap: 30px;
	grid-template-columns: 320px 1fr;
}

.question-example.hidden {
	display: none;
}

.example-left {
	background: white;
	border-radius: 30px;
	padding: 25px 20px;
}

.tips-icon {
	font-size: 48px;
	text-align: center;
	margin-bottom: 10px;
}

.tips-title {
	background: white;
	border: 2px solid #333;
	border-radius: 20px;
	padding: 8px 15px;
	font-weight: 700;
	color: #333;
	text-align: center;
	margin-bottom: 20px;
	font-size: 15px;
}

.tip-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 25px;
	font-size: 14px;
	line-height: 1.6;
}

.tip-item:last-child {
	margin-bottom: 0;
}

.tip-item .tip-number {
	color: #333;
	font-weight: 700;
	flex-shrink: 0;
	font-size: 16px;
	min-width: 25px;
}

.tip-item .checkmark {
	color: #4CAF50;
	font-weight: 700;
	flex-shrink: 0;
	font-size: 18px;
}

.example-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.good-example,
.bad-example {
	background: white;
	border-radius: 25px;
	padding: 20px;
	position: relative;
}

.example-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 15px;
	border-radius: 15px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
}

.example-badge.good {
	background: #E8F5E9;
	color: #2E7D32;
}

.example-badge.bad {
	background: #FFEBEE;
	color: #C62828;
}

.good-example p,
.bad-example p {
	margin: 0 0 12px 0;
	line-height: 1.5;
	font-size: 13px;
	color: #333;
}

.good-example p:last-child,
.bad-example p:last-child {
	margin-bottom: 0;
}

.good-example strong,
.bad-example strong {
	font-weight: 700;
	color: #000;
}

.good-example em,
.bad-example em {
	font-style: italic;
	color: #555;
}

.good-example ul,
.bad-example ul {
	margin: 0;
	padding-left: 20px;
	font-style: italic;
	color: #555;
	font-size: 13px;
	line-height: 1.5;
}

.good-example ul li,
.bad-example ul li {
	margin-bottom: 8px;
}

.good-example ul li:last-child,
.bad-example ul li:last-child {
	margin-bottom: 0;
}

.problem-description {
	width: 100%;
	min-height: 150px;
	background: white;
	border: none;
	border-radius: 25px;
	padding: 20px;
	font-size: 14px;
	color: #2C3E50;
	resize: vertical;
	margin-bottom: 25px;
	font-family: inherit;
}

.problem-description::placeholder {
	color: #95A5A6;
}

/* Textarea wrapper with counter */
.textarea-wrapper {
	position: relative;
	margin-bottom: 25px;
}

.textarea-wrapper .problem-description {
	margin-bottom: 10px;
}

.char-counter {
	text-align: right;
	font-size: 14px;
	color: #dc3545;
	margin-bottom: 10px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.char-counter .char-count {
	font-weight: bold;
	font-size: 16px;
}

.handwritten-note {
	background: #FFF9E6;
	border-left: 3px solid #FFB84D;
	padding: 12px 15px;
	font-size: 14px;
	font-style: italic;
	color: #8B6914;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Bonus Section */
.bonus-section {
	margin-bottom: 25px;
}

.bonus-toggle {
	width: 100%;
	background: #5A7C92;
	color: white;
	border: none;
	padding: 15px 25px;
	border-radius: 25px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.bonus-toggle:hover {
	background: #4A6578;
}

.bonus-toggle .bonus-icon {
	font-size: 20px;
}

.bonus-toggle .chevron {
	margin-left: auto;
	transition: transform 0.3s ease;
}

.bonus-toggle.active .chevron {
	transform: rotate(180deg);
}

.bonus-content {
	background: #5A7C92;
	color: white;
	padding: 25px;
	border-radius: 0 0 25px 25px;
	margin-top: -10px;
}

.bonus-content.hidden {
	display: none;
}

.bonus-content h4 {
	color: #FFA726;
	font-size: 16px;
	margin: 0 0 15px;
	font-weight: 600;
}

.bonus-content ul {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.bonus-content ul li {
	padding-left: 25px;
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 1.6;
	position: relative;
}

.bonus-content ul li::before {
	content: "•";
	position: absolute;
	left: 5px;
	color: #FFA726;
	font-weight: bold;
}

.example-btn {
	background: white;
	color: #2C3E50;
	border: none;
	padding: 10px 25px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 15px;
}

.example-btn:hover {
	background: #F0F0F0;
	transform: translateY(-2px);
}

.example-btn.red {
	background: #E74C3C;
	color: white;
}

.example-btn.red:hover {
	background: #C0392B;
}

.price-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.price-badge {
	background: #5A7C92;
	padding: 12px 30px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: white;
}

.money-icon {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.money-icon img,
.price-badge img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.price {
	font-size: 20px;
	font-weight: 700;
}

.ttc {
	font-size: 14px;
	font-weight: 400;
}

.price-badge {
	position: relative;
}

.info-btn {
	background: white;
	color: #5A7C92;
	border: 2px solid #5A7C92;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-weight: bold;
	cursor: pointer;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.info-btn:hover {
	background: #5A7C92;
	color: white;
}

.price-info-tooltip {
	position: absolute;
	top: 50%;
	left: calc(100% + 20px);
	transform: translateY(-50%);
	background: #5A7C92;
	color: white;
	padding: 20px;
	border-radius: 20px;
	width: 400px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	border: 3px solid white;
}

.price-info-tooltip::before {
	content: '';
	position: absolute;
	left: -15px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 15px 15px 0;
	border-color: transparent white transparent transparent;
}

.price-info-tooltip::after {
	content: '';
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 12px 12px 0;
	border-color: transparent #5A7C92 transparent transparent;
}

.price-info-tooltip.hidden {
	display: none;
}

.price-info-tooltip p {
	margin: 0 0 10px 0;
	line-height: 1.6;
	font-size: 15px;
}

.price-info-tooltip p:last-child {
	margin-bottom: 0;
}

.price-info-tooltip strong {
	font-weight: 700;
	color: #FFA726;
}

.modify-price-btn {
	background: #2C3E50;
	color: white;
	border: none;
	padding: 10px 30px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modify-price-btn:hover {
	background: #1C2E40;
	transform: translateY(-2px);
}

/* Price Modal */
.price-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.price-modal.hidden {
	display: none;
}

.price-modal-content {
	background: white;
	border-radius: 25px;
	padding: 40px;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.price-modal-content h3 {
	color: #5A7C92;
	font-size: 24px;
	margin: 0 0 15px;
	text-align: center;
}

.price-modal-content p {
	color: #666;
	font-size: 14px;
	margin: 0 0 25px;
	text-align: center;
}

.price-input-group {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	justify-content: center;
}

.price-input {
	width: 150px;
	padding: 15px 20px;
	border: 2px solid #5A7C92;
	border-radius: 15px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	color: #2C3E50;
}

.price-input:focus {
	outline: none;
	border-color: #FFA726;
}

.currency {
	font-size: 24px;
	font-weight: 600;
	color: #5A7C92;
}

.price-modal-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.price-modal-actions button {
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-cancel {
	background: #E0E0E0;
	color: #666;
}

.btn-cancel:hover {
	background: #D0D0D0;
}

.btn-confirm {
	background: #FFA726;
	color: white;
	transition: all 0.3s ease;
}

.btn-confirm:hover:not(:disabled) {
	background: #FF9800;
	transform: translateY(-2px);
}

.btn-confirm:disabled {
	background: #CCCCCC;
	color: #888888;
	cursor: not-allowed;
	opacity: 0.5;
}

/* Step 3: Lawyer Profile */
.lawyer-profile {
	background: #5A7C92;
	border-radius: 25px;
	padding: 25px;
	margin-bottom: 20px;
}

.lawyer-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.lawyer-avatar {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	overflow: hidden;
	background: white;
	padding: 8px;
}

.lawyer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.lawyer-info {
	flex: 1;
}

.lawyer-info h3 {
	color: white;
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 5px;
}

.rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rating .stars {
	display: flex;
	align-items: center;
}

.rating .stars img {
	height: 18px;
	width: auto;
}

.rating .google-logo {
	display: flex;
	align-items: center;
}

.rating .google-logo img {
	height: 16px;
	width: auto;
}

.toggle-lawyer-info {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.toggle-lawyer-info img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.toggle-lawyer-info.collapsed img {
	transform: rotate(180deg);
}

.lawyer-details {
	color: white;
}

.detail-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
}

.detail-item img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

.response-features {
	list-style: none;
	padding: 0;
	margin: 15px 0 0;
}

.response-features li {
	padding-left: 20px;
	margin-bottom: 8px;
	font-size: 13px;
	position: relative;
}

.response-features li::before {
	content: "•";
	position: absolute;
	left: 0;
	font-weight: bold;
}

.additional-info {
	background: #4A6578;
	color: white;
	padding: 15px 20px;
	border-radius: 15px;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 20px;
}

/* Consent Section */
.consent-section {
	margin-top: 30px;
	margin-bottom: 20px;
}

.consent-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	cursor: pointer;
	background: white;
	padding: 20px;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.consent-checkbox:hover {
	background: #F8F9FA;
}

.consent-checkbox input[type="checkbox"] {
	width: 24px;
	height: 24px;
	min-width: 24px;
	cursor: pointer;
	margin: 0;
	flex-shrink: 0;
	margin-top: 2px;
}

.consent-checkbox .checkbox-text {
	font-size: 14px;
	line-height: 1.6;
	color: #2C3E50;
}

.consent-checkbox input[type="checkbox"]:checked + .checkbox-text {
	color: #4A6578;
	font-weight: 500;
}

/* Calendar Section */
.calendar-section {
	margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.calendar-section.hidden {
	display: none;
}

.calendar-header {
	text-align: center;
	background: #5A7C92;
	color: white;
	padding: 12px 25px;
	border-radius: 25px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 auto 20px;
	font-size: 16px;
	font-weight: 500;
}

.calendar-header img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.calendar-picker {
	background: white;
	border-radius: 25px;
	padding: 25px;
	max-width: 600px;
	margin: 0 auto;
}

.calendar-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.calendar-nav button {
	background: #5A7C92;
	color: white;
	border: none;
	width: 35px;
	height: 35px;
	border-radius: 8px;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.calendar-nav button:hover {
	background: #4A6578;
}

.current-month {
	font-size: 16px;
	font-weight: 600;
	color: #2C3E50;
}

.calendar-grid {
	position: relative;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	margin-bottom: 10px;
}

.calendar-weekdays div {
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #5A7C92;
	padding: 8px 0;
}

.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
}

.calendar-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #2C3E50;
}

.calendar-day:hover:not(.disabled) {
	background: #E8F4F8;
}

.calendar-day.selected {
	background: #5A7C92;
	color: white;
	font-weight: 600;
}

.calendar-day.disabled {
	color: #BDC3C7;
	cursor: not-allowed;
}

.calendar-loader {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	z-index: 10;
	min-height: 250px;
}

.calendar-loader.hidden {
	display: none;
}

.loader-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #E8F4F8;
	border-top: 4px solid #5A7C92;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.time-slots {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.time-slot {
	padding: 10px;
	border-radius: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.time-slot.available {
	background: #5A7C92;
	color: white;
}

.time-slot.available:hover {
	background: #4A6578;
}

.time-slot.disabled {
	background: #E8ECED;
	color: #95A5A6;
	cursor: not-allowed;
}

.time-slot.selected {
	background: #4A6578;
	border-color: #FFA726;
	color: white;
}

.selected-slot {
	margin-top: 20px;
	padding: 15px;
	background: #E8F4F8;
	border-radius: 15px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #2C3E50;
}

/* Accordion */
.ij-v2-accordion {
	background: white;
	border-radius: 25px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	margin-top: 40px;
}

.accordion-toggle {
	width: 100%;
	padding: 20px 30px;
	background: transparent;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: #2C3E50;
	transition: all 0.3s ease;
}

.accordion-toggle:hover {
	background: #F8F9FA;
}

.accordion-toggle .chevron {
	transition: transform 0.3s ease;
}

.accordion-toggle.active .chevron {
	transform: rotate(180deg);
}

.accordion-content {
	padding: 0 30px 25px;
	font-size: 14px;
	line-height: 1.7;
	color: #2C3E50;
}

.accordion-content.hidden {
	display: none;
}

.accordion-content p {
	margin-bottom: 15px;
}

.accordion-content strong {
	font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
	.ij-v2-wrapper {
		grid-template-columns: 1fr;
		grid-template-rows: 60px auto 60px;
		gap: 15px;
		padding: 0 15px;
	}

	.ij-v2-container {
		width: 100%;
		max-width: 100%;
		padding: 40px 30px;
		grid-row: 2;
	}

	.ij-v2-stepper {
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.step-item {
		flex: 0 0 auto;
		min-width: 100px;
	}

	.step-separator {
		display: none;
	}

	.form-row {
		flex-direction: column;
		gap: 15px;
	}

	.response-type-choice {
		max-width: 100%;
		grid-template-columns: 1fr;
	}

	.response-type-btn {
		min-height: 150px;
	}

	.step-1-avatar img {
		width: 120px;
	}

	.time-slots {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Hide desktop arrows, show mobile arrows - force even with inline styles */
	.ij-v2-wrapper .hide-on-mobile,
	.ij-v2-wrapper .hide-on-mobile[style] {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		position: absolute !important;
		left: -9999px !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	.ij-v2-wrapper .show-on-mobile,
	.ij-v2-wrapper .show-on-mobile[style] {
		display: block !important;
		position: fixed !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		z-index: 1000 !important;
		width: 60px !important;
		height: 60px !important;
	}

	/* Position left arrow (top) - rotate to point left (back) */
	.ij-v2-wrapper .left-arrow.show-on-mobile,
	.ij-v2-wrapper .left-arrow.show-on-mobile[style] {
		top: 80px !important;
		transform: translateX(-50%) rotate(180deg) !important;
	}

	/* Position right arrow (bottom) - no rotation to point right (next) */
	.ij-v2-wrapper .right-arrow.show-on-mobile,
	.ij-v2-wrapper .right-arrow.show-on-mobile[style] {
		bottom: 80px !important;
		transform: translateX(-50%) rotate(0deg) !important;
	}

	/* Force visibility for mobile arrows that should be visible */
	.ij-v2-wrapper .show-on-mobile.arrow-invalid:not(.hidden),
	.ij-v2-wrapper .show-on-mobile.arrow-valid:not(.hidden),
	.ij-v2-wrapper .show-on-mobile.left-arrow:not(.hidden) {
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	/* Force mobile arrows to be visible - invalid arrows stay normal size */
	.ij-v2-wrapper .arrow-mobile.arrow-invalid,
	.ij-v2-wrapper .arrow-mobile.arrow-invalid[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		position: fixed !important;
		width: 60px !important;
		height: 60px !important;
	}

	.ij-v2-wrapper .arrow-mobile.arrow-valid.hidden {
		display: block !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Valid arrows are bigger */
	.ij-v2-wrapper .arrow-mobile.arrow-valid:not(.hidden),
	.ij-v2-wrapper .arrow-mobile.arrow-valid:not(.hidden)[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		width: 80px !important;
		height: 80px !important;
	}

	.ij-v2-wrapper .arrow-mobile.left-arrow.hidden {
		display: block !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Left arrow when visible is bigger */
	.ij-v2-wrapper .arrow-mobile.left-arrow:not(.hidden),
	.ij-v2-wrapper .arrow-mobile.left-arrow:not(.hidden)[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		width: 80px !important;
		height: 80px !important;
	}
}

@media (max-width: 768px) {
	.information-juridique-v2 {
		padding: 20px 10px;
	}

	.ij-v2-wrapper {
		grid-template-columns: 1fr;
		grid-template-rows: 50px auto 50px;
		gap: 15px;
		padding: 0 10px;
	}

	.ij-v2-container {
		width: 100%;
		max-width: 100%;
		border-radius: 30px;
		padding: 30px 20px;
		grid-row: 2;
	}

	.ij-v2-stepper {
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 10px;
	}

	.step-item {
		flex: 0 0 auto;
		min-width: 80px;
		max-width: 100px;
	}

	.step-icon {
		width: 50px;
		height: 50px;
		padding: 10px;
	}

	.step-text {
		font-size: 10px;
		max-width: 80px;
	}

	.step-separator {
		display: none;
	}

	.btn-main {
		padding: 10px 25px;
		font-size: 14px;
	}

	.identity-choice {
		flex-direction: column;
	}

	.identity-btn {
		width: 100%;
	}

	.response-type-choice {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.response-type-btn {
		min-height: 120px;
		padding: 30px 20px;
	}

	.response-type-btn .icon {
		width: 60px;
		height: 60px;
	}

	.step-1-avatar img {
		width: 100px;
	}

	.calendar-weekdays div {
		font-size: 10px;
	}

	.calendar-day {
		font-size: 12px;
	}

	/* Hide desktop arrows, show mobile arrows - force even with inline styles */
	.ij-v2-wrapper .hide-on-mobile,
	.ij-v2-wrapper .hide-on-mobile[style] {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		position: absolute !important;
		left: -9999px !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	.ij-v2-wrapper .show-on-mobile,
	.ij-v2-wrapper .show-on-mobile[style] {
		display: block !important;
		position: fixed !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		z-index: 1000 !important;
		width: 50px !important;
		height: 50px !important;
	}

	/* Position left arrow (top) - rotate to point left (back) */
	.ij-v2-wrapper .left-arrow.show-on-mobile,
	.ij-v2-wrapper .left-arrow.show-on-mobile[style] {
		top: 70px !important;
		transform: translateX(-50%) rotate(180deg) !important;
	}

	/* Position right arrow (bottom) - no rotation to point right (next) */
	.ij-v2-wrapper .right-arrow.show-on-mobile,
	.ij-v2-wrapper .right-arrow.show-on-mobile[style] {
		bottom: 70px !important;
		transform: translateX(-50%) rotate(0deg) !important;
	}

	/* Force visibility for mobile arrows that should be visible */
	.ij-v2-wrapper .show-on-mobile.arrow-invalid:not(.hidden),
	.ij-v2-wrapper .show-on-mobile.arrow-valid:not(.hidden),
	.ij-v2-wrapper .show-on-mobile.left-arrow:not(.hidden) {
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	/* Force mobile arrows to be visible - invalid arrows stay normal size */
	.ij-v2-wrapper .arrow-mobile.arrow-invalid,
	.ij-v2-wrapper .arrow-mobile.arrow-invalid[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		position: fixed !important;
		width: 50px !important;
		height: 50px !important;
	}

	.ij-v2-wrapper .arrow-mobile.arrow-valid.hidden {
		display: block !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Valid arrows are bigger */
	.ij-v2-wrapper .arrow-mobile.arrow-valid:not(.hidden),
	.ij-v2-wrapper .arrow-mobile.arrow-valid:not(.hidden)[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		width: 70px !important;
		height: 70px !important;
	}

	.ij-v2-wrapper .arrow-mobile.left-arrow.hidden {
		display: block !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Left arrow when visible is bigger */
	.ij-v2-wrapper .arrow-mobile.left-arrow:not(.hidden),
	.ij-v2-wrapper .arrow-mobile.left-arrow:not(.hidden)[style] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		width: 70px !important;
		height: 70px !important;
	}
}