﻿html, body {
    margin: 0;
    padding: 0;
    background: #F5F6FA;
}

html {
    height: 100vh;
}

#app {
    width: 100vw;
}

.container {
    min-height: calc(100vh - 67px);
    padding-bottom: 66px;
    padding-top: 1px;
}

/*
.bottom-tool {
    width: 100%;
    height: 66px;
    background: #F5F6FA;
    position: fixed;
    bottom: 4px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
}

.img-btn-container {
    width: 42px;
    height: 42px;
    background: #FFF;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-btn-container img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}
.add-icon {
    width: 42px;
    height: 42px;
}
.input-container {
    flex: 1;
    height: 42px;
    background: #FFFFFF;
    border-radius: 8px;
    border: none;
    outline: none;
    text-decoration: none;
    font-size: 15px;
    padding: 0 10px;
    box-sizing: border-box;
    line-height: 1;
    margin: 0 10px;
}

.input-container::placeholder {
    color: #bec1c8
}
*/

.bottom-tool {
    width: 100%;
    height: 66px;
    background: #F5F6FA;
    position: fixed;
    bottom: 0;
    padding: 12px 16px; /* 调整内边距让高度居中 */
    box-sizing: border-box;
    display: flex;
    align-items: center; /* 垂直居中 */
}

/* 这是一个伪装的输入框容器 */
.input-wrapper {
    flex: 1;
    height: 42px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;       /* 使用 Flex 布局排列 输入框 和 图标 */
    align-items: center; /* 垂直居中 */
    padding-left: 10px;  /* 左侧文字留白 */
    /* 移除之前的 padding-right，由图标的 margin 处理 */
}

/* 真正的输入框，去掉了背景和边框 */
.real-input {
    flex: 1;             /* 占据剩余空间 */
    height: 100%;
    border: none;
    outline: none;
    background: transparent; /* 背景透明 */
    font-size: 15px;
    color: #333;
    line-height: normal; /* 修复某些浏览器文字垂直对齐问题 */
}

.real-input::placeholder {
    color: #bec1c8;
}

/* 加号图标样式 */
.icon-add {
    width: 26px;
    height: 26px;
    margin-right: 8px; /* 右边距 8px */
    cursor: pointer;
}

/* 发送飞机图标样式 */
.icon-send {
    width: 52px;
    height: 32px;
    margin-right: 5px; /* 右边距 5px */
    cursor: pointer;
}

.left {
    width: 100%;
    padding-left: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
}

.right {
    width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
}

.left .content {
    max-width: 291px;
    background: #FFFFFF;
    border-radius: 8px 8px 8px 8px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 15px;
    color: #181818;
    line-height: 24px;
}

.right .content {
    max-width: 291px;
    border-radius: 8px 8px 8px 8px;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(89deg, #FFEDDF 0%, #F9DABD 100%);
    font-size: 15px;
    color: #181818;
    line-height: 24px;
}

.left img, .right img {
    max-width: 120px;
    border-radius: 8px 8px 8px 8px;
    background: #fff;
}

.item {
    margin-top: 18px;
}

.time {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #818181;
    line-height: 16px;
}

.loading {
    margin-top: 100px;
    margin-left: 50%;
    transform: translateX(-50%);
}