body {
  background-color: rgba(248, 247, 247, 1);
}

.permissions-title {
  color: rgba(39, 58, 65, 1);
  font-size: 26px;
  font-weight: 800;
}

.permissions-card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(8, 15, 52, 0.06);
}

.permissions-card .form-label {
  font-size: 13px;
  color: #374151;
  font-weight: 700;
}

.permissions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
}

.permissions-group-title {
  font-weight: 800;
  color: rgba(39, 58, 65, 1);
  font-size: 14px;
  margin: 14px 0 10px;
}

.permission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(8, 15, 52, 0.06);
}

.permission-item label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.roles-table {
  margin-bottom: 0;
}

.roles-table thead th {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 800;
  font-size: 13px;
  color: rgba(39, 58, 65, 1);
  white-space: nowrap;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(183, 146, 79, 0.12);
  color: rgba(183, 146, 79, 1);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 991.98px) {
  .permissions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .permissions-grid {
    grid-template-columns: 1fr;
  }
}

