.fw-ca-admin-wrap .fw-ca-table td,
.fw-ca-admin-wrap .fw-ca-table th {
  vertical-align: middle;
}

.fw-ca-admin-wrap .fw-ca-form {
  margin-top: 18px;
  max-width: 900px;
}

.fw-ca-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.fw-ca-color-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.fw-ca-color-item > span {
  font-size: 12px;
  color: #50575e;
  font-weight: 600;
}

.fw-ca-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.fw-ca-badge.active {
  color: #0a5a2a;
  background: #d9f2e3;
}

.fw-ca-badge.inactive {
  color: #7a1720;
  background: #f9dde0;
}

.fw-ca-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--fwca-bg-start, #7d1b3d) 0%, var(--fwca-bg-mid, #93224a) 48%, var(--fwca-bg-end, #c92860) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--fwca-text, #fff);
  padding: 9px 16px;
  font-size: 13px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px rgba(92, 16, 45, 0.22);
  animation: fw-ca-fade-in 0.45s ease;
  font-family: var(--fwca-font, inherit);
}

.fw-ca-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at 84% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 18%);
}

.fw-ca-strip-main {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}

.fw-ca-strip-tag {
  background: var(--fwca-tag-bg, rgba(255, 255, 255, 0.16));
  color: var(--fwca-tag-text, #fff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fw-ca-strip-text {
  margin: 0;
  flex: 0 1 auto;
  min-width: 260px;
  max-width: 760px;
  font-weight: 700;
  color: var(--fwca-text, rgba(255, 255, 255, 0.96));
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.fw-ca-strip-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fw-ca-strip-value {
  color: var(--fwca-value-text, #fff);
  background: var(--fwca-value-bg, rgba(255, 255, 255, 0.16));
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fw-ca-strip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--fwca-cta-bg, #fff);
  color: var(--fwca-cta-text, #7d1b3d);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 12px rgba(52, 8, 22, 0.24);
}

.fw-ca-strip-cta:hover,
.fw-ca-strip-cta:focus {
  transform: translateY(-1px);
  background: var(--fwca-cta-bg, #fff);
  box-shadow: 0 7px 14px rgba(52, 8, 22, 0.28);
  color: var(--fwca-cta-text, #5e142f);
}

.fw-ca-strip-more {
  margin: 0;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.fw-ca-strip-more summary {
  list-style: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 2px;
}

.fw-ca-strip-more summary::-webkit-details-marker {
  display: none;
}

.fw-ca-more-close {
  display: none;
}

.fw-ca-strip-more[open] .fw-ca-more-open {
  display: none;
}

.fw-ca-strip-more[open] .fw-ca-more-close {
  display: inline;
}

.fw-ca-strip-info {
  margin-top: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  display: none;
}

.fw-ca-strip-more[open] {
  display: block;
  flex-basis: 100%;
  margin-top: 6px;
}

.fw-ca-strip-more[open] .fw-ca-strip-info {
  display: block;
}

.fw-ca-strip-more[open] .fw-ca-strip-info {
  animation: fw-ca-expand 0.24s ease;
}

@keyframes fw-ca-fade-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fw-ca-expand {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 782px) {
  .fw-ca-strip {
    padding: 10px 10px;
  }

  .fw-ca-strip-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .fw-ca-strip-text {
    min-width: 0;
    max-width: 100%;
  }

  .fw-ca-strip-value {
    justify-self: center;
  }

  .fw-ca-strip-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .fw-ca-strip-cta {
    width: auto;
    max-width: none;
    margin: 0;
    justify-self: center;
  }

  .fw-ca-strip-more {
    justify-self: center;
    margin-left: 0;
    margin-top: 4px;
  }

  .fw-ca-strip-more[open] {
    width: 100%;
  }

  .fw-ca-strip-info {
    text-align: center;
  }
}
