/* One action-button surface across the reservation flow. Layout widths stay with each component. */
body.fazicars-reservation {
  --fc-button-shadow: inset 0 1px #fff8,0 2px 1px #ac89001f,0 8px 15px -10px #92740066;
  --fc-button-shadow-hover: inset 0 1px #fff9,0 2px 2px #ac89001f,0 10px 18px -10px #92740066;
  --fc-button-neutral-shadow: inset 0 1px #fff,0 1px 2px #17212b0a,0 6px 12px -10px #17212b26;
  --fc-button-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable) {
  --fc-button-bg: var(--fc-yellow);
  --fc-button-hover-bg: #f5c800;
  --fc-button-border: #ecc100;
  --fc-button-ink: #171711;
  --fc-button-depth: var(--fc-button-shadow);
  --fc-button-hover-depth: var(--fc-button-shadow-hover);
  box-sizing: border-box;
  border: 1px solid var(--fc-button-border) !important;
  border-radius: 10px !important;
  background: var(--fc-button-bg) !important;
  color: var(--fc-button-ink) !important;
  box-shadow: var(--fc-button-depth) !important;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  text-transform: none;
  cursor: pointer;
  transition: background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.fazicars-reservation :is(#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable) {
  --fc-button-bg: #fff;
  --fc-button-hover-bg: #fffdf4;
  --fc-button-border: #d8dde1;
  --fc-button-ink: #41484e;
  --fc-button-depth: var(--fc-button-neutral-shadow);
  --fc-button-hover-depth: inset 0 1px #fff,0 2px 3px #17212b0a,0 8px 14px -10px #17212b33;
}
/* Full-size actions use the proportions of the approved "Przejdź do danych" button. */
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call):not(.fc-header-call):where(:not(#fc-dock-edit)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px !important;
  padding: 14px 18px !important;
  font-size: 13px !important;
  text-align: center;
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button) {
  justify-content: space-between !important;
  text-align: left;
}
body.fazicars-reservation :is(#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px !important;
  padding: 12px 16px;
  font-size: 12px !important;
}
body.fazicars-reservation :is(#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.rcs-calendar-summary .button):not(:has(svg,i))::after {
  content: '';
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--fc-button-arrow) center / contain no-repeat;
  -webkit-mask: var(--fc-button-arrow) center / contain no-repeat;
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button) > svg:last-child,
body.fazicars-reservation :is(#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.rcs-calendar-summary .button)::after {
  flex-shrink: 0;
  transition: transform .18s ease;
}
/* Preserve the phone animation, with the same yellow surface as the other actions. */
body.fazicars-reservation .fc-header-call::before { display: none; }
body.fazicars-reservation #fc-dock-edit { font-size: 12px; }
/* Compact utility controls share the finish, keeping their calendar/chip dimensions. */
body.fazicars-reservation :is(.fc-filter-chip,.fc-month-toolbar button,.rcs-calendar-thead-controls button) {
  border-radius: 9px;
  box-shadow: var(--fc-button-neutral-shadow);
  transition: background-color .18s ease,border-color .18s ease,transform .18s ease;
}
body.fazicars-reservation :is(.fc-time-slot.is-selected,.fc-day.is-selected,.rcs-calendar-day[aria-pressed=true]) {
  box-shadow: inset 0 1px #fff8,0 2px 3px #ac890014;
}
@media (hover: hover) and (pointer: fine) {
  body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover {
    background: var(--fc-button-hover-bg) !important;
    box-shadow: var(--fc-button-hover-depth) !important;
    transform: translateY(-1px);
  }
  body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover > svg:last-child,
  body.fazicars-reservation :is(#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.rcs-calendar-summary .button):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover::after {
    transform: translateX(3px);
  }
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):active {
  background: var(--fc-button-hover-bg) !important;
  box-shadow: inset 0 2px 3px #5b480014,0 1px 2px #17212b0a !important;
  transform: translateY(1px);
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable):is(:disabled,[aria-disabled=true],[aria-busy=true]) {
  box-shadow: none !important;
  transform: none;
  opacity: .58;
  cursor: not-allowed;
}
body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable):is([aria-disabled=true],[aria-busy=true]) { cursor: wait; }
body.fazicars-reservation .fc-unavailable:disabled {
  --fc-button-bg: #f0f1f2;
  --fc-button-ink: #777e84;
  opacity: 1;
}
@media (max-width: 600px) {
  body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call):not(.fc-header-call):where(:not(#fc-dock-edit)) {
    padding: 12px 16px !important;
    gap: 12px;
  }
  body.fazicars-reservation #dodatki-outer .fc-extras-dock a.green {
    min-height: 48px !important;
    padding: 12px !important;
    gap: 8px;
    font-size: 12px !important;
  }
  body.fazicars-reservation #fc-term-dialog .fc-picker-footer :is(.fc-picker-apply,.fc-picker-cancel) {
    min-height: 48px !important;
    padding: 12px 14px !important;
    font-size: 12px !important;
  }
  body.fazicars-reservation #fc-dock-edit { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,#fc-dock-edit,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button,.rcs-calendar-retry,.fc-search-retry,.fazi-addon-status button,.fc-header-call,#fc-load-more,#logout-user,#fc-filters-reset,#pass-cancel,#new-pass-cancel,.fc-picker-cancel,.sprawdz,.fc-unavailable),
  body.fazicars-reservation :is(.fc-filter-chip,.fc-month-toolbar button,.rcs-calendar-thead-controls button),
  body.fazicars-reservation :is(#change-dates,#pokaz-wyniki,#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.fc-book,.rezerwuj,a.green,.rcs-calendar-summary .button) > svg:last-child,
  body.fazicars-reservation :is(#login-button,#save-reservation,#send-pass,#new-pass-save,.fc-picker-apply,.rcs-calendar-summary .button)::after { transition: none; }
}

