/* Modal LGPD */
.modal-lgpd-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}

.modal-lgpd-box {
  background: #1e272e;
  color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 475px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.1);
  text-align: left;
  position: relative;
}

.modal-lgpd-logo {
  text-align: center;
  margin: 0 auto 20px auto;
}

.modal-lgpd-logo img {
  height: 65px;
  position: relative;
  left: -20px;
}

.modal-lgpd-title {
  text-align: center;
  margin-bottom: 30px;
  color: #00c3ff;
}

.modal-lgpd-text {
  font-size: 14px;
  color: #dfe6e9;
  margin-top: 10px;
}

.modal-lgpd-options {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.modal-lgpd-options label {
  flex: 1;
  background: #2f3640;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.modal-lgpd-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  background: #2f3640;
  color: white;
  border-radius: 6px;
  margin-bottom: 6px;
}

.modal-lgpd-error {
  color: #ff6b6b;
  font-size: 13px;
  display: none;
}

.modal-lgpd-message {
  margin-top: 15px;
  display: none;
  font-size: 14px;
  padding: 10px;
  border-radius: 6px;
}

.modal-lgpd-buttons {
  text-align: right;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-lgpd-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
}

.modal-lgpd-cancel {
  background: #636e72;
  color: white;
}

.modal-lgpd-submit {
  background: #00c3ff;
  color: #000;
  font-weight: bold;
  padding: 8px 16px;
}

/* Responsividade */
@media (max-width: 480px) {
  .modal-lgpd-box {
    padding: 20px;
    width: 95%;
  }

  .modal-lgpd-logo img {
    height: 55px;
    left: 0;
  }

  .modal-lgpd-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .modal-lgpd-options {
    flex-direction: column;
    gap: 8px;
  }

  .modal-lgpd-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-lgpd-buttons button {
    width: 100%;
    margin: 0;
  }
}






/* ================================
   🔒 Banner de Cookies
   ================================ */
#cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 340px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  display: none;
  flex-direction: column;
  animation: slideUp 0.4s ease;
}



#cookie-consent p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

#cookie-consent a {
  color: #0078d4;
  text-decoration: none;
}

#cookie-consent a:hover {
  text-decoration: underline;
}

#cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.accept-btn {
  
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.reject-btn {
  background: #e0e0e0;
  color: #333;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.politicas-links {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================================
   ⚙️ Modal de Preferências
   ================================ */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 100000;
  animation: fadeIn 0.4s ease;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  width: 95%;
  max-width: 480px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cookie-modal-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #1a1a1a;
}

.cookie-modal-content p {
  color: #444;
  font-size: 14px;
  margin-bottom: 20px;
}

.cookie-category {
  margin-bottom: 15px;
}

.cookie-category label {
  font-weight: 600;
  font-size: 15px;
  color: #000;
}

.cookie-category p {
  margin-left: 24px;
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================================
   🔘 Botão Flutuante
   ================================ */
#cookie-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 99998;
  width: 42px;
  height: 42px;
  background: #0078d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

#cookie-toggle img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
