/* Shieldy reminder layout/banner polish r25 — UI only; no API/network changes. */

/* The reminder has the cabinet-wide save dock already. Keep the legacy local
   draft actions in DOM for compatibility with existing scripts, but never render them. */
#shieldy-reminder-foundation .sh-reminder-local-actions-hidden-r25,
#shieldy-reminder-foundation .sh-reminder-local-actions-r14[hidden]{
  display:none!important;
}

/* Premium layout: keep related controls aligned and give uploaded media its own row. */
#shieldy-reminder-foundation .sh-reminder-premium-controls-r9 .sh-auto-editor-grid{
  align-items:start!important;
  column-gap:14px!important;
  row-gap:13px!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-upload-field-r9.sh-reminder-banner-upload-r25{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  padding:12px!important;
  border:1px solid var(--sh-auto-border, #d0d7de)!important;
  border-radius:11px!important;
  background:var(--sh-auto-soft, #f6f8fa)!important;
  box-sizing:border-box!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-upload-field-r9.sh-reminder-banner-upload-r25 > label{
  display:block!important;
  margin-bottom:8px!important;
}
#shieldy-reminder-foundation .sh-reminder-banner-actions-r25{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0 0 8px!important;
}
#shieldy-reminder-foundation .sh-reminder-banner-actions-r25 > button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  height:36px!important;
  padding:0 13px!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-remove-r25{
  border-color:#cf222e!important;
  color:#cf222e!important;
  background:rgba(207,34,46,.04)!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-remove-r25:not(:disabled):hover,
#shieldy-reminder-foundation #sh-reminder-banner-remove-r25:not(:disabled):focus-visible{
  background:#cf222e!important;
  border-color:#cf222e!important;
  color:#fff!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-remove-r25:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
}
#shieldy-reminder-foundation #sh-reminder-banner-name-r9{
  display:block!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid var(--sh-auto-border, #d0d7de)!important;
  border-radius:8px!important;
  background:var(--sh-auto-surface, #fff)!important;
  color:var(--sh-auto-text, #1f2328)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
#shieldy-reminder-foundation .sh-reminder-banner-hint-r25{
  display:block!important;
  margin-top:5px!important;
  color:var(--sh-auto-muted, #6e7781)!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}

/* Prevent the browser native file row from reappearing if another stylesheet
   overrides the hidden attribute. The input remains programmatically clickable. */
#shieldy-reminder-foundation #sh-reminder-banner-upload-r9{
  display:none!important;
}

/* Header actions: keep Preview and Delete on one baseline at all widths. */
#shieldy-reminder-foundation .sh-reminder-head-actions-r21{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
#shieldy-reminder-foundation .sh-reminder-head-actions-r21 > button{
  min-height:36px!important;
  height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}

@media (max-width:720px){
  #shieldy-reminder-foundation .sh-reminder-banner-actions-r25{
    align-items:stretch!important;
  }
  #shieldy-reminder-foundation .sh-reminder-banner-actions-r25 > button{
    flex:1 1 150px!important;
  }
}
