/* Chatbot Styles */
:root {
    --chatbot-primary: #E5BE01;
    --chatbot-bg: #000000;
    --chatbot-text: #ffffff;
    --chatbot-secondary: #333333;
    --chatbot-user-bubble: #1a1a1a;
    --chatbot-bot-bubble: #222222;
    --chatbot-input-bg: #0d0d0d;
  }
  
  .chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'JetBrains Mono', monospace;
  }

  .chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--chatbot-primary);
    color: var(--chatbot-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    animation: subtle-pulse 4s infinite;
  }

  .chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px rgba(229, 190, 1, 0.6),
        0 0 40px rgba(229, 190, 1, 0.4),
        0 0 60px rgba(229, 190, 1, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse-glow 2s infinite;
  }
  
  .chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: var(--chatbot-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    border: 1px solid var(--chatbot-secondary);
  }
  
  .chatbot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
  }
  
  .chatbot-header {
    background-color: var(--chatbot-bg);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--chatbot-secondary);
  }
  
  .chatbot-title {
    color: var(--chatbot-text);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
  }
  
  .chatbot-title-icon {
    color: var(--chatbot-primary);
    margin-right: 8px;
  }
  
  .chatbot-close {
    color: var(--chatbot-text);
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .chatbot-close:hover {
    opacity: 1;
  }
  
  .chatbot-messages {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .chatbot-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 10px;
    line-height: 1.5;
    font-size: 14px;
    position: relative;
    word-wrap: break-word;
  }
  
  .chatbot-message.bot {
    background-color: var(--chatbot-bot-bubble);
    color: var(--chatbot-text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
  }
  
  .chatbot-message.user {
    background-color: var(--chatbot-user-bubble);
    color: var(--chatbot-text);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
  }
  
  .chatbot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--chatbot-bot-bubble);
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 80px;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
  }
  
  .chatbot-typing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--chatbot-text);
    border-radius: 50%;
    opacity: 0.7;
    animation: typing-dot 1.4s infinite;
  }
  
  .chatbot-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .chatbot-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes typing-dot {
    0%, 60%, 100% {
      transform: translateY(0);
      opacity: 0.7;
    }
    30% {
      transform: translateY(-5px);
      opacity: 1;
    }
  }
  
  .chatbot-footer {
    padding: 15px;
    border-top: 1px solid var(--chatbot-secondary);
  }
  
  .chatbot-input-container {
    display: flex;
    gap: 10px;
  }
  
  .chatbot-input {
    flex-grow: 1;
    padding: 12px 15px;
    background-color: var(--chatbot-input-bg);
    border: 1px solid var(--chatbot-secondary);
    border-radius: 5px;
    color: var(--chatbot-text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .chatbot-input:focus {
    border-color: var(--chatbot-primary);
  }
  
  .chatbot-send {
    background-color: var(--chatbot-primary);
    color: var(--chatbot-bg);
    border: none;
    border-radius: 5px;
    padding: 0 15px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
  }
  
  .chatbot-send:hover {
    opacity: 0.9;
  }
  
  .chatbot-powered {
    font-size: 10px;
    text-align: center;
    padding: 5px;
    opacity: 0.5;
    color: var(--chatbot-text);
  }

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* play with size */
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Style specifically for the chat icon in the button */
.chatbot-button .material-symbols-outlined {
  color: #000000; 
  display: flex;
  align-items: center;
  justify-content: center;
}

  /* Shine effect overlay */
.chatbot-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  border-radius: 50%;
}

/* Shine animation on hover */
.chatbot-button:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Pulsing glow animation */
@keyframes pulse-glow {
  0%, 100% {
      box-shadow: 
          0 0 20px rgba(229, 190, 1, 0.6),
          0 0 40px rgba(229, 190, 1, 0.4),
          0 0 60px rgba(229, 190, 1, 0.2),
          0 4px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
      box-shadow: 
          0 0 30px rgba(229, 190, 1, 0.8),
          0 0 60px rgba(229, 190, 1, 0.6),
          0 0 90px rgba(229, 190, 1, 0.4),
          0 6px 12px rgba(0, 0, 0, 0.4);
  }
}

/* Subtle idle animation */
@keyframes subtle-pulse {
  0%, 100% {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
      box-shadow: 
          0 4px 8px rgba(0, 0, 0, 0.3),
          0 0 15px rgba(229, 190, 1, 0.25);
  }
}