@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Esphimere";
  src: url("https://media-route-dphxh9awe6fmd2gu.a01.azurefd.net/media/fonts/Esphimere.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans";
  src: url("https://media-route-dphxh9awe6fmd2gu.a01.azurefd.net/media/fonts/GillSans.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@keyframes smartLegalSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes smartLegalSlideInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.smart-legal-cookie-consent-root {
  --smart-legal-cookie-bg: #FFF9F0;
  --smart-legal-cookie-text: #002E29;
  --smart-legal-cookie-title: #002E29;
  --smart-legal-cookie-desc: #002E29;
  --smart-legal-cookie-accept-bg: #002E29;
  --smart-legal-cookie-accept-text: #FFF9F0;
  --smart-legal-cookie-reject-bg: #FFF9F0;
  --smart-legal-cookie-reject-text: #002E29;
  --smart-legal-cookie-font-title: "Manrope", sans-serif;
  --smart-legal-cookie-font-body: "Manrope", sans-serif;
  position: relative;
  z-index: 9999;
  isolation: isolate;
}

.smart-legal-cookie-consent-root,
.smart-legal-cookie-consent-root *,
.smart-legal-cookie-consent-root *::before,
.smart-legal-cookie-consent-root *::after {
  box-sizing: border-box;
}

.smart-legal-cookie-consent-root button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
}

.smart-legal-cookie-consent-root a,
.smart-legal-cookie-consent-root .smart-legal-cookie-link {
  color: var(--smart-legal-cookie-text) !important;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.smart-legal-cookie-consent-root p {
  margin: 0;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  width: 90%;
  max-width: 900px;
  z-index: 9999;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--smart-legal-cookie-bg) !important;
  color: var(--smart-legal-cookie-text) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: var(--smart-legal-cookie-font-body) !important;
  opacity: 0;
  animation: smartLegalSlideInUp 0.6s ease-out forwards;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-description {
  color: var(--smart-legal-cookie-text) !important;
  font-family: var(--smart-legal-cookie-font-body) !important;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-accept {
  background: var(--smart-legal-cookie-accept-bg) !important;
  color: var(--smart-legal-cookie-accept-text) !important;
  border: none !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: opacity 0.3s;
  height: auto !important;
  min-height: 0 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-accept:hover {
  opacity: 0.85 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-link-row {
  display: none; /* Merged into description or links */
}

.smart-legal-cookie-consent-root .smart-legal-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 46, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #FFF9F0 !important;
  color: #002E29 !important;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  font-family: var(--smart-legal-cookie-font-body) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-title {
  margin: 0 0 8px;
  font-family: var(--smart-legal-cookie-font-title) !important;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.1;
  color: #002E29 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-description {
  margin: 0 0 18px;
  color: #002E29;
  opacity: 0.8;
  font-size: 14px;
  line-height: 1.5;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 46, 41, 0.1);
}

.smart-legal-cookie-consent-root .smart-legal-cookie-pref-name {
  font-family: var(--smart-legal-cookie-font-title) !important;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #002E29 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-pref-text {
  margin-top: 4px;
  color: #002E29;
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.45;
  max-width: 460px;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-always-on {
  color: #002E29;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-pref-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #002E29;
  margin-top: 2px;
  flex: 0 0 auto;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions button {
  min-width: 140px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions .smart-legal-cookie-accept {
  background: #002E29 !important;
  color: #FFF9F0 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions .smart-legal-cookie-reject,
.smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions .smart-legal-cookie-customize {
  background: transparent !important;
  color: #002E29 !important;
  border: 1px solid #002E29 !important;
}

.smart-legal-cookie-consent-root .smart-legal-cookie-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #002E29;
  padding: 6px 8px !important;
  border-radius: 4px;
  background: transparent !important;
}

.smart-legal-cookie-consent-root .smart-legal-privacy-choices-trigger {
  background: transparent !important;
  border: 1px solid currentColor !important;
  line-height: 1;
  min-height: 36px;
  padding: 8px 12px;
}

@media (max-width: 768px) {
  .smart-legal-cookie-consent-root .smart-legal-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
    width: calc(100% - 32px);
    max-width: none;
    padding: 20px;
  }

  .smart-legal-cookie-consent-root .smart-legal-cookie-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .smart-legal-cookie-consent-root .smart-legal-cookie-description {
    font-size: 13px;
  }

  .smart-legal-cookie-consent-root .smart-legal-cookie-modal {
    padding: 18px;
    width: min(640px, calc(100vw - 24px));
  }

  .smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions {
    flex-direction: column;
  }

  .smart-legal-cookie-consent-root .smart-legal-cookie-modal-actions button {
    width: 100%;
    min-width: 0;
  }
}
