/* Solvera Chat Modal Styles */
.solvera-chat-btn {
  background: #6c47ff;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(108,71,255,0.08);
  transition: background 0.2s;
}
.solvera-chat-btn:hover {
  background: #5436c7;
}

.solvera-chat-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solvera-chat-modal__overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
}
.solvera-chat-modal__window {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(108,71,255,0.15);
  width: 100%;
  max-width: 380px;
  min-height: 420px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}
.solvera-chat-modal__header {
  background: #6c47ff;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.solvera-chat-modal__title {
  font-weight: 600;
  font-size: 1.1em;
}
.solvera-chat-modal__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  line-height: 1;
}
.solvera-chat-modal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 12px 0;
  background: #f7f7fa;
}
.solvera-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
}
.solvera-chat-message {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 1em;
  line-height: 1.5;
  word-break: break-word;
}
.solvera-chat-message--user {
  align-self: flex-end;
  background: #6c47ff;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.solvera-chat-message--bot {
  align-self: flex-start;
  background: #fff;
  color: #222;
  border-bottom-left-radius: 4px;
  border: 1px solid #ece6ff;
}
.solvera-chat-form {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px 0 16px;
  background: #f7f7fa;
}
.solvera-chat-input {
  flex: 1 1 0%;
  min-width: 0;
  border: 1px solid #d1c4ff;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 1em;
  outline: none;
  background: #fff;
  transition: border 0.2s;
  height: 44px;
  box-sizing: border-box;
  vertical-align: middle;
}
.solvera-chat-input:focus {
  border-color: #6c47ff;
}
.solvera-chat-send {
  margin-left: 8px;
  background: #6c47ff;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 0 24px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.solvera-chat-send:hover {
  background: #5436c7;
}
@media (max-width: 500px) {
  .solvera-chat-modal__window {
    max-width: 98vw;
    min-height: 60vh;
  }
  .solvera-chat-form {
    padding: 8px 4px 0 4px;
  }
  .solvera-chat-input, .solvera-chat-send {
    height: 36px;
    font-size: 0.98em;
    padding: 0 8px;
  }
} 