#ai-agent {
  cursor: pointer;
  position: fixed;
  bottom: 112px;
  right: 16px;
  z-index: 99;
  width: 80px;
  height: 80px;
}

.ai-agent-hide {
  display: none;
}

.isafeways-ai-agent-modal {
  position: fixed;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 0;
  height: 0;
  bottom: 100px;
  right: 100px;
  background-color: #fff;
  overflow: hidden;
}

.isafeways-ai-agent-modal > .header {
  height: 40px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  padding: 0 16px;
}

.isafeways-ai-agent-modal > .header > .expand {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.isafeways-ai-agent-modal > .header > .contract {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.isafeways-ai-agent-modal > .header > .close {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.isafeways-ai-agent-modal > .content {
  flex: 1;
}

.isafeways-ai-agent-modal-fullscreen-show {
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #eee;
}

.isafeways-ai-agent-modal-fullscreen-show .expand {
  display: none;
}

.isafeways-ai-agent-modal-fullscreen-show .contract {
  display: block;
}

.isafeways-ai-agent-modal-side-show {
  width: 500px;
  height: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #eee;
}

.isafeways-ai-agent-modal-side-show .expand {
  display: block;
}

.isafeways-ai-agent-modal-side-show .contract {
  display: none;
}
