﻿
#dialogue-container {
        display: none;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #f2f2f2;
        border-top: 1px solid #ccc;
        padding: 10px;
  }

  #dialogue-messages {
        overflow-y: auto;
        min-width: 300px;
        max-height: 200px;
  }

  #dialogue-input {
        display: flex;
        margin-top: 10px;
  }

  #dialogue-input-box {
        flex-grow: 1;
        margin-right: 10px;
  }

  #dialogue-send-button {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
  }

  #dialogue-send-button:hover {
        background-color: #3e8e41;
  }


  #alert-box {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
        z-index: 999;
  }

  #alert-box h1 {
        font-size: 24px;
        margin-top: 0;
  }

  #alert-box p {
        font-size: 18px;
        margin-bottom: 0;
  }


  #modal-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
  }

  #modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
  }

  #modal-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        min-width: 400px;
        max-width: 400px;
        box-sizing: border-box;
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  }

  #modal-box h1 {
        font-size: 24px;
        margin-top: 0;
  }

  #modal-box p {
        font-size: 18px;
        margin-bottom: 0;
        color: blue;
        white-space: pre-wrap;
        word-break: break-word;
  }

  #modal-close-button {
        background-color: #4CAF50;
        color: white;
        width: 70px;
        height: 50px;
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 2px;
  }

  #modal-close-button:hover {
        background-color: #3e8e41;
  }

.modal {
      display: none; /* 初始隐藏模态框 */
      position: fixed; /* 固定定位，覆盖全屏 */
      z-index: 1; /* 设定层级 */
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto; /* 允许滚动 */
      background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色背景 */
    }

    /* 模态框内容样式 */
    .modal-content {
      background-color: #fefefe;
      margin: 15% auto; /* 垂直居中 */
      padding: 20px;
      border: 1px solid #888;
      width: 300px;
    }

    /* 关闭按钮样式 */
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

.modal-close-btn {
      background-color: #4CAF50;
      color: white;
      width: 70px;
      height: 50px;
      border: none;
      padding: 10px;
      cursor: pointer;
      border-radius: 2px;
      font-size: 19px;
}

.modal-close-btn:hover {
      background-color: #3e8e41;
}

#confirm-modal-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10050;
}

#confirm-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
}

#confirm-modal-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        min-width: 400px;
        max-width: 400px;
        box-sizing: border-box;
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#confirm-modal-box h1 {
        font-size: 22px;
        margin-top: 0;
}

#confirm-modal-message {
        font-size: 16px;
        margin-bottom: 16px;
        white-space: pre-wrap;
        word-break: break-word;
        color: red;
}

#confirm-modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 8px;
}

#confirm-modal-ok,
#confirm-modal-cancel {
        min-width: 72px;
        height: 44px;
        border: none;
        padding: 8px 14px;
        cursor: pointer;
        border-radius: 2px;
        font-size: 15px;
}

#confirm-modal-ok {
        font-size: 18px;
        background-color: #4CAF50;
        color: white;
}

#confirm-modal-ok:hover {
        background-color: #3e8e41;
}

#confirm-modal-cancel {
        background-color: #9e9e9e;
        color: white;
}

#confirm-modal-cancel:hover {
        background-color: #757575;
}
