#pepron-chat-widget-container * {
  box-sizing: border-box;
  font-family: 'Roboto', 'Inter', sans-serif;
}
#pepron-chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 350px;
  height: 500px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.pepron-chat-header {
  position: relative;
  background-color: #174635; /* Pepron Dark Green */
  color: white;
  padding: 1rem 3rem 1rem 5.5rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pepron-chat-header .logo {
  position: absolute;
  left: 1rem;
  top: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1;
}
.pepron-chat-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.pepron-chat-reset-btn,
.pepron-chat-minimize-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.pepron-chat-reset-btn:hover,
.pepron-chat-minimize-btn:hover {
  color: white;
}
.pepron-chat-messages {
  flex: 1;
  padding: 0 0.5rem;
  overflow-y: auto;
  background-color: #f6faf7; /* Pepron Light Background */
}
.pepron-chat-footer {
  display: flex;
  padding: 0.75rem;
  background-color: #ffffff;
  border-top: 1px solid #dde8e1; /* Pepron Line */
  flex-shrink: 0;
}
.pepron-chat-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #dde8e1;
  font-size: 1rem;
  margin-right: 0.5rem;
  height: 2.75rem;
  outline: none;
  transition: border-color 0.2s;
}
.pepron-chat-input:focus {
  border-color: #36aa42; /* Pepron Green */
}
.pepron-send-button {
  padding: 0.6rem 1rem;
  background-color: #36aa42; /* Pepron Green */
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  height: 2.75rem;
}
.pepron-send-button:hover {
  background-color: #2e8f4c; /* Pepron Mid Green */
}
.pepron-chat-message {
  display: flex;
  max-width: 85%;
  margin: 0.75rem;
}
.pepron-user-message {
  margin-left: auto;
  justify-content: flex-end;
}
.pepron-bot-message {
  margin-right: auto;
  justify-content: flex-start;
}
.message-content {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: #ffffff;
  color: #172033;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.pepron-user-message .message-content {
  background-color: #36aa42; /* Pepron Green */
  color: white;
  border-bottom-right-radius: 0;
}
.pepron-bot-message .message-content {
  background-color: white;
  border-bottom-left-radius: 0;
  border: 1px solid rgba(0,0,0,0.04);
}
.pepron-loader-container {
  display: inline-block;
  justify-content: center;
  align-items: center;
  margin-left: 0.5rem;
}
.pepron-bouncing-dots {
  display: flex;
  justify-content: space-between;
  width: 26px;
}
.pepron-dot {
  width: 6px;
  height: 6px;
  background-color: #36aa42;
  border-radius: 50%;
  animation: bounce 1.5s infinite;
}
.pepron-dot:nth-child(1) { animation-delay: 0s; }
.pepron-dot:nth-child(2) { animation-delay: 0.3s; }
.pepron-dot:nth-child(3) { animation-delay: 0.6s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.pepron-quick-reply {
  display: inline-block;
  background-color: #e8f8ea; /* Pepron Soft Green */
  color: #174635; /* Pepron Dark Green */
  border: 1px solid #36aa42; /* Pepron Green */
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  margin: 0.4rem 0.3rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pepron-quick-reply:hover {
  background-color: #36aa42; /* Pepron Green */
  color: white;
}