/**
 * ============================================================================
 * ISY-PV Addon - Espace client - Feuille de style
 * ============================================================================
 * Charte reprise a l'identique du configurateur et du site ISY-PV :
 *  - fond bleu nuit #021854, bleu d'action #044ac6, jaune #ffb001 ;
 *  - titres et libelles en Montserrat (letter-spacing -.02em) ;
 *  - valeurs saisies en Plus Jakarta Sans, sur champs blancs a angles droits ;
 *  - polices deja embarquees dans le plugin (dossier fonts/), aucune
 *    dependance externe.
 *
 * @author Snazzy Digital Agency
 * @since  4.0.0
 */

/* ------------------------------------------------------- Polices embarquees */

@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Regular.cfbf0da0.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Medium.d3f3d769.ttf) format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-SemiBold.38e62f01.ttf) format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Bold.3530bfc1.ttf) format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(fonts/PlusJakartaSans-Regular.3cbfe512.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(fonts/PlusJakartaSans-SemiBold.f4cb9027.ttf) format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ Racine */

.isypv-account-root {
	--isypv-navy: #021854;
	--isypv-navy-deep: #00102f;
	--isypv-blue: #044ac6;
	--isypv-blue-dark: #00348e;
	--isypv-yellow: #ffb001;
	--isypv-grey: #7e91b7;
	--isypv-red: #cc1818;
	--isypv-green: #43a201;

	position: relative;
	min-height: 100vh;
	box-sizing: border-box;
	padding: 60px 20px 70px;
	background-color: var(--isypv-navy);
	color: #fff;
	font-family: Montserrat, sans-serif;
	letter-spacing: -.02em;
	-webkit-font-smoothing: antialiased;
}

/* Halo discret, dans l'esprit du configurateur (pas de trame marquee) */
.isypv-account-root::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient( 780px 420px at 50% -8%, rgba(4, 74, 198, .38), transparent 70% );
	pointer-events: none;
}

.isypv-account-root > * { position: relative; z-index: 1; }
.isypv-account-root *,
.isypv-account-root *:before,
.isypv-account-root *:after { box-sizing: border-box; }

body.isypv-account-page { margin: 0; background: var(--isypv-navy); }

/* --------------------------------------------------------------- Blindage
 * Le theme du site (Elementor) applique ses propres styles aux boutons, liens
 * et champs : couleur d'accent au survol, degrades, ombres, arrondis. Ces
 * regles neutralisent ces heritages a l'interieur de l'espace client, afin que
 * seule la charte ISY-PV s'applique — y compris au survol et au focus.
 */

.isypv-account-root button,
.isypv-account-root button:hover,
.isypv-account-root button:focus,
.isypv-account-root button:active,
.isypv-account-root a,
.isypv-account-root a:hover,
.isypv-account-root a:focus,
.isypv-account-root a:active,
.isypv-account-root input,
.isypv-account-root select {
	background-image: none;
	text-shadow: none;
	text-decoration: none;
	outline: none;
}

.isypv-account-root button {
	margin: 0;
	font-family: Montserrat, sans-serif;
	letter-spacing: -.02em;
	-webkit-appearance: none;
	appearance: none;
}

.isypv-account-root input,
.isypv-account-root select {
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	min-height: 0;
	line-height: 150%;
}

/* Neutralise les styles de bouton du theme sur nos elements interactifs */
.isypv-account-root .isypv-btn,
.isypv-account-root .isypv-toggle__opt,
.isypv-account-root .isypv-segment__opt,
.isypv-account-root .isypv-link,
.isypv-account-root .isypv-search__item,
.isypv-account-root .isypv-field__reveal {
	box-shadow: none;
	text-transform: none;
}


/* ------------------------------------------------------------------ Layout */

.isypv-shell { width: 100%; max-width: 460px; margin: 0 auto; }
.isypv-shell--wide { max-width: 940px; }

.isypv-brand { text-align: center; margin-bottom: 26px; }
.isypv-brand__logo { display: block; width: 172px; height: auto; margin: 0 auto 22px; }
.isypv-brand__title {
	margin: 0 0 8px;
	font-family: Montserrat, sans-serif;
	font-size: 32px; font-weight: 500; letter-spacing: -.02em; line-height: 110%;
	color: #fff;
}
.isypv-brand__sub {
	margin: 0;
	font-size: 15px; font-weight: 400; line-height: 150%;
	color: rgba(255, 255, 255, .62);
}

/* ------------------------------- Bascule connexion / inscription */

.isypv-toggle {
	display: flex; gap: 4px; padding: 4px; margin: 0 auto 22px; max-width: 340px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
}
.isypv-account-root .isypv-toggle__opt,
.isypv-account-root .isypv-toggle__opt:hover,
.isypv-account-root .isypv-toggle__opt:focus,
.isypv-account-root .isypv-toggle__opt:active {
	flex: 1;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background-color: transparent;
	color: rgba(255, 255, 255, .72);
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -.02em;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.isypv-account-root .isypv-toggle__opt:hover { color: #fff; background-color: rgba(255, 255, 255, .1); }
.isypv-account-root .isypv-toggle__opt.is-active,
.isypv-account-root .isypv-toggle__opt.is-active:hover,
.isypv-account-root .isypv-toggle__opt.is-active:focus {
	background-color: #fff;
	color: var(--isypv-navy);
}

/* ----------------------------------------------------------------- Panneau */

.isypv-panel {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: 30px;
	box-shadow: 0 26px 60px rgba(0, 0, 0, .3);
	animation: isypvFadeUp .4s cubic-bezier(.22, 1, .36, 1) both;
}
.isypv-panel + .isypv-panel { margin-top: 16px; }
.isypv-panel__title { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 130%; color: #fff; }
.isypv-panel__sub { margin: 0 0 22px; font-size: 13px; font-weight: 400; line-height: 150%; color: rgba(255, 255, 255, .58); }

@keyframes isypvFadeUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Champs */

.isypv-field { margin-bottom: 16px; }
.isypv-field__label {
	display: block; margin-bottom: 8px;
	font-family: Montserrat, sans-serif;
	font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 140%;
	color: #fff;
}
.isypv-field__wrap { position: relative; }

/* Champ blanc a angles droits : signature visuelle du configurateur */
.isypv-field__input {
	width: 100%; padding: 11px 14px;
	border: none; border-radius: 0;
	background-color: #fff; color: #000;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 150%;
	outline: none; transition: box-shadow .18s ease;
}
.isypv-field__input::placeholder { color: #9aa3b8; font-weight: 400; }
.isypv-field__input:focus { box-shadow: 0 0 0 2px var(--isypv-yellow); }
.isypv-field__input:disabled { background: #eef1f7; color: #7e91b7; cursor: not-allowed; }
select.isypv-field__input { cursor: pointer; }
.isypv-field--error .isypv-field__input { box-shadow: 0 0 0 2px var(--isypv-red); }

.isypv-field__hint {
	display: block; margin-top: 6px;
	font-size: 12px; font-style: italic; font-weight: 700; line-height: 130%;
	color: rgba(255, 255, 255, .72);
}
.isypv-field__error { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #ffb4ae; }
.isypv-field__reveal {
	position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
	padding: 4px 6px; border: 0; background: transparent;
	color: var(--isypv-blue);
	font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: -.02em;
	cursor: pointer;
}
.isypv-field__reveal:hover { color: var(--isypv-navy); }

.isypv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .isypv-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------- Recherche d'entreprise (SIRET) */

.isypv-search { position: relative; }
.isypv-search__status {
	position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
	display: flex; align-items: center; gap: 7px;
	font-size: 11.5px; font-weight: 700; color: var(--isypv-grey);
	pointer-events: none;
}
.isypv-search__results {
	position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
	max-height: 268px; overflow-y: auto;
	background: #fff; border: 1px solid rgba(2, 24, 84, .12);
	box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
}
.isypv-search__item {
	display: block; width: 100%; padding: 11px 14px;
	border: 0; border-bottom: 1px solid rgba(2, 24, 84, .07);
	background: #fff; text-align: left; cursor: pointer;
	transition: background .14s ease;
}
.isypv-search__item:last-child { border-bottom: 0; }
.isypv-account-root .isypv-search__item:hover,
.isypv-account-root .isypv-search__item:focus { background-color: #f2f6ff; }
.isypv-search__item__name {
	display: block;
	font-family: Montserrat, sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: -.02em;
	color: var(--isypv-navy);
}
.isypv-search__item__meta {
	display: block; margin-top: 2px;
	font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; color: #6b7391;
}
.isypv-search__item__siret { font-weight: 600; color: var(--isypv-blue); }
.isypv-search__item__closed {
	display: inline-block; margin-left: 7px; padding: 1px 7px; border-radius: 999px;
	background: rgba(204, 24, 24, .1);
	font-family: Montserrat, sans-serif; font-size: 10px; font-weight: 700; color: var(--isypv-red);
}
.isypv-search__empty {
	padding: 13px 14px; background: #fff;
	font-family: "Plus Jakarta Sans", sans-serif; font-size: 12.5px; color: #6b7391;
}
.isypv-search__verified {
	display: flex; align-items: center; gap: 8px;
	margin-top: 8px; padding: 9px 13px;
	background: rgba(67, 162, 1, .14); border-left: 3px solid var(--isypv-green);
	font-size: 12.5px; font-weight: 600; color: #d6ffbe;
}

/* --------------------------------------------------------- Choix segmenté */

.isypv-segment { display: flex; gap: 8px; margin-bottom: 16px; }
.isypv-segment__opt {
	flex: 1; padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .06); color: #fff;
	font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -.02em;
	cursor: pointer; transition: all .18s ease-in-out;
}
.isypv-account-root .isypv-segment__opt:hover { background-color: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.isypv-account-root .isypv-segment__opt.is-active,
.isypv-account-root .isypv-segment__opt.is-active:hover,
.isypv-account-root .isypv-segment__opt.is-active:focus { background-color: var(--isypv-yellow); border-color: #fff; color: var(--isypv-navy); }

/* ----------------------------------------------------------------- Boutons */

.isypv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 13px 30px; border: 1px solid transparent; border-radius: 999px;
	font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1;
	cursor: pointer; text-decoration: none; transition: all .2s ease-in-out;
}
.isypv-btn:disabled { opacity: .55; cursor: not-allowed; }

.isypv-account-root .isypv-btn--primary,
.isypv-account-root .isypv-btn--primary:focus,
.isypv-account-root .isypv-btn--primary:active { background-color: var(--isypv-blue); border-color: var(--isypv-blue); color: #fff; }
.isypv-account-root .isypv-btn--primary:hover:not(:disabled) { background-color: var(--isypv-blue-dark); border-color: var(--isypv-blue-dark); color: #fff; }

.isypv-account-root .isypv-btn--ghost,
.isypv-account-root .isypv-btn--ghost:focus,
.isypv-account-root .isypv-btn--ghost:active { background-color: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.isypv-account-root .isypv-btn--ghost:hover:not(:disabled) { background-color: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.isypv-account-root .isypv-btn--yellow,
.isypv-account-root .isypv-btn--yellow:focus,
.isypv-account-root .isypv-btn--yellow:active { background-color: var(--isypv-yellow); border-color: var(--isypv-yellow); color: var(--isypv-navy); }
.isypv-account-root .isypv-btn--yellow:hover:not(:disabled) { background-color: #ffc333; border-color: #ffc333; color: var(--isypv-navy); }
.isypv-btn--block { width: 100%; }
.isypv-btn--small { padding: 9px 20px; font-size: 13px; }

/* Lien souligne jaune, repris du configurateur */
.isypv-link {
	padding: 0; border: 0; border-bottom: 1px solid var(--isypv-yellow);
	background: transparent; color: var(--isypv-yellow);
	font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: -.02em; line-height: 1.5;
	cursor: pointer; text-decoration: none; transition: all .2s ease-in-out;
}
.isypv-account-root .isypv-link:hover,
.isypv-account-root .isypv-link:focus { border-color: #fff; color: #fff; background-color: transparent; }

.isypv-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.isypv-switch { margin-top: 22px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.isypv-switch .isypv-link { margin-left: 6px; }
.isypv-check {
	display: flex; align-items: center; gap: 8px; margin: 0;
	font-size: 13.5px; color: rgba(255, 255, 255, .78); cursor: pointer;
}
.isypv-check input { accent-color: var(--isypv-yellow); width: 15px; height: 15px; }

/* ----------------------------------------------------------------- Alertes */

.isypv-alert {
	display: flex; gap: 10px; align-items: flex-start;
	margin-bottom: 18px; padding: 12px 15px;
	font-size: 13px; font-weight: 500; line-height: 1.5;
	animation: isypvFadeUp .28s ease both;
}
.isypv-alert--error { background: rgba(204, 24, 24, .14); border-left: 3px solid var(--isypv-red); color: #ffc9c5; }
.isypv-alert--success { background: rgba(67, 162, 1, .14); border-left: 3px solid var(--isypv-green); color: #d9ffc4; }
.isypv-alert--info { background: rgba(4, 74, 198, .2); border-left: 3px solid var(--isypv-blue); color: #d5e2ff; }
.isypv-alert__icon { flex: none; line-height: 1.35; }

/* --------------------------------------------------------- Jauge de force */

.isypv-strength { margin-top: 8px; }
.isypv-strength__track { height: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.isypv-strength__bar { height: 100%; transition: width .3s ease, background .3s ease; }
.isypv-strength__label { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 700; }

/* --------------------------------------------------------------- Chargement */

.isypv-spinner {
	width: 14px; height: 14px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff;
	animation: isypvSpin .7s linear infinite;
}
.isypv-spinner--dark { border-color: rgba(2, 24, 84, .25); border-top-color: var(--isypv-blue); }
@keyframes isypvSpin { to { transform: rotate(360deg); } }

.isypv-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------ Espace client */

.isypv-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 980px; margin: 0 auto 26px; flex-wrap: wrap; }
.isypv-header__brand { display: flex; align-items: center; gap: 18px; }
.isypv-header__logo { width: 132px; height: auto; display: block; }
.isypv-header__id { display: flex; align-items: center; gap: 14px; }
.isypv-header__avatar {
	width: 48px; height: 48px; flex: none;
	display: flex; align-items: center; justify-content: center;
	background: var(--isypv-blue);
	font-size: 17px; font-weight: 700; color: #fff;
}
.isypv-header__name { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.isypv-header__mail { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; color: rgba(255, 255, 255, .6); }
.isypv-header__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.isypv-empty { padding: 46px 24px; text-align: center; }
.isypv-empty__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.isypv-empty__text { margin: 0 0 20px; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.55; }

/* --------------------------------------------------------- Accès verrouillé */

.isypv-locked {
	max-width: 520px; margin: 0 auto; text-align: center;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	padding: 44px 34px; box-shadow: 0 26px 60px rgba(0, 0, 0, .3);
}
.isypv-locked__logo { width: 158px; height: auto; margin: 0 auto 24px; display: block; }
.isypv-locked__badge {
	display: inline-block; margin-bottom: 16px; padding: 6px 16px;
	background: rgba(255, 176, 1, .16);
	font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--isypv-yellow);
}
.isypv-locked__title { margin: 0 0 10px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 120%; }
.isypv-locked__text { margin: 0 0 26px; font-size: 14.5px; color: rgba(255, 255, 255, .62); line-height: 155%; }

/* ------------------------------------------------------------------ Divers */

.isypv-footnote { max-width: 980px; margin: 28px auto 0; text-align: center; font-size: 11.5px; color: rgba(255, 255, 255, .34); }
.isypv-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
	.isypv-account-root { padding: 36px 16px 50px; }
	.isypv-panel { padding: 24px 20px; }
	.isypv-brand__title { font-size: 26px; }
}

/* Intitule de section a l'interieur d'un formulaire */
.isypv-formsection {
	margin: 22px 0 14px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   Lots B & C — Mes projets (5.0.0)
   Onglets, liste des etudes, etiquettes, modales et partages.
   Bloc strictement additif : rien au-dessus n'est modifie.
   ========================================================================== */

/* --------------------------------------------------------------- Onglets */

.isypv-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
}

.isypv-account-root .isypv-tabs__tab,
.isypv-account-root .isypv-tabs__tab:focus,
.isypv-account-root .isypv-tabs__tab:active {
	padding: 11px 24px;
	border: 1.5px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: transparent;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: rgba(255, 255, 255, .75);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.isypv-account-root .isypv-tabs__tab:hover:not(.is-active) {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, .08);
}

.isypv-account-root .isypv-tabs__tab.is-active,
.isypv-account-root .isypv-tabs__tab.is-active:focus,
.isypv-account-root .isypv-tabs__tab.is-active:active,
.isypv-account-root .isypv-tabs__tab.is-active:hover {
	background: var(--isypv-yellow);
	border-color: var(--isypv-yellow);
	color: var(--isypv-navy);
}

/* ---------------------------------------------------- En-tete du panneau */

.isypv-projects-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
}

.isypv-projects-head .isypv-panel__title { margin-bottom: 4px; }
.isypv-projects-head .isypv-panel__sub { margin-bottom: 0; }

.isypv-projects-head__tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.isypv-account-root .isypv-sort,
.isypv-account-root .isypv-sort:focus,
.isypv-account-root .isypv-sort:active {
	padding: 10px 14px;
	border: 1.5px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background-color: transparent;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: #fff;
	cursor: pointer;
}

.isypv-account-root .isypv-sort:hover { border-color: #fff; }
.isypv-account-root .isypv-sort option { color: var(--isypv-navy); background: #fff; }

/* ------------------------------------------------------ Liste des etudes */

.isypv-projects-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.isypv-project {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 14px;
	background: rgba(255, 255, 255, .05);
	transition: border-color .2s ease, background-color .2s ease;
}

.isypv-project:hover {
	border-color: rgba(255, 255, 255, .38);
	background: rgba(255, 255, 255, .08);
}

.isypv-project__main { flex: 1 1 240px; min-width: 0; }

.isypv-project__name {
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.isypv-project__details {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 14px;
	margin-top: 4px;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
}

.isypv-project__status {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.isypv-project__step {
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.isypv-project__date {
	font-size: 11px;
	color: rgba(255, 255, 255, .5);
	white-space: nowrap;
}

.isypv-project__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

/* Etiquettes de statut et de droit */

.isypv-tag {
	display: inline-block;
	padding: 3px 11px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .8);
	white-space: nowrap;
}

.isypv-tag--green  { border-color: rgba(67, 162, 1, .8); background: rgba(67, 162, 1, .16); color: #9fe870; }
.isypv-tag--yellow { border-color: rgba(255, 176, 1, .8); background: rgba(255, 176, 1, .14); color: var(--isypv-yellow); }
.isypv-tag--orange { border-color: rgba(255, 138, 60, .8); background: rgba(255, 138, 60, .16); color: #ffb37e; }

/* Etat vide */

.isypv-projects-empty {
	padding: 44px 28px;
	border: 1.5px dashed rgba(255, 255, 255, .28);
	border-radius: 14px;
	text-align: center;
}

.isypv-projects-empty__title {
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.isypv-projects-empty p {
	max-width: 420px;
	margin: 0 auto 18px;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .62);
}

/* Bouton de suppression */

.isypv-account-root .isypv-btn--danger,
.isypv-account-root .isypv-btn--danger:focus,
.isypv-account-root .isypv-btn--danger:active { background-color: var(--isypv-red); border-color: var(--isypv-red); color: #fff; }
.isypv-account-root .isypv-btn--danger:hover:not(:disabled) { background-color: #e12a2a; border-color: #e12a2a; color: #fff; }

/* ---------------------------------------------------------------- Modales */

.isypv-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 16, 47, .72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.isypv-modal__box {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 18px;
	background: var(--isypv-navy);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.isypv-account-root .isypv-modal__close,
.isypv-account-root .isypv-modal__close:focus,
.isypv-account-root .isypv-modal__close:active {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	font-size: 18px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease;
}

.isypv-account-root .isypv-modal__close:hover { background: rgba(255, 255, 255, .22); }

.isypv-modal__title {
	margin: 0 0 6px;
	font-family: Montserrat, sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	padding-right: 34px;
}

.isypv-modal__sub {
	margin: 0 0 18px;
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .62);
}

.isypv-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

/* --------------------------------------------------------------- Partages */

.isypv-shares {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.isypv-shares__title {
	margin-bottom: 12px;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

.isypv-shares__empty {
	margin: 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .55);
}

.isypv-shares__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.isypv-shares__row:last-child { border-bottom: 0; }

.isypv-shares__who { flex: 1; min-width: 0; }

.isypv-shares__name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.isypv-shares__mail {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, .55);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- Mobile */

@media (max-width: 700px) {
	.isypv-project { flex-direction: column; align-items: stretch; }
	.isypv-project__actions { margin-left: 0; }
	.isypv-projects-head__tools { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   5.3.0 - Espace client : onglets Rapports et Aide
   ========================================================================== */

.isypv-account-root .isypv-rapport__share { display: flex; gap: 8px; margin-top: 10px; }
.isypv-account-root .isypv-rapport__mail {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 320px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.96);
	color: var(--isypv-navy);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 12.5px;
	box-sizing: border-box;
}
.isypv-account-root .isypv-rapport__mail:focus { outline: none; border-color: var(--isypv-yellow); box-shadow: 0 0 0 3px rgba(255, 176, 1, 0.25); }

.isypv-account-root .isypv-aide__form { margin: 6px 0 26px; }
.isypv-account-root .isypv-aide__champ { display: block; margin-bottom: 12px; }
.isypv-account-root .isypv-aide__label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.isypv-account-root .isypv-aide__select { max-width: 360px; }
.isypv-account-root .isypv-aide__textarea {
	width: 100%;
	margin-bottom: 12px;
	padding: 13px 15px;
	border-radius: 16px;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.96);
	color: var(--isypv-navy);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	line-height: 1.55;
	resize: vertical;
	box-sizing: border-box;
	min-height: 100px;
}
.isypv-account-root .isypv-aide__textarea:focus { outline: none; border-color: var(--isypv-yellow); box-shadow: 0 0 0 3px rgba(255, 176, 1, 0.25); }

.isypv-account-root .isypv-aide__historique { margin-top: 8px; }
.isypv-account-root .isypv-aide__soustitre { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.isypv-account-root .isypv-aide__ticket {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	padding: 15px 17px;
	margin-bottom: 12px;
}
.isypv-account-root .isypv-aide__tickethead { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.isypv-account-root .isypv-aide__ticketprojet { font-size: 12.5px; font-weight: 700; color: #ffffff; }
.isypv-account-root .isypv-aide__ticketdate { margin-left: auto; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.5); }
.isypv-account-root .isypv-aide__ticketmsg { margin-top: 10px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); font-family: "Plus Jakarta Sans", sans-serif; white-space: pre-wrap; }
.isypv-account-root .isypv-aide__reponse {
	margin-top: 12px;
	padding: 13px 15px;
	border-radius: 12px;
	background: rgba(67, 162, 1, 0.14);
	border: 1px solid rgba(126, 217, 87, 0.35);
	font-size: 13px;
	line-height: 1.55;
	color: #d9f5c8;
	font-family: "Plus Jakarta Sans", sans-serif;
	white-space: pre-wrap;
}
.isypv-account-root .isypv-aide__reponselabel { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7ed957; }

@media (max-width: 700px) {
	.isypv-account-root .isypv-aide__ticketdate { margin-left: 0; width: 100%; }
	.isypv-account-root .isypv-rapport__mail { max-width: none; }
}

/* ==========================================================================
   5.4.0 - Espace client : conformite du dimensionnement
   ========================================================================== */

.isypv-account-root .isypv-tag--conf-ok { background: rgba(126, 217, 87, 0.16); color: #7ed957; border-color: transparent; font-weight: 800; }
.isypv-account-root .isypv-tag--conf-ko { background: rgba(255, 138, 122, 0.18); color: #ff8a7a; border-color: transparent; font-weight: 800; }
.isypv-account-root .isypv-rapport__tags { margin-top: 8px; }

/* ==========================================================================
   5.5.0 - Espace client : adresse Google (autocompletion + carte)
   ========================================================================== */

.isypv-account-root .isypv-field__hint { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); font-family: "Plus Jakarta Sans", sans-serif; }

.isypv-account-root .isypv-gmaps { position: relative; min-height: 46px; }
.isypv-account-root .isypv-gmaps__loading { display: flex; align-items: center; height: 46px; padding: 0 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* Le champ Google est un web component : on stylise son hote pour matcher. */
.isypv-account-root .isypv-gmaps-field,
.isypv-account-root gmp-place-autocomplete {
	display: block;
	width: 100%;
	--gmpx-color-surface: #ffffff;
	--gmpx-color-on-surface: #021854;
	--gmpx-font-family-base: "Plus Jakarta Sans", sans-serif;
	border-radius: 12px;
	overflow: hidden;
}

.isypv-account-root .isypv-gmaps-preview {
	display: flex;
	gap: 13px;
	margin-top: 12px;
	padding: 11px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	animation: isypv-fadein 0.35s ease both;
}
.isypv-account-root .isypv-gmaps-preview__img { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.15); }
.isypv-account-root .isypv-gmaps-preview__text { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.isypv-account-root .isypv-gmaps-preview__name { font-size: 13.5px; font-weight: 800; color: #ffffff; overflow: hidden; text-overflow: ellipsis; }
.isypv-account-root .isypv-gmaps-preview__loc { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.isypv-account-root .isypv-gmaps-preview__gps { margin-top: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: #ffb001; font-family: Montserrat, sans-serif; }

@keyframes isypv-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	.isypv-account-root .isypv-gmaps-preview { flex-direction: column; }
	.isypv-account-root .isypv-gmaps-preview__img { width: 100%; height: 150px; }
}

/* ==========================================================================
   5.6.0 - Espace client : rapports groupes par etude
   ========================================================================== */

.isypv-account-root .isypv-rgroupe { margin-bottom: 22px; }
.isypv-account-root .isypv-rgroupe__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.isypv-account-root .isypv-rgroupe__nom { font-size: 14.5px; font-weight: 800; color: #ffffff; }
.isypv-account-root .isypv-rgroupe__count { margin-left: auto; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.5); }
.isypv-account-root .isypv-rapport--dernier { border-color: rgba(255, 176, 1, 0.45); }
.isypv-account-root .isypv-rapport__badge { display: inline-block; margin-left: 9px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 176, 1, 0.18); color: #ffb001; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
