.mixa-medflex-schedule { --mixa-medflex-ink: #172033; --mixa-medflex-muted: #60708a; --mixa-medflex-line: #dce5f0; background: linear-gradient(145deg, #f7faff, #edf4ff); border: 1px solid #d9e5f3; border-radius: 16px; box-shadow: 0 10px 26px rgba(33, 67, 111, .10); color: var(--mixa-medflex-ink); padding: 18px; }
.mixa-medflex-schedule__status { color: var(--mixa-medflex-muted); font-size: .92rem; line-height: 1.45; margin-bottom: 12px; }
.mixa-medflex-schedule__status.is-error { background: #fff3f1; border: 1px solid #f4c5be; border-radius: 10px; color: #a52b20; padding: 10px 12px; }
.mixa-medflex-schedule__status.is-success { color: #067647; }
.mixa-medflex-schedule__days { display: grid; gap: 12px; }
.mixa-medflex-schedule__day { background: rgba(255,255,255,.82); border: 1px solid var(--mixa-medflex-line); border-radius: 12px; display: grid; gap: 10px; padding: 13px; }
.mixa-medflex-schedule__day-title { color: var(--mixa-medflex-ink); font-size: .95rem; font-weight: 700; line-height: 1.3; margin: 0; text-transform: capitalize; }
.mixa-medflex-schedule__hours { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.mixa-medflex-schedule__slot { background: #fff; border: 1px solid var(--mixa-medflex-primary, #2f6fed); border-radius: 9px; color: var(--mixa-medflex-primary, #2f6fed); cursor: pointer; font: inherit; font-size: .92rem; font-weight: 700; min-height: 40px; padding: 8px 10px; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.mixa-medflex-schedule__slot:hover { background: var(--mixa-medflex-primary, #2f6fed); color: #fff; transform: translateY(-1px); }
.mixa-medflex-schedule__slot:focus-visible, .mixa-medflex-schedule__request:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
.mixa-medflex-schedule__request { background: var(--mixa-medflex-primary, #2f6fed); border: 0; border-radius: 10px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 12px 16px; }
.mixa-medflex-booking-button { background: var(--mixa-medflex-primary, #2f6fed); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 10px 16px; }
.mixa-medflex-booking-button:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
#mixa-medflex-booking-popup[hidden] { display: none; }
#mixa-medflex-booking-popup { align-items: center; background: rgba(12, 26, 48, .58); display: grid; inset: 0; overflow: auto; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); place-items: center; position: fixed; z-index: 10000; }
.mixa-medflex-booking-popup__body { background: #fff; border: 1px solid #dce5f0; border-radius: 20px; box-shadow: 0 24px 70px rgba(10, 31, 61, .28); box-sizing: border-box; margin: 0; max-height: calc(100dvh - 32px); max-width: 480px; overflow: auto; padding: 28px 24px 24px; position: relative; width: min(480px, 100%); }
.mixa-medflex-booking-popup__body h2 { color: #172033; font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; padding-right: 34px; }
.mixa-medflex-booking-popup__slot { background: #f1f6ff; border-radius: 10px; color: #375174; font-size: .92rem; line-height: 1.45; margin: 0 0 18px; padding: 10px 12px; }
.mixa-medflex-booking-popup__close { align-items: center; background: #f1f4f8; border: 0; border-radius: 50%; color: #172033; cursor: pointer; display: inline-flex; font-size: 22px; height: 34px; justify-content: center; line-height: 1; position: absolute; right: 16px; top: 16px; width: 34px; }
.mixa-medflex-booking-popup__close:hover { background: #e3eaf3; }
.mixa-medflex-booking-popup__close:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
.mixa-medflex-booking-form { display: grid; gap: 11px; }
.mixa-medflex-booking-form label { color: #34445d; display: grid; font-size: .9rem; font-weight: 600; gap: 5px; }
.mixa-medflex-booking-form__consent { align-items: flex-start; box-sizing: border-box; display: flex !important; flex-direction: row; font-size: .82rem !important; font-weight: 500 !important; gap: 8px !important; line-height: 1.4; max-width: 100%; min-width: 0; }
.mixa-medflex-booking-form__consent input { flex: 0 0 17px; height: 17px; margin: 2px 0 0; padding: 0; width: 17px !important; }
.mixa-medflex-booking-form__consent span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mixa-medflex-booking-form input, .mixa-medflex-booking-form textarea { background: #fbfcfe; border: 1px solid #ccd8e6; border-radius: 9px; box-sizing: border-box; color: #172033; font: inherit; padding: 10px 11px; width: 100%; }
.mixa-medflex-booking-form input:focus, .mixa-medflex-booking-form textarea:focus, .mixa-medflex-footer-widget__panel select:focus { border-color: var(--mixa-medflex-primary, #2f6fed); box-shadow: 0 0 0 3px rgba(47,111,237,.15); outline: 0; }
.mixa-medflex-booking-form button[type="submit"] { background: var(--mixa-medflex-primary, #2f6fed); border: 0; border-radius: 10px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; margin-top: 4px; padding: 12px 14px; }
.mixa-medflex-booking-form button[type="submit"]:disabled { cursor: wait; opacity: .65; }
.mixa-medflex-booking-form button[type="submit"]:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
.mixa-medflex-booking-form__status { min-height: 1.3em; }
.mixa-medflex-booking-form__status.is-error { color: #b42318; }
.mixa-medflex-booking-form__status.is-success { background: #ecfdf3; border: 1px solid #a6e3c1; border-radius: 10px; color: #067647; font-weight: 700; line-height: 1.45; padding: 11px 12px; }
.mixa-medflex-footer-widget { align-items: center; animation: mixa-medflex-pulse 2.2s ease-in-out infinite; background: var(--mixa-medflex-primary, #2f6fed); border: 0; border-radius: 999px 0 0 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-weight: 700; gap: 8px; padding: 14px 20px 14px 16px; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9998; }
.mixa-medflex-footer-widget__dot { animation: mixa-medflex-dot-pulse 1.7s ease-in-out infinite; background: #fff; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,255,255,.7); display: inline-block; flex: 0 0 10px; height: 10px; width: 10px; }
.mixa-medflex-footer-widget--left { border-radius: 0 999px 999px 0; left: 0; padding-left: 20px; padding-right: 16px; right: auto; }
.mixa-medflex-footer-widget:hover, .mixa-medflex-footer-widget:focus-visible { animation-play-state: paused; filter: brightness(1.08); }
.mixa-medflex-footer-widget__panel { background: linear-gradient(145deg, #f7faff, #edf4ff); border: 1px solid #d5e2f1; border-radius: 18px; box-shadow: 0 18px 48px rgba(0,0,0,.22); box-sizing: border-box; display: grid; gap: 12px; left: 50%; max-height: calc(100dvh - 32px); max-width: calc(100vw - 32px); min-width: 0; overflow: auto; padding: 18px; position: fixed; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px)); z-index: 9999; }
.mixa-medflex-footer-widget__panel--left { left: 50%; right: auto; }
.mixa-medflex-footer-widget__panel[hidden] { display: none; }
.mixa-medflex-footer-widget__header { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.mixa-medflex-footer-widget__header h2 { color: #172033; font-size: 1.1rem; line-height: 1.3; margin: 0; }
.mixa-medflex-footer-widget__close { align-items: center; background: rgba(255,255,255,.75); border: 0; border-radius: 50%; color: #172033; cursor: pointer; display: inline-flex; font-size: 22px; height: 34px; justify-content: center; line-height: 1; padding: 0; width: 34px; }
.mixa-medflex-footer-widget__close:hover { background: #e3eaf3; }
.mixa-medflex-footer-widget__close:focus-visible { outline: 3px solid #172033; outline-offset: 2px; }
.mixa-medflex-footer-widget__panel label { color: #34445d; display: grid; font-size: .9rem; font-weight: 600; gap: 5px; }
.mixa-medflex-footer-widget__panel label, .mixa-medflex-footer-widget__panel select { min-width: 0; }
.mixa-medflex-footer-widget__panel select { background: #fff; border: 1px solid #ccd4e0; border-radius: 9px; box-sizing: border-box; font: inherit; min-height: 42px; max-width: 100%; overflow: hidden; padding: 8px 10px; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
@media (max-width: 480px) { .mixa-medflex-footer-widget__panel, .mixa-medflex-footer-widget__panel--left { left: 50%; max-height: calc(100dvh - 24px); max-width: calc(100vw - 24px); right: auto; top: 50%; transform: translate(-50%, -50%); width: calc(100vw - 24px); } .mixa-medflex-booking-popup__body { border-radius: 16px; padding: 24px 18px 18px; } }
@keyframes mixa-medflex-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.2), 0 0 0 0 var(--mixa-medflex-primary, #2f6fed); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.2), 0 0 0 10px transparent; } }
@keyframes mixa-medflex-dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .mixa-medflex-footer-widget { animation: none; } .mixa-medflex-schedule__slot { transition: none; } }
.mixa-medflex-schedule { border-color: #cfe0f2; padding: clamp(16px, 2.4vw, 24px); }
.mixa-medflex-schedule__days { gap: 14px; }
.mixa-medflex-schedule__day { background: rgba(255, 255, 255, .92); border-color: #d5e2ef; box-shadow: 0 5px 16px rgba(35, 73, 117, .06); padding: 15px; }
.mixa-medflex-schedule__day-title { align-items: center; display: flex; gap: 9px; }
.mixa-medflex-schedule__day-title::before { background: linear-gradient(135deg, #48c6d1, var(--mixa-medflex-primary, #2f6fed)); border-radius: 50%; box-shadow: 0 0 0 4px #edf7ff; content: ''; flex: 0 0 9px; height: 9px; width: 9px; }
.mixa-medflex-schedule__hours { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.mixa-medflex-schedule__slot { box-shadow: 0 2px 5px rgba(47, 111, 237, .08); min-height: 42px; }
.mixa-medflex-schedule__slot:active { transform: translateY(0); }
.mixa-medflex-schedule__request { box-shadow: 0 5px 12px rgba(47, 111, 237, .2); width: 100%; }
@media (max-width: 480px) { .mixa-medflex-schedule { border-radius: 14px; padding: 14px; } .mixa-medflex-schedule__day { padding: 12px; } .mixa-medflex-schedule__hours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
