.fs-cb {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: var(--formasoft-dark, #262626);
  color: #f3f3f3;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
}

.fs-cb-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.25rem;
}

.fs-cb-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: #fff;
}

.fs-cb-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #ddd;
}

.fs-cb-more {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--formasoft-green, #9eb330);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.fs-cb-details {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #ccc;
}

.fs-cb-details ul {
  margin: 0.4rem 0;
  padding-left: 1.1rem;
}

.fs-cb-details a {
  color: var(--formasoft-green, #9eb330);
}

.fs-cb-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.6rem;
}

.fs-cb-btn {
  min-width: 8.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.fs-cb-btn-refuse {
  background: transparent;
  color: #fff;
  border: 1px solid #888;
}

.fs-cb-btn-refuse:hover {
  border-color: #fff;
}

.fs-cb-btn-accept {
  background: var(--formasoft-green, #9eb330);
  color: #fff;
  border: 1px solid var(--formasoft-green, #9eb330);
}

.fs-cb-btn-accept:hover {
  background: var(--formasoft-green-dark, #7d8c25);
  border-color: var(--formasoft-green-dark, #7d8c25);
}

.fs-cb-manage {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.25);
  color: #ccc;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fs-cb-manage[hidden] {
  display: none;
}

.fs-cb-manage:hover {
  background: var(--formasoft-green, #9eb330);
  border-color: var(--formasoft-green, #9eb330);
  color: #fff;
}

.fs-cb-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fs-cb-manage.is-denied .fs-cb-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35em;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

body:has(#fs-cookie-manage:not([hidden])) #back-top {
  bottom: calc(2rem + 50px + 0.5rem);
}

@media (max-width: 767px) {
  .fs-cb-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-cb-actions {
    width: 100%;
  }

  .fs-cb-btn {
    flex: 1;
    min-width: 0;
  }
}
