/* ETD Custom Cookie Consent Styling */
.cc-window {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999999 !important;
  background: #0b0f19 !important;
  color: #ffffff !important;
  font-family: 'Open Sans', 'Poppins', sans-serif !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
  border-top: 3px solid #00c389 !important;
}

.cc-window.cc-banner {
  padding: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.cc-message {
  flex: 1 !important;
  min-width: 300px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #ffffff !important;
}

.cc-compliance {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.cc-btn {
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  min-width: 120px !important;
}

.cc-btn.cc-allow {
  background: #00c389 !important;
  color: #ffffff !important;
}

.cc-btn.cc-allow:hover {
  background: #00a876 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 195, 137, 0.3) !important;
}

.cc-btn.cc-allow:active {
  background: #008f65 !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0, 195, 137, 0.4) !important;
}

.cc-btn.cc-deny {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #666 !important;
}

.cc-btn.cc-deny:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #999 !important;
}

.cc-btn.cc-deny:active {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ccc !important;
  transform: scale(0.98) !important;
}

.cc-link {
  color: #00c389 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.cc-link:hover {
  color: #00a876 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .cc-window.cc-banner {
    padding: 15px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .cc-message {
    min-width: auto !important;
    margin-bottom: 15px !important;
  }
  
  .cc-compliance {
    justify-content: center !important;
    width: 100% !important;
  }
  
  .cc-btn {
    min-width: 100px !important;
    padding: 10px 20px !important;
  }
}

/* Animation for banner appearance */
.cc-window {
  animation: slideUp 0.5s ease-out !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100%) !important;
  }
  to {
    transform: translateY(0) !important;
  }
}

/* Ensure banner is above all other elements */
.cc-window {
  z-index: 2147483647 !important;
}

/* Hide default CookieConsent styling */
.cc-window.cc-banner.cc-bottom {
  bottom: 0 !important;
}

/* Custom styling for the policy link */
.cc-link {
  font-size: 14px !important;
  margin-left: 10px !important;
}

/* Button focus states for accessibility */
.cc-btn:focus {
  outline: 2px solid #00c389 !important;
  outline-offset: 2px !important;
}

/* Ensure text is readable */
.cc-message {
  text-shadow: none !important;
  font-weight: 400 !important;
}
