/* styles/cookie-banner.css */

/* Estilos para o Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: white;
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-content p {
  margin: 0;
  flex: 1 1 60%;
}

.cookie-content a {
  color: var(--color-tertiary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Estilos para o Modal de Configurações de Cookies */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.cookie-modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.cookie-option {
  margin-bottom: 20px;
}

.cookie-option label {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 5px;
}

.cookie-option input {
  margin-right: 10px;
}

.cookie-description {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  padding-left: 25px;
}

.cookie-modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

/* Responsividade para o banner */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
