/* ============================================================================
   Dashboard Header Styles
   ============================================================================ */
.dash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 244, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35, 44, 62, 0.12);
}

.dash-header-inner {
  padding: 18px clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.dash-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-header-greeting {
  font-size: 12px;
  color: rgba(31, 36, 48, 0.55);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dash-header-title {
  font-size: 22px;
  font-weight: 600;
  color: #1f2430;
  letter-spacing: -0.3px;
}

.dash-header-middle {
  display: flex;
  justify-content: center;
}

.dash-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(35, 44, 62, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 24px rgba(23, 36, 60, 0.08);
}

.dash-search-icon {
  color: rgba(31, 36, 48, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dash-search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: #1f2430;
}

.dash-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.dash-header-date {
  font-size: 12px;
  color: rgba(31, 36, 48, 0.55);
  white-space: nowrap;
}

.dash-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dash-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
}

.dash-user-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dash-user-avatar--fallback svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dash-user-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 36, 48, 0.75);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-logout {
  border: 1px solid rgba(53, 102, 244, 0.2);
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(53, 102, 244, 0.12);
  color: #2f63f2;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dash-logout:hover {
  background: rgba(53, 102, 244, 0.18);
  box-shadow: 0 10px 20px rgba(23, 36, 60, 0.12);
  transform: translateY(-1px);
}

.dash-logout-red {
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.dash-logout-red:hover {
  background: rgba(220, 38, 38, 0.18);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}
