.chat-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;

  width: min(380px, calc(100vw - 32px));

  display: flex;
  align-items: flex-start;
  gap: 13px;

  padding: 15px 16px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);

  opacity: 0;
  transform: translateY(-12px) scale(0.98);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.chat-notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chat-notice.is-hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.chat-notice-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;
}

.chat-notice-icon svg {
  width: 19px;
  height: 19px;
}

.chat-notice-content {
  flex: 1;
  min-width: 0;
}

.chat-notice-title {
  display: block;

  margin: 1px 0 4px;

  font-size: 14px;
  font-weight: 700;

  color: #111827;
}

.chat-notice-message {
  margin: 0;

  font-size: 13px;
  line-height: 1.5;

  color: #6b7280;
}

.chat-notice-close {
  width: 30px;
  height: 30px;

  flex: 0 0 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  border-radius: 8px;

  background: transparent;
  color: #9ca3af;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.chat-notice-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.chat-notice-close svg {
  width: 16px;
  height: 16px;
}


/* SUCCESS */

.chat-notice-success {
  border-color: #bbf7d0;
}

.chat-notice-success .chat-notice-icon {
  background: #dcfce7;
  color: #16a34a;
}


/* WARNING */

.chat-notice-warning {
  border-color: #fde68a;
}

.chat-notice-warning .chat-notice-icon {
  background: #fef3c7;
  color: #d97706;
}


/* ERROR */

.chat-notice-error {
  border-color: #fecaca;
}

.chat-notice-error .chat-notice-icon {
  background: #fee2e2;
  color: #dc2626;
}


/* INFO */

.chat-notice-info {
  border-color: #bfdbfe;
}

.chat-notice-info .chat-notice-icon {
  background: #dbeafe;
  color: #2563eb;
}


/* MOBILE */

@media (max-width: 600px) {

  .chat-notice {
    top: 14px;
    right: 16px;
    left: 16px;

    width: auto;
  }

}
.page-skeleton {
  min-height: 100vh;
  background: var(--color-surface);
  overflow: hidden;
}

.skeleton-topbar {
  height: 66px;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.skeleton-content {
  padding: 20px 18px 100px;
}

.skeleton-welcome,
.skeleton-title,
.skeleton-card,
.skeleton-row {
  position: relative;
  overflow: hidden;
  background: #e8edf5;
}

.skeleton-welcome::after,
.skeleton-title::after,
.skeleton-card::after,
.skeleton-row::after,
.skeleton-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: skeleton-shimmer 1.4s infinite;
}

.skeleton-welcome {
  height: 150px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.skeleton-title {
  width: 160px;
  height: 20px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.skeleton-title-small {
  margin-top: 28px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.skeleton-card {
  height: 125px;
  border-radius: 16px;
}

.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-row {
  height: 72px;
  border-radius: 14px;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 420px) {
  .skeleton-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .skeleton-grid {
    gap: 10px;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  box-shadow: 0 6px 18px rgba(18, 53, 120, 0.22);
}
.topbar-brand-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar-chat-icon {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.topbar-chat-icon .icon,
.topbar-chat-icon svg {
  width: 16px;
  height: 16px;
}

.topbar-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.topbar-tagline {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
  margin-top: 3px;
}
.topbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.topbar-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--color-white);
}

.topbar-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

.topbar-icon-btn .icon svg {
  width: 18px;
  height: 18px;
}

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.dashboard-skeleton {
  min-height: 100vh;
  background: var(--color-background, #f5f7fb);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e8ecf2;
  border-radius: 10px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Topbar */

.skeleton-topbar {
  height: 64px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
}

.skeleton-brand {
  width: 110px;
  height: 25px;
  background: rgba(255, 255, 255, 0.18);
}

.skeleton-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

/* Welcome */

.skeleton-welcome {
  height: 150px;
  margin: 16px;
  border-radius: var(--radius-md);
}

/* Sections */

.skeleton-section {
  margin: 22px 16px;
}

.skeleton-title {
  width: 125px;
  height: 18px;
  margin-bottom: 12px;
}

/* Cards */

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.skeleton-card {
  height: 125px;
  border-radius: var(--radius-md);
}

/* Transactions */

.skeleton-transactions {
  background: var(--color-white, #fff);
  padding: 8px 14px;
  border-radius: var(--radius-md);
}

.skeleton-transaction {
  height: 58px;
  margin: 8px 0;
  border-radius: 9px;
}

/* Mobile */

@media (max-width: 480px) {
  .skeleton-grid {
    gap: 10px;
  }

  .skeleton-card {
    height: 115px;
  }
}

.transactions-empty {
  min-height: 190px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  list-style: none;
}

.transactions-empty-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
}

.transactions-empty-icon .icon,
.transactions-empty-icon svg {
  width: 25px;
  height: 25px;
}

.transactions-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
}

.transactions-empty-text {
  max-width: 280px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
}