/* 这个 CSS 文件是密码错误与找回密码弹窗页面的专属样式 */
#overlay {
    /* position: fixed; 是一个定位属性值，它将元素的位置固定在浏览器窗口（即视口）的某个位置。 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 9000; /* 确保遮罩层在最顶层 */
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
}

#popup {
    position: fixed;
    top: 50%; /* 将弹窗的顶部定位在浏览器窗口垂直中心 */
    left: 50%; /* 将弹窗的左侧定位在浏览器窗口水平中心 */
    transform: translate(-50%, -50%); /* transform 属性将弹窗的中心对齐浏览器中心 */
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
}

#popup h2 {
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
}

#popup p {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

#popup button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#popup button:hover {
    background-color: #007bff;
    color: white;
}
