/* Cookie Consent Popup Styles */

.cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px -3.84px 8px 0px rgba(177, 177, 177, 0.1);
  padding: 24px 80px;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 100%;
  box-sizing: border-box;
}

.cookie-consent-popup.show {
  display: flex;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  max-width: 1200px;
}

.cookie-consent-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cookie-consent-title {
  font-family: "Barlow Condensed";
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
  color: rgba(5, 5, 5, 1);
  margin: 0;
}

.cookie-consent-description {
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: 155%;
  letter-spacing: -0.03em;
  color: rgba(97, 97, 97, 1);
  margin: 0;
}

.cookie-consent-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-consent-button-accept {
  gap: 8px;
  display: flex;
  padding: 12px 20px;
  align-items: center;
  border-radius: 6px;
  justify-content: center;
  background-color: rgba(51, 135, 65, 1);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  text-decoration: none;
  color: rgba(255, 255, 255, 1);
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.cookie-consent-button-accept:hover {
  background-color: rgba(42, 115, 55, 1);
}

.cookie-consent-button-decline {
  gap: 8px;
  display: flex;
  padding: 12px 20px;
  align-items: center;
  border-color: rgba(5, 5, 5, 1);
  border-style: solid;
  border-width: 1px;
  border-radius: 6px;
  justify-content: center;
  text-decoration: none;
  color: rgba(5, 5, 5, 1);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  background-color: transparent;
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.cookie-consent-button-decline:hover {
  color: rgba(51, 135, 65, 1);
  border-color: rgba(51, 135, 65, 1);
}

/* Responsive Styles */

/* Tablet */
@media (max-width: 1023px) {
  .cookie-consent-popup {
    padding: 20px 40px;
    gap: 24px;
  }

  .cookie-consent-content {
    gap: 20px;
  }

  .cookie-consent-buttons {
    gap: 12px;
  }

  .cookie-consent-button-accept,
  .cookie-consent-button-decline {
    padding: 11px 18px;
    font-size: 15px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .cookie-consent-popup {
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cookie-consent-content {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .cookie-consent-text {
    width: 100%;
  }

  .cookie-consent-title {
    font-size: 18px;
  }

  .cookie-consent-description {
    font-size: 15px;
  }

  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-consent-button-accept,
  .cookie-consent-button-decline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

/* Mobile Portrait */
@media (max-width: 479px) {
  .cookie-consent-popup {
    padding: 16px 16px;
    gap: 16px;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

  .cookie-consent-description {
    font-size: 14px;
  }

  .cookie-consent-button-accept,
  .cookie-consent-button-decline {
    padding: 11px 18px;
    font-size: 14px;
  }
}
