:root {
  --pixstore-primary-color: #2B5C7C;
  --pixstore-primary-color-dark: #1e435b;
  --pixstore-primary-color-light: #007acc;
  --pixstore-background-color: white;
  --pixstore-font-family: 'Inter', sans-serif;
  --pixstore-border-radius: 6px;
  --pixstore-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#pixstore-bot-widget {
  position: fixed;
  bottom: 40px;
  right: 300px;
  width: 400px;
  background: var(--pixstore-background-color);
  border: 3px solid var(--pixstore-primary-color);
  border-radius: 12px;
  box-shadow: var(--pixstore-shadow);
  z-index: 9999;
  font-family: var(--pixstore-font-family);
}


#pixstore-bot-header {
  background: var(--pixstore-primary-color);
  color: white;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#pixstore-bot-header > span {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: move;
}

#pixstore-logo {
  height: 24px;
  margin-right: 8px;
}

#pixstore-bot-content {
  padding: 10px;
}

.pixstore-btn {
  display: block;
  width: 100%;
  margin-top: 5px;
  background: var(--pixstore-primary-color);
  color: white;
  border: none;
  padding: 6px;
  border-radius: var(--pixstore-border-radius);
  cursor: pointer;
}

.pixstore-btn:hover {
  background: var(--pixstore-primary-color-dark);
}

.faq-answer {
  display: none;
  padding: 5px;
  background: #f5f5f5;
  margin-top: 3px;
  border-radius: var(--pixstore-border-radius);
}

#pixstore-bot-chat {
  margin-top: 10px;
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: var(--pixstore-border-radius);
}

.pixstore-input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 5px;
}

#pixstore-input {
  flex: 1 1 auto;
  padding: 5px;
  margin: 0;
  min-height: 44px;
  font-size: 1rem;
  box-sizing: border-box;
}

#pixstore-input:focus {
  outline: 2px solid var(--pixstore-primary-color-light);
  outline-offset: 2px;
}

#pixstore-send {
  min-width: 44px;
  min-height: 44px;
  height: 100%;
  padding: 0;
  margin: 0;
  background: var(--pixstore-primary-color);
  color: white;
  border: none;
  border-radius: var(--pixstore-border-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#pixstore-send svg {
  width: 100%;
  height: 100%;
  display: block;
}

#pixstore-send:hover {
  background: var(--pixstore-primary-color-dark);
}

#pixstore-send:focus {
  outline: 2px solid var(--pixstore-primary-color-light);
  outline-offset: 2px;
}

#pixstore-open-btn {
  position: fixed;
  bottom: 40px;
  right: 300px;
  background: var(--pixstore-primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 32px;
  cursor: pointer;
  z-index: 9999;
}

#pixstore-open-btn:hover {
  background: var(--pixstore-primary-color-dark);
}

#pixstore-open-btn:focus {
  outline: 2px solid var(--pixstore-primary-color-light);
  outline-offset: 2px;
}

#pixstore-close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#pixstore-close-btn:focus {
  outline: 2px solid var(--pixstore-primary-color-light);
  outline-offset: 2px;
}

#pixstore-faq-progress {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  margin-top: 5px;
  overflow: hidden;
  display: none;
}

#pixstore-faq-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--pixstore-primary-color-light); /* bleu zinc */
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Responsive design for smaller screens */
@media (max-width: 480px) {
  #pixstore-bot-widget {
    width: 90vw;
    right: 5vw;
    bottom: 20px;
  }
  #pixstore-open-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    right: 5vw;
    bottom: 20px;
  }
}
