/* ThinkTwice — Bannière de consentement cookies */

.tt-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 130%);
  width: min(920px, calc(100% - 2rem));
  z-index: 99999;
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.tt-cookie-banner.tt-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.tt-cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.4rem;
}

.tt-cookie-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.28rem;
}

.tt-cookie-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
}

.tt-cookie-text a {
  color: #6366f1;
  text-decoration: underline;
}

.tt-cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.tt-cookie-btn {
  font: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  padding: 0.62rem 1.35rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tt-cookie-deny {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
}

.tt-cookie-deny:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.tt-cookie-accept {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.tt-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

@media (max-width: 720px) {
  .tt-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.1rem;
  }
  .tt-cookie-actions {
    flex-direction: row;
  }
  .tt-cookie-btn {
    flex: 1;
    padding: 0.75rem 1rem;
  }
}
