/* Smaller buttons for JR Shared Memories Manager
   Scoped to .jr-smm-* to avoid sitewide side-effects.
*/

.jr-smm-table .jr-smm-col-actions{
  white-space: nowrap;
}

.jr-smm-table .jr-smm-btn,
.jr-smm-table a.jr-smm-btn,
.jr-smm-table button.jr-smm-btn,
.jr-smm-table input.jr-smm-btn{
  font-size: 14px !important;
  line-height: 1.1 !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  min-height: 40px !important;
  min-width: 0 !important;
  box-shadow: none !important;
}

/* Forms/buttons created by the manager plugin */
.jr-smm-table .jr-smm-revoke button,
.jr-smm-table .jr-smm-hide button,
.jr-smm-table .jr-smm-revoke input[type="submit"],
.jr-smm-table .jr-smm-hide input[type="submit"]{
  font-size: 14px !important;
  line-height: 1.1 !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  min-height: 40px !important;
}

/* Tighten spacing between action buttons */
.jr-smm-table .jr-smm-col-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* On small screens, allow wrapping */
@media (max-width: 520px){
  .jr-smm-table .jr-smm-col-actions{
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
