.table tbody td {
  border-bottom: none !important;
  border-top: none !important;
  vertical-align: middle !important;
}

.table-notifications th.status {
  padding: 12px 5px;
  width: 30px;
}

.table-notifications td.status {
  padding: 10px 5px;
  text-align: right;
}

.table-notifications th.site {
  width: 240px;
}

.table-notifications th.triggered-by {
  width: 240px;
}

.table-notifications th.date {
  width: 220px;
}

.table-notifications th.actions,
.table-notifications td.actions {
  width: 40px;
  text-align: center;
}

.notification-row {
  cursor: default;
  border-top: 1px solid #E4E4E7 !important;
}

.notification-row:first-of-type {
  border-top: none !important;
}

html.dark .notification-row {
  border-top-color: #3F3F46 !important;
}

.notification-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #71717A;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
}

html.dark .notification-expand-btn {
  color: #A1A1AA;
}

.notification-expand-btn:hover {
  background-color: #F4F4F5;
  color: #18181B;
}

html.dark .notification-expand-btn:hover {
  background-color: #3F3F46;
  color: #FAFAFA;
}

.notification-expand-btn i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.notification-expand-btn.expanded i {
  transform: rotate(180deg);
}

.notification-detail-row,
.notification-error-row {
  animation: slideDown 0.2s ease-out;
}

.notification-detail-row td,
.notification-error-row td {
  padding: 16px !important;
  border-top: none !important;
  border-bottom: none !important;
}

html.dark .notification-detail-row td,
html.dark .notification-error-row td {
  background-color: #18181B !important;
}

.notification-detail-content {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 13px;
}

.notification-detail-content pre {
  margin: 0;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 6px;
  color: #18181B;
  line-height: 1.6;
}

html.dark .notification-detail-content pre {
  background-color: #09090B;
  border-color: #27272A;
  color: #FAFAFA;
}

.notification-error-subtitle {
  margin-bottom: 12px;
  padding: 0 16px;
  color: #71717A;
  font-size: 14px;
  line-height: 1.5;
}

html.dark .notification-error-subtitle {
  color: #A1A1AA;
}

.alert-container {
  padding: 0 16px 16px 16px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}