:root {
  --purple-theme: #6347f9;
  --purple-light: #f6f5ff;
  --purple-hover: #5035e4;
  --border-color: #e2dfff;
  --text-muted: #757575;
}
.header_menu {
  padding-bottom: 24px;
}

.content__nav {
  min-height: 56px;
  gap: 16px;
}

/* =========================
   PAGE
========================= */

.notification-page {
  width: 100%;

  display: flex;
  flex-direction: column;

  padding: 20px 28px 0;

  font-size: 14px;

  overflow: hidden;
}

/* =========================
   FILTER TAB
========================= */

.notification-filter {
  gap: 10px;
  margin-bottom: 18px !important;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.notification-filter::-webkit-scrollbar {
  display: none;
}

.notification-filter .nav-link {
  border: none;

  border-radius: 12px;

  padding: 8px 18px;

  font-size: 14px;
  font-weight: 500;

  color: #4b5563;

  background: transparent;

  transition: all 0.2s ease;
}

.notification-filter .nav-link:hover {
  background: #f3f4f6;
  color: #111827;
}

.notification-filter .nav-link.active {
  background: linear-gradient(
          135deg,
          #7c3aed 0%,
          #2563eb 100%
  );

  color: white;

  box-shadow:
          0 4px 12px rgba(124, 58, 237, 0.25);
}

/* =========================
   SEARCH
========================= */

.search-box input {
  height: 42px;

  border-radius: 12px;

  border: 1px solid #e5e7eb;

  padding: 0 16px;

  font-size: 14px;

  transition: 0.2s ease;
}

.search-box input:focus {
  border-color: #7c3aed;

  box-shadow:
          0 0 0 4px rgba(124, 58, 237, 0.08);

  outline: none;
}

/* =========================
   LIST
========================= */

.notification-list {
  overflow-y: auto;

  max-height: calc(100vh - 220px);

  padding-right: 4px;
  padding-bottom: 20px;

  scrollbar-width: thin;
}

/* =========================
   ITEM
========================= */

.notification-item {
  position: relative;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 14px;

  padding: 18px 20px;

  margin-bottom: 14px;

  border-radius: 18px;

  background: #ffffff;

  border: 1px solid #f1f3f5;

  transition:
          transform 0.18s ease,
          box-shadow 0.18s ease,
          background 0.18s ease;
}

.notification-item:hover {
  transform: translateY(-1px);

  box-shadow:
          0 6px 18px rgba(15, 23, 42, 0.06);

  background: #fcfcff;
}

/* =========================
   UNREAD
========================= */

.notification-item.unread {
  background: #f8f5ff;

  border-left: 4px solid #7c3aed;
}

.notification-item.unread::after {
  content: "";

  position: absolute;

  top: 18px;
  right: 18px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #7c3aed;
}

/* =========================
   CHECKBOX
========================= */

.notification-item input[type="checkbox"] {
  margin-top: 14px;

  transform: scale(1.1);

  cursor: pointer;
}

/* =========================
   IMAGE
========================= */

.notification-image {
  width: 60px;
  height: 60px;

  min-width: 60px;

  border-radius: 16px;

  overflow: hidden;

  background: #f3f4f6;

  border: 1px solid #ececec;

  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.notification-image.default {
  font-size: 22px;
}

/* =========================
   CONTENT
========================= */

.notification-content {
  display: flex;
  flex-direction: column;

  gap: 6px;

  min-width: 0;
}

/* =========================
   META
========================= */

.notification-meta {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 13px;

  color: #8b5cf6;

  font-weight: 500;
}

/* =========================
   TITLE
========================= */

.notification-title {
  font-size: 15px;

  font-weight: 600;

  color: #111827;

  line-height: 1.45;
}

/* =========================
   DESCRIPTION
========================= */

.notification-description {
  font-size: 14px;

  color: #6b7280;

  line-height: 1.6;

  display: -webkit-box;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;

  text-overflow: ellipsis;
}

/* =========================
   DROPDOWN
========================= */

.notification-item .dropdown button {
  width: 36px;
  height: 36px;

  border: none;

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;

  color: #6b7280;

  transition: 0.18s ease;
}

.notification-item .dropdown button:hover {
  background: #f3f4f6;

  color: #111827;
}

/* =========================
   EMPTY
========================= */

.empty-notification {
  padding: 60px 20px;

  text-align: center;

  color: #9ca3af;

  font-size: 15px;
}

/* =========================
   MARK ALL
========================= */

#markAll {
  transform: scale(1.15);

  cursor: pointer;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .notification-page {
    padding: 14px;
  }

  .notification-item {
    padding: 16px;
  }

  .notification-image {
    width: 52px;
    height: 52px;

    min-width: 52px;
  }

  .notification-title {
    font-size: 14px;
  }

  .notification-description {
    font-size: 13px;
  }

  .notification-filter .nav-link {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* phân trang pagination  */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination li {
  list-style: none;
}

/* Nút tròn */
.pagination button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover */
.pagination button:hover:not(:disabled) {
  background: #f0f4ff;
  border-color: #3f51b5;
  color: #3f51b5;
}

/* Active (trang hiện tại) */
.pagination button.active {
  background: #3f51b5;
  color: #fff;
  border-color: #3f51b5;
  box-shadow: 0 3px 8px rgba(63, 81, 181, 0.3);
}

/* Disabled */
.pagination button:disabled {
  background: #f5f5f5;
  color: #bbb;
  cursor: not-allowed;
}

/* Prev / Next */
.pagination button.nav {
  font-size: 16px;
}

/* filter , mark read */
/* Định dạng các Dropdown (Thời gian, Sắp xếp) */
/* Định dạng chung cho các hàng */
.filter-row {
  width: 98%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Xử lý Dòng 1 để ô Tìm kiếm to ra */
.row-top .left-group {
  display: flex;
  align-items: center;
  flex: 1; /* Chiếm tối đa không gian trống bên trái */
  max-width: 60%; /* Giới hạn thanh tìm kiếm không bị quá dài trên màn hình siêu lớn */
  gap: 20px;
}

.row-top h2 {
  margin: 0;
  white-space: nowrap;
}

.search-wrapper {
  flex: 1; /* Ép ô input chiếm hết không gian còn lại của left-group */
}

.search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Gom cụm các bộ lọc bên phải */
.right-group, .action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Định dạng các thẻ Select / Dropdown cho đồng bộ */
.select-filter {
  padding: 10px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

/* Group nút bấm "Tất cả / Chưa đọc" */
.status-tabs {
  display: flex;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 8px;
}

.btn-status {
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-status.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-weight: 600;
}

.badge {
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 11px;
}
/* Custom cho ô tìm kiếm nổi bật */
.search-input {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
  transition: all 0.2s ease-in-out;
}
.search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Nút trạng thái active tùy biến */
.active-custom {
  background-color: #fff !important;
  font-weight: 600;
  color: #4f46e5 !important;
}

/* Con trỏ chuột dạng chọn lựa cho label */
.cursor-pointer {
  cursor: pointer;
}

/* Định dạng ô input date ẩn viền thô mặc định */
.date-range-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
.date-range-group input[type="date"]:focus {
  outline: none;
  box-shadow: none;
}