/* IT-INSIDE Cookie Consent – matcher temaets designsprog */

:root {
  --itc-navy:   #061b2d;
  --itc-navy2:  #092945;
  --itc-orange: #f28c00;
  --itc-orange2:#ffad33;
  --itc-text:   #142033;
  --itc-muted:  #607080;
  --itc-line:   #e8edf2;
  --itc-white:  #fff;
  --itc-shadow: 0 18px 50px rgba(6,27,45,.18);
  --itc-radius: 18px;
}

/* ── Banner ─────────────────────────────────────────── */
.itc-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 99999;
  width: min(780px, calc(100vw - 32px));
  background: rgba(6, 27, 45, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--itc-radius);
  box-shadow: var(--itc-shadow);
  color: #d9e5ef;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  transition: opacity .35s ease, transform .35s ease;
}

.itc-banner.itc-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}

.itc-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  flex-wrap: wrap;
}

/* cookie emoji */
.itc-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

/* tekst */
.itc-text {
  flex: 1;
  min-width: 200px;
}

.itc-text strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.itc-text p {
  margin: 0;
  color: #a8bfcf;
  font-size: 14px;
}

.itc-text a {
  color: var(--itc-orange2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.itc-text a:hover {
  color: #fff;
}

/* knapper */
.itc-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.itc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 20px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, transform .15s, border-color .2s;
  white-space: nowrap;
}

.itc-btn-primary {
  background: var(--itc-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242,140,0,.3);
}

.itc-btn-primary:hover {
  background: #dd7f00;
  transform: translateY(-1px);
}

.itc-btn-outline {
  background: transparent;
  color: #d9e5ef;
  border-color: rgba(255,255,255,.28);
}

.itc-btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
}

/* ── Lille badge (vis igen-knap) ────────────────────── */
.itc-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--itc-navy);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 24px rgba(6,27,45,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: opacity .3s, transform .2s;
}

.itc-badge:hover {
  transform: scale(1.1);
}

.itc-badge.itc-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Mobil ──────────────────────────────────────────── */
@media (max-width: 560px) {
  .itc-banner {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
    width: 100%;
    border-radius: var(--itc-radius) var(--itc-radius) 0 0;
  }

  .itc-banner.itc-hidden {
    transform: translateY(20px);
  }

  .itc-inner {
    padding: 18px 16px;
    gap: 14px;
  }

  .itc-actions {
    width: 100%;
  }

  .itc-btn {
    flex: 1;
    justify-content: center;
  }

  .itc-badge {
    bottom: 16px;
    left: 16px;
  }
}
