/* Silktide Cookie Consent Manager Styles */
.silktide-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border: 1px solid #e5e7eb;
}

.silktide-banner-description {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.silktide-banner-description a {
  color: #2563eb;
  text-decoration: underline;
}

.silktide-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.silktide-banner-button {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.silktide-accept-all {
  background: #2563eb;
  color: white;
}

.silktide-accept-all:hover {
  background: #1d4ed8;
}

.silktide-reject-non-essential {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.silktide-reject-non-essential:hover {
  background: #e5e7eb;
}

.silktide-preferences {
  background: transparent;
  color: #6b7280;
  text-decoration: underline;
  padding: 8px 0;
}

.silktide-preferences:hover {
  color: #374151;
}

.silktide-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.silktide-preferences-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.silktide-preferences-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

.silktide-preferences-description {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.5;
}

.silktide-cookie-type {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.silktide-cookie-type-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.silktide-cookie-type-name {
  font-weight: 600;
  color: #111827;
}

.silktide-cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  transition: background 0.2s;
  cursor: pointer;
}

.silktide-cookie-toggle.active {
  background: #2563eb;
}

.silktide-cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.silktide-cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.silktide-cookie-toggle.active::after {
  transform: translateX(20px);
}

.silktide-cookie-type-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.silktide-preferences-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.silktide-save-preferences {
  flex: 1;
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

.silktide-save-preferences:hover {
  background: #1d4ed8;
}

.silktide-cookie-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.2s ease;
}

.silktide-cookie-icon:hover {
  transform: scale(1.1);
  background: #1d4ed8;
}

.silktide-cookie-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

@media (max-width: 640px) {
  .silktide-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }
  
  .silktide-preferences-content {
    padding: 24px;
    margin: 16px;
  }
  
  .silktide-preferences-actions {
    flex-direction: column;
  }
}

.silktide-hidden {
  display: none !important;
}