/* ==========================================================================
   Notice Button & Modal Dialog Styles
   ========================================================================== */

/* Profile panel megaphone icon button */
.notice-button {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffd43b;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.notice-button:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffe066;
}

.notice-button:active {
  background: rgba(0, 0, 0, 0.8);
}

.notice-button:focus-visible {
  outline: 2px solid #ffd43b;
  outline-offset: 2px;
}

.notice-button svg {
  display: block;
  width: 16px;
  height: 16px;
}

.feedback-button {
  left: 34px;
}

/* Notice Dialog Window */
.notice-dialog {
  width: min(440px, calc(100vw - 24px));
  padding: 20px;
}

.notice-content {
  font-size: 12px;
  color: var(--dialog-text, #2d3748);
}

.notice-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #edf2f7;
  color: #4a5568;
}

.notice-version {
  font-size: 11px;
  color: #718096;
  font-variant-numeric: tabular-nums;
}

.notice-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.notice-section {
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.notice-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}


.notice-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a202c;
}

.notice-desc {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #4a5568;
  word-break: keep-all;
}

.notice-desc strong {
  color: #2b6cb0;
}

/* Footer buttons */
.notice-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.notice-dismiss-button {
  padding: 7px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
  color: #718096;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notice-dismiss-button:hover {
  background: #f7fafc;
  color: #4a5568;
  border-color: #a0aec0;
}

.notice-confirm-button {
  padding: 7px 16px;
  border: 1px solid #3182ce;
  border-radius: 6px;
  background: #3182ce;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notice-confirm-button:hover {
  background: #2b6cb0;
  border-color: #2b6cb0;
}
