body {
    margin: 0 auto;
    background: linear-gradient(to right, black, transparent 50%, transparent), 
                linear-gradient(to left, black, transparent 50%, transparent), 
                url('./img/bg.png') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
.first {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.first .conts {
    border-width: 2px;
    border-color: #000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #fff;
    width: 30%;
    min-width: 300px;
    opacity: 0.95;
}
.first .conimg {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.first img {
    width: 60%;
}
.chat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    min-width: 400px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.chat-header {
    background-color: #37225e;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.chat-body {
    padding: 20px;
    height: 400px;
    overflow-y: scroll;
}
.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 20px;
    max-width: 70%;
    clear: both;
    position: relative;
    word-break: keep-all;
}
.message.user {
    float: right;
    background-color: #37225e;
    color: #fff;
}
.message.ai {
    float: left;
    background-color: #e0e0e0;
    color: #333;
}
.chat-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #e0e0e0;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    margin-right: 10px;
}
.chat-input button {
    background-color: #37225e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.loadingIcon {
    padding: 0 10px;
    font-size: 16px;
}