// 页面全局样式
// 去除高德地图 logo
.amap-logo {
  display: none !important;
  opacity: 0 !important;
}
.amap-copyright {
  opacity: 0 !important;
}

[data-theme='dark'] {
  body {
    background-color: #18181c;
  }
}

.chat-container {
  box-sizing: border-box;
  padding: 20px;
  height: 100%;
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  .chat-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
    height: 100%;
    // border: 1px solid red;

    .chat-item {
      display: flex;
      gap: 6px;
    }
    .user-icon {
      height: 50px;
      width: 50px;
    }
    .user-message {
      flex-direction: row-reverse;
      .message-content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
      }
    }
    .text-ros {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .ai-loading {
      display: flex;
      align-items: center;
      font-size: 14px;
      gap: 10px;
      color: #ffffff;
    }
    .ai-message {
      flex-direction: row;
      .message-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }
      .ai-hint {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
        font-size: 12px;
        color: #c3cad9;
        gap: 10px;
        .upload-text{
          cursor: pointer;
          display: flex;
          align-items: center;
        }
        .upload-text:hover{
          color: #3F7BF8;
        }
      }
    }
    .message-content {
      font-size: 14px;
      font-weight: 400;
      .message-time {
        color: #c3cad9;
      }
      width: calc(100% - 110px);
      padding-top: 15px;
      .message-text {
        width: auto;
        color: #ffffff;
        font-size: 15px;
        margin-top: 10px;
        padding: 10px 18px;
        background: #282a31;
        border-radius: 10px 10px 10px 10px;
      }
    }
  }
  .chat-input {
    width: 50%;
    .chat-suffix {
      font-size: 14px;
      height: 100%;
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: space-between;
    }
    .chat-send {
      cursor: pointer;
      width: 46px;
      height: 30px;
      margin-bottom: 10px;
      background: url('@/assets/images/ai/chat-send.png');
      background-size: 100% 100%;
    }
  }
  .echarts-box {
  height: 220px;
  width: 400px;
}
.echatrs-theme {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  .theme-title {
    font-size: 14px;
    color: #cfd5e5;
    font-weight: 400;
  }
  .theme-list {
    display: flex;
    align-items: center;
    gap: 10px;
    .theme-item {
      cursor: pointer;
      background: #31363e;
      border-radius: 2px;
      font-size: 14px;
      color: #cfd5e5;
      font-weight: 400;
      box-sizing: border-box;
      padding: 2px 10px;
    }
    .activeTheme{
      color: #3F7BF8;
      background: rgba(63,123,248,0.1);
    }
  }
}
}