/* Email notifications + backup center */
.notifications-admin-page {
  max-width: 1680px;
  width: min(1680px, 98vw);
}

.notification-layout {
  grid-template-columns: minmax(360px, .75fr) minmax(0, 1.25fr);
  align-items: start;
}

.notification-settings-panel,
.notification-events-panel {
  border-radius: 30px;
}

.switch-card,
.mini-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fbfdff;
  border-radius: 18px;
  padding: 13px;
  cursor: pointer;
}

.switch-card input,
.mini-switch input {
  width: 18px;
  height: 18px;
  accent-color: #1c7c54;
}

.switch-card strong,
.switch-card small {
  display: block;
}

.switch-card small {
  color: #64748b;
  margin-top: 3px;
  font-weight: 700;
}

.notification-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 14px;
}

.notification-event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(28,124,84,.08), transparent 34%),
    #fff;
  box-shadow: 0 12px 32px rgba(16,24,40,.05);
}

.notification-event-card strong,
.notification-event-card small {
  display: block;
}

.notification-event-card small {
  color: #64748b;
  margin-top: 4px;
  font-weight: 800;
}

.notification-event-card .mini-switch {
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
}

.notification-log-table,
.backup-log-table {
  min-width: 900px;
}

.backup-log-table small {
  display: block;
  color: #b42318;
  margin-top: 4px;
}

@media (max-width: 1050px) {
  .notification-layout {
    grid-template-columns: 1fr;
  }
}


.smtp-settings-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(28,124,84,.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(28,124,84,.08), transparent 32%),
    #fff;
}

.smtp-settings-card .section-head.tight {
  margin-bottom: 0;
  align-items: start;
}

.smtp-fields {
  display: grid;
  gap: 13px;
}

.smtp-fields[hidden] {
  display: none !important;
}

#smtpSavedPasswordNote {
  margin: 0;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
}
