/* Minimal Cookie Consent Banner - Google Consent Mode v2 */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

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

.cookie-banner-hidden {
  animation: slideDown 0.3s ease-out;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  flex-wrap: wrap;
}

.cookie-banner-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.2s ease;
  font-weight: 300;
}

.cookie-banner-close:hover {
  color: #333;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
  padding-right: 30px;
}

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

.cookie-banner-text p:last-child {
  margin-bottom: 0;
  color: #666;
}

.cookie-banner-text strong {
  font-weight: 600;
  font-size: 16px;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.cookie-btn-accept {
  background: #228be6;
  color: white;
}

.cookie-btn-accept:hover {
  background: #1c7ed6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(34, 139, 230, 0.3);
}

.cookie-btn-reject {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.cookie-btn-reject:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 20px 20px;
  }

  .cookie-banner-text {
    padding-right: 30px;
    margin-bottom: 8px;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-banner-close {
    top: 15px;
    right: 15px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cookie-banner {
    background: #1a1a1a;
    border-top-color: #333;
  }

  .cookie-banner-text p {
    color: #e0e0e0;
  }

  .cookie-banner-text p:last-child {
    color: #aaa;
  }

  .cookie-banner-close {
    color: #aaa;
  }

  .cookie-banner-close:hover {
    color: #fff;
  }

  .cookie-btn-reject {
    color: #aaa;
    border-color: #444;
  }

  .cookie-btn-reject:hover {
    background: #2a2a2a;
    border-color: #555;
  }
}
