/* Initial state */
#webbexpress-cookie-banner {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Active (visible) state */
#webbexpress-cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#webbexpress-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--e-global-typography-accent-font-family), sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  text-transform: var(--e-global-typography-accent-text-transform);
  font-style: var(--e-global-typography-accent-font-style);
  text-decoration: var(--e-global-typography-accent-text-decoration);
  color: var(--e-global-color-text);
}

#webbexpress-cookie-banner p {
  font-family: var(--e-global-typography-text-font-family), sans-serif;
  font-size: 16px;
  font-weight: var(--e-global-typography-text-font-weight);
  text-transform: var(--e-global-typography-text-text-transform);
  font-style: var(--e-global-typography-text-font-style);
  text-decoration: var(--e-global-typography-text-text-decoration);
  color: var(--e-global-color-text);
  margin-top: 8px;
}

#webbexpress-cookie-banner .cookie-message > div {
  text-align: left;
}

#accept-cookies {
  background-color: var(--e-global-color-accent);
  color: #fff;
  border: none;
  font-weight: var(--e-global-typography-accent-font-weight);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: var(--e-global-typography-accent-font-family), sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  text-transform: var(--e-global-typography-accent-text-transform);
  font-style: var(--e-global-typography-accent-font-style);
  text-decoration: var(--e-global-typography-accent-text-decoration);
}

.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cookie-buttons button {
  background-color: var(--e-global-color-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 3rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--e-global-typography-accent-font-family), sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  text-transform: var(--e-global-typography-accent-text-transform);
  transition: background-color 0.3s ease;
  min-width: 200px;
}

.cookie-buttons button#deny-cookies {
  background-color: #ddd;
  color: #222;
}

.cookie-buttons button:hover {
  opacity: 0.9;
}

.cookie-policy-link {
  font-size: 16px;
  text-align: right;
}

.cookie-policy-link a {
  font-family: var(--e-global-typography-text-font-family), sans-serif;
  font-size: 16px;
  font-weight: var(--e-global-typography-text-font-weight);
  text-transform: var(--e-global-typography-text-text-transform);
  font-style: var(--e-global-typography-text-font-style);
  text-decoration: var(--e-global-typography-text-text-decoration);
  color: var(--e-global-color-text) !important;
  text-decoration: underline;
}

.copy-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  align-items: center;
}

.copy-wrapper .border {
  width: 1px;
  height: 16px;
  background-color: #818181;
  margin: 0rem 1rem;
}

.cookie-copyright {
  font-family: var(--e-global-typography-text-font-family), sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: var(--e-global-typography-text-text-transform);
  font-style: var(--e-global-typography-text-font-style);
  text-decoration: var(--e-global-typography-text-text-decoration);
  color: var(--e-global-color-text) !important;
}

@media screen and (max-width: 1200px) {
  .cookie-message {
    flex-direction: column;
  }

  #webbexpress-cookie-banner .cookie-message > div {
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  .cookie-buttons {
    flex-wrap: wrap;
  }

  .cookie-buttons button#deny-cookies,
  .cookie-buttons button#accept-cookies {
    width: 100%;
  }

  .cookie-policy-link {
    font-size: 16px;
    text-align: left;
  }

  #webbexpress-cookie-banner .cookie-message > div {
    text-align: left;
  }
}
