/* Cookie Consent Banner Styles */

/* ─── Base banner ─── */
.ps-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--ps-cookie-banner-bg, #000000);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

/* ─── Content wrapper ─── */
.ps-cookie-banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  gap: 40px;
}

/* ─── Banner text ─── */
.ps-cookie-banner-text {
  flex: 1 1 0%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: var(--ps-cookie-banner-text, #ffffff);
}

/* ─── Policy link ─── */
.ps-cookie-banner-link {
  color: var(--ps-cookie-banner-link, #59ac36);
  text-decoration: underline;
  font-weight: 600;
}

.ps-cookie-banner-link:hover {
  opacity: 0.85;
}

/* ─── Button group ─── */
.ps-cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ─── Shared button base ─── */
.ps-cookie-banner-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  height: 48px;
  min-width: 150px;
  border-radius: 32px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
  box-sizing: border-box;
}

.ps-cookie-banner-btn:hover {
  opacity: 0.9;
}

.ps-cookie-banner-btn:active {
  opacity: 0.8;
}

/* ─── Reject button (light / secondary style) ─── */
.ps-cookie-banner-reject {
  background: var(--ps-cta-button-light, #ffffff);
  color: var(--ps-cta-button-light-text, #4f4f55);
  border-color: var(--ps-cta-button-light, #ebebec);
}

/* ─── Accept button (primary style) ─── */
.ps-cookie-banner-accept {
  background: var(--ps-cta-button, #59ac36);
  color: var(--ps-cta-button-text, #ffffff);
}

/* ─── Mobile responsive ─── */
@media only screen and (max-width: 768px) {
  .ps-cookie-banner {
    padding: 24px 20px;
  }

  .ps-cookie-banner-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .ps-cookie-banner-text {
    font-size: 16px;
    line-height: 20px;
  }

  .ps-cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .ps-cookie-banner-btn {
    font-size: 16px;
    height: 44px;
    min-width: 130px;
    flex: 1;
  }
}

@media only screen and (max-width: 480px) {
  .ps-cookie-banner {
    padding: 20px 16px;
  }

  .ps-cookie-banner-btn {
    font-size: 14px;
    height: 40px;
    min-width: 110px;
    padding: 8px 12px;
  }
}
