html, body {
    margin: 0;
    min-width: 320px;
    background: #111512;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    z-index: 10000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid #8f3838;
    border-radius: .85rem;
    color: #fff;
    background: #351818;
    box-shadow: 0 1rem 3rem #0008;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: .75rem;
    right: 1rem;
    cursor: pointer;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5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 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Marqueurs créés dynamiquement par MapLibre. */
.spotiz-marker { box-sizing:border-box;display:grid;place-items:center;width:3rem!important;height:3rem!important;min-width:3rem;min-height:3rem;padding:0;overflow:hidden;border:3px solid #fff;border-radius:50%;color:#fff;background:#075963;box-shadow:0 .3rem 1rem #15291a66;font-size:1.35rem;cursor:pointer }
.spotiz-marker.rider img { display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;margin:0;object-fit:cover;object-position:center;border-radius:50% }.spotiz-marker.group-rider{position:relative;overflow:visible}.spotiz-marker.group-rider img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border-radius:50%;clip-path:circle(50%);object-fit:cover}.spotiz-marker.group-rider b{position:absolute;z-index:2;right:-.25rem;bottom:-.2rem;display:grid;place-items:center;width:1.25rem;height:1.25rem;border:2px solid #fff;border-radius:50%;color:#172016;background:#baff25;font-size:.6rem}
.spotiz-marker.ride { border-radius:1rem;color:#172016;background:#c7ff35 }
.spotiz-marker.ride.live { animation:spotiz-pulse 1.8s infinite }
@keyframes spotiz-pulse { 0%,100%{box-shadow:0 0 0 0 #c7ff3588} 50%{box-shadow:0 0 0 .8rem #c7ff3500} }
.spotiz-marker.cluster { width:3.5rem!important;height:3.5rem!important;background:#075963cc;font-weight:900 }
.spotiz-self-wrap { position:relative;display:grid;justify-items:center }
.spotiz-marker.self { position:relative;width:3.4rem!important;height:3.4rem!important;background:#0785a1;box-shadow:0 0 0 .65rem #39bce83d,0 .45rem 1.2rem #07364b70 }
.spotiz-marker.self::after { content:"";position:absolute;bottom:-.55rem;border-top:.65rem solid #0785a1;border-right:.42rem solid transparent;border-left:.42rem solid transparent }
.spotiz-marker.self svg { width:2.25rem;height:2.25rem;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round }
.ride-menu .start{padding:.38rem .55rem!important;border-radius:.5rem!important;color:#fff!important;background:#075963!important}.ride-menu .finish-live{padding:.38rem .55rem!important;border-radius:.5rem!important;color:#172016!important;background:#baff25!important}
.spotiz-meet-wrap{display:grid;justify-items:center}.spotiz-meet-marker{display:grid;place-items:center;width:3.2rem;height:3.2rem;border:4px solid #fff;border-radius:1rem;color:#172016;background:#baff25;box-shadow:0 0 0 .55rem #07596355,0 .5rem 1.2rem #0005;font-size:1.5rem}.spotiz-meet-wrap span{margin-top:.3rem;padding:.2rem .5rem;border-radius:.45rem;color:#fff;background:#075963;font-size:.62rem;font-weight:900}
.spotiz-group-wrap{display:grid;justify-items:center}.spotiz-group-marker{display:grid;place-items:center;width:3.4rem;height:3.4rem;border:4px solid #fff;border-radius:50%;color:#fff;background:#075963;box-shadow:0 0 0 .65rem #baff254d,0 .5rem 1.2rem #0005;font-size:1rem;font-weight:900;animation:spotiz-pulse 1.8s infinite}.spotiz-group-wrap span{margin-top:.35rem;padding:.2rem .5rem;border-radius:.45rem;color:#172016;background:#baff25;font-size:.6rem;font-weight:900}
.friend-feedback{margin:0 0 5rem;padding:.7rem;border-radius:.7rem;color:#075963;background:#e4f0e9;font-size:.72rem;font-weight:800}.block-user{display:block;margin:0 auto 5rem;border:0;color:#a13d35;background:transparent;font-size:.65rem}
.bottom-nav{grid-template-columns:repeat(5,1fr)!important}.friends-page{position:absolute;z-index:6;inset:0 0 5.5rem;overflow-y:auto;padding:1rem;color:#17201b;background:#f3f5f2}@media(min-width:800px){.friends-page{right:1rem;bottom:1rem;left:auto;width:32rem;border-radius:1.3rem;box-shadow:0 1rem 3rem #10251a55}}
.friend-center article{min-width:0;overflow:hidden}.friend-center article>img{display:block!important;width:3rem!important;height:3rem!important;min-width:3rem!important;max-width:3rem!important;min-height:3rem!important;max-height:3rem!important;margin:0!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}.friend-center article>div{min-width:0}.friend-center article>div b,.friend-center article>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-center .group-card{cursor:pointer}.group-center .group-detail{padding-bottom:4rem}.group-center .detail-back{padding:.45rem 0;border:0;color:#075963;background:transparent;font-weight:850}.group-center .group-hero{display:grid;justify-items:center;padding:1rem;text-align:center}.group-center .group-hero>i{display:grid;place-items:center;width:5.5rem;height:5.5rem;border-radius:1.4rem;color:#fff;background:#075963;font-size:2rem;font-style:normal;font-weight:900}.group-center .group-hero>span{margin-top:.65rem;color:#075963;font-size:.55rem;font-weight:900}.group-center .group-hero h2{margin:.25rem 0}.group-center .group-hero p{margin:.1rem;color:#68736c}.group-center .group-description{padding:1rem;border-radius:.9rem;background:#fff;color:#566159;line-height:1.5}.group-center .primary-action{width:100%;min-height:3rem;border:0;border-radius:.8rem;background:#baff25;font-weight:900}.group-center .member,.group-center .invitation{display:grid;grid-template-columns:3rem 1fr auto;gap:.65rem;align-items:center;margin-bottom:.45rem;padding:.7rem;border:1px solid #dce4dd;border-radius:.85rem;background:#fff}.group-center .member>i,.group-center .invitation>i{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;color:#fff;background:#075963;font-style:normal;font-weight:900}.group-center .member>div,.group-center .invitation>div{display:grid;min-width:0}.group-center .member>em{color:#075963;font-size:.58rem;font-style:normal;font-weight:900}.group-center .member>span,.group-center .invitation>span{display:flex;gap:.25rem}.group-center .member button,.group-center .invitation button{padding:.4rem;border:0;border-radius:.5rem;background:#e5ede8;font-size:.6rem}.group-center .leave-group{width:100%;margin-top:.8rem;padding:.7rem;border:1px solid #c84840;border-radius:.75rem;color:#b52e28;background:#fff;font-weight:850}.group-center .invite-panel{padding:.8rem;border-radius:.9rem;background:#e8efea}.group-center .invite-panel>div{display:flex;gap:.5rem;overflow-x:auto}.group-center .invite-panel>div>button{display:grid;flex:0 0 8rem;justify-items:center;gap:.25rem;padding:.6rem;border:0;border-radius:.8rem;background:#fff}.group-center .invite-panel i{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:50%;color:#fff;background:#075963;font-style:normal;font-weight:900}.group-center .invite-panel span{display:grid;max-width:100%}.group-center .invite-panel em{color:#075963;font-size:.58rem;font-style:normal;font-weight:900}.group-center .group-message{position:sticky;bottom:.4rem;padding:.65rem;border-radius:.7rem;color:#075963;background:#e2f0e9;box-shadow:0 .4rem 1rem #17392a28;font-size:.7rem;font-weight:800}
.group-center .join-note{display:grid;gap:.45rem;padding:.85rem;border-radius:.9rem;background:#fff}.group-center .join-note label{display:flex;justify-content:space-between;color:#075963;font-size:.68rem;font-weight:850}.group-center .join-note textarea{min-height:6rem;padding:.7rem;border:1px solid #ccd7cf;border-radius:.75rem;background:#f4f7f4;font:inherit;resize:vertical}.group-center .request.with-message{align-items:start}.group-center .request.with-message p{grid-column:1/-1;margin:.35rem 0 0;padding:.5rem;border-radius:.55rem;color:#435149;background:#f0f4f1;font-size:.67rem;line-height:1.4}
.self-label { margin-top:.65rem;padding:.18rem .48rem;border-radius:.45rem;color:#fff;background:#075963e8;box-shadow:0 .2rem .5rem #0003;font-size:.62rem;font-weight:900 }
.route-point { display:grid;place-items:center;width:2rem;height:2rem;border:3px solid #fff;border-radius:50%;color:#172016;background:#baff25;box-shadow:0 .3rem .8rem #18302066;font-size:.72rem;font-weight:900;cursor:grab }
.group-feed .feed-post header>img,.group-feed .comments>div>img{display:block!important;flex:0 0 2.4rem!important;width:2.4rem!important;height:2.4rem!important;min-width:2.4rem!important;max-width:2.4rem!important;min-height:2.4rem!important;max-height:2.4rem!important;margin:0!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
