/* WPHostee Cookie Banner */

.wph-cookie-banner {
  position: fixed;
  z-index: 999999;
  right: 25px;
  bottom: 25px;
  left: auto;
  width: 420px;
  max-width: calc(100vw - 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 20px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.wph-cookie-banner[hidden] {
  display: none !important;
}

.wph-cookie-content {
  flex: 1;
}

.wph-cookie-content p {
  margin: 0;
  color: #1d2d35;
  font-size: 14px;
  line-height: 1.5;
}

.wph-cookie-content a {
  color: #007bff;
  text-decoration: underline;
}

.wph-cookie-actions {
  flex-shrink: 0;
}

.wph-cookie-accept {
  border: 0;
  border-radius: 32px;
  padding: 9px 20px;
  background: #567525;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wph-cookie-accept:hover {
  background: #004662;
}

.wph-cookie-accept:focus-visible,
.wph-cookie-content a:focus-visible {
  outline: 3px solid #007bff;
  outline-offset: 3px;
}

@media (max-width: 575px) {
  .wph-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: auto;
    width: calc(100vw - 24px);
    flex-direction: column;
    align-items: stretch;
  }

  .wph-cookie-actions {
    width: 100%;
  }

  .wph-cookie-accept {
    width: 100%;
  }
}
