

html {
  scroll-behavior: smooth;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #131313;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #e31b23;
}

#cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  z-index: 9999;
  background: rgba(28, 27, 27, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 27, 35, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(120%);
  opacity: 0;
}

#cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 640px) {
  #cookie-consent-banner {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0;
    border-radius: 12px 12px 0 0;
  }
}

.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Inter', sans-serif;
}

.ai-chat-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e31b23;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(227, 27, 35, 0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
  border: none;
  outline: none;
}

.ai-chat-trigger:hover {
  transform: scale(1.1);
  background: #f42c35;
}

.ai-chat-trigger:active {
  transform: scale(0.95);
}

.ai-chat-window {
  width: 360px;
  height: 500px;
  background: #1c1b1b;
  border: 1px solid #353534;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 16px;
  transform: scale(0.8) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.ai-chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ai-chat-header {
  background: #0e0e0e;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a2a2a;
}

.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-header-avatar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981; 
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #131313;
}

.ai-chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}

.ai-chat-bubble.assistant {
  background: #201f1f;
  color: #e5e2e1;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #2a2a2a;
}

.ai-chat-bubble.user {
  background: #e31b23;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.ai-chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  background: #1c1b1b;
  border-top: 1px solid #2a2a2a;
}

.ai-chat-quick-btn {
  background: #2a2a2a;
  color: #e5e2e1;
  border: 1px solid #353534;
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chat-quick-btn:hover {
  background: #e31b23;
  color: white;
  border-color: #e31b23;
}

.ai-chat-input-area {
  padding: 12px 16px;
  background: #0e0e0e;
  border-top: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chat-input {
  flex: 1;
  background: #201f1f;
  border: 1px solid #353534;
  color: #e5e2e1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.ai-chat-input:focus {
  border-color: #e31b23;
}

.ai-chat-send {
  background: #e31b23;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ai-chat-send:hover {
  background: #f42c35;
}

@media (max-width: 480px) {
  .ai-chat-widget {
    bottom: 80px; 
    right: 16px;
  }
  .ai-chat-window {
    width: calc(100vw - 32px);
    height: 400px;
  }
}
