.jrbs-widget,
.jrbs-widget *,
.jrbs-overlay,
.jrbs-overlay * {
    box-sizing: border-box;
}

.jrbs-widget,
.jrbs-overlay {
    --jrbs-accent: #5a1027;
    --jrbs-secondary: #2f3d70;
    --jrbs-text: #1d1d22;
    --jrbs-muted: #8b8b8f;
    --jrbs-line: #e3e3e5;
    --jrbs-soft: #f7f4f5;
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

.jrbs-trigger {
    appearance: none;
    border: 0;
    border-radius: 12px;
    background: var(--jrbs-secondary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    min-height: 52px;
    padding: 13px 26px;
    transition: transform .2s ease, opacity .2s ease;
}

.jrbs-trigger:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.jrbs-overlay[hidden],
.jrbs-step[hidden],
.jrbs-alert[hidden],
.jrbs-footer [hidden] {
    display: none;
}

.jrbs-overlay {
    align-items: center;
    background: rgba(18, 18, 20, .94);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    overflow-y: auto;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    transition: opacity .26s ease;
    z-index: 999999;
}

.jrbs-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.jrbs-modal-open {
    overflow: hidden;
}

.jrbs-modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
    max-height: min(690px, calc(100vh - 36px));
    max-height: min(690px, calc(100dvh - 36px));
    max-width: 730px;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    transform: translateY(18px) scale(.985);
    transition: height .30s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
    width: 100%;
}

.jrbs-overlay.is-visible .jrbs-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.jrbs-overlay.is-closing .jrbs-modal {
    transform: translateY(10px) scale(.99);
}

.jrbs-header {
    align-items: center;
    border-bottom: 1px solid var(--jrbs-line);
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 76px;
    padding: 16px 20px 16px 24px;
}

.jrbs-header h2 {
    color: #09090b;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.7px;
    line-height: 1.2;
    margin: 0;
}

.jrbs-close {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.jrbs-close span,
.jrbs-close span::before {
    background: var(--jrbs-text);
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    transform: rotate(45deg);
    width: 22px;
}

.jrbs-close span::before {
    transform: rotate(90deg);
}

.jrbs-close:hover {
    background: #f4f4f5;
}

.jrbs-overlay button:focus,
.jrbs-overlay select:focus,
.jrbs-overlay input:focus {
    outline: none;
}

.jrbs-overlay button:focus-visible {
    box-shadow: 0 0 0 4px rgba(47, 61, 112, .12);
    outline: none;
}

.jrbs-alert {
    background: #fff0f0;
    border-bottom: 1px solid #f5c4c4;
    color: #8f2020;
    flex: 0 0 auto;
    font-size: 14px;
    padding: 11px 26px;
}

.jrbs-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: relative;
    scrollbar-width: thin;
    width: 100%;
}

.jrbs-step {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
    padding: 20px 25px 22px;
    width: 100%;
}

.jrbs-body.is-step-forward .jrbs-step.is-active {
    animation: jrbsStepForward .34s cubic-bezier(.22, 1, .36, 1);
}

.jrbs-body.is-step-backward .jrbs-step.is-active {
    animation: jrbsStepBackward .34s cubic-bezier(.22, 1, .36, 1);
}

@keyframes jrbsStepForward {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes jrbsStepBackward {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}

.jrbs-eyebrow,
.jrbs-summary-label {
    color: var(--jrbs-muted);
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 20px;
}

.jrbs-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jrbs-service-option {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 11px;
    min-height: 38px;
    position: relative;
    width: 100%;
}

.jrbs-service-option input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.jrbs-radio {
    background: #fff;
    border: 1.5px solid #a8aaae;
    border-radius: 50%;
    flex: 0 0 24px;
    height: 24px;
    position: relative;
    transition: border-color .18s ease;
    width: 24px;
}

.jrbs-radio::after {
    background: var(--jrbs-accent);
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 5.5px;
    opacity: 0;
    position: absolute;
    top: 5.5px;
    transform: scale(.5);
    transition: opacity .18s ease, transform .18s ease;
    width: 10px;
}

.jrbs-service-option input:checked + .jrbs-radio {
    border-color: var(--jrbs-accent);
}

.jrbs-service-option input:checked + .jrbs-radio::after {
    opacity: 1;
    transform: scale(1);
}

.jrbs-service-option input:focus-visible + .jrbs-radio {
    box-shadow: 0 0 0 3px rgba(47, 61, 112, .10);
}

.jrbs-service-copy {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 14px;
    justify-content: space-between;
    min-width: 0;
}

.jrbs-service-name {
    color: var(--jrbs-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.jrbs-service-price {
    color: var(--jrbs-text);
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 600;
}

.jrbs-service-option.is-disabled {
    cursor: not-allowed;
    opacity: .42;
}

.jrbs-loader,
.jrbs-empty-slots {
    color: var(--jrbs-muted);
    font-size: 14px;
    margin: 10px 0;
}

.jrbs-calendar-toolbar {
    align-items: center;
    display: flex;
    gap: 9px;
    margin-bottom: 6px;
}

.jrbs-select-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.jrbs-select-wrap select {
    appearance: none;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #1f2024 50%), linear-gradient(135deg, #1f2024 50%, transparent 50%);
    background-position: calc(100% - 21px) 51%, calc(100% - 15px) 51%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    border: 1px solid #aeb0b4;
    border-radius: 10px;
    color: var(--jrbs-text);
    font: inherit;
    font-size: 16px;
    height: 48px;
    padding: 0 44px 0 16px;
    width: 100%;
}

.jrbs-select-wrap select:focus,
.jrbs-select-wrap select:focus-visible {
    border-color: var(--jrbs-secondary);
    box-shadow: 0 0 0 4px rgba(47, 61, 112, .10);
    outline: none;
}

.jrbs-calendar-nav {
    align-items: center;
    display: flex;
    flex: 0 0 88px;
    justify-content: flex-end;
}

.jrbs-calendar-nav button {
    appearance: none;
    background: transparent;
    border: 0;
    color: #696b70;
    cursor: pointer;
    font-size: 25px;
    height: 44px;
    padding: 0;
    width: 44px;
}

.jrbs-calendar-nav button:disabled {
    cursor: not-allowed;
    opacity: .3;
}

.jrbs-weekdays,
.jrbs-calendar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.jrbs-weekdays {
    border-bottom: 1px solid var(--jrbs-line);
    padding: 5px 0 8px;
}

.jrbs-weekdays span {
    color: var(--jrbs-muted);
    flex: 0 0 14.285714%;
    font-size: 15px;
    text-align: center;
}

.jrbs-calendar {
    border-bottom: 1px solid var(--jrbs-line);
    max-width: 100%;
    min-height: 218px;
    overflow: hidden;
    padding: 5px 0 6px;
    position: relative;
    transform: translateZ(0);
}

.jrbs-day-cell {
    align-items: center;
    display: flex;
    flex: 0 0 14.285714%;
    height: 36px;
    justify-content: center;
    padding: 1px 4px;
}

.jrbs-day-cell.is-empty,
.jrbs-day-cell.is-outside {
    pointer-events: none;
}

.jrbs-day-cell.is-outside .jrbs-day-button {
    color: #d0d1d4;
}

.jrbs-day-button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 11px;
    color: var(--jrbs-text);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 14px;
    height: 33px;
    justify-content: center;
    padding: 0;
    transition: border-color .16s ease, background .16s ease;
    width: 100%;
}

.jrbs-day-button:hover:not(:disabled) {
    background: #f7f7f8;
}

.jrbs-day-button.is-selected {
    border-color: var(--jrbs-secondary);
}

.jrbs-day-button:disabled {
    color: #c4c5c7;
    cursor: not-allowed;
}

.jrbs-calendar.is-loading .jrbs-day-cell {
    opacity: .38;
}

.jrbs-calendar.is-loading::after {
    animation: jrbsCalendarPulse .8s ease-in-out infinite alternate;
    background: rgba(255, 255, 255, .86);
    border-radius: 999px;
    color: var(--jrbs-muted);
    content: "Ładowanie…";
    font-size: 12px;
    left: 50%;
    padding: 7px 11px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.jrbs-calendar.is-month-next {
    animation: jrbsCalendarNext .26s cubic-bezier(.22, 1, .36, 1);
}

.jrbs-calendar.is-month-prev {
    animation: jrbsCalendarPrev .26s cubic-bezier(.22, 1, .36, 1);
}

@keyframes jrbsCalendarNext {
    from { opacity: .25; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes jrbsCalendarPrev {
    from { opacity: .25; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes jrbsCalendarPulse {
    from { opacity: .62; }
    to { opacity: 1; }
}

.jrbs-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 50px;
    padding-top: 12px;
}

.jrbs-slot {
    appearance: none;
    background: var(--jrbs-soft);
    border: 0;
    border-radius: 9px;
    color: var(--jrbs-accent);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    min-height: 38px;
    padding: 7px 10px;
}

.jrbs-slot.is-selected {
    background: var(--jrbs-accent);
    color: #fff;
}

.jrbs-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jrbs-fields-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.jrbs-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.jrbs-field-half {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
}

.jrbs-field > span {
    color: #696a70;
    font-size: 13px;
    line-height: 1.25;
}

.jrbs-field b,
.jrbs-consent b {
    color: #d23a46;
    font-weight: 500;
}

.jrbs-field input {
    appearance: none;
    background: #fff;
    border: 1px solid #b7b9be;
    border-radius: 10px;
    caret-color: var(--jrbs-accent);
    color: var(--jrbs-text);
    font: inherit;
    font-size: 16px;
    height: 52px;
    outline: none;
    padding: 0 16px;
    transition: border-color .18s ease, background-color .18s ease;
    width: 100%;
}

.jrbs-field input::placeholder {
    color: #b5b6b9;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:not(.is-invalid),
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:invalid:not(.is-invalid),
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:user-invalid:not(.is-invalid) {
    background: #fff;
    border-color: #b7b9be;
    box-shadow: none;
    outline: none;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:not(.is-invalid):focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:not(.is-invalid):focus-visible,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:invalid:not(.is-invalid):focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:user-invalid:not(.is-invalid):focus {
    background: #fff;
    border-color: #737b9e;
    box-shadow: none;
    -webkit-box-shadow: none;
    outline: none;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input.is-invalid {
    background: #fffafb;
    border-color: #c46a7d;
    box-shadow: none;
    outline: none;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input.is-invalid:focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input.is-invalid:focus-visible {
    border-color: #9c5062;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.jrbs-consent.is-invalid .jrbs-checkbox {
    background: #fffafb;
    border-color: #c46a7d;
    box-shadow: none;
}

.jrbs-file-field {
    align-items: center;
    color: var(--jrbs-accent);
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    margin: 4px 0 2px;
    text-decoration: none;
    transition: color 160ms ease;
    width: fit-content;
}

.jrbs-file-field:hover,
.jrbs-file-field:focus-within {
    color: var(--jrbs-secondary);
}

.jrbs-file-field input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.jrbs-file-field small {
    color: var(--jrbs-muted);
    flex: 0 0 100%;
    font-size: 11px;
    font-weight: 400;
    padding-left: 24px;
    text-decoration: none;
}

.jrbs-file-icon {
    font-size: 18px;
    text-decoration: none;
    transition: transform 160ms ease;
}

.jrbs-file-field:hover .jrbs-file-icon,
.jrbs-file-field:focus-within .jrbs-file-icon {
    transform: translateY(-1px);
}


.jrbs-consents {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 4px;
    width: 100%;
}

.jrbs-consent {
    align-items: flex-start;
    color: var(--jrbs-text);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: 11px;
    line-height: 1.55;
    margin-top: 0;
    width: 100%;
}

.jrbs-consent-copy {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
}

.jrbs-consent input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.jrbs-checkbox {
    background: #fff;
    border: 1px solid #aeb0b4;
    border-radius: 6px;
    flex: 0 0 24px;
    height: 24px;
    margin-top: 0;
    position: relative;
    width: 24px;
}

.jrbs-consent input:checked + .jrbs-checkbox {
    background: var(--jrbs-accent);
    border-color: var(--jrbs-accent);
}

.jrbs-consent input:checked + .jrbs-checkbox::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    height: 11px;
    left: 8px;
    position: absolute;
    top: 4px;
    transform: rotate(45deg);
    width: 5px;
}

.jrbs-consent input:focus-visible + .jrbs-checkbox {
    border-color: var(--jrbs-secondary);
    box-shadow: none;
}

.jrbs-consent a {
    color: var(--jrbs-secondary);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.jrbs-document-missing {
    color: var(--jrbs-accent);
    font-weight: 500;
}

.jrbs-summary-card {
    background: var(--jrbs-soft);
    border-radius: 19px;
    padding: 21px 20px 18px;
}

.jrbs-summary-label {
    margin-bottom: 4px;
}

.jrbs-summary-date,
.jrbs-summary-service {
    color: var(--jrbs-text);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.35px;
    line-height: 1.35;
}

.jrbs-summary-date {
    margin-bottom: 27px;
}

.jrbs-summary-service-row {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.jrbs-summary-price {
    color: var(--jrbs-accent);
    flex: 0 0 auto;
    font-size: 25px;
    font-weight: 600;
}

.jrbs-summary-total-row {
    align-items: center;
    border-top: 1px solid rgba(90, 16, 39, .7);
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 21px;
}

.jrbs-summary-total-row span {
    color: var(--jrbs-muted);
    font-size: 16px;
}

.jrbs-summary-total-row strong {
    color: var(--jrbs-accent);
    font-size: 25px;
    font-weight: 600;
}

.jrbs-price-note,
.jrbs-invoice-note,
.jrbs-demo-note {
    color: var(--jrbs-text);
    font-size: 14px;
    line-height: 1.55;
    margin: 14px 0 0;
}

.jrbs-invoice-note {
    color: var(--jrbs-muted);
    margin-top: 4px;
}

.jrbs-demo-note {
    background: #fff8dd;
    border: 1px solid #ead58b;
    border-radius: 10px;
    color: #725c11;
    padding: 10px 12px;
}

.jrbs-thankyou,
.jrbs-payment-wait {
    display: flex;
    padding: 24px 22px 16px;
}

.jrbs-thankyou-card {
    align-items: center;
    background: var(--jrbs-soft);
    border-radius: 20px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 395px;
    padding: 35px 24px;
    text-align: center;
}

.jrbs-success-icon {
    align-items: center;
    display: flex;
    height: 112px;
    justify-content: center;
    margin-bottom: 30px;
    width: 112px;
}

.jrbs-success-icon svg {
    fill: none;
    height: 100%;
    overflow: visible;
    stroke: var(--jrbs-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
    width: 100%;
}

.jrbs-success-badge,
.jrbs-success-check {
    animation: jrbsDrawSuccess .72s cubic-bezier(.22, 1, .36, 1) both;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
}

.jrbs-success-check {
    animation-delay: .22s;
    stroke-dasharray: 14;
    stroke-dashoffset: 14;
    stroke-width: 2;
}

@keyframes jrbsDrawSuccess {
    to { stroke-dashoffset: 0; }
}

.jrbs-thankyou-card h3 {
    color: var(--jrbs-text);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.4px;
    line-height: 1.35;
    margin: 0 0 6px;
}

.jrbs-thankyou-card p {
    color: var(--jrbs-muted);
    font-size: 16px;
    margin: 0;
}

.jrbs-spinner {
    animation: jrbsSpin .8s linear infinite;
    border: 5px solid #dedde0;
    border-radius: 50%;
    border-top-color: var(--jrbs-accent);
    height: 60px;
    margin-bottom: 28px;
    width: 60px;
}

@keyframes jrbsSpin {
    to { transform: rotate(360deg); }
}

.jrbs-footer {
    align-items: center;
    border-top: 1px solid var(--jrbs-line);
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding: 15px 18px;
}

.jrbs-button {
    appearance: none;
    border-radius: 10px;
    cursor: pointer;
    flex: 1 1 0;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    min-height: 50px;
    padding: 11px 18px;
    transition: opacity .18s ease, transform .18s ease;
}

.jrbs-button:hover:not(:disabled) {
    opacity: .93;
    transform: translateY(-1px);
}

.jrbs-button:disabled {
    cursor: wait;
    opacity: .65;
}

.jrbs-button-primary {
    background: var(--jrbs-secondary);
    border: 1px solid var(--jrbs-secondary);
    color: #fff;
}

.jrbs-button-secondary {
    background: #fff;
    border: 1px solid var(--jrbs-accent);
    color: var(--jrbs-accent);
}

.jrbs-footer.is-single .jrbs-button-primary {
    flex-basis: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .jrbs-overlay,
    .jrbs-modal,
    .jrbs-trigger,
    .jrbs-button,
    .jrbs-success-badge,
    .jrbs-success-check,
    .jrbs-calendar {
        animation-duration: .01ms;
        transition-duration: .01ms;
    }
}

@media (max-width: 760px) {
    .jrbs-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .jrbs-modal {
        border-radius: 18px 18px 0 0;
        max-height: min(92vh, 720px);
        max-height: min(92dvh, 720px);
        max-width: none;
        transform: translateY(28px);
    }

    .jrbs-overlay.is-visible .jrbs-modal {
        transform: translateY(0);
    }

    .jrbs-header {
        min-height: 72px;
        padding: 14px 14px 14px 18px;
    }

    .jrbs-header h2 {
        font-size: 25px;
    }

    .jrbs-step {
        padding: 20px 18px 24px;
    }

    .jrbs-calendar-toolbar {
        flex-wrap: wrap;
    }

    .jrbs-select-wrap {
        flex-basis: calc(50% - 5px);
    }

    .jrbs-calendar-nav {
        flex-basis: 100%;
        gap: 8px;
        justify-content: flex-end;
        order: 3;
    }

    .jrbs-calendar-nav button {
        border: 1px solid var(--jrbs-line);
        border-radius: 8px;
        height: 38px;
        width: 44px;
    }

    .jrbs-slot {
        font-size: 14px;
        min-height: 36px;
        padding: 7px 9px;
    }

    .jrbs-calendar {
        min-height: 194px;
    }

    .jrbs-day-cell {
        height: 32px;
        padding: 1px 2px;
    }

    .jrbs-day-button {
        border-radius: 9px;
        font-size: 13px;
        height: 29px;
    }

    .jrbs-fields-row {
        flex-direction: column;
        gap: 14px;
    }

    .jrbs-consent {
        font-size: 13px;
        gap: 10px;
        line-height: 1.5;
    }

    .jrbs-checkbox {
        flex-basis: 22px;
        height: 22px;
        width: 22px;
    }

    .jrbs-consent input:checked + .jrbs-checkbox::after {
        left: 7px;
        top: 4px;
    }

    .jrbs-field-half {
        flex-basis: auto;
    }

    .jrbs-summary-date,
    .jrbs-summary-service {
        font-size: 20px;
    }

    .jrbs-summary-price,
    .jrbs-summary-total-row strong {
        font-size: 22px;
    }

    .jrbs-summary-service-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .jrbs-thankyou-card {
        min-height: 330px;
    }

    .jrbs-footer {
        padding: 15px 14px;
    }
}

@media (max-width: 420px) {
    .jrbs-weekdays span {
        font-size: 12px;
    }

    .jrbs-service-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .jrbs-service-price {
        font-size: 14px;
    }

    .jrbs-footer {
        flex-direction: column-reverse;
    }

    .jrbs-button {
        flex-basis: auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jrbs-widget *,
    .jrbs-widget *::before,
    .jrbs-widget *::after {
        animation-duration: .01ms;
        animation-iteration-count: 1;
        scroll-behavior: auto;
        transition-duration: .01ms;
    }
}


/* Final focus and autofill normalization. Kept at the end so Oxygen styles do not win the cascade. */
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:hover,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:focus-visible,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:active {
    box-shadow: none;
    -webkit-box-shadow: none;
    filter: none;
    outline: 0;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:focus-visible {
    background-color: #fff;
    border-color: var(--jrbs-secondary);
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input.is-invalid:focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input.is-invalid:focus-visible {
    background-color: #fffafb;
    border-color: #9c5062;
}

body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:-webkit-autofill,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:-webkit-autofill:hover,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:-webkit-autofill:focus,
body .jrbs-overlay .jrbs-modal .jrbs-form .jrbs-field input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--jrbs-text);
    caret-color: var(--jrbs-accent);
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: 0 0 0 1000px #fff inset;
}
