/* 页面样式 */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f5f5f5;
    padding: 20px;
    box-sizing: border-box;
}

.chat-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    text-align: center;
    font-size: 1.2em;
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top: 10px;
}

.chat-bubble {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.chat-bubble.user {
    background-color: #e0e0e0;
    float: right;
    clear: both;
}

.chat-bubble.bot {
    background-color: #007bff;
    color: white;
    float: left;
    clear: both;
}

.chat-bubble.bot-err {
    background-color: #007bff;
    color: #ffa500;
    float: left;
    clear: both;
}

.chat-input {
    margin-top: 20px;
}

.chat-input input[type="text"] {
    width: calc(100% - 100px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
}

.chat-input button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #0056b3;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #f5f5f5;
}

.login-form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.form-group button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: #0056b3;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}


.user-logout {
  width: 130px;
  height: 36px;
  float:right;
  position:right;
  margin-top:-28px
}

.user-logout a {
    color: #ffffff;
    text-decoration: none;
}
.user-logout a:hover {
    text-decoration: underline;
}
