/* Consent Management Styles for Bi İş Var */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.consent-banner.visible {
  display: block;
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-text {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.consent-text a {
  color: #2563eb;
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.consent-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.consent-btn-primary {
  background: #2563eb;
  color: white;
}

.consent-btn-primary:hover {
  background: #1d4ed8;
}

.consent-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.consent-btn-secondary:hover {
  background: #e5e7eb;
}

.consent-preferences {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.consent-preferences.visible {
  display: block;
}

.consent-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.consent-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.consent-checkbox label {
  font-size: 14px;
  color: #374151;
}

/* Responsive design */
@media (min-width: 768px) {
  .consent-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .consent-text {
    flex: 1;
    margin-right: 16px;
  }
  
  .consent-buttons {
    flex-shrink: 0;
  }
}

/* Animation for banner appearance */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-banner.visible {
  animation: slideUp 0.3s ease-out;
}
