 =========================
   TOP HEADER
   ========================= 
.top-header {
  width: 100%;
  min-height: 78px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 100;
}

 =========================
   LEFT SIDE
   ========================= 
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.hamburger-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111827;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.page-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.page-breadcrumb {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

 =========================
   RIGHT SIDE
   ========================= 
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

 =========================
   SEARCH BAR
   ========================= 
.search-bar {
  position: relative;
  width: 320px;
  max-width: 100%;
  flex-shrink: 1;
}

.search-input {
  width: 100%;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
  padding: 0 44px 0 42px;
  font-size: 14px;
  color: #111827;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
}

.search-shortcut {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #9ca3af;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 3px 7px;
  line-height: 1;
}

 =========================
   DATE RANGE
   ========================= 
.date-range-selector {
  position: relative;
  min-width: 180px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #111827;
  transition: all 0.2s ease;
}

.date-range-selector:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.date-range-text {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}

.date-caret {
  font-size: 12px;
  color: #6b7280;
  margin-left: auto;
}

 dropdown 
.date-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(17, 24, 39, 0.12);
  padding: 8px;
  display: none;
  z-index: 200;
}

.date-range-selector:hover .date-dropdown {
  display: block;
}

.date-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.date-option {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: background 0.2s ease;
}

.date-option:hover,
.date-option.active {
  background: #eff6ff;
  color: #2563eb;
}

 =========================
   BUTTONS
   ========================= 
.btn-export {
  height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-export:hover {
  background: #1f2937;
}

 =========================
   ICON BUTTON
   ========================= 
.icon-btn {
  width: 46px;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111827;
  position: relative;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.notification-btn {
  flex-shrink: 0;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #ffffff;
}

 =========================
   HEADER USER
   ========================= 
.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
}

.header-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.header-user-meta div:first-child {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.header-user-meta div:last-child {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

.header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

 =========================
   RESPONSIVE
   ========================= 
@media (max-width: 1200px) {
  .top-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .header-left,
  .header-right {
    width: 100%;
  }

  .header-right {
    justify-content: flex-start;
  }

  .search-bar {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 14px 16px;
    gap: 14px;
  }

  .page-title {
    font-size: 20px;
  }

  .page-breadcrumb {
    font-size: 12px;
  }

  .header-right {
    gap: 10px;
  }

  .search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .date-range-selector {
    min-width: 150px;
    padding: 0 12px;
  }

  .btn-export span {
    display: none;
  }

  .btn-export {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .header-user-meta {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-header {
    padding: 12px;
  }

  .hamburger-btn,
  .icon-btn,
  .btn-export,
  .header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .search-input,
  .date-range-selector {
    height: 42px;
  }

  .page-title {
    font-size: 18px;
  }

  .date-range-text {
    font-size: 13px;
  }
}