.notification-test {
  border-bottom: 1px solid #dce2e8;
  border-top: 1px solid #dce2e8;
  margin: 24px 0;
  padding: 22px 0;
}

.notification-test h3 {
  color: #183960;
  margin: 0 0 8px;
}

.portal-notice {
  background: #173b69;
  border-radius: 7px;
  bottom: 20px;
  box-shadow: 0 8px 28px #0004;
  color: white;
  font-weight: 700;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 17px;
  position: fixed;
  right: 20px;
  z-index: 1000;
}

.portal-notice.error { background: #922f2f; }
.portal-notice[hidden] { display: none; }
.primary-action:disabled { cursor: wait; opacity: .7; }

.auth-form { display: grid; gap: 16px; margin: 22px 0; }
.auth-form label { color: #183960; font-size: 14px; font-weight: 700; }
.auth-form input { box-sizing: border-box; display: block; font-size: 17px; margin-top: 8px; padding: 13px 14px; width: 100%; border: 1px solid #acbac9; border-radius: 5px; }
.auth-form input:focus { border-color: #1d3f73; outline: 3px solid #1d3f7322; }
.auth-form .primary-action { margin: 0; }
.text-action { background: transparent; border: 0; color: #1d3f73; cursor: pointer; font-weight: 700; margin: 8px auto 0; padding: 8px; text-decoration: underline; }
.signed-in-email { background: #eef3f8; border-radius: 5px; color: #183960; font-weight: 700; padding: 12px 14px; overflow-wrap: anywhere; }
.status-expired { background: #fce6e2; color: #a02c20; }
.doc-controls { flex-wrap: wrap; justify-content: flex-end; }
.doc-controls .expiry-field { color: #3c5067; display: grid; font-size: 12px; font-weight: 700; gap: 4px; }
.doc-controls .expiry-field input { border: 1px solid #bcc9d7; border-radius: 5px; color: #183960; font: 15px Roboto, sans-serif; min-height: 36px; padding: 4px 7px; }
.expiry-save { background: white; border: 1px solid #1d3f73; border-radius: 5px; color: #1d3f73; cursor: pointer; font: 700 13px Roboto, sans-serif; padding: 10px 12px; }
.expiry-save:disabled { opacity: .6; }
@media(max-width:700px) { .doc-controls { justify-content: flex-start; } .doc-controls .expiry-field { width: 100%; } .doc-controls .expiry-field input { max-width: 220px; } }
.reminder-panel { margin-top: 28px; }
.reminder-run { background: #eef3f8; border-radius: 5px; color: #183960; margin: 18px 0; padding: 13px 15px; }
.reminder-run strong, .reminder-run span { display: block; }
.reminder-run span { font-size: 14px; margin-top: 5px; }
.reminder-list { border-top: 1px solid #e2e6eb; margin-top: 22px; }
.reminder-row { align-items: center; border-bottom: 1px solid #e2e6eb; display: flex; gap: 16px; justify-content: space-between; padding: 15px 0; }
.reminder-row strong, .reminder-row span { display: block; }
.reminder-row span, .reminder-row small { color: #586a7e; margin-top: 5px; }
.reminder-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
@media(max-width:700px) { .reminder-row { align-items: flex-start; flex-direction: column; gap: 4px; } }
