/**
 * Cookie Consent Banner Styles
 * Add this to your styles.css or use as standalone stylesheet
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-top: 2px solid #ff8800;
  padding: 24px;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-consent-banner.cookie-consent-hidden {
  animation: slideDown 0.3s ease-in forwards;
}

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-consent-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}

.cookie-consent-text details {
  margin-top: 12px;
  cursor: pointer;
}

.cookie-consent-text details summary {
  color: #ff8800;
  font-weight: 500;
  font-size: 13px;
  user-select: none;
  padding: 4px 0;
}

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

.cookie-consent-text details p {
  margin-top: 12px;
  font-size: 13px;
  padding: 12px;
  background: rgba(255, 136, 0, 0.1);
  border-left: 3px solid #ff8800;
  border-radius: 4px;
}

.cookie-consent-text details a {
  color: #ff8800;
  text-decoration: none;
}

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

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-accept {
  background: #ff8800;
  color: #fff;
  border: 1px solid #ff8800;
}

.cookie-btn-accept:hover {
  background: #ff9920;
  border-color: #ff9920;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 136, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 16px;
  }

  .cookie-consent-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .cookie-consent-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* Dark Theme Support */
body.dark-theme .cookie-consent-banner {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
  border-top-color: #ff8800;
}

body.light-theme .cookie-consent-banner {
  background: linear-gradient(135deg, rgba(240, 240, 240, 0.95) 0%, rgba(230, 230, 230, 0.95) 100%);
  border-top-color: #ff8800;
}

body.light-theme .cookie-consent-text h3,
body.light-theme .cookie-consent-text p {
  color: #333;
}

body.light-theme .cookie-consent-text p {
  color: #666;
}

body.light-theme .cookie-btn-reject {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .cookie-btn-reject:hover {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.3);
}

