/* Cookie Consent Popup Styles */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ecf0f1;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #bdc3c7;
}

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

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
}

.cookie-btn.accept:hover {
  background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.cookie-btn.decline {
  background: transparent;
  color: #bdc3c7;
  border: 2px solid #7f8c8d;
}

.cookie-btn.decline:hover {
  background: #7f8c8d;
  color: white;
  transform: translateY(-1px);
}

.cookie-btn.settings {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.cookie-btn.settings:hover {
  background: #3498db;
  color: white;
  transform: translateY(-1px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  #cookie-consent {
    padding: 15px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-text {
    min-width: unset;
  }

  .cookie-text h3 {
    font-size: 16px;
  }

  .cookie-text p {
    font-size: 13px;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Animation for fade out */
#cookie-consent.fade-out {
  opacity: 0;
  transform: translateY(100%);
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

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

.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #7f8c8d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: #2c3e50;
}
