/* Cookie Consent Popup - AI Detective
   SLIM design - minimal footprint
   Created: 2026-01-16, Updated: 2026-01-19 */

/* Container - slides up from bottom */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

/* Inner wrapper - ULTRA SLIM single line */
.cookie-consent-inner {
  background: rgba(22, 24, 28, 0.95);
  border-top: 1px solid rgba(139, 92, 246, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Content section - inline */
.cookie-consent-content {
  flex: 1;
  min-width: 200px;
  max-width: none;
}

.cookie-consent-title {
  display: none; /* Hide title for slim version */
}

.cookie-consent-title svg {
  display: none;
}

.cookie-consent-title h3 {
  display: none;
}

.cookie-consent-text {
  color: #999;
  font-size: 0.72rem;
  line-height: 1.2;
  margin: 0;
}

.cookie-consent-text a {
  color: #8b5cf6;
  text-decoration: none;
}

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

/* Buttons container - compact */
.cookie-consent-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Button base styles - ULTRA COMPACT */
.cookie-btn {
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: none;
  outline: none;
  height: 24px;
  line-height: 16px;
}

.cookie-btn:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

/* Accept button - primary purple */
.cookie-btn-accept {
  background: #8b5cf6;
  color: #fff;
  font-weight: 600;
}

.cookie-btn-accept:hover {
  background: #7c3aed;
}

.cookie-btn-accept:active {
  transform: translateY(0);
}

/* Decline button - text style, same height */
.cookie-btn-decline {
  background: transparent;
  color: #888;
  padding: 4px 8px;
  height: 24px;
  line-height: 16px;
}

.cookie-btn-decline:hover {
  color: #aaa;
}

/* Reject All button - hide for slim version */
.cookie-btn-reject {
  display: none;
}

/* Settings/Customize button - hide for slim version */
.cookie-btn-settings {
  display: none;
}

/* Don't Ask Again - hide for slim version */
.cookie-dont-ask {
  display: none;
}

/* Mobile responsive - ultra slim version */
@media (max-width: 480px) {
  .cookie-consent-inner {
    flex-direction: row;
    gap: 6px;
    padding: 5px 10px;
  }
  
  .cookie-consent-text {
    font-size: 0.65rem;
  }
  
  .cookie-btn {
    padding: 3px 8px;
    font-size: 0.62rem;
    height: 20px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}
