/* Prise de rendez-vous e.ASI BOT — thème futuriste (verre sombre, néon, animations légères).
   Complète les styles .feasibility-v2-* de la page. Couleurs du site : #003B6D, #0072CE, #00A3FF, cyan #00F2FF, vert #00C853. */

@property --rdv-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.rdv-shell {
    --rdv-cyan: #00F2FF;
    --rdv-bleu: #00A3FF;
    --rdv-bleu-fonce: #0072CE;
    --rdv-vert: #00C853;
    --rdv-texte: #e2e8f0;
    --rdv-doux: rgba(203, 213, 225, 0.78);
    --rdv-verre: rgba(255, 255, 255, 0.05);
    --rdv-trait: rgba(148, 163, 184, 0.24);
    --rdv-ease: cubic-bezier(.16, 1, .3, 1);
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr) !important;
}

@media (max-width: 1024px) {
    .rdv-shell {
        grid-template-columns: 1fr !important;
    }
}

.rdv-shell [hidden] {
    display: none !important;
}

.rdv-shell .rdv-card,
.rdv-shell .rdv-card * {
    text-shadow: none !important;
}

/* ---------- Colonne gauche : catégorie, fuseau, annonces, étapes ---------- */

.rdv-categories {
    border: 0;
    margin: 1.1rem 0 0;
    padding: 0;
    min-width: 0;
}

.rdv-categories legend,
.rdv-tz label {
    display: block;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.rdv-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.rdv-cat {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.rdv-cat input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rdv-cat span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(2, 16, 32, 0.55);
    border: 1px solid rgba(0, 242, 255, 0.28);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
    transition: background 260ms var(--rdv-ease), border-color 260ms ease, box-shadow 260ms ease, transform 260ms var(--rdv-ease);
}

.rdv-cat:hover span {
    border-color: rgba(0, 242, 255, 0.6);
    box-shadow: 0 0 22px rgba(0, 242, 255, 0.18);
    transform: translateY(-1px);
}

.rdv-cat span::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    flex: none;
    transition: background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.rdv-cat input:checked + span {
    background: linear-gradient(135deg, rgba(0, 114, 206, 0.92) 0%, rgba(0, 163, 255, 0.92) 100%);
    border-color: rgba(0, 242, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.35), 0 10px 30px rgba(0, 163, 255, 0.35), 0 0 26px rgba(0, 242, 255, 0.28);
}

.rdv-cat input:checked + span::before {
    background: var(--rdv-vert);
    border-color: #ffffff;
    box-shadow: 0 0 10px var(--rdv-vert), 0 0 2px #ffffff;
}

.rdv-cat input:focus-visible + span {
    outline: 3px solid var(--rdv-cyan);
    outline-offset: 3px;
}

.rdv-tz {
    margin-top: 1.1rem;
}

.rdv-tz select {
    width: 100%;
    max-width: 420px;
    min-height: 46px;
    padding: 0.6rem 0.9rem;
    border-radius: 1rem;
    background: rgba(2, 16, 32, 0.7);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(0, 242, 255, 0.3);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.rdv-tz select:focus {
    outline: none;
    border-color: var(--rdv-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.22);
}

.rdv-tz option {
    color: #0f172a;
    background: #ffffff;
}

.rdv-tz p {
    color: var(--rdv-doux);
    font-size: 0.85rem;
    margin: 0.4rem 0 0;
}

.rdv-annonces {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.rdv-annonces li {
    padding: 0.7rem 0.9rem 0.7rem 1rem;
    border-radius: 1rem;
    background: rgba(3, 13, 27, 0.62);
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-left: 3px solid #f59e0b;
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.4;
}

.rdv-annonces strong {
    color: #fbbf24;
}

.rdv-steps .feasibility-v2-step {
    transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms var(--rdv-ease), opacity 300ms ease !important;
}

.rdv-steps .feasibility-v2-step:not([aria-current="step"]) {
    opacity: 0.72;
}

.rdv-steps .feasibility-v2-step[aria-current="step"] {
    border-color: rgba(0, 242, 255, 0.7) !important;
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.25), 0 0 30px rgba(0, 242, 255, 0.16), inset 0 0 24px rgba(0, 163, 255, 0.1) !important;
    transform: translateX(4px);
}

.rdv-steps .feasibility-v2-step[aria-current="step"] > span {
    color: var(--rdv-cyan) !important;
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.75) !important;
}

/* ---------- Carte : verre sombre, bordure néon animée, halo qui suit la souris ---------- */

.rdv-shell .rdv-card {
    background:
        radial-gradient(420px circle at var(--rdv-x, 50%) var(--rdv-y, -10%), rgba(0, 163, 255, 0.16), transparent 62%),
        radial-gradient(circle at 100% 0%, rgba(0, 200, 83, 0.10), transparent 40%),
        linear-gradient(165deg, rgba(8, 26, 50, 0.94) 0%, rgba(3, 12, 26, 0.96) 100%) !important;
    color: var(--rdv-texte) !important;
    border: 1px solid rgba(0, 242, 255, 0.16);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 50px rgba(0, 163, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rdv-shell .rdv-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--rdv-angle), transparent 0 58%, rgba(0, 242, 255, 0.95) 72%, rgba(0, 200, 83, 0.9) 82%, transparent 94%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: rdv-tour 7s linear infinite;
    animation-play-state: paused;
}

.rdv-shell.rdv-visible .rdv-card::after {
    animation-play-state: running;
}

@keyframes rdv-tour {
    to { --rdv-angle: 360deg; }
}

/* Barre de progression des étapes (ajoutée par booking.js) */
.rdv-progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
    margin: 0 0 1.1rem;
}

.rdv-progress span {
    display: block;
    height: 100%;
    width: calc(var(--rdv-etape, 1) / 3 * 100%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rdv-bleu-fonce), var(--rdv-cyan), var(--rdv-vert));
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(0, 242, 255, 0.7);
    transition: width 700ms var(--rdv-ease);
    animation: rdv-flux 3s linear infinite;
}

@keyframes rdv-flux {
    to { background-position: -200% 0; }
}

.rdv-shell .rdv-card h3 {
    font-size: 1.55rem !important;
    margin: 0 0 0.6rem !important;
    color: #ffffff !important;
    background: linear-gradient(100deg, #ffffff 30%, var(--rdv-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.rdv-shell .rdv-card h3:focus {
    outline: none;
}

.rdv-shell .rdv-card p {
    color: var(--rdv-doux) !important;
}

/* Apparition de chaque étape */
.rdv-card [data-rdv-panel]:not([hidden]) {
    animation: rdv-entree 560ms var(--rdv-ease) both;
}

@keyframes rdv-entree {
    from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Calendrier ---------- */

.rdv-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.2rem 0 0.7rem;
}

.rdv-cal-head h4 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.rdv-nav {
    width: 44px;
    height: 44px;
    border-radius: 0.9rem;
    border: 1px solid rgba(0, 242, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: var(--rdv-cyan);
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 200ms ease, box-shadow 200ms ease, transform 200ms var(--rdv-ease);
}

.rdv-nav:not(:disabled):hover {
    background: rgba(0, 242, 255, 0.12);
    box-shadow: 0 0 18px rgba(0, 242, 255, 0.3);
    transform: scale(1.06);
}

.rdv-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

.rdv-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    table-layout: fixed;
}

.rdv-grid.rdv-anim tbody {
    animation: rdv-entree 420ms var(--rdv-ease) both;
}

.rdv-grid th {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.85);
    text-transform: uppercase;
    padding-bottom: 0.2rem;
}

.rdv-grid td {
    padding: 0;
    text-align: center;
}

.rdv-day {
    width: 100%;
    min-height: 44px;
    border-radius: 0.85rem;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(148, 163, 184, 0.42);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: default;
    position: relative;
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--rdv-ease), color 220ms ease;
}

.rdv-day.is-open {
    background: linear-gradient(160deg, rgba(0, 163, 255, 0.14), rgba(0, 114, 206, 0.06));
    border-color: rgba(0, 242, 255, 0.3);
    color: #e0f7ff;
    font-weight: 700;
    cursor: pointer;
}

/* Petit voyant vert : jour avec créneaux libres */
.rdv-day.is-open::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rdv-vert);
    box-shadow: 0 0 8px var(--rdv-vert);
}

.rdv-day.is-open:hover {
    border-color: rgba(0, 242, 255, 0.75);
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.25), 0 0 20px rgba(0, 242, 255, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.rdv-day.is-info {
    cursor: pointer;
    color: rgba(251, 191, 36, 0.7);
}

.rdv-day.is-info::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

/* .rdv-shell en tête : passe devant la règle du site button[aria-pressed="true"] (sélecteur de langue) */
.rdv-shell .rdv-day[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--rdv-bleu-fonce) 0%, var(--rdv-bleu) 60%, var(--rdv-cyan) 140%);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 8px 26px rgba(0, 163, 255, 0.5), 0 0 24px rgba(0, 242, 255, 0.45);
    transform: scale(1.06);
}

.rdv-shell .rdv-day[aria-pressed="true"]::before {
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.rdv-day:focus-visible,
.rdv-nav:focus-visible,
.rdv-slot:focus-visible,
.rdv-link:focus-visible,
.rdv-card .feasibility-v2-form button:focus-visible {
    outline: 3px solid var(--rdv-cyan);
    outline-offset: 2px;
}

.rdv-shell .rdv-card .rdv-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin: 0.5rem 0 0 !important;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.9) !important;
}

.rdv-legend span::before {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: 1px;
    background: var(--rdv-vert);
    box-shadow: 0 0 8px var(--rdv-vert);
}

.rdv-legend .rdv-legend-info::before {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

/* ---------- Créneaux ---------- */

.rdv-slots {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rdv-trait);
}

.rdv-slots h4 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
}

.rdv-slot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rdv-slot {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 52px;
    padding: 0.55rem 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 242, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    cursor: pointer;
    animation: rdv-entree 480ms var(--rdv-ease) both;
    animation-delay: calc(var(--i, 0) * 45ms);
    transition: transform 220ms var(--rdv-ease), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

/* Reflet lumineux au survol */
.rdv-slot::after {
    content: "";
    position: absolute;
    inset: -40% -30%;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 64%);
    transform: translateX(-90%);
    transition: transform 650ms var(--rdv-ease);
    pointer-events: none;
}

.rdv-slot small {
    display: block;
    margin-top: 0.15rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.95);
}

.rdv-slot:hover {
    background: linear-gradient(135deg, var(--rdv-bleu-fonce) 0%, var(--rdv-bleu) 100%);
    border-color: rgba(0, 242, 255, 0.9);
    box-shadow: 0 10px 28px rgba(0, 163, 255, 0.4), 0 0 22px rgba(0, 242, 255, 0.35);
    transform: translateY(-3px);
}

.rdv-slot:hover::after {
    transform: translateX(90%);
}

.rdv-slot:hover small {
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- Formulaire ---------- */

.rdv-summary {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: linear-gradient(120deg, rgba(0, 163, 255, 0.14), rgba(0, 200, 83, 0.06));
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.45;
    overflow: hidden;
}

.rdv-summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--rdv-cyan), var(--rdv-vert));
    box-shadow: 0 0 12px var(--rdv-cyan);
}

.rdv-summary small {
    display: block;
    color: var(--rdv-doux);
    font-weight: 600;
}

.rdv-link {
    background: none;
    border: 0;
    padding: 0.2rem;
    color: var(--rdv-cyan);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    flex: none;
}

.rdv-link:hover {
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.6) !important;
}

.rdv-field {
    display: grid;
    gap: 0.35rem;
}

.rdv-field label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(226, 232, 240, 0.92);
}

.rdv-field label .rdv-opt {
    font-weight: 500;
    color: rgba(148, 163, 184, 0.9);
}

.rdv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 560px) {
    .rdv-row {
        grid-template-columns: 1fr;
    }
}

.rdv-shell .rdv-card .feasibility-v2-form input,
.rdv-shell .rdv-card .feasibility-v2-form textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    color: #f8fafc !important;
    font-weight: 600 !important;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease !important;
}

.rdv-shell .rdv-card .feasibility-v2-form input::placeholder,
.rdv-shell .rdv-card .feasibility-v2-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.rdv-shell .rdv-card .feasibility-v2-form input:hover,
.rdv-shell .rdv-card .feasibility-v2-form textarea:hover {
    border-color: rgba(0, 242, 255, 0.45) !important;
}

.rdv-shell .rdv-card .feasibility-v2-form input:focus,
.rdv-shell .rdv-card .feasibility-v2-form textarea:focus {
    background: rgba(0, 163, 255, 0.08) !important;
    border-color: var(--rdv-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.18), 0 0 22px rgba(0, 242, 255, 0.18) !important;
}

.rdv-shell .rdv-card .feasibility-v2-form [aria-invalid="true"] {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 1px #f87171, 0 0 16px rgba(248, 113, 113, 0.3) !important;
}

/* Champ invalide : léger tremblement pour attirer l'œil */
.rdv-shell .rdv-card .feasibility-v2-form [aria-invalid="true"]:not(:focus) {
    animation: rdv-vibre 360ms ease;
}

@keyframes rdv-vibre {
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.rdv-shell .rdv-card .rdv-err {
    margin: 0 !important;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fca5a5 !important;
}

.rdv-card .rdv-err:empty {
    display: none;
}

.rdv-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    font-size: 0.85rem;
    color: var(--rdv-doux);
    line-height: 1.45;
}

.rdv-shell .rdv-card .feasibility-v2-form input.rdv-check {
    width: 1.2rem !important;
    height: 1.2rem !important;
    padding: 0 !important;
    margin-top: 0.1rem;
    accent-color: var(--rdv-bleu);
}

.rdv-consent a {
    color: var(--rdv-cyan);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rdv-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.rdv-shell .rdv-card .feasibility-v2-form button {
    min-height: 54px !important;
    font-size: 1rem !important;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, var(--rdv-bleu-fonce) 0%, var(--rdv-bleu) 45%, var(--rdv-cyan) 100%) !important;
    background-size: 180% 100% !important;
    background-position: 0% 0% !important;
    box-shadow: 0 12px 34px rgba(0, 163, 255, 0.35), 0 0 24px rgba(0, 242, 255, 0.2) !important;
    transition: background-position 600ms var(--rdv-ease), transform 220ms var(--rdv-ease), box-shadow 220ms ease !important;
}

.rdv-shell .rdv-card .feasibility-v2-form button:hover {
    background-position: 100% 0% !important;
}

.rdv-card .feasibility-v2-form button[disabled] {
    opacity: 0.65;
    cursor: progress;
}

/* ---------- Messages et confirmation ---------- */

.rdv-shell .rdv-card .rdv-status {
    margin: 0.9rem 0 0 !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: #7dd3fc !important;
}

.rdv-card .rdv-status:empty {
    display: none;
}

.rdv-shell .rdv-card .rdv-status.is-error {
    color: #fca5a5 !important;
}

.rdv-status a {
    color: inherit;
    text-decoration: underline;
}

/* Chargement : texte balayé par la lumière */
.rdv-shell .rdv-card .rdv-loading {
    margin: 1.2rem 0 !important;
    font-weight: 700;
    color: transparent !important;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.5) 0%, #ffffff 50%, rgba(148, 163, 184, 0.5) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: rdv-flux 1.6s linear infinite;
}

.rdv-done-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4ade80, var(--rdv-vert) 60%, #008a3a);
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.55);
    animation: rdv-pop 650ms var(--rdv-ease) both;
}

.rdv-done-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 200, 83, 0.6);
    animation: rdv-onde 1.8s ease-out infinite;
}

@keyframes rdv-pop {
    from { transform: scale(0.3) rotate(-25deg); opacity: 0; }
    70% { transform: scale(1.12); }
    to { transform: scale(1); opacity: 1; }
}

@keyframes rdv-onde {
    from { transform: scale(0.9); opacity: 0.9; }
    to { transform: scale(1.6); opacity: 0; }
}

.rdv-done-list {
    margin: 0.9rem 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.rdv-done-list div {
    display: grid;
    grid-template-columns: minmax(90px, auto) 1fr;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--rdv-trait);
}

.rdv-done-list dt {
    color: rgba(148, 163, 184, 0.95);
    font-weight: 600;
}

.rdv-done-list dd {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
    word-break: break-word;
}

.rdv-done-list a {
    color: var(--rdv-cyan);
}

.rdv-fallback-note {
    margin-top: 1rem;
    text-align: center;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
}

.rdv-fallback-note a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
}

@media (max-width: 400px) {
    .rdv-grid {
        border-spacing: 3px;
    }

    .rdv-day {
        min-height: 40px;
        font-size: 0.86rem;
    }
}

/* Mouvement réduit demandé par le visiteur : on coupe les animations */
@media (prefers-reduced-motion: reduce) {
    .rdv-shell *,
    .rdv-shell *::before,
    .rdv-shell *::after,
    .rdv-shell .rdv-card::after {
        animation: none !important;
        transition: none !important;
    }

    .rdv-slot:hover,
    .rdv-day.is-open:hover,
    .rdv-day[aria-pressed="true"],
    .rdv-cat:hover span,
    .rdv-steps .feasibility-v2-step[aria-current="step"] {
        transform: none !important;
    }
}
