
iframe#webpack-dev-server-client-overlay {
    display: none;
}

.ant-calendar-input-wrap{
    display: none;
}

.events {
    list-style: none;
    margin: 0;
    padding: 0;
}
.events .ant-badge-status {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    font-size: 12px;
}
.notes-month {
    text-align: center;
    font-size: 28px;
}
.notes-month section {
    font-size: 28px;
}


.MuiPaper-root{
    z-index: auto !important;
}


.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color:#FFF;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}


/*MAP*/
.leaflet-popup-content {
    margin:0px 0px !important;
}

.leaflet-container a.leaflet-popup-close-button{
    display: none !important;
}

.leaflet-routing-container{
    display:none;
}



/* EDITOR */

label.MuiFormControlLabel-root.MuiFormControlLabel-labelPlacementStart.css-1f2kvjf-MuiFormControlLabel-root {
    display: none;
}

.css-1oukqxz-MuiGrid-root:nth-of-type(2){
    display: none !important;
}

hr.css-ft4jij-MuiDivider-root:nth-of-type(2){
    display: none !important;
}


/* CUSTOM CARD — déplacé.
   L'ombre des cartes antd vit désormais dans src/styles/custom/_antd.scss et
   reprend `$card-box-shadow` de new_ui, pour qu'une carte antd et une carte
   bootstrap soient identiques. L'ancienne valeur (`0px -1px 18px`) projetait
   l'ombre VERS LE HAUT — un marqueur visuel très daté.
   ⚠️ Ne pas remettre de règle `.ant-*` ici : ce fichier est hors build, donc
   hors design tokens. Cf. DESIGN_SYSTEM.md §2.2. */


/* MOBILE */

[data-rsbs-overlay="true"] {
    z-index: 100 !important;
    background-color: #F3F2F7 !important;
}

.mobile-button{
    cursor: pointer;
    transition: opacity 0.1s ease, transform 0.1s ease;
    user-select: none;
}

.mobile-button:active{
    opacity: 0.4;
    transform: scale(0.90);
}


/* NEW UI */

@font-face {
    font-family: BubbleboddyNeue;
    src: url('/fonts/BubbleboddyNeue-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: BubbleboddyNeue;
    src: url('/fonts/BubbleboddyNeue-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'BubbleboddyNeue';
    src: url('/fonts/BubbleboddyNeue-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'BubbleboddyNeue';
    src: url('/fonts/BubbleboddyNeue-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'BubbleboddyNeue';
    src: url('/fonts/BubbleboddyNeue-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

.font-bubbleboddyNeue {
    font-family: 'BubbleboddyNeue' !important;
}


/* ===== Polices refonte mobile "Pulse" ===== */
/* Bricolage Grotesque : titres / gros chiffres (display) */
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/BricolageGrotesque-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/BricolageGrotesque-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/BricolageGrotesque-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}

/* Hanken Grotesk : texte d'interface (UI) */
@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* Classe utilitaire pour les chiffres / titres "display" (cf. .un-d du design Pulse V2).
   V2 : Hanken Grotesk partout (display + UI). Tracking serré + tabular-nums pour les chiffres.
   Le `!important` battait autrefois la règle globale `*:not(i){font-family:Lato!important}`,
   supprimée depuis (cf. src/styles/custom/_index.scss). Il reste utile : il garantit que
   les chiffres du mobile gardent Hanken face au `font-family` que les composants antd
   posent eux-mêmes via leur token. */
.mob-display {
    font-family: 'Hanken Grotesk', -apple-system, system-ui, sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    font-feature-settings: 'tnum' 1, 'ss01' 1;
}

/* Police d'interface Pulse sur les écrans mobile refondus.
   Ciblé via [data-mob-ui] posé par MobileLayout / MobAppBackground.

   ℹ️ RÈGLE DEVENUE REDONDANTE — conservée comme filet de sécurité.
   Toute l'application est désormais en Hanken Grotesk : le token antd
   `fontFamily` et le `body` de custom/_index.scss portent déjà cette valeur
   (source : `FONT` dans src/design/tokens.js). Cette règle ne corrige donc
   plus aucune divergence.
   Elle est gardée parce qu'elle protège le mobile — validé et en production —
   si le desktop venait à repasser sur une autre famille : les composants antd
   rendus DANS un écran mobile (formulaires, sheets, Select, DatePicker,
   notifications) portent le token sur leur propre racine et basculeraient
   sinon au milieu d'une interface Pulse.
   La retirer n'apporterait rien et rouvrirait ce risque. */
[data-mob-ui], [data-mob-ui] *:not(i) {
    font-family: 'Hanken Grotesk', -apple-system, system-ui, sans-serif !important;
}
/* .mob-display : spécificité renforcée pour battre `[data-mob-ui] *:not(i)` (0,2,1)
   — on double la classe (0,2,1 + class = gagne). V2 : Hanken (poids 700, tracking serré). */
.mob-display, [data-mob-ui] .mob-display.mob-display, [data-mob-ui] *:not(i).mob-display {
    font-family: 'Hanken Grotesk', -apple-system, system-ui, sans-serif !important;
    letter-spacing: -0.035em;
    font-feature-settings: 'tnum' 1, 'ss01' 1;
}


/* ── Skeleton de chargement Pulse (cf. MobSkeleton.js) ──────────────────────
   Dégradé qui balaye de gauche à droite pour signaler le chargement d'une carte.
   Couleurs surchargeables via --mob-sk-base / --mob-sk-hl posées inline. */
@keyframes mobSkeletonShimmer {
    0%   { background-position: -150% 0; }
    100% { background-position: 250% 0; }
}
.mob-skeleton {
    background-color: var(--mob-sk-base, #E6EBF4);
    background-image: linear-gradient(
        90deg,
        var(--mob-sk-base, #E6EBF4) 0%,
        var(--mob-sk-hl, #F1F4FB) 50%,
        var(--mob-sk-base, #E6EBF4) 100%
    );
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: mobSkeletonShimmer 1.4s ease-in-out infinite;
}
/* Respect de prefers-reduced-motion : teinte fixe, sans balayage. */
@media (prefers-reduced-motion: reduce) {
    .mob-skeleton { animation: none; }
}

/* ── Spinner Pulse (anneau monochrome) — cf. MobSpin.js ─────────────────────
   Anneau fin gris (line) dont une portion est bleue (blue), en rotation douce.
   Taille/épaisseur surchargeables via --mob-sp-size / --mob-sp-bw inline. */
@keyframes mobSpin { to { transform: rotate(360deg); } }
.mob-spinner {
    display: inline-block;
    box-sizing: border-box;
    width: var(--mob-sp-size, 30px);
    height: var(--mob-sp-size, 30px);
    border: var(--mob-sp-bw, 3px) solid #E9EDF1;       /* MOBTHEME.line */
    border-top-color: #2B70A9;                          /* MOBTHEME.blue */
    border-radius: 50%;
    animation: mobSpin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .mob-spinner { animation-duration: 2s; }
}

.adm-plain-anchor {
    text-decoration: none !important;
}