/* ==========================================================
   ilze-cookie-consent.css
   GDPR cookie consent banner
   ========================================================== */

#ilze-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: var(--ilze-navy, #1A3350);
  color: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  font-family: inherit;
}

#ilze-cookie-banner.ilze-cookie-visible {
  transform: translateY(0);
}

.ilze-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ilze-cookie-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  color: #ffffff;
}

.ilze-cookie-text a {
  color: #ffffff;
  text-decoration: underline;
  white-space: nowrap;
}

.ilze-cookie-text a:hover {
  color: #e87722;
}

.ilze-cookie-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.ilze-cookie-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}

.ilze-cookie-necessary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.ilze-cookie-necessary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ilze-cookie-accept {
  background: #e87722;
  color: #ffffff;
}

.ilze-cookie-accept:hover {
  background: #d4681a;
}

@media (max-width: 767px) {
  .ilze-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 14px;
  }

  .ilze-cookie-text {
    font-size: 13px;
    flex-basis: auto;
  }

  .ilze-cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .ilze-cookie-btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }

  .ilze-cookie-accept {
    order: -1;
  }
}
