/* Add your custom styles here */


/* Adds a bit of spacing to "Responsive Grid Row" blocks. */
.crx-grid {
  padding-top: 0px;
  padding-bottom: 0px;
}
.crx-grid .crx-grid {
  padding-top: 0;
  padding-bottom: 0;
}

.container.crx-grid {
  height: auto;
}

.richtext-image.left {
  float: none;
  margin: 0 1em 1em 0;
}

h2 {
  margin-top: 2em;
}

h3 {
  margin-top: 1.4em;
}

/* Cookie Banner Styles - GDPR Compliant */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.cookie-consent-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.cookie-consent-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.cookie-consent-description {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.cookie-consent-description a {
  color: #0066cc;
  text-decoration: none;
}

.cookie-consent-description a:hover {
  text-decoration: underline;
}

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

.cookie-consent-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.cookie-consent-btn-accept {
  background: #0066cc;
  color: #ffffff;
}

.cookie-consent-btn-accept:hover {
  background: #0052a3;
  color: #ffffff;
}

.cookie-consent-btn-decline {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.cookie-consent-btn-decline:hover {
  background: #edf2f7;
  color: #2d3748;
}

.cookie-consent-btn-settings {
  background: transparent;
  color: #4a5568;
  padding: 8px 20px;
  font-size: 13px;
}

.cookie-consent-btn-settings:hover {
  color: #2d3748;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .cookie-consent-banner {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    margin: 0;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
  }
}

/* Map package default classes to our modern banner look */
.cc-cookie-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: slideInUp 0.4s ease-out;
}

.cc-cookie-text {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.cc-cookie-text a { color: #0066cc; text-decoration: none; }
.cc-cookie-text a:hover { text-decoration: underline; }

.cc-cookie-actions { display: flex; gap: 10px; flex-direction: column; }
.cc-cookie-actions .btn { text-decoration: none; display: inline-block; }

@media (max-width: 480px) {
  .cc-cookie-bar {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    margin: 0;
  }
  .cc-cookie-actions { flex-direction: column; }
}