#adminmenu .toplevel_page_cpbw > a .wp-menu-image img {
  width: 25px !important; /* Set your desired size */
  height: 25px !important;
  object-fit: contain !important;
  margin: 7px !important;
  padding: 0 !important;
}

.cpbw-review-notice {
  align-items: center;
  border-left: 4px solid #037cf5;
  display: flex;
  padding: 15px;
}

.cpbw-notice-icon-container {
  border: #6999c9 1px solid;
  padding: 10px;
  border-radius: 8px;
  margin-right: 15px;
}

.cpbw-notice-icon {
  height: 90px;
  margin-right: 15px;
}
.cpbw-review-star {
  color: #f5a635;
  font-size: 18px;
}
.cpbw-review-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2px;
}
.cpbw-review-subtitle {
  font-size: 14.5px;
  margin-top: 0 !important;
}
.cpbw-review-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.cpbw-review-buttons a {
  border: 1px solid #037cf5;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 5px;
  padding: 5px 12px;
  text-decoration: none;
}
.cpbw-review-buttons .review-btn {
  background: #037cf5;
  color: #fff;
}
.cpbw-review-buttons .review-btn:hover {
  background: #037cf5;
}
.cpbw-review-buttons .later-btn {
  background: #0000;
  color: #037cf5;
}
#cpbw-review-never {
  border: none;
  color: gray;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cpbw-pro-link {
  color: #037cf5;
  font-weight: 500;
  text-decoration: underline;
}

/* ============================================================
   Black Friday 2026 admin notice (same design as the Better Promotion
   Black Friday banner). Remove after the campaign.
   ============================================================ */
.notice.cpbw-bf-notice {
  --cpbw-bf-accent: #f5c542;
  --cpbw-bf-accent-dark: #d9a21b;
  --cpbw-bf-box-bg: rgba(0, 0, 0, .55);
  --cpbw-bf-box-border: rgba(245, 197, 66, .75);
  --cpbw-bf-glow: rgba(245, 197, 66, .3);
  position: relative;
  overflow: hidden;
  padding: 0;
  /* Standard WordPress success notice: square corners and a green left border. */
  border: 0;
  border-left: 4px solid #00a32a;
  border-radius: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 197, 66, .18), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(205deg, #000 0%, #121212 55%, #231c0c 100%);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(245, 197, 66, .18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.cpbw-bf-notice *, .cpbw-bf-notice *::before, .cpbw-bf-notice *::after { box-sizing: border-box; }

.cpbw-bf-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 34px;
  padding: 18px 56px;
}

.cpbw-bf-spark { position: absolute; z-index: 1; width: 13px; height: 3px; border-radius: 2px; pointer-events: none; }
.cpbw-bf-spark--a { background: var(--cpbw-bf-accent); }
.cpbw-bf-spark--b { background: #fff; }
.cpbw-bf-spark--dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cpbw-bf-accent); }

/* Offer */
.cpbw-bf-offer { display: flex; align-items: center; gap: 12px; }
/* Plugin icon (same as the admin menu icon) so users recognise it as a Better Badge offer. */
.cpbw-bf-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(245, 197, 66, .55);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgba(245, 197, 66, .28), rgba(0, 0, 0, .6) 70%);
  box-shadow: 0 0 18px rgba(245, 197, 66, .35);
}
.cpbw-bf-icon img { display: block; width: 40px; height: 40px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.cpbw-bf-offer-text { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.cpbw-bf-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 700; }
.cpbw-bf-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cpbw-bf-accent);
  color: #0b0b0b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cpbw-bf-headline { font-size: 26px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.cpbw-bf-accent { color: var(--cpbw-bf-accent); text-shadow: 0 0 18px rgba(245, 197, 66, .45); }

/* Coupon and timer share the label style */
.cpbw-bf-coupon, .cpbw-bf-timer { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cpbw-bf-label { color: rgba(245, 215, 140, .9); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.cpbw-bf-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1.5px dashed var(--cpbw-bf-box-border);
  border-radius: 8px;
  background: var(--cpbw-bf-box-bg);
  box-shadow: 0 0 14px var(--cpbw-bf-glow);
  color: var(--cpbw-bf-accent);
  font: 800 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.cpbw-bf-code:hover { background: rgba(245, 197, 66, .12); transform: translateY(-1px); }
.cpbw-bf-code:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cpbw-bf-code svg { opacity: .85; }
.cpbw-bf-code.is-copied { border-style: solid; color: #fff; }

/* Countdown */
.cpbw-bf-countdown { display: flex; align-items: flex-start; gap: 4px; }
.cpbw-bf-num-box { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cpbw-bf-num {
  min-width: 40px;
  padding: 6px 4px;
  border: 1px solid var(--cpbw-bf-box-border);
  border-radius: 7px;
  background: rgba(0, 0, 0, .75);
  box-shadow: 0 0 10px var(--cpbw-bf-glow);
  color: #fff;
  font: 800 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}
.cpbw-bf-unit { color: rgba(255, 255, 255, .65); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cpbw-bf-colon { padding-top: 5px; color: var(--cpbw-bf-accent); font-size: 18px; font-weight: 800; }

/* Call to action */
.notice.cpbw-bf-notice .cpbw-bf-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a, var(--cpbw-bf-accent) 45%, var(--cpbw-bf-accent-dark));
  box-shadow: 0 0 22px rgba(245, 197, 66, .6), inset 0 -3px 0 rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .45);
  color: #0b0b0b;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.notice.cpbw-bf-notice .cpbw-bf-cta:hover,
.notice.cpbw-bf-notice .cpbw-bf-cta:focus-visible { color: #0b0b0b; transform: translateY(-1px); filter: brightness(1.07); }
.notice.cpbw-bf-notice .cpbw-bf-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Dismiss */
.cpbw-bf-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.cpbw-bf-close svg { width: 11px; height: 11px; stroke: rgba(255, 255, 255, .75); }
.cpbw-bf-close:hover { background: rgba(255, 255, 255, .18); }
.cpbw-bf-close:focus-visible { outline: 2px solid var(--cpbw-bf-accent); outline-offset: 2px; }

@media (max-width: 782px) {
  .cpbw-bf-inner { gap: 14px 20px; padding: 18px 40px 18px 18px; }
  .cpbw-bf-headline { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .cpbw-bf-code, .notice.cpbw-bf-notice .cpbw-bf-cta { transition: none; }
}
