.sca-banner {
  position: fixed;
  z-index: 99999;
  inset-inline: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
  font-family: inherit;
  direction: rtl;
}
.sca-banner.is-visible { opacity: 1; transform: translateY(0); }
.sca-pos-bottom { bottom: 16px; }
.sca-pos-top { top: 16px; transform: translateY(-16px); }
.sca-pos-center {
  top: 50%; left: 50%; right: auto; inset-inline: auto;
  transform: translate(-50%, -46%);
}
.sca-pos-center.is-visible { transform: translate(-50%, -50%); }

.sca-banner__inner {
  margin: 0 auto;
  max-width: 560px;
  padding: 20px;
  border-radius: var(--sca-radius, 16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sca-layout-bar .sca-banner__inner {
  max-width: 1120px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sca-theme-dark .sca-banner__inner { background: #14181d; color: #f2f5f7; border: 1px solid rgba(255,255,255,.08); }
.sca-theme-light .sca-banner__inner { background: #ffffff; color: #1b2430; border: 1px solid rgba(0,0,0,.08); }

.sca-banner__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.sca-banner__msg { margin: 0; font-size: 14px; line-height: 1.75; opacity: .85; }
.sca-banner__msg p { margin: 0 0 6px; }
.sca-banner__link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--sca-accent, #2f8f6b); text-decoration: underline; }

.sca-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sca-btn {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: filter .15s ease, background .15s ease;
  white-space: nowrap;
}
.sca-btn--accept { background: var(--sca-accent, #2f8f6b); color: #fff; }
.sca-btn--accept:hover { filter: brightness(1.08); }
.sca-btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit; opacity: .8; }
.sca-btn--ghost:hover { opacity: 1; }
.sca-layout-bar .sca-btn { flex: 0 0 auto; }

.sca-reset-consent {
  background: transparent; border: 1px solid currentColor; color: inherit;
  padding: 8px 16px; border-radius: 8px; cursor: pointer; font: inherit;
}

@media (max-width: 640px) {
  .sca-banner { inset-inline: 10px; }
  .sca-pos-bottom { bottom: 10px; }
  .sca-pos-center { top: auto; bottom: 10px; left: 10px; right: 10px; transform: translateY(16px); }
  .sca-pos-center.is-visible { transform: translateY(0); }
  .sca-layout-bar .sca-banner__inner { flex-direction: column; align-items: stretch; }
  .sca-banner__inner { padding: 16px; max-width: 100%; }
  .sca-banner__title { font-size: 16px; }
  .sca-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sca-banner { transition: none; }
}
