/* assets/css/bookmark-tip.css */
#bookmarkTip {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#bookmarkTip .tip-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease;
    margin: 20px; /* 添加边距防止在小屏幕上贴边 */
}

#bookmarkTip .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 1; /* 确保关闭按钮在最上层 */
}

#bookmarkTip .close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

#bookmarkTip h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    padding: 0 20px; /* 为关闭按钮留出空间，但保持标题居中 */
}

#bookmarkTip p {
    line-height: 1.6;
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

#bookmarkTip .shortcut {
    font-weight: bold;
    color: #3498db;
    font-size: 18px;
    display: block;
    margin: 10px 0;
}

#bookmarkTip .checkbox-label {
    display: block;
    margin: 12px 0;
    font-size: 14px;
    color: #777;
    text-align: center;
}

#bookmarkTip .btn {
    padding: 10px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

#bookmarkTip .btn:hover {
    background: #2c80b9;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}