:root { --pxc-accent: var(--global-palette1, var(--wp--preset--color--primary, var(--e-global-color-primary, #26588a)));
--pxc-texte: #0e1c2f;
--pxc-texte-doux: #5b6577;
--pxc-voile: rgba(14, 28, 47, 0.88);
--pxc-flou: 14px;
--pxc-panneau: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.82) 100%);
--pxc-champ: rgba(255, 255, 255, 0.88);
--pxc-rayon: 30px;
--pxc-police: inherit;
}  html.pxc-ouvert {
overflow: hidden;
} .pxc-floute {
filter: blur(10px);
transition: filter 0.2s ease;
}
.pxc-voile {
position: fixed;
inset: 0;
z-index: 2147483000;
background: var(--pxc-voile);
-webkit-backdrop-filter: blur(var(--pxc-flou));
backdrop-filter: blur(var(--pxc-flou));
animation: pxc-fondu 0.2s ease;
}
.pxc-voile[hidden] {
display: none;
}  dialog.pxc {
position: fixed;
inset: 0;
z-index: 2147483001;
height: fit-content;
width: min(560px, calc(100vw - 32px));
max-width: none;
max-height: calc(100dvh - 32px);
margin: auto;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.36);
border-radius: var(--pxc-rayon);
background: var(--pxc-panneau);
color: var(--pxc-texte);
box-shadow: 0 32px 90px rgba(7, 20, 43, 0.2);
-webkit-backdrop-filter: blur(24px) saturate(140%);
backdrop-filter: blur(24px) saturate(140%);
font-family: var(--pxc-police);
font-size: 16px;
line-height: 1.5;
overflow: auto;
overscroll-behavior: contain;
animation: pxc-entree 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
dialog.pxc.pxc-sortie {
animation: pxc-sortie 0.18s ease forwards;
}
.pxc-voile.pxc-sortie {
animation: pxc-fondu 0.18s ease reverse forwards;
}
dialog.pxc *,
dialog.pxc *::before,
dialog.pxc *::after {
box-sizing: border-box;
}
.pxc-panneau {
position: relative;
padding: clamp(40px, 6vw, 56px) clamp(24px, 6vw, 64px) clamp(32px, 5vw, 48px);
}
.pxc-vue {
display: flex;
flex-direction: column;
gap: 18px;
margin: 0;
}
.pxc-vue[hidden] {
display: none;
} dialog.pxc .pxc-titre {
margin: 0 0 14px;
padding: 0 40px; color: var(--pxc-accent);
font-family: inherit;
font-size: clamp(28px, 5vw, 40px);
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.02em;
text-align: center;
text-transform: none;
}
dialog.pxc .pxc-intro {
margin: -4px 0 4px;
color: var(--pxc-texte-doux);
font-size: 15px;
text-align: center;
}
.pxc-sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
} dialog.pxc .pxc-champ {
position: relative;
display: flex;
align-items: stretch;
min-height: 56px;
margin: 0;
border-radius: 16px;
background: var(--pxc-champ);
overflow: hidden;
transition: box-shadow 0.15s ease;
}
dialog.pxc .pxc-champ:focus-within {
box-shadow: 0 0 0 2px color-mix(in srgb, var(--pxc-accent) 55%, transparent);
}
dialog.pxc .pxc-icone {
display: grid;
place-items: center;
flex: none;
width: 56px;
background: rgba(14, 28, 47, 0.04);
color: var(--pxc-accent);
}
dialog.pxc .pxc-champ input {
flex: 1;
min-width: 0;
width: 100%;
height: auto;
margin: 0;
padding: 0 18px;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
outline: 0;
-webkit-appearance: none;
appearance: none;
color: var(--pxc-texte);
font: inherit;
font-size: 17px;
}
dialog.pxc .pxc-champ input::placeholder {
color: #7d8798;
opacity: 1;
}
dialog.pxc .pxc-champ input:-webkit-autofill,
dialog.pxc .pxc-champ input:-webkit-autofill:hover,
dialog.pxc .pxc-champ input:-webkit-autofill:focus {
-webkit-text-fill-color: var(--pxc-texte);
-webkit-box-shadow: 0 0 0 1000px #fff inset;
box-shadow: 0 0 0 1000px #fff inset;
}
dialog.pxc .pxc-champ input[name="pwd"] {
padding-right: 56px;
}
dialog.pxc .pxc-voir {
position: absolute;
top: 50%;
right: 10px;
display: grid;
place-items: center;
width: 40px;
height: 40px;
margin: 0;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--pxc-accent);
cursor: pointer;
transform: translateY(-50%);
}
dialog.pxc .pxc-voir:hover,
dialog.pxc .pxc-voir[aria-pressed="true"] {
background: rgba(14, 28, 47, 0.06);
} dialog.pxc .pxc-ligne {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px 16px;
margin: 6px 0 8px;
font-size: 16px;
}
dialog.pxc .pxc-souvenir {
display: inline-flex;
align-items: center;
gap: 10px;
margin: 0;
color: var(--pxc-accent);
font-size: inherit;
cursor: pointer;
}
dialog.pxc .pxc-souvenir input {
width: 20px;
height: 20px;
margin: 0;
accent-color: var(--pxc-accent);
}
dialog.pxc .pxc-lien {
margin: 0;
padding: 0;
border: 0;
background: none;
color: var(--pxc-accent);
font: inherit;
text-decoration: none;
cursor: pointer;
}
dialog.pxc .pxc-lien:hover {
text-decoration: underline;
} dialog.pxc .pxc-bouton { display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
min-height: 56px;
margin: 0;
padding: 12px 24px;
border: 0;
border-radius: 999px;
background: var(--pxc-accent);
color: #fff;
font: inherit;
font-size: 17px;
font-weight: 700;
letter-spacing: 0;
text-transform: none;
box-shadow: none;
cursor: pointer;
transition: transform 0.15s ease, filter 0.15s ease;
}
dialog.pxc .pxc-bouton:hover {
filter: brightness(1.08);
transform: translateY(-1px);
}
dialog.pxc .pxc-attente .pxc-bouton {
opacity: 0.7;
cursor: progress;
transform: none;
}
dialog.pxc :focus-visible {
outline: 3px solid color-mix(in srgb, var(--pxc-accent) 45%, transparent);
outline-offset: 2px;
}
dialog.pxc .pxc-champ input:focus-visible {
outline: 0;
} dialog.pxc .pxc-message {
margin: 0;
padding: 12px 16px;
border-radius: 14px;
background: #fdecec;
color: #9b1c1c;
font-size: 15px;
}
dialog.pxc .pxc-message--ok {
background: #e8f5ee;
color: #17603a;
}
dialog.pxc .pxc-message[hidden] {
display: none;
}
dialog.pxc .pxc-pied {
margin: 2px 0 0;
color: var(--pxc-texte-doux);
font-size: 15px;
text-align: center;
}
dialog.pxc .pxc-pied a {
color: var(--pxc-accent);
font-weight: 600;
}
dialog.pxc .pxc-fermer {
position: absolute;
top: 16px;
right: 16px;
z-index: 1;
display: grid;
place-items: center;
width: 44px;
height: 44px;
margin: 0;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.94);
color: var(--pxc-texte);
box-shadow: 0 8px 24px rgba(7, 20, 43, 0.14);
cursor: pointer;
transition: transform 0.15s ease;
}
dialog.pxc .pxc-fermer:hover {
transform: scale(1.06);
} button.pxc-ouvrir {
margin: 0;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
cursor: pointer;
}
@media (max-width: 480px) {
dialog.pxc {
width: calc(100vw - 20px);
border-radius: 24px;
}
.pxc-panneau {
padding: 44px 20px 28px;
}
dialog.pxc .pxc-fermer {
top: 12px;
right: 12px;
width: 40px;
height: 40px;
}
dialog.pxc .pxc-ligne {
font-size: 15px;
}
}
@keyframes pxc-entree {
from { opacity: 0; transform: translateY(12px) scale(0.97); }
to { opacity: 1; transform: none; }
}
@keyframes pxc-sortie {
to { opacity: 0; transform: translateY(8px) scale(0.98); }
}
@keyframes pxc-fondu {
from { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
dialog.pxc,
.pxc-voile,
.pxc-floute {
animation: none;
transition: none;
}
}