/* Cookie Consent Banner - Cred Certo */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #00432a 0%, #006b43 100%);
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-banner.show {
  display: block;
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
}

.cookie-consent-text a {
  color: #ffeb3b;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  color: #ffd700;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-consent-btn-accept {
  background-color: #4caf50;
  color: #ffffff;
}

.cookie-consent-btn-accept:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.cookie-consent-btn-reject {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cookie-consent-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn-settings {
  background-color: #2196f3;
  color: #ffffff;
}

.cookie-consent-btn-settings:hover {
  background-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

/* Ícone de Cookie */
.cookie-icon {
  font-size: 32px;
  margin-right: 15px;
}

/* Responsivo Mobile */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 15px;
  }
  
  .cookie-consent-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-text h3 {
    font-size: 16px;
  }
  
  .cookie-consent-text p {
    font-size: 13px;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-consent-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Modal de Configurações (opcional para futuro) */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}
