/**
 * Cookie Consent Banner Styles
 * Modern, GDPR-compliant design
 */

#cookie-consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 99999;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-top: 3px solid #f75d34;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

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

.cookie-consent-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-icon {
  font-size: 24px;
}

.cookie-consent-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.cookie-consent-text a {
  color: #f75d34;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#cookie-consent-accept {
  background: #f75d34;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(247, 93, 52, 0.3);
  font-family: 'Roboto', sans-serif;
}

#cookie-consent-accept:hover {
  background: #d94d24;
  box-shadow: 0 4px 12px rgba(247, 93, 52, 0.4);
  transform: translateY(-2px);
}

#cookie-consent-accept:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(247, 93, 52, 0.3);
}

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

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-consent-content {
    min-width: auto;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

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

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

  #cookie-consent-accept {
    width: 100%;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  #cookie-consent-banner {
    padding: 14px;
  }

  .cookie-consent-title {
    font-size: 15px;
  }

  .cookie-consent-text {
    font-size: 12px;
  }

  #cookie-consent-accept {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Animation for cookie icon */
@keyframes cookie-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.cookie-icon {
  animation: cookie-bounce 2s ease-in-out infinite;
}
