/**
 * Le thème/Elementor du site applique des styles globaux sur les éléments
 * natifs (button, input, img, a) qui écrasent nos styles si on n'augmente
 * pas la spécificité -- leçon tirée des tunnels de réservation (bugs de
 * white-space/color/height forcés par le thème). On préfixe systématiquement
 * par #fortek-technician-app et on force !important sur les propriétés déjà
 * vues en conflit, plutôt que d'attendre le bug.
 */
#fortek-technician-app {
	background: rgba(157, 199, 234, 0.5);
	min-height: 100vh;
	font-family: 'Inter', sans-serif;
}

#fortek-technician-app,
#fortek-technician-app * {
	box-sizing: border-box;
}

#fortek-technician-app a {
	color: #2482D9;
	text-decoration: none;
}
#fortek-technician-app a:hover {
	color: #002A52;
}

#fortek-technician-app button {
	font-family: 'Inter', sans-serif !important;
	white-space: normal !important;
	min-width: 0;
	text-transform: none !important;
}

#fortek-technician-app img {
	max-width: none;
}

/* ---- Écran d'accueil ---- */
#fortek-technician-app .fteca__welcome {
	max-width: 640px;
	margin: 0 auto;
	padding: 80px 24px;
}

#fortek-technician-app .fteca__welcome-card {
	background: #fff;
	border-radius: 24px;
	padding: 48px;
	box-shadow: 0 1px 3px rgba(15, 37, 64, 0.06), 0 12px 32px rgba(15, 37, 64, 0.06);
}

#fortek-technician-app .fteca__brand-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}

#fortek-technician-app .fteca__brand-icon {
	height: 22px !important;
	width: auto !important;
	object-fit: contain;
	display: block;
}

#fortek-technician-app .fteca__brand-word {
	font-weight: 800;
	font-size: 18px;
	color: #002A52;
	letter-spacing: 1px;
}

#fortek-technician-app .fteca__welcome-title {
	font-weight: 700;
	font-size: 34px;
	color: #002A52;
	margin: 0 0 12px;
	line-height: 1.2;
}

#fortek-technician-app .fteca__welcome-sub {
	font-size: 15px;
	color: #5B6B82;
	line-height: 1.6;
	margin: 0 0 28px;
}

#fortek-technician-app .fteca__resume-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: rgba(157, 199, 234, 0.25);
	border: 1.5px solid #9DC7EA;
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

#fortek-technician-app .fteca__resume-title {
	font-weight: 700;
	font-size: 14px;
	color: #002A52;
}

#fortek-technician-app .fteca__resume-text {
	font-size: 13px;
	color: #5B6B82;
	margin-top: 2px;
}

#fortek-technician-app .fteca__resume-btn {
	background: #2482D9;
	color: #fff !important;
	border: none;
	border-radius: 10px;
	padding: 10px 18px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	flex-shrink: 0;
}

/* ---- Écran de confirmation ---- */
#fortek-technician-app .fteca__success {
	max-width: 480px;
	margin: 0 auto;
	padding: 80px 24px;
	text-align: center;
}

#fortek-technician-app .fteca__success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #B2EF8F;
	color: #002A52;
	font-size: 28px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

#fortek-technician-app .fteca__success-title {
	font-weight: 700;
	font-size: 26px;
	color: #002A52;
	margin: 0 0 14px;
}

#fortek-technician-app .fteca__success-text {
	font-size: 15px;
	color: #5B6B82;
	line-height: 1.6;
	margin: 0 0 24px;
}

#fortek-technician-app .fteca__ref-box {
	background: #EEF2F6;
	border-radius: 12px;
	padding: 14px;
	font-size: 14px;
	color: #002A52;
	margin-bottom: 28px;
}

#fortek-technician-app .fteca__btn-secondary {
	display: inline-block;
	background: #fff;
	color: #2482D9 !important;
	border: 1.5px solid #2482D9;
	border-radius: 10px;
	padding: 12px 26px;
	font-weight: 700;
	font-size: 14px;
}

/* ---- Formulaire (étapes 1-5) ---- */
#fortek-technician-app .fteca__form-shell {
	max-width: 720px;
	margin: 0 auto;
	padding: 40px 24px 64px;
}

#fortek-technician-app .fteca__card {
	background: #fff;
	border-radius: 20px;
	padding: 36px;
	box-shadow: 0 1px 3px rgba(15, 37, 64, 0.06), 0 12px 32px rgba(15, 37, 64, 0.06);
}

#fortek-technician-app .fteca__step-title {
	font-weight: 700;
	font-size: 22px;
	color: #002A52;
	margin: 0 0 22px;
}

/* ---- Stepper ---- */
#fortek-technician-app .fteca__stepper {
	max-width: 720px;
	margin: 0 auto 16px;
}

#fortek-technician-app .fteca__stepper-desktop {
	display: flex;
	align-items: center;
	width: 100%;
}

#fortek-technician-app .fteca__step-wrap {
	display: flex;
	align-items: center;
	flex: 1;
}
#fortek-technician-app .fteca__step-wrap:last-child {
	flex: 0 0 auto;
}

#fortek-technician-app .fteca__step-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 90px;
}

#fortek-technician-app .fteca__step-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12.5px;
	font-weight: 700;
	background: #E2E8F0;
	color: #8CA3BE;
}
#fortek-technician-app .fteca__step-circle.is-active {
	background: #fff;
	color: #2482D9;
	border: 2px solid #2482D9;
}
#fortek-technician-app .fteca__step-circle.is-done {
	background: #2482D9;
	color: #fff;
}

#fortek-technician-app .fteca__step-label {
	font-size: 11px;
	font-weight: 500;
	color: #8CA3BE;
	text-align: center;
	white-space: nowrap;
}
#fortek-technician-app .fteca__step-label.is-active {
	font-weight: 700;
	color: #002A52;
}

#fortek-technician-app .fteca__step-line {
	flex: 1;
	height: 2px;
	background: #E2E8F0;
	margin: 0 4px;
	margin-bottom: 18px;
}
#fortek-technician-app .fteca__step-line.is-done {
	background: #2482D9;
}

#fortek-technician-app .fteca__stepper-mobile {
	display: none;
}
#fortek-technician-app .fteca__stepper-mobile-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
}
#fortek-technician-app .fteca__stepper-mobile-label {
	font-weight: 700;
	color: #002A52;
	font-size: 14px;
}
#fortek-technician-app .fteca__stepper-mobile-count {
	color: #5B6B82;
	font-size: 12px;
	font-weight: 500;
}
#fortek-technician-app .fteca__stepper-mobile-track {
	height: 6px;
	background: #E2E8F0;
	border-radius: 6px;
	overflow: hidden;
}
#fortek-technician-app .fteca__stepper-mobile-fill {
	height: 100%;
	background: #2482D9;
	border-radius: 6px;
	transition: width 0.3s ease;
}

/* ---- Champs ---- */
#fortek-technician-app .fteca__field {
	margin-bottom: 20px;
}

#fortek-technician-app .fteca__field-row {
	display: flex;
	gap: 14px;
}
#fortek-technician-app .fteca__field-row .fteca__field {
	flex: 1;
}

#fortek-technician-app .fteca__field-label {
	display: block;
	font-weight: 600;
	font-size: 13.5px;
	color: #002A52;
	margin-bottom: 8px;
}

#fortek-technician-app .fteca__input,
#fortek-technician-app .fteca__textarea {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 12px 14px !important;
	border-radius: 10px !important;
	border: 1.5px solid #E2E8F0 !important;
	font-size: 15px !important;
	font-family: 'Inter', sans-serif !important;
	color: #002A52 !important;
	outline: none;
	background: #fff !important;
}
#fortek-technician-app .fteca__input.has-error,
#fortek-technician-app .fteca__textarea.has-error {
	border-color: #D64545 !important;
}
#fortek-technician-app .fteca__textarea {
	min-height: 90px;
	resize: vertical;
}

#fortek-technician-app .fteca__range {
	width: 100%;
	accent-color: #2482D9;
}

#fortek-technician-app .fteca__error-text {
	color: #D64545;
	font-size: 12.5px;
	font-weight: 600;
	margin-top: 6px;
}

/* ---- Chips ---- */
#fortek-technician-app .fteca__chip-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#fortek-technician-app .fteca__chip {
	padding: 10px 16px !important;
	border-radius: 999px !important;
	border: 1.5px solid #E2E8F0 !important;
	background: #fff !important;
	color: #334155 !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	cursor: pointer;
}
#fortek-technician-app .fteca__chip.is-selected {
	border: 1.5px solid #2482D9 !important;
	background: #2482D9 !important;
	color: #fff !important;
	font-weight: 600 !important;
}

/* ---- Upload de fichiers ---- */
#fortek-technician-app .fteca__upload-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}
#fortek-technician-app .fteca__upload-header .fteca__field-label {
	margin-bottom: 0;
}

#fortek-technician-app .fteca__defer-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #5B6B82;
	cursor: pointer;
	white-space: nowrap;
}

#fortek-technician-app .fteca__upload-zone {
	border: 1.5px dashed #C7D2E0;
	background: #F7F9FC;
	border-radius: 12px;
	padding: 16px;
	cursor: pointer;
	position: relative;
}
#fortek-technician-app .fteca__upload-zone.has-error {
	border: 1.5px dashed #D64545;
}
#fortek-technician-app .fteca__upload-zone.is-disabled {
	opacity: 0.5;
	cursor: default;
}

#fortek-technician-app .fteca__upload-text {
	font-size: 13.5px;
	color: #5B6B82;
	text-align: center;
}

#fortek-technician-app .fteca__upload-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 13.5px;
	color: #002A52;
	font-weight: 600;
}

#fortek-technician-app .fteca__upload-remove {
	background: none !important;
	border: none !important;
	color: #D64545 !important;
	font-weight: 600 !important;
	font-size: 12.5px !important;
	cursor: pointer;
	padding: 0 !important;
}

/* ---- Checkbox (charte / RGPD) ---- */
#fortek-technician-app .fteca__checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: #5B6B82;
	line-height: 1.5;
	cursor: pointer;
}
#fortek-technician-app .fteca__checkbox-row input {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: #2482D9;
}
#fortek-technician-app .fteca__checkbox-row.has-error {
	color: #D64545;
}

/* ---- Récapitulatif (étape 5) ---- */
#fortek-technician-app .fteca__summary-card {
	background: #F7F9FC;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 14px;
}
#fortek-technician-app .fteca__summary-title {
	font-weight: 700;
	font-size: 13px;
	color: #002A52;
	text-transform: uppercase;
	margin-bottom: 8px;
}
#fortek-technician-app .fteca__summary-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13.5px;
	color: #5B6B82;
	padding: 4px 0;
}
#fortek-technician-app .fteca__summary-row strong {
	color: #002A52;
	text-align: right;
}

/* ---- Boutons / navigation ---- */
#fortek-technician-app .fteca__nav-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 28px;
}

#fortek-technician-app .fteca__btn-primary {
	background: #2482D9 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 13px 28px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	cursor: pointer;
}

#fortek-technician-app .fteca__back {
	background: none !important;
	border: none !important;
	color: #002A52 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	cursor: pointer;
	padding: 0 !important;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
	#fortek-technician-app .fteca__welcome,
	#fortek-technician-app .fteca__success {
		padding: 40px 20px;
	}
	#fortek-technician-app .fteca__welcome-card {
		padding: 28px;
	}
	#fortek-technician-app .fteca__welcome-title {
		font-size: 26px;
	}
	#fortek-technician-app .fteca__form-shell {
		padding: 20px 18px 48px;
	}
	#fortek-technician-app .fteca__card {
		padding: 22px;
	}
	#fortek-technician-app .fteca__field-row {
		flex-direction: column;
		gap: 0;
	}
	#fortek-technician-app .fteca__stepper-desktop {
		display: none;
	}
	#fortek-technician-app .fteca__stepper-mobile {
		display: block;
	}
}
