/**
 * Styles spécifiques au formulaire de recrutement.
 * Complète hod-form.css (mêmes variables --hod-*). Module isolé.
 *
 * @package HygieneOfficeDevis
 * @since   1.3.0
 */

.hod-jobs-wrap .hod-jobs-intro {
	margin: 0 0 18px;
	color: #5a6573;
	font-size: 15px;
	line-height: 1.55;
}

/* Grille 2 colonnes (prénom/nom, email/tel) */
.hod-jobs-wrap .hod-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 560px) {
	.hod-jobs-wrap .hod-field-grid {
		grid-template-columns: 1fr;
	}
}

/* Select : même look que les inputs */
.hod-jobs-wrap select {
	width: 100%;
	font-size: 15px;
	font-family: inherit;
	padding: 12px 14px;
	border: 2px solid var(--hod-border, #e4e9ef);
	border-radius: 12px;
	background: #fff;
	color: var(--hod-text, #1f2a37);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
.hod-jobs-wrap select:focus {
	outline: none;
	border-color: var(--hod-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--hod-primary) 18%, transparent);
}

/* Champ fichier (CV) */
.hod-jobs-wrap input[type="file"] {
	width: 100%;
	font-size: 14px;
	font-family: inherit;
	padding: 12px 14px;
	border: 2px dashed var(--hod-border, #e4e9ef);
	border-radius: 12px;
	background: #fbfcfd;
	color: var(--hod-text, #1f2a37);
	cursor: pointer;
}
.hod-jobs-wrap input[type="file"]::file-selector-button {
	font-family: inherit;
	font-weight: 600;
	font-size: 13px;
	margin-right: 12px;
	padding: 8px 14px;
	border: none;
	border-radius: 8px;
	background: var(--hod-primary);
	color: #fff;
	cursor: pointer;
	transition: filter .15s ease;
}
.hod-jobs-wrap input[type="file"]::file-selector-button:hover {
	filter: brightness(1.06);
}
.hod-jobs-wrap input[type="file"]:focus {
	outline: none;
	border-color: var(--hod-primary);
}

.hod-jobs-wrap .hod-hint {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: #8a95a1;
}

/* États d'erreur (ce module utilise hod-has-error / hod-field-error) */
.hod-jobs-wrap .hod-has-error input,
.hod-jobs-wrap .hod-has-error select,
.hod-jobs-wrap .hod-has-error textarea {
	border-color: #e23b3b;
}
.hod-jobs-wrap .hod-field-error {
	display: block;
	margin-top: 5px;
	color: #e23b3b;
	font-size: 13px;
}

/* Zone de feedback global */
.hod-jobs-wrap .hod-feedback:not(:empty) {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
}
.hod-jobs-wrap .hod-feedback-error {
	background: #fdecec;
	color: #b32d2e;
	border: 1px solid #f5c2c2;
}

/* Écran de succès */
.hod-jobs-wrap .hod-success {
	text-align: center;
	padding: 34px 20px;
	animation: hodFade .4s ease both;
}
.hod-jobs-wrap .hod-success-check {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	color: #fff;
	background: var(--hod-primary);
	border-radius: 50%;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--hod-primary) 35%, transparent);
}
.hod-jobs-wrap .hod-success p {
	color: #5a6573;
	font-size: 15.5px;
	max-width: 440px;
	margin: 0 auto;
	line-height: 1.6;
}
