/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
  position: fixed;
  width: auto;
  max-width: 400px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.cookie-banner-bottom {
  bottom: 20px;
  right: 20px;
}

.cookie-banner-top {
  top: 20px;
  right: 20px;
}

.cookie-consent-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent-content,
.cookie-consent-preferences {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-banner h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.cookie-consent-banner p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #555;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cookie-consent-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-consent-accept {
  background-color: #0056b3;
  color: white;
}

.cookie-consent-accept:hover {
  background-color: #004494;
}

.cookie-consent-customize,
.cookie-consent-save {
  background-color: #f1f1f1;
  color: #333;
}

.cookie-consent-customize:hover,
.cookie-consent-save:hover {
  background-color: #e1e1e1;
}

.cookie-consent-footer {
  font-size: 0.8rem;
}

.cookie-consent-footer a {
  color: #0056b3;
  text-decoration: none;
}

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

.cookie-categories {
  margin-bottom: 1.5rem;
}

.cookie-category {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.cookie-category-title {
  margin-left: 0.5rem;
}

.cookie-category-description {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  padding-left: 1.7rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .cookie-consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-consent-button {
    width: 100%;
  }
}
