@charset "utf-8";
/* CSS Document */

    .popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }

    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }

    /* 修改文字样式，添加阴影 */
    #home h1,
    #home h2,
    #home p {
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
      color: white;
      /* 确保文字颜色为白色，提高对比度 */
    }

    /* 给按钮添加阴影和背景颜色 */
    #home .flex a {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* 修改背景图片样式，使其完全覆盖 */
    #home {
      background-image: url('../images/2.gif');
      opacity: 100%;
      background-size: cover;
      background-position: center;
      /* 可选：让图片居中显示 */
      background-repeat: no-repeat;
    }

    /* 讯飞聊天部分样式 - 美化版本 */
    .chat-container {
      background: linear-gradient(145deg, #f8f9fa, #e9ecef);
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      padding: 24px;
      max-width: 500px;
      margin: 0 auto;
      transition: all 0.3s ease;
    }

    .chat-container:hover {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .chat-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .chat-header h2 {
      color: #333;
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .chat-header p {
      color: #6c757d;
      font-size: 0.9rem;
    }

    .chat-messages {
      min-height: 200px;
      max-height: 400px;
      overflow-y: auto;
      padding: 16px;
      margin-bottom: 16px;
      background-color: white;
      border-radius: 12px;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .message {
      margin-bottom: 12px;
      padding: 8px 16px;
      border-radius: 18px;
      max-width: 80%;
      clear: both;
      position: relative;
      display: flex;
      align-items: flex-start;
    }

    .user-message {
      background-color: #007BFF;
      color: white;
      float: right;
      border-bottom-right-radius: 4px;
    }

    .ai-message {
      background-color: #f1f3f5;
      color: #333;
      float: left;
      border-bottom-left-radius: 4px;
    }

    .message-avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      margin-right: 10px;
    }

    .message-content {
      flex: 1;
    }

    .message-timestamp {
      font-size: 0.7rem;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 4px;
      text-align: right;
    }

    .ai-message .message-timestamp {
      color: rgba(0, 0, 0, 0.5);
    }

    .chat-input {
      display: flex;
      gap: 12px;
    }

    .chat-input input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid #dee2e6;
      border-radius: 20px;
      font-size: 1rem;
      outline: none;
      transition: border-color 0.3s ease;
    }

    .chat-input input:focus {
      border-color: #007BFF;
    }

    .chat-input button {
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 20px;
      padding: 12px 24px;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 123, 255, 0.1);
    }

    .chat-input button:hover {
      background-color: #0069d9;
      box-shadow: 0 6px 12px rgba(0, 123, 255, 0.2);
    }

    .chat-input button:active {
      transform: translateY(1px);
    }

    .loading {
      display: none;
      text-align: center;
      color: #007BFF;
      margin-bottom: 10px;
    }
	
    .display {
display: none;
    }
	
.text-xs {
    font-size: 0.75rem;
    line-height: 1.5rem!important;
}
	



