/* GP Seller Application — formulaire candidature / finalisation */
.gpsa { max-width: 820px; margin: 0 auto; }
.gpsa-intro, .gpsa-confirm { background: #f4f8f2; border: 1px solid #dce9d4; border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; }
.gpsa-confirm { text-align: center; }
.gpsa-confirm .btn { margin-top: 12px; }

.gpsa-section { border: 1px solid #e4e4e4; border-radius: 12px; padding: 18px 20px 6px; margin: 0 0 22px; }
.gpsa-section > legend { font-weight: 700; font-size: 1.45rem; padding: 0; color: #006d6d }

.gpsa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.gpsa-field { display: block; margin-bottom: 14px; }
.gpsa-field--full { grid-column: 1 / -1; }
.gpsa-field > span { display: block; font-weight: 600; font-size: var(--font-size-base); margin-bottom: 4px; }
.gpsa-field > small { display: block; color: #777; font-size: .82rem; margin-bottom: 6px; }
.gpsa-field input[type=text], .gpsa-field input[type=email], .gpsa-field input[type=tel],
.gpsa-field input[type=url], .gpsa-field input[type=password], .gpsa-field select, .gpsa-field textarea {
	width: 100%; padding: 9px 11px; border: 1px solid #c9c9c9; border-radius: 8px; font: inherit; background: #fff;
}
.gpsa-field input[readonly] { background: #f2f2f2; color: #666; }
.gpsa-field textarea { resize: vertical; }

.gpsa-choices { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.gpsa-choice { display: inline-flex; align-items: flex-start; gap: 7px; font-size: .92rem; line-height: 1.35; }
.gpsa-choice input { margin-top: 2px; }
.gpsa-other { margin-top: 8px; width: 100%; padding: 8px 10px; border: 1px solid #c9c9c9; border-radius: 8px; font: inherit; font-size: .92rem }

.gpsa-consent { margin: 8px 0 20px; padding: 14px 16px; background: #fafafa; border: 1px solid #e4e4e4; border-radius: 10px; }
.gpsa-submit { min-width: 200px; }

.gpsa-doc-open { margin-left: 4px; font-size: .88rem; color: #006d6d; text-decoration: none; cursor: pointer; }
.gpsa-doc-open:hover { color: #004d4d; text-decoration: underline; }

.gpsa-doc-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gpsa-doc-modal[hidden] { display: none; }
.gpsa-doc-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.gpsa-doc-modal__dialog { position: relative; z-index: 1; background: #fff; border-radius: 12px; max-width: 720px; width: 100%; max-height: 82vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.gpsa-doc-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.gpsa-doc-modal__head h2 { margin: 0; font-size: 1.1rem; }
.gpsa-doc-modal__close { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #555; padding: 0 4px; }
.gpsa-doc-modal__close:hover { color: #000; }
.gpsa-doc-modal__body { padding: 16px 20px 22px; overflow-y: auto; }

.gpsa-summary { border: 1px solid #dce9d4; background: #f9fcf7; border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; }
.gpsa-summary h3 { margin-top: 0; font-size: 1rem; }
.gpsa-summary dl { display: grid; grid-template-columns: 160px 1fr; gap: 4px 12px; margin: 0; }
.gpsa-summary dt { font-weight: 600; color: #555; }
.gpsa-summary dd { margin: 0; }
.gpsa-summary__note { color: #a06a00; font-size: .86rem; margin: 10px 0 0; }

.gpsa-hp { display: none !important; }

.gpsa-field { position: relative; }
.gpsa-ban-suggestions { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #c9c9c9; border-top: none; border-radius: 0 0 8px 8px; max-height: 220px; overflow-y: auto; }
.gpsa-ban-suggestions button { display: block; width: 100%; text-align: left; padding: 8px 11px; border: 0; background: none; font: inherit; cursor: pointer; color:black;}
.gpsa-ban-suggestions button:hover { background: #f0f6ec; }

@media (max-width: 640px) {
	.gpsa-grid { grid-template-columns: 1fr; }
	.gpsa-summary dl { grid-template-columns: 1fr; }
}

/* Champ mot de passe + bouton œil */
.gpsa-password-wrap { position: relative; }
.gpsa-password-wrap input[type=password] { padding-right: 46px; }

.gpsa-password-wrap .gp-password-toggle {
	position: absolute;
	z-index: 5;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: 0;
	border-radius: 8px;
	outline: none;
	color: #667572;
	cursor: pointer;
	transform: translateY(-50%);
	transition: color .2s ease, background-color .2s ease;
}
.gpsa-password-wrap .gp-password-toggle:hover { background-color: #f1f7f5; color: #006d6d; }
.gpsa-password-wrap .gp-password-toggle:focus-visible { outline: 3px solid rgba(0, 184, 148, .22); outline-offset: 1px; }
.gpsa-password-wrap .gp-password-toggle svg { position: absolute; top: 50%; left: 50%; width: 19px; height: 19px; fill: currentColor; transform: translate(-50%, -50%); }
.gpsa-password-wrap .gp-password-toggle__show { display: block; }
.gpsa-password-wrap .gp-password-toggle__hide { display: none; }
.gpsa-password-wrap .gp-password-toggle.is-visible .gp-password-toggle__show { display: none; }
.gpsa-password-wrap .gp-password-toggle.is-visible .gp-password-toggle__hide { display: block; }
