/* Panel de Cookies - Hackathon Lovers */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 15px 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

#cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1 1 60%;
  font-size: 14px;
  line-height: 1.5;
  margin-right: 20px;
  margin-bottom: 10px;
}

.cookie-buttons {
  flex: 1 1 auto;
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.cookie-btn {
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
  font-family: inherit;
}

.cookie-btn-accept {
  background-color: #ee3733; /* Color acento de Hackathon Lovers */
  color: #fff;
}

.cookie-btn-accept:hover {
  background-color: #d12e2a;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.cookie-btn-reject:hover {
  background-color: #333;
  color: #fff;
}

@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }
  .cookie-text {
    margin-right: 0;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
}
