
/* ==========================================================================
   COOKIE PAGE
   ========================================================================== */
.cookie-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cookie-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--glow);
}

.cookie-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cookie-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.cookie-card p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.97rem;
}

.cookie-table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cookie-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cookie-table td {
  padding: 0.85rem 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-table code {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.2em 0.5em;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: monospace;
}

.cookie-badge {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25em 0.75em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-updated {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 600px) {
  .cookie-card {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================================================
   PROFIL BILLEDE — GLOW EFFEKT (FORBEDRET)
   ========================================================================== */
.profile-frame {
  padding: 3px;
  background: linear-gradient(135deg, #b3552f, #c8923a, #6d7548);
  background-size: 200% 200%;
  animation: profileGlow 4s ease infinite;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow:
    0 0 0 4px rgba(179, 85, 47, 0.15),
    0 0 30px rgba(179, 85, 47, 0.30),
    0 0 60px rgba(179, 85, 47, 0.15),
    var(--shadow-md);
  width: 200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.4s ease;
}

.profile-frame:hover {
  box-shadow:
    0 0 0 4px rgba(179, 85, 47, 0.22),
    0 0 40px rgba(179, 85, 47, 0.4),
    0 0 80px rgba(179, 85, 47, 0.22),
    var(--shadow-lg);
}

@keyframes profileGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookie-banner {
  position: fixed;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(43,32,21,0.25), 0 0 0 1px rgba(179,85,47,0.2);
  z-index: 9998;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 1.25rem 1.5rem;
}

#cookie-banner.cb-visible {
  bottom: 1.5rem;
}

.cb-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cb-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cb-msg {
  flex: 1;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  min-width: 200px;
}

.cb-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cb-link:hover { color: var(--accent-dark); }

.cb-btns {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cb-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cb-accept {
  background: var(--accent);
  color: #fff;
}

.cb-accept:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.cb-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.cb-decline:hover {
  border-color: var(--muted);
  color: var(--ink-soft);
}

@media (max-width: 540px) {
  .cb-inner { flex-direction: column; align-items: flex-start; }
  .cb-btns { width: 100%; }
  .cb-btn { flex: 1; text-align: center; }
}
