/**
 * Vandeto — Google Auth (front)
 */

:root {
	--vdtga-accent: #ff1700;
	--vdtga-ink: #11151c;
	--vdtga-line: rgba(17, 21, 28, .12);
	--vdtga-muted: rgba(17, 21, 28, .55);
	--vdtga-radius: 14px;
}

/* ------------------------------------------------------------------
 * Emplacement
 * --------------------------------------------------------------- */

.vdtga-source {
	display: none !important;
}

.vdtga-slot {
	display: block;
	width: 100%;
	margin: 18px 0 4px;
}

.vdtga-sep {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 16px;
}

.vdtga-sep::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 1px;
	background: var(--vdtga-line);
}

.vdtga-sep span {
	position: relative;
	padding: 0 14px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vdtga-muted);
}

.vdtga-mount {
	display: flex;
	justify-content: center;
	min-height: 44px;
}

.vdtga-mount > div {
	width: 100%;
}

.vdtga-mount iframe {
	margin: 0 auto !important;
}

/* ------------------------------------------------------------------
 * Retour utilisateur
 * --------------------------------------------------------------- */

.vdtga-feedback {
	min-height: 0;
	margin-top: 10px;
	font-size: 13.5px;
	line-height: 1.45;
	text-align: center;
	color: var(--vdtga-muted);
}

.vdtga-feedback:empty {
	margin-top: 0;
}

.vdtga-feedback.is-error {
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 23, 0, .07);
	color: var(--vdtga-accent);
	font-weight: 500;
}

/* ------------------------------------------------------------------
 * Bouton natif (contexte application Android)
 * --------------------------------------------------------------- */

.vdtga-native-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid var(--vdtga-line);
	border-radius: 999px;
	background: #fff;
	color: #1f1f1f;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
	-webkit-tap-highlight-color: transparent;
}

.vdtga-native-btn:hover {
	background: #f7f8fa;
	border-color: rgba(17, 21, 28, .22);
}

.vdtga-native-btn:active {
	transform: scale(.985);
}

.vdtga-native-btn:focus-visible {
	outline: 2px solid var(--vdtga-accent);
	outline-offset: 2px;
}

.vdtga-native-btn__icon {
	display: inline-flex;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------
 * Page de finalisation de profil
 * --------------------------------------------------------------- */

.vdtga-profile-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 68vh;
	padding: 48px 20px;
	background: linear-gradient(180deg, #fafbfc 0%, #f2f4f7 100%);
}

.vdtga-profile-card {
	width: 100%;
	max-width: 460px;
	padding: 38px 34px 34px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(17, 21, 28, .04), 0 12px 40px rgba(17, 21, 28, .08);
	text-align: center;
}

.vdtga-profile-avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 12px rgba(17, 21, 28, .14);
}

.vdtga-profile-title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--vdtga-ink);
}

.vdtga-profile-intro {
	margin: 0 0 26px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--vdtga-muted);
}

.vdtga-profile-error {
	margin: 0 0 20px;
	padding: 11px 14px;
	border-radius: 10px;
	background: rgba(255, 23, 0, .08);
	color: var(--vdtga-accent);
	font-size: 13.5px;
	font-weight: 500;
	text-align: left;
}

.vdtga-profile-form {
	text-align: left;
}

.vdtga-profile-label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--vdtga-ink);
}

.vdtga-profile-field {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--vdtga-line);
	border-radius: 12px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.vdtga-profile-field:focus-within {
	border-color: var(--vdtga-accent);
	box-shadow: 0 0 0 3px rgba(255, 23, 0, .12);
}

.vdtga-profile-prefix {
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: #f6f7f9;
	border-right: 1px solid var(--vdtga-line);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--vdtga-muted);
}

.vdtga-profile-field input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 14px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 15.5px;
	color: var(--vdtga-ink);
	outline: none;
	box-shadow: none;
}

.vdtga-profile-submit {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 15px 20px;
	border: 0;
	border-radius: 12px;
	background: var(--vdtga-accent);
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: filter .18s ease, transform .12s ease;
}

.vdtga-profile-submit:hover {
	filter: brightness(1.06);
}

.vdtga-profile-submit:active {
	transform: scale(.99);
}

@media (max-width: 480px) {
	.vdtga-profile-wrap {
		padding: 24px 14px;
	}

	.vdtga-profile-card {
		padding: 30px 22px 26px;
		border-radius: 16px;
	}

	.vdtga-profile-title {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vdtga-native-btn,
	.vdtga-profile-submit,
	.vdtga-profile-field {
		transition: none;
	}
}
