html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: #f7f9fc;
}

.has-app-header {
  padding-top: 64px;
}

#app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  z-index: 1200;
  backdrop-filter: blur(6px);
}

#app-header .header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e2a38;
  text-decoration: none;
}

#app-header .header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

#app-header .header-logo span {
  line-height: 1;
}

#app-header .header-user {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e2a38;
  text-align: right;
}

#app-header .header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

#app-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#app-header .header-account,
#app-header .header-logout {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#app-header .header-account {
  background-color: #e3eaf3;
  color: #1e2a38;
}

#app-header .header-account:hover,
#app-header .header-account.active {
  background-color: #cfd9ea;
}

#app-header .header-logout {
  background-color: #ff6b6b;
  color: #fff;
}

#app-header .header-logout:hover {
  background-color: #e25555;
}

/* Skeleton utility */
.skeleton-block {
  background-color: #e5ebf3;
  background-image: linear-gradient(
    90deg,
    rgba(229, 235, 243, 0),
    rgba(255, 255, 255, 0.7),
    rgba(229, 235, 243, 0)
  );
  background-size: 200px 100%;
  animation: skeleton-shimmer 1.1s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}
