/*
 Theme Name:   Divi Child
 Theme URI:    https://example.com
 Description:  Child theme for Divi
 Author:       Your Name
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../Divi/style.css");

/* Chat toggle bubble */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2a7ae2;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 24px;
  z-index: 9999; /* keeps it on top */
}

/* Chat box container */
#chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  border: 1px solid #ccc;
  background: white;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* Messages area */
#messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
}

/* Input area */
#input-box {
  display: flex;
  border-top: 1px solid #ccc;
}

#input-box input {
  flex: 1;
  border: none;
  padding: 10px;
}

#input-box button {
  background: #2a7ae2;
  color: white;
  border: none;
  padding: 0 15px;
  cursor: pointer;
}

/* Message types */
#messages div.user {
  text-align: right;
  color: blue;
}

#messages div.bot {
  text-align: left;
  color: green;
}

#messages div.system {
  text-align: center;
  color: gray;
  font-style: italic;
}
/* test */ body { outline: 2px solid red; }
