/* GreenEdge Chat Widget styles */

#ge-chat-toggle {
  position: fixed; bottom: 24px; right: 95px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #0E9B72; color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
}

#ge-chat-window {
  position: fixed; bottom: 96px; right: 24px; z-index: 9999;
  width: 360px; max-width: 90vw; height: 480px; max-height: 70vh;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: none; flex-direction: column; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#ge-chat-window.open { display: flex; }

#ge-chat-header {
  background: #0E9B72; color: #fff; padding: 14px 16px; font-weight: 600; font-size: 15px;
}

#ge-chat-messages {
  flex: 1; overflow-y: auto; padding: 12px; font-size: 14px; line-height: 1.4;
}

.ge-msg {
  margin-bottom: 10px; max-width: 85%; padding: 8px 12px; border-radius: 10px;
  white-space: pre-wrap;
}

.ge-msg.user {
  background: #0E9B72; color: #fff; margin-left: auto; border-bottom-right-radius: 2px;
}

.ge-msg.bot {
  background: #F8F9FA; color: #1a1a1a; margin-right: auto; border-bottom-left-radius: 2px;
}

#ge-chat-input-row {
  display: flex; border-top: 1px solid #e5e5e5;
}

#ge-chat-input {
  flex: 1; border: none; padding: 12px; font-size: 14px; outline: none;
}

#ge-chat-send {
  border: none; background: #0E9B72; color: #fff; padding: 0 16px; cursor: pointer; font-size: 14px;
}

#ge-chat-send:disabled { opacity: 0.5; cursor: default; }
