/**
 * แถบแจ้งเตือนมุมล่างขวา — หลังสมัครแบรนด์สำเร็จ ให้ไปกรอกข้อมูลยืนยันตัวตน
 */
.brand-identity-nudge {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 10050;
  max-width: min(320px, calc(100vw - 24px));
  display: flex;
  align-items: stretch;
  gap: 0;
  /* CI: การ์ดพื้นขาว เหมือนแดชบอร์ดแบรนด์ (influencerlist / account tokens) */
  background: var(--ci-card, var(--il-surface, #ffffff));
  color: var(--il-text-main, #111827);
  border: 1px solid var(--il-border-subtle, #e5e7eb);
  border-radius: 14px;
  box-shadow:
    var(--il-shadow-soft, 0 18px 40px rgba(15, 23, 42, 0.08)),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  animation: brand-identity-nudge-in 0.35s ease-out;
}

@keyframes brand-identity-nudge-in {
  from {
    opacity: 0;
    transform: translate(12px, 12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* มือถือ: แถบเมนูล่างของแดชบอร์ด */
@media (max-width: 768px) {
  body.il-page--influencerlist .brand-identity-nudge {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
  }
}

.brand-identity-nudge[hidden] {
  display: none !important;
}

.brand-identity-nudge__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: 14px 0 0 14px;
}

.brand-identity-nudge__main:hover {
  background: rgba(15, 23, 42, 0.04);
}

.brand-identity-nudge__main:focus-visible {
  outline: 2px solid var(--il-accent, #e5b909);
  outline-offset: 2px;
}

.brand-identity-nudge__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--il-accent-soft, #fef9e7);
  border-radius: 10px;
  color: var(--il-accent, #e5b909);
}

.brand-identity-nudge__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.brand-identity-nudge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-identity-nudge__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--il-text-main, #111827);
}

.brand-identity-nudge__desc {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--il-text-muted, #6b7280);
}


.brand-identity-nudge__close {
  flex-shrink: 0;
  width: 40px;
  border: none;
  background: transparent;
  color: var(--il-text-muted, #6b7280);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0 14px 14px 0;
  border-left: 1px solid var(--il-border-subtle, #e5e7eb);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.brand-identity-nudge__close:hover {
  color: var(--il-text-main, #111827);
  background: rgba(15, 23, 42, 0.06);
}

.brand-identity-nudge__close:focus-visible {
  outline: 2px solid var(--il-accent, #e5b909);
  outline-offset: -2px;
}
