/* Notification Permission */

.np-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.np-side,
.np-main {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  padding: 16px;
}

.np-side {
  background: #f5f7f9;
}

.np-side h2,
.np-main h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.np-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.np-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-align: left;
}

.np-cat:hover { background: rgba(255,255,255,.7); }
.np-cat.is-active { color: #25b7a7; background: #fff; }

.np-switch {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex-shrink: 0;
  transition: background .15s;
}

.np-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .15s;
  box-shadow: 0 1px 3px rgba(15,23,42,.2);
}

.np-switch.is-on { background: #25b7a7; }
.np-switch.is-on::after { transform: translateX(16px); }

.np-table-wrap {
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.np-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 13px;
}

.np-table th {
  background: #f8fafc;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  color: #334155;
  font-weight: 700;
}

.np-table td {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  color: #1e293b;
}

.np-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #25b7a7;
}

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