/* Cookie Consent Banner */
.cookies-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-glass, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  gap: 16px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cookies-card.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-heading {
  color: var(--text-primary, #1a1a1a);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  line-height: 1.3;
}

.cookie-para {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary, #666);
  margin: 0;
  line-height: 1.5;
}

.button-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.cookie-button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: inherit;
}

.accept {
  background: var(--primary-color, #6366f1);
  color: white;
}

.accept:hover {
  background: var(--primary-hover, #4f46e5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.reject {
  background: var(--bg-secondary, #f3f4f6);
  color: var(--text-primary, #1a1a1a);
  border: 1px solid var(--border-color, #e5e7eb);
}

.reject:hover {
  background: var(--bg-hover, #e5e7eb);
  transform: translateY(-1px);
}

.exit-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.exit-button:hover {
  background-color: var(--bg-hover, rgba(0, 0, 0, 0.05));
}

.svgIconCross {
  height: 14px;
  width: 14px;
  stroke: var(--text-secondary, #666);
  transition: stroke 0.2s ease;
}

.exit-button:hover .svgIconCross {
  stroke: var(--text-primary, #1a1a1a);
}

/* Responsive */
@media (max-width: 768px) {
  .cookies-card {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 20px;
  }
  
  .cookie-heading {
    font-size: 16px;
  }
  
  .cookie-para {
    font-size: 12px;
  }
  
  .cookie-button {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cookies-card {
    background: var(--bg-glass-dark, rgba(26, 26, 26, 0.95));
    border-color: var(--border-color-dark, rgba(255, 255, 255, 0.1));
  }
  
  .cookie-heading {
    color: var(--text-primary-dark, #ffffff);
  }
  
  .cookie-para {
    color: var(--text-secondary-dark, #a0a0a0);
  }
  
  .reject {
    background: var(--bg-secondary-dark, #2a2a2a);
    color: var(--text-primary-dark, #ffffff);
    border-color: var(--border-color-dark, rgba(255, 255, 255, 0.1));
  }
  
  .reject:hover {
    background: var(--bg-hover-dark, #3a3a3a);
  }
  
  .exit-button:hover {
    background-color: var(--bg-hover-dark, rgba(255, 255, 255, 0.1));
  }
  
  .svgIconCross {
    stroke: var(--text-secondary-dark, #a0a0a0);
  }
  
  .exit-button:hover .svgIconCross {
    stroke: var(--text-primary-dark, #ffffff);
  }
}
