.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  max-width: 600px;
  width: calc(100% - 40px);

  background: #ffffff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
/* Läs mer-knapp */
.cookie-banner .more {
  background: transparent;
  border: none;
  color: #0B6FFF;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.cookie-banner .more .icon {
  margin-right: 6px;
  font-size: 16px;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Knappar 50/50 */
.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.cookie-buttons .half {
  flex: 1;
  padding: 10px 0;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: #0B6FFF;
  color: white;
  font-weight: 600;
}

.cookie-buttons .deny {
  background: #6B7A8A;
}


/* Expander */
.cookie-info {
  background: #EAF4FF;
  padding: 12px 14px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  animation: slideDown 0.35s ease;
}

.cookie-info button.less {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: #0B6FFF;
  font-weight: 600;
  cursor: pointer;
}
/* Slide-down animation */
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  }
}

/* Läs mindre-knapp */
.cookie-info button.less {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: #0B6FFF;
  font-weight: 600;
  cursor: pointer;
}

/* Ikon i Läs mer-knappen */
.cookie-banner .more .icon {
  margin-right: 6px;
  font-size: 16px;
}

/* Mobilversion */
@media (max-width: 480px) {
  .cookie-banner {
    padding: 12px 14px;
  }

  .cookie-info {
    padding: 8px 10px;
    font-size: 13px;
  }

  .cookie-buttons .half {
    padding: 8px 0;
    font-size: 14px;
  }

  .cookie-banner .more .icon {
    font-size: 14px;
    margin-right: 4px;
  }
}