/* ============================================================
   TANNU — Cookie Consent Banner
   ============================================================ */

#tannuCookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid #0e5f70;
  box-shadow: 0 -4px 32px rgba(14, 95, 112, 0.16);
  padding: 1rem 1.25rem;
  animation: ccSlideUp 0.35s ease;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#tannuCookieBanner.cc-hidden {
  opacity: 0;
  transform: translateY(100%);
}

@keyframes ccSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cc-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cc-text {
  flex: 1;
  min-width: 220px;
}

.cc-text strong {
  display: block;
  font-size: 0.95rem;
  color: #0e5f70;
  margin-bottom: 0.2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.cc-text p {
  font-size: 0.82rem;
  color: #4a6670;
  line-height: 1.5;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.cc-link {
  color: #167a8e;
  text-decoration: underline;
}

.cc-link:hover {
  color: #0e5f70;
}

.cc-actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cc-btn {
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.cc-btn:active {
  transform: scale(0.97);
}

.cc-btn-primary {
  background: linear-gradient(135deg, #0e5f70, #20adc8);
  color: #fff;
}

.cc-btn-primary:hover {
  background: linear-gradient(135deg, #0d5465, #1a96ae);
}

.cc-btn-secondary {
  background: #eef6f8;
  color: #0e5f70;
  border: 1px solid rgba(14, 95, 112, 0.2);
}

.cc-btn-secondary:hover {
  background: #d8edf2;
}

@media (max-width: 540px) {
  .cc-content {
    flex-direction: column;
    gap: 0.875rem;
  }
  .cc-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
