.yja {
--yja-rouge: var(--yj-rouge, #d7182a);
--yja-encre: var(--yj-encre, #0d0d0d);
--yja-fond: var(--yj-peau, #eef1f2);
--yja-ligne: var(--yj-ligne, #d5dbdf);
--yja-gris: var(--yj-gris, #5b6774);
--yja-ok: var(--yj-ok, #2f7d4f);
max-width: 1120px;
margin: 0 auto;
color: var(--yja-encre);
}
.yja *, .yja *::before, .yja *::after { box-sizing: border-box; }
.yja-note, .yja-requested {
background: var(--yja-fond);
border-left: 4px solid var(--yja-rouge);
padding: 12px 16px;
margin: 0 0 20px;
}
.yja-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.yja-title { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.6rem); text-align: center; flex: 1; min-width: 0; }
.yja-nav {
display: inline-flex; align-items: center; justify-content: center;
width: 44px; height: 44px; flex: 0 0 44px;
border: 2px solid var(--yja-encre); border-radius: 6px;
color: var(--yja-encre); text-decoration: none; font-size: 1.3rem; line-height: 1;
}
.yja-nav:hover, .yja-nav:focus-visible { background: var(--yja-encre); color: #fff; }
.yja-nav.is-off { opacity: .25; }
.yja-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .9rem; color: var(--yja-gris); margin: 0 0 20px; }
.yja-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -10px; vertical-align: middle; }
.yja-dot.is-libre { background: var(--yja-ok); }
.yja-dot.is-occupe { background: var(--yja-ligne); }
.yja-small { font-size: .85rem; }
.yja-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.yja-day { border: 1px solid var(--yja-ligne); border-radius: 8px; padding: 14px; background: #fff; min-width: 0; }
.yja-day-name { margin: 0 0 10px; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.yja-slots { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.yja-slots li { margin: 0 !important; padding: 0 !important; }
.yja-slots li::before { content: none !important; }
.yja-slot {
display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px;
padding: 8px 10px; border-radius: 6px; font-size: .95rem; line-height: 1.3; min-width: 0;
min-height: 44px; text-decoration: none;
}
.yja-slot.is-libre { background: #e7f3ec; color: #1f5a37; border: 2px solid var(--yja-ok); font-weight: 600; }
.yja-slot.is-libre:hover, .yja-slot.is-libre:focus-visible { background: var(--yja-ok); color: #fff; }
.yja-slot.is-occupe { background: var(--yja-fond); color: var(--yja-gris); border: 2px solid transparent; }
.yja-slot.is-occupe .yja-time { text-decoration: line-through; }
.yja-state { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.yja-time { white-space: nowrap; }
.yja-empty { color: var(--yja-gris); margin: 0; } .yja-next { max-width: none; margin: 0; color: inherit; }
.yja-next-title { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.yja-next-note { margin: 0 0 10px; font-size: .95rem; opacity: .85; }
.yja-next-list { list-style: none !important; margin: 0 0 10px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.yja-next-list li { margin: 0 !important; padding: 0 !important; }
.yja-next-list li::before { content: none !important; }
.yja-chip {
display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 14px;
border-radius: 6px; background: #e7f3ec; color: #1f5a37; border: 2px solid var(--yja-ok);
text-decoration: none; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.yja-chip:hover, .yja-chip:focus-visible { background: var(--yja-ok); color: #fff; }
.yja-chip-day { font-weight: 400; }
.yja-next-more { margin: 0; }
.yja-next-more a { color: inherit; font-weight: 600; }
@media (max-width: 600px) {
.yja-week { grid-template-columns: 1fr; }
.yja-day { padding: 12px; }
} .yja-msg { padding: 12px 16px; border-radius: 6px; margin: 0 0 16px; border-left: 4px solid; }
.yja-msg.is-ok { background: #e7f3ec; border-color: var(--yja-ok); color: #1f5a37; }
.yja-msg.is-ko { background: #fcebec; border-color: var(--yja-rouge); color: #8a1420; }
.yja-confirm { border: 2px solid var(--yja-ok); border-radius: 8px; padding: 16px; margin: 0 0 20px; background: #fff; }
.yja-confirm-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; }
.yja-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.yja-fields label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; }
.yja-fields input { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--yja-ligne); border-radius: 6px; min-height: 44px; width: 100%; }
.yja-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.yja-btn { font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 2px solid var(--yja-encre); background: var(--yja-encre); color: #fff; }
.yja-btn:hover, .yja-btn:focus-visible { background: var(--yja-rouge); border-color: var(--yja-rouge); }
.yja-btn.is-ghost { background: transparent; color: var(--yja-encre); }
.yja-btn.is-ghost:hover, .yja-btn.is-ghost:focus-visible { background: var(--yja-fond); color: var(--yja-encre); border-color: var(--yja-encre); }
.yja-account-title { margin: 0 0 12px; }
.yja-bookings { list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; display: grid; gap: 12px; }
.yja-bookings li::before { content: none !important; }
.yja-booking { border: 1px solid var(--yja-ligne); border-radius: 8px; padding: 14px 16px; margin: 0 !important; background: #fff; }
.yja-booking-when { font-weight: 700; margin: 0 0 4px; }
.yja-booking-meta { margin: 0 0 10px; color: var(--yja-gris); font-size: .95rem; }
.yja-booking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }