/* =============================================================
   BANNER DE CONSENTIMENTO DE COOKIES (LGPD)
   Arquivo: theme/Portal/components/politica-privacidade/cookie-banner.css
   ============================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #0f1f5c 0%, #1a2e6e 60%, #1e3a8a 100%);
  color: #fff;
  z-index: 9999;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.4);
  border-top: 4px solid #ffc900;
  animation: slideUpCookie 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 2.4rem;
  color: #4f8ef7;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner__body {
  flex: 1;
  min-width: 220px;
}

.cookie-banner__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: 0.3px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d0deff;
}

.cookie-banner__link {
  color: #7eb3ff;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__link:hover {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.cookie-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cookie-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.cookie-btn--accept {
  background: #4f8ef7;
  border-color: #4f8ef7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 142, 247, 0.45);
}

.cookie-btn--accept:hover {
  background: #3a7de0;
  border-color: #3a7de0;
  box-shadow: 0 6px 18px rgba(79, 142, 247, 0.6);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-banner__icon {
    display: none;
  }

  .cookie-banner__content {
    padding: 1.2rem 1.2rem;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}
