/* Scoped to reservation rows and the reservation detail dialog. */
#view-mine .mine-actions { gap:8px; }
#view-mine .mine-actions button {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:6px 12px;border:1px solid var(--brand-border);
  border-radius:8px;background:var(--brand-soft);color:var(--brand-text);
  font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;
}
#view-mine .mine-actions button:hover:not(:disabled) { background:var(--brand-border); }
#view-mine .mine-actions .danger-text {
  background:#fff2f1;border-color:#f0d6d2;
}
#view-mine .mine-actions .danger-text:hover:not(:disabled) { background:#ffe5e2;border-color:#e8bdb7; }
/* Equal compact heights keep the footer on one row at the standard dialog width. */
#event-modal :is(.primary-button,.secondary-button,.text-button,.danger-button) {
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:34px;padding:7px 11px;border-radius:8px;
  font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;
  box-shadow:none;
}
#event-modal .primary-button:hover { transform:none; }
#event-actions { gap:8px;align-items:center;margin-top:0; }
#event-actions > .primary-button { order:3; }
#event-actions > .secondary-button { order:1;background:#f6f7fa;border:1px solid #e4e6ed;color:#50566a; }
#event-actions > .secondary-button:hover:not(:disabled) { background:#eceef4;border-color:#d3d8e3; }
#event-actions > .danger-text { order:0;margin-right:auto;background:#fff2f1;border:1px solid #f0d6d2; }
#event-actions > .danger-text:hover:not(:disabled) { background:#ffe5e2;border-color:#e8bdb7; }
#event-actions .event-hint { margin-right:auto;padding:5px 0; }
#event-actions .invitation-actions { order:4;gap:8px;padding-top:12px; }
#event-modal .event-confirm .text-button { background:#fff;border:1px solid #ead5d2;color:#626579; }
#event-modal :is(.primary-button,.secondary-button,.text-button,.danger-button):disabled {
  background:#f0f1f5;border:1px solid #e4e6ec;color:#878c9c;cursor:not-allowed;opacity:.65;
}
#event-modal button.danger-text:disabled { color:#878c9c !important; }
#view-mine .mine-actions button:focus-visible,#event-modal button:focus-visible { outline:2px solid var(--brand-text);outline-offset:3px; }
@media(prefers-reduced-motion:no-preference) {
 #view-mine .mine-actions button,#event-actions > button { transition:background-color .15s,border-color .15s; }
}
@media(max-width:700px) {
 #view-mine .mine-actions button { min-height:38px;padding:8px 14px; }
 #event-modal :is(.primary-button,.secondary-button,.text-button,.danger-button) { min-height:40px;padding:8px 11px; }
 #event-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
 #event-actions > button { width:100%;margin:0; }
 #event-actions .event-hint,#event-actions .invitation-actions { grid-column:1/-1; }
 #event-actions .invitation-actions { display:flex; }
}
/* Booking drawer footer: compact actions with a clear secondary cancel button. */
#drawer-booking-view .modal-actions { align-items:center;gap:10px;padding-top:12px;padding-bottom:12px; }
#drawer-booking-view .modal-actions > button {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:8px 14px;border-radius:8px;
  font-size:12px;font-weight:600;line-height:1.4;box-shadow:none;
}
#drawer-booking-view #cancel-booking { border:1px solid #e1e4ec;background:#f3f4f8;color:#555c6e; }
#drawer-booking-view #cancel-booking:hover { background:#e9ecf2;border-color:#d0d6e1; }
#drawer-booking-view #booking-submit { border:1px solid transparent; }
#drawer-booking-view #booking-submit:hover { transform:none; }
#drawer-booking-view .modal-actions > button:focus-visible { outline:2px solid var(--brand-text);outline-offset:3px; }
@media(max-width:700px) {
  #drawer-booking-view .modal-actions > button { min-height:40px;padding:9px 15px; }
}
